:root {
  --ink: #112a27;
  --green: #0b332d;
  --green-2: #164940;
  --paper: #fbf8ef;
  --white: #fffefa;
  --copper: #b85f34;
  --copper-dark: #813a21;
  --atlantic: #0d5b6e;
  --atlantic-light: #d9eff2;
  --line: #c9d0c8;
  --amber: #d48b13;
  --red: #a9342d;
  --green-signal: #16815f;
  --shadow: 0 18px 45px rgba(9, 39, 34, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.62 var(--sans); overflow-wrap: anywhere; }
img, video, iframe, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--atlantic); text-underline-offset: .18em; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 3px solid #efb943; outline-offset: 4px; border-radius: 3px; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 100; background: #fff; color: #000; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.masthead { background: var(--green); color: #fff; border-bottom: 5px solid var(--copper); }
.dateline { border-bottom: 1px solid rgba(255,255,255,.18); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.dateline-inner, .header-inner, .nav-inner, .wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.dateline-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .45rem 0; }
.header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0 .85rem; }
.identity { display: inline-flex; gap: .78rem; align-items: center; color: #fff; text-decoration: none; min-width: 0; }
.identity-mark { width: 46px; flex: 0 0 46px; }
.identity strong { display: block; font: 700 clamp(1.24rem,4vw,1.78rem)/1 var(--serif); }
.identity small { display: block; margin-top: .28rem; color: #bcd8d3; font-size: .72rem; letter-spacing: .075em; text-transform: uppercase; }
.top-cta, .journey-cta { display: inline-flex; align-items: center; justify-content: center; border: 2px solid #efb995; background: var(--copper); color: #fff; padding: .68rem 1rem; text-decoration: none; font-weight: 800; box-shadow: 4px 4px 0 #061d19; }
.top-cta:hover, .journey-cta:hover { background: #d27844; color: #fff; }
.primary-nav { background: #082923; }
.nav-inner { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; padding: .15rem 0; }
.nav-inner a { color: #edf6f3; padding: .58rem .72rem; text-decoration: none; font-size: .9rem; border-right: 1px solid rgba(255,255,255,.1); }
.nav-inner a:hover, .nav-inner a[aria-current="page"] { background: var(--atlantic); color: #fff; }

main { min-height: 62vh; }
.hero { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: clamp(3rem,9vw,7rem) 0 4rem; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 72px solid rgba(89,183,196,.12); border-radius: 50%; right: -180px; top: -150px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); gap: 2rem; align-items: end; }
.eyebrow { margin: 0 0 .65rem; color: var(--copper); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #f0aa7e; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; text-wrap: balance; }
h1 { margin: 0 0 1rem; font-size: clamp(2.5rem,7.5vw,5.6rem); letter-spacing: -.035em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem,4vw,3rem); }
h3 { margin: 0 0 .65rem; font-size: 1.35rem; }
.hero p { max-width: 700px; color: #d9ebe7; font-size: clamp(1rem,2vw,1.22rem); }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem; background: var(--white); color: var(--green); border: 2px solid var(--green); box-shadow: 4px 4px 0 var(--copper); font-weight: 800; text-decoration: none; }
.hero .button { border-color: #fff; }
.button.alt { color: #fff; background: transparent; border-color: #7ec2cb; box-shadow: none; }
.folio-note { background: var(--paper); color: var(--ink); padding: 1.4rem; border-top: 8px solid var(--copper); transform: rotate(-1deg); box-shadow: var(--shadow); }
.folio-note strong { font-family: var(--serif); font-size: 1.4rem; }
.folio-note p { color: var(--ink); font-size: .94rem; }

.section { padding: clamp(2.8rem,7vw,5.7rem) 0; }
.section.white { background: var(--white); }
.section.atlantic { background: var(--atlantic-light); }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.48fr); align-items: end; gap: 1.4rem; margin-bottom: 1.6rem; }
.section-heading p { margin: 0; }
.rule-label { display: inline-block; border-bottom: 3px solid var(--copper); padding-bottom: .2rem; font-weight: 900; text-transform: uppercase; font-size: .74rem; letter-spacing: .1em; }

.signal-legend { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.legend-item { padding: 1.25rem; border-right: 1px solid var(--line); }
.legend-item:last-child { border-right: 0; }
.signal-dot { display: inline-block; width: .85rem; height: .85rem; border-radius: 50%; margin-right: .42rem; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.signal-dot.green { background: var(--green-signal); }
.signal-dot.amber { background: var(--amber); }
.signal-dot.red { background: var(--red); }
.legend-item p { margin: .4rem 0 0; font-size: .9rem; }

.brand-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.brand-card { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--amber); min-width: 0; box-shadow: 0 8px 20px rgba(9,39,34,.08); }
.brand-card:nth-child(3n+2) { transform: translateY(.7rem); }
.brand-card a { display: grid; grid-template-rows: 104px auto; height: 100%; color: inherit; text-decoration: none; }
.brand-logo-box { display: grid; place-items: center; background: #eef2ed; padding: .8rem; border-bottom: 1px solid var(--line); }
.brand-logo-box img { width: 76px; height: 76px; object-fit: cover; border-radius: 18px; }
.brand-card-copy { padding: 1rem; min-width: 0; }
.brand-card-copy h3 { font-size: 1.22rem; }
.domain { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .77rem; color: #4b645f; overflow-wrap: anywhere; }
.card-meta { margin: .7rem 0 0; font-size: .84rem; }
.card-link { display: inline-block; margin-top: .75rem; color: var(--copper-dark); font-weight: 900; }

.ai-disclosure { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 1rem; align-items: start; padding: 1.4rem; background: #e8f3ef; border: 2px solid var(--green-2); border-left: 12px solid var(--green-2); }
.ai-disclosure .seal { width: 58px; height: 58px; display: grid; place-items: center; border: 3px double var(--green); border-radius: 50%; font: 800 .72rem var(--serif); text-align: center; }
.ai-disclosure p { margin: .25rem 0 0; }

.page-hero { background: linear-gradient(115deg,var(--green) 0 69%,var(--atlantic) 69%); color: #fff; padding: clamp(2.5rem,6vw,5rem) 0; }
.page-hero h1 { font-size: clamp(2.25rem,6vw,4.7rem); max-width: 900px; }
.page-hero p { max-width: 750px; color: #d6e8e4; }
.breadcrumbs { margin: 0 0 1.3rem; font-size: .84rem; color: #bad7d1; }
.breadcrumbs a { color: #fff; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.35fr); gap: 2.2rem; align-items: start; }
.prose { min-width: 0; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.3rem; }
.prose h3 { margin-top: 1.7rem; }
.aside-card { position: sticky; top: 1rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-top: 7px solid var(--copper); box-shadow: var(--shadow); }
.aside-card ul { padding-left: 1.15rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: .62rem 0 .62rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: .2rem; top: .62rem; color: var(--green-signal); font-weight: 900; }
.warning-box, .help-box { padding: 1.15rem; border-left: 8px solid var(--amber); background: #fff6dc; }
.help-box { border-left-color: var(--atlantic); background: var(--atlantic-light); }
.urgent-box { background: #fff0ef; border: 3px solid var(--red); padding: 1.4rem; }

.directory-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: end; padding: 1rem; background: var(--green); color: #fff; margin-bottom: 1.4rem; }
label { display: block; font-weight: 800; }
input, textarea, select { width: 100%; max-width: 100%; margin-top: .35rem; border: 2px solid #71837e; background: #fff; color: #111; padding: .72rem .78rem; font: inherit; border-radius: 0; }
textarea { min-height: 170px; resize: vertical; }
.directory-tools input { min-width: 0; }
.result-count { font-weight: 800; white-space: nowrap; }
.directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.folio-card { display: grid; grid-template-columns: 118px minmax(0,1fr); min-width: 0; background: var(--white); border: 1px solid var(--line); }
.folio-card > a { display: contents; color: inherit; text-decoration: none; }
.folio-card-mark { display: grid; place-items: center; background: #e7ece8; padding: 1rem; border-right: 1px solid var(--line); }
.folio-card-mark img { width: 82px; height: 82px; object-fit: cover; border-radius: 20px; }
.folio-card-body { padding: 1.1rem; min-width: 0; }
.folio-card .status-line { display: flex; align-items: center; gap: .25rem; color: #704709; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }

.operator-header { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 1.4rem; align-items: center; }
.operator-logo { width: 132px; height: 132px; object-fit: cover; border-radius: 29px; border: 8px solid #fff; box-shadow: var(--shadow); }
.operator-header h1 { margin-bottom: .55rem; }
.operator-header .domain { color: #c7ded9; }
.verdict { margin: 1.6rem 0; padding: 1.2rem 1.35rem; background: #fff7de; border: 2px solid #d6a13c; border-left: 15px solid var(--amber); }
.verdict h2 { font-size: 1.8rem; }
.verdict-code { display: inline-flex; gap: .45rem; align-items: center; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.evidence-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
figure.evidence { margin: 0; padding: .7rem; background: var(--white); border: 1px solid var(--line); min-width: 0; }
figure.evidence img { width: 100%; max-height: 500px; object-fit: contain; background: #eef0ed; }
figure.evidence figcaption { margin-top: .65rem; font-size: .82rem; color: #415954; overflow-wrap: anywhere; }
.fact-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); margin: 1.2rem 0; }
.fact-strip div { padding: .9rem; border-right: 1px solid var(--line); min-width: 0; }
.fact-strip div:last-child { border-right: 0; }
.fact-strip dt { color: #56706b; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.fact-strip dd { margin: .28rem 0 0; font-weight: 800; }

.timeline { position: relative; display: grid; gap: 1rem; padding-left: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: .38rem; inset-block: .5rem; width: 3px; background: var(--copper); }
.timeline-item { position: relative; padding: 1rem; background: var(--white); border: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--atlantic); left: -1.55rem; top: 1.35rem; border: 3px solid var(--paper); }
.trail-map { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; counter-reset: trail; }
.trail-step { position: relative; padding: 1rem; background: var(--white); border-top: 6px solid var(--atlantic); counter-increment: trail; }
.trail-step::before { content: counter(trail); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; background: var(--green); font-weight: 900; margin-bottom: .7rem; }

.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--line); }
table { width: 100%; max-width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; font-size: .88rem; }
th, td { padding: .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { background: var(--green); color: #fff; }

.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.contact-form .full { grid-column: 1 / -1; }
.submit { border: 0; background: var(--green); color: #fff; padding: .82rem 1.2rem; font: 800 1rem var(--sans); cursor: pointer; box-shadow: 4px 4px 0 var(--copper); }

.site-footer { background: #061f1b; color: #d5e5e1; border-top: 6px solid var(--copper); padding: 2.8rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(2,.8fr); gap: 2rem; }
.site-footer h2 { font-size: 1.35rem; color: #fff; }
.site-footer a { color: #c7e7e8; }
.footer-links { display: grid; gap: .38rem; }
.fineprint { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .76rem; color: #9fb8b3; }
.hidden-by-filter { display: none !important; }

@media (max-width: 900px) {
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .folio-note { max-width: 560px; }
  .aside-card { position: static; }
  .trail-map { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .dateline-inner { justify-content: flex-start; }
  .header-inner { grid-template-columns: 1fr; }
  .top-cta { width: 100%; }
  .nav-inner a { flex: 1 1 45%; text-align: center; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { padding-top: 2.6rem; }
  .section-heading { grid-template-columns: 1fr; }
  .signal-legend, .brand-grid, .directory-grid, .evidence-grid, .fact-strip, .footer-grid { grid-template-columns: 1fr; }
  .legend-item, .fact-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .legend-item:last-child, .fact-strip div:last-child { border-bottom: 0; }
  .brand-card:nth-child(3n+2) { transform: none; }
  .directory-tools { grid-template-columns: 1fr; }
  .result-count { white-space: normal; }
  .folio-card { grid-template-columns: 92px minmax(0,1fr); }
  .folio-card-mark { padding: .6rem; }
  .folio-card-mark img { width: 64px; height: 64px; border-radius: 14px; }
  .operator-header { grid-template-columns: 88px minmax(0,1fr); gap: .8rem; }
  .operator-logo { width: 88px; height: 88px; border-width: 5px; border-radius: 20px; }
  .page-hero { background: var(--green); }
  .trail-map, .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .ai-disclosure { grid-template-columns: 1fr; }
  table { font-size: .76rem; table-layout: auto; }
  th, td { padding: .48rem; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
