:root {
  --ink: #0d0f12;
  --surface: #13161b;
  --surface-2: #1b1f25;
  --line: rgba(232, 228, 220, .14);
  --bone: #e8e4dc;
  --muted: #a8abb1;
  --gold: #c9a84c;
  --moss: #66825d;
  --focus: #f0cf6a;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
#main-content { padding-top: var(--site-shell-header-height, 74px); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.crumbs { padding-top: 22px; color: var(--muted); font-size: 13px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #666a70; }
.crumbs a { text-underline-offset: 3px; }

.hero { position: relative; min-height: 610px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .44; filter: saturate(.7); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0f12 3%, rgba(13,15,18,.75) 48%, rgba(13,15,18,.25)), linear-gradient(0deg, #0d0f12, transparent 52%); }
.hero-content { position: relative; z-index: 1; max-width: 780px; padding: 95px 0 82px; }
.eyebrow { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .24em; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.08; }
h1 { margin: 20px 0 22px; font-size: clamp(46px, 7vw, 92px); }
.lead { max-width: 720px; font-size: clamp(18px, 2.1vw, 24px); color: #d0cdc7; }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-weight: 650; }
.button--primary { background: var(--gold); border-color: var(--gold); color: #111; }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.hero-note { margin-top: 34px; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(13,15,18,.62); color: #c3c1bc; font-size: 14px; }

.section { padding: 88px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: 48px; align-items: end; margin-bottom: 36px; }
.section h2 { margin: 8px 0 0; font-size: clamp(34px, 4.2vw, 58px); }
.section-intro { color: var(--muted); margin: 0; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.anchor-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--muted); font-size: 13px; }

.split-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice { min-height: 280px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; }
.choice--author { border-color: rgba(201,168,76,.45); }
.choice h2 { font-size: clamp(30px, 4vw, 48px); margin: 12px 0; }
.choice p { color: var(--muted); }
.choice .button { margin-top: auto; align-self: flex-start; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-button { border: 1px solid var(--line); background: transparent; color: var(--bone); padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.filter-button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.card[hidden] { display: none; }
.card-media { aspect-ratio: 16 / 9; background: #20242a; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.label-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.label { padding: 4px 8px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.27); color: #d8bb67; border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.label--neutral { color: #bac0c7; background: rgba(186,192,199,.07); border-color: rgba(186,192,199,.2); }
.label--ready { color: #bcd6b4; background: rgba(102,130,93,.13); border-color: rgba(102,130,93,.35); }
.card h3 { margin: 0 0 10px; font-size: 27px; }
.card p { color: var(--muted); margin: 0 0 18px; }
.card a.card-link { margin-top: auto; color: var(--bone); font-weight: 700; text-underline-offset: 5px; }
.card a.card-link:hover { color: var(--gold); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.step { counter-increment: step; padding: 24px; min-height: 210px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step::before { content: "0" counter(step); color: var(--gold); font-weight: 700; letter-spacing: .15em; }
.step h3 { font-size: 23px; margin: 22px 0 9px; }
.step p { color: var(--muted); font-size: 14px; }

.notice { padding: 24px; border: 1px solid rgba(201,168,76,.35); background: rgba(201,168,76,.06); border-radius: 8px; }
.notice h2, .notice h3 { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }

.territory-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.territory-table th, .territory-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.territory-table th { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.territory-table td { color: #c3c1bc; }
.status { white-space: nowrap; font-weight: 700; color: #bcd6b4; }
.status--study { color: #d5c69c; }

@media (max-width: 980px) {
  .catalog { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand { font-size: 16px; letter-spacing: .1em; }
  .hero { min-height: 580px; }
  .hero-content { padding: 68px 0 56px; }
  h1 { font-size: clamp(42px, 14vw, 66px); }
  .section { padding: 62px 0; }
  .section-head, .split-choice, .catalog { grid-template-columns: 1fr; }
  .section-head { gap: 18px; }
  .choice { min-height: 240px; }
  .steps { display: block; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .step:last-child { border-bottom: 0; }
  .territory-table, .territory-table tbody, .territory-table tr, .territory-table td { display: block; }
  .territory-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .territory-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .territory-table td { padding: 4px 0; border: 0; }
  .territory-table td::before { content: attr(data-label) ": "; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
