:root {
  color-scheme: light;
  --ink: #1c1917;
  --mid: #5f554b;
  --muted: #7e7163;
  --cream: #faf7f0;
  --paper: #fffdf8;
  --line: #ddd3c3;
  --gold: #b8860b;
  --gold-dark: #745507;
  --olive: #3d6b2e;
  --terra: #a3472f;
  --max: 74rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.public-home { background: var(--paper); }

a { color: var(--gold-dark); text-underline-offset: .2em; }
a:hover { color: var(--terra); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #d4a017;
  outline-offset: 3px;
}

img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 4.5rem;
  border-bottom: 1px solid rgba(28,25,23,.12);
  background: rgba(250,247,240,.96);
}

.editorial-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 4.25rem;
  border-bottom-color: rgba(255,255,255,.06);
  background: rgba(28,25,23,.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.editorial-header .header-inner {
  width: min(calc(100% - 3rem), 87.5rem);
  min-height: 4.25rem;
}

.editorial-header .wordmark img {
  display: block;
  width: auto;
  height: 2rem;
  filter: brightness(0) invert(1);
}

.editorial-header .site-nav { gap: 1.75rem; }
.editorial-header .site-nav a:not(.button) {
  padding: 0;
  color: rgba(255,255,255,.65);
}
.editorial-header .site-nav a:not(.button):hover,
.editorial-header .site-nav a[aria-current="page"] { color: white; }
.editorial-header .site-nav .button {
  min-height: 44px;
  padding: .65rem 1.35rem;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: white;
}
.editorial-header .site-nav .button:hover { background: #d4a017; }

.header-inner,
.footer-inner,
.page-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.06em;
  text-decoration: none;
}

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .55rem .75rem;
  color: var(--mid);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.button,
.site-nav a.button:hover { color: white; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #38312c; color: white; }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: rgba(28,25,23,.06); }

.home-hero {
  position: relative;
  min-height: min(46rem, calc(100svh - 4.5rem));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}
.home-hero picture,
.home-hero img,
.article-hero picture,
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,13,11,.84) 0%, rgba(16,13,11,.5) 52%, rgba(16,13,11,.12) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  padding: clamp(5rem, 15vh, 9rem) 0 clamp(3rem, 9vh, 6rem);
  color: white;
}
.hero-copy > * { max-width: 39rem; }
.hero-copy h1,
.article-hero h1,
.page-title h1 {
  margin: 0;
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero-copy h1 { font-size: clamp(3.1rem, 9vw, 6.8rem); }
.hero-copy p { margin: 1.5rem 0 0; max-width: 36rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-actions .button.secondary { color: white; border-color: rgba(255,255,255,.72); }
.hero-credit { margin-top: 1.25rem; max-width: 42rem; font-size: .72rem; color: rgba(255,255,255,.72); }
.hero-credit a { color: inherit; }

.content-section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.section-heading h2,
.prose h2 {
  margin: 0 0 1rem;
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-heading p { margin: 0; color: var(--mid); font-size: 1.05rem; }

.job-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.job-paths > a {
  min-height: 12rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.job-paths > a:first-child { border-right: 1px solid var(--ink); }
.job-paths strong { display: block; font-family: Sora, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.15; }
.job-paths span { display: block; margin-top: .75rem; max-width: 32rem; color: var(--mid); }

.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.editorial-grid.reverse { grid-template-columns: minmax(18rem, .9fr) minmax(0, 1.1fr); }
.prose { max-width: 44rem; }
.prose p,
.prose li { color: var(--mid); }
.prose p { margin: 0 0 1.15rem; }
.prose h3 { margin: 2rem 0 .65rem; font-family: Sora, ui-sans-serif, system-ui, sans-serif; font-size: 1.25rem; line-height: 1.2; }
.prose ul,
.prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .5rem; }
.prose strong { color: var(--ink); }

.photo figure,
figure.photo { margin: 0; }
.photo img { width: 100%; background: #e5ddd0; }
.photo figcaption { margin-top: .75rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.photo figcaption a { color: inherit; }

.article-hero {
  position: relative;
  min-height: clamp(32rem, 78svh, 46rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}
.article-hero .hero-copy { padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.article-hero h1 { max-width: 54rem; font-size: clamp(2.7rem, 7vw, 5.8rem); }
.article-meta { margin-top: 1.2rem; font-size: .88rem; color: rgba(255,255,255,.82); }

.breadcrumbs { padding: 1rem 0; font-size: .8rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #a49686; }

.quick-list { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.quick-list > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.quick-list > div:last-child { border-bottom: 0; }
.quick-list dt { font-weight: 700; }
.quick-list dd { margin: 0; color: var(--mid); }

.checklist {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px solid var(--ink);
  background: var(--paper);
}
.checklist h2 { margin-top: 0; }
.checklist ol { columns: 2; column-gap: 3rem; }
.checklist li { break-inside: avoid; margin: 0 0 .9rem; }
.print-only { display: none; }

.product-bridge { background: #efe7d8; }
.product-bridge .editorial-grid { align-items: center; }

.brand-editorial .button:not(.secondary) {
  border-color: var(--gold);
  background: var(--gold);
}
.brand-editorial .button:not(.secondary):hover { border-color: #d4a017; background: #d4a017; }
.brand-editorial .product-bridge { background: var(--surface, #f5f0eb); }

.offer-slot[hidden] { display: none; }
.offer-slot { margin: 2rem 0; padding: 1.2rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.offer-slot h3 { margin: 0 0 .35rem; }
.offer-disclosure { color: var(--muted); font-size: .78rem; }
.offer-list { display: grid; gap: 1rem; margin-top: 1rem; }
.offer { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: center; }
.offer-text-only { grid-template-columns: 1fr; }
.offer img { width: 5rem; height: 5rem; object-fit: cover; }
.offer a { font-weight: 700; }

.page-title { padding: clamp(3rem, 8vw, 6rem) 0 2.5rem; }
.page-title h1 { font-size: clamp(2.5rem, 7vw, 5.3rem); }
.page-title p { max-width: 42rem; margin: 1rem 0 0; color: var(--mid); font-size: 1.05rem; }

.faq-list { max-width: 52rem; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.3rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 2rem 1.25rem 0; color: var(--mid); }
.faq-category { margin: 3rem 0 1rem; font-family: Sora, ui-sans-serif, system-ui, sans-serif; font-size: 1.25rem; }

.legal { max-width: 48rem; padding-bottom: 6rem; }
.legal section { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 .7rem; font-family: Sora, ui-sans-serif, system-ui, sans-serif; font-size: 1.15rem; }
.legal p,
.legal li { color: var(--mid); }

.methodology { font-size: .9rem; color: var(--mid); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.methodology h2 { font-size: 1.4rem; }
.source-list { padding-left: 1.25rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { min-height: 8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--mid); font-size: .85rem; }
.footer-note { color: var(--muted); font-size: .78rem; }

.editorial-footer { margin-top: 4rem; border-top: 1px solid rgba(28,25,23,.06); background: white; }
.editorial-footer-top,
.editorial-footer-bottom {
  width: min(calc(100% - 3rem), 87.5rem);
  margin-inline: auto;
}
.editorial-footer-top { padding: 2.5rem 0 2rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; }
.editorial-footer-brand { max-width: 19rem; }
.editorial-footer-brand > img { width: 7.5rem; height: auto; filter: brightness(0); }
.editorial-footer-brand p { margin: .75rem 0 1rem; color: var(--muted); font-size: .875rem; }
.editorial-social-link { width: 40px; height: 40px; border-radius: 12px; background: var(--surface, #f5f0eb); color: var(--muted); display: grid; place-items: center; }
.editorial-footer-columns { display: flex; gap: 4rem; }
.editorial-footer-column h2 { margin: 0 0 .75rem; color: var(--muted); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.editorial-footer-column a { display: block; margin-bottom: .5rem; color: var(--ink); font-size: .875rem; text-decoration: none; }
.editorial-footer-column a:hover { color: var(--gold); }
.editorial-footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(28,25,23,.04); display: flex; justify-content: space-between; gap: 1.5rem; color: var(--muted); font-size: .75rem; }

.not-found { min-height: calc(100svh - 12.5rem); display: grid; place-items: center; text-align: center; }
.not-found h1 { margin: 0; font-family: Sora, ui-sans-serif, system-ui, sans-serif; font-size: clamp(5rem, 20vw, 10rem); line-height: .8; }

@media (max-width: 760px) {
  .site-header { min-height: auto; }
  .header-inner { min-height: 4rem; flex-wrap: wrap; padding-block: .35rem; }
  .site-nav a:not(.button) { display: none; }
  .site-nav .button { min-height: 44px; padding-inline: .8rem; }
  .home-hero { min-height: 38rem; }
  .home-hero::after,
  .article-hero::after { background: linear-gradient(0deg, rgba(16,13,11,.9) 0%, rgba(16,13,11,.35) 70%, rgba(16,13,11,.12) 100%); }
  .job-paths,
  .editorial-grid,
  .editorial-grid.reverse { grid-template-columns: minmax(0, 1fr); }
  .job-paths > a { min-width: 0; overflow-wrap: anywhere; }
  main h1,
  main h2,
  main h3,
  .faq-list summary { overflow-wrap: anywhere; }
  .job-paths > a:first-child { border-right: 0; }
  .editorial-grid.reverse .photo { order: -1; }
  .quick-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .checklist ol { columns: 1; }
  .footer-inner { padding: 2rem 0; align-items: flex-start; flex-direction: column; }
  .editorial-header .header-inner { width: min(calc(100% - 2rem), 87.5rem); min-height: 4rem; flex-wrap: nowrap; }
  .editorial-header .wordmark img { height: 1.65rem; }
  .editorial-header .site-nav { gap: .5rem; }
  .editorial-header .site-nav .button { padding-inline: .9rem; font-size: .78rem; }
  .editorial-footer-top { flex-direction: column; }
  .editorial-footer-columns { width: 100%; gap: 2.5rem; }
  .editorial-footer-bottom { flex-direction: column; gap: .25rem; }
  .prose { max-width: 60ch; }
}

@media (max-width: 390px) {
  .editorial-header .wordmark img { height: 1.45rem; }
  .editorial-header .site-nav .button { padding-inline: .75rem; }
  .editorial-footer-columns { flex-direction: column; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header,
  .site-footer,
  .article-hero,
  .breadcrumbs,
  .no-print,
  .product-bridge,
  .offer-slot { display: none !important; }
  body { background: white; color: black; }
  .content-section { padding: 1rem 0; border: 0; }
  .page-shell { width: 100%; }
  .print-only { display: block; }
  .checklist { border: 1px solid black; }
}
