/* LJC Solutions – base: fonts, tokens, reset, typography, layout */

@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }

:root {
  /* sampled from logo */
  --amber: #EC9B40;
  --orange: #E67F47;
  --copper: #C76637;
  --grey: #AFAFAF;
  --charcoal: #454545;
  /* designed palette */
  --ink: #252826;
  --ivory: #FAF7F2;
  --paper: #FFFFFF;
  --sand: #F1E8DC;
  --tint: #F9E9DE;
  --muted: #626660;
  --line: #DDD7CE;
  --copper-deep: #A84B27;
  --copper-hover: #873A20;
  --ink-soft: #C9CCC7;      /* secondary text on ink (9.2:1) */
  --success: #2F6B47;
  --error: #A3311F;

  --font-display: "Libre Baskerville", "Baskerville", "Georgia", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(3rem, 1.6rem + 5.6vw, 7rem);
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(37, 40, 38, .06), 0 2px 8px rgba(37, 40, 38, .04);
  --shadow: 0 2px 4px rgba(37, 40, 38, .05), 0 12px 32px -8px rgba(37, 40, 38, .12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--copper-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--copper-deep); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .closing-cta :focus-visible { outline-color: var(--amber); }
::selection { background: var(--tint); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* typography */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.45rem + 2.9vw, 4.125rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.h3, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--copper-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 -11px 0 -1px var(--amber); margin-top: 6px; }
.eyebrow--light { color: var(--amber); }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.6; color: var(--ink); }
.muted { color: var(--muted); }
.note {
  border-left: 3px solid var(--copper); padding: .25rem 0 .25rem 1.25rem;
  color: var(--muted); font-size: .97em;
}
.quick-answer {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; max-width: 38em;
  padding-left: 1.25rem; border-left: 3px solid var(--orange); margin: 1.5rem 0 1rem;
}
.quick-answer strong { color: var(--copper-deep); font-weight: 700; }

/* layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand); }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section--ink .lead { color: var(--ivory); }
.section--ink p { color: var(--ink-soft); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.section-head .lead { margin-top: 1rem; }
.section-head--split { max-width: none; display: grid; gap: 1.25rem 4rem; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 7fr 5fr; } }
.section-aside { color: var(--muted); max-width: 30rem; }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; }
  .split--media-left { grid-template-columns: 5fr 7fr; align-items: center; }
  .split--media-left .split-copy--wide { order: -1; }
}
.split-aside { display: grid; gap: 1.5rem; }

.prose-grid, .narrow-grid { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) {
  .prose-grid { grid-template-columns: 5fr 7fr; }
  .narrow-grid { grid-template-columns: 4fr 8fr; }
}
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.1em; }
.center-link { margin-top: 2.5rem; text-align: center; }

@media print {
  .site-header, .nav-toggle, .closing-motif, .hero-edge, .skip-link { display: none !important; }
  body { background: #fff; }
  .reveal, .hero-in { opacity: 1 !important; transform: none !important; }
}
