:root {
  --orange: #f3790c;
  --orange-dark: #a64100;
  --charcoal: #465365;
  --ink: #141a2a;
  --muted: #5e6878;
  --line: #e5e8ee;
  --canvas: #ffffff;
  --paper: #ffffff;
  --soft: #f8fafc;
  --brand-soft: #fff3e8;
  --green: #2f6f4e;
  --green-bg: #e4f3e9;
  --blue: #285b78;
  --blue-bg: #eaf2f7;
  --amber-bg: #fff0d6;
  --grey-bg: #f1f0ef;
  --radius: 22px;
  --shadow: 0 22px 60px rgb(20 26 42 / 10%);
  --content: 1180px;
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }
.eyebrow { margin: 0 0 .65rem; color: var(--orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 800; line-height: 1.1; text-wrap: balance; }
h1 { max-width: 980px; font-size: clamp(2.7rem, 6.4vw, 4.9rem); letter-spacing: -.045em; }
h2 { margin-top: 3.5rem; font-size: clamp(2.1rem, 4.4vw, 3.55rem); letter-spacing: -.04em; }
h3 { margin-top: 1.7rem; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.accent { color: var(--orange-dark); }
p { margin: .85rem 0 0; }
.lede { max-width: 780px; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--charcoal); }
.site-header { position: sticky; top: 1rem; z-index: 50; width: min(calc(100% - 2rem), 1200px); margin: 1rem auto 0; border: 1px solid rgb(229 232 238 / 85%); border-radius: 999px; background: rgb(255 255 255 / 94%); box-shadow: 0 14px 40px rgb(20 26 42 / 10%); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { width: 250px; max-height: 52px; object-fit: contain; object-position: left center; }
.nav-toggle { display: none; border: 2px solid var(--ink); border-radius: 9px; background: white; color: var(--ink); font: inherit; font-weight: 750; padding: .55rem .75rem; }
.site-nav ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .65rem .75rem; color: var(--ink); border-radius: 8px; font-size: .92rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange-dark); background: var(--brand-soft); }
.hero { padding: clamp(5rem, 9vw, 8.5rem) 0 5.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
.hero-copy { position: relative; z-index: 1; max-width: 980px; margin-inline: auto; text-align: center; }
.hero-copy h1, .hero-copy .lede, .hero-copy > p { margin-inline: auto; }
.hero-copy > p:not(.eyebrow) { max-width: 790px; }
.hero-copy .actions, .hero-copy .proofline { justify-content: center; }
.hero-media { position: relative; width: min(100%, 1040px); margin: 4.5rem auto 0; }
.hero-media::before { content: ""; position: absolute; inset: -10% -10% auto auto; width: 75%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); opacity: .12; }
.hero-media img { position: relative; width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.3rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; }
.button-primary { color: white; background: var(--orange-dark); }
.button-primary { box-shadow: 0 7px 0 #ead8cd; }
.button-primary:hover { background: #843500; transform: translateY(-1px); }
.button-secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-secondary:hover { background: white; }
.proofline { display: flex; flex-wrap: wrap; gap: .7rem 1.15rem; margin: 1.6rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.proofline li::before { content: "✓"; display: inline-block; margin-right: .45rem; color: var(--green); font-weight: 900; }
.section { padding: clamp(5rem, 9vw, 7rem) 0; }
.section-white { background: var(--soft); }
.section-dark { color: white; background: var(--ink); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark a { color: #ffad62; }
.section-dark .eyebrow { color: #ffbd80; }
.section-dark .card { color: var(--ink); background: white; }
.section-dark .card h3 { color: var(--ink); }
.section-dark .card p { color: var(--charcoal); }
.section-dark .button-primary { color: var(--ink); background: white; box-shadow: 0 7px 0 rgb(255 255 255 / 20%); }
.section-dark .button-primary:hover { color: var(--ink); background: var(--brand-soft); }
.section > .wrap > .eyebrow, .section > .wrap > .eyebrow + h2, .section > .wrap > .eyebrow + h2 + .lede { margin-inline: auto; text-align: center; }
.section > .wrap > .eyebrow + h2 { max-width: 900px; }
.section-head { display: block; max-width: 900px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-top: 0; }
.section-head .reading { margin-inline: auto; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 34px rgb(20 26 42 / 5%); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 800; }
.route-card { position: relative; padding-top: 3.8rem; }
.route-card::before { content: attr(data-step); position: absolute; left: 1.4rem; top: 1rem; color: var(--orange-dark); font-size: .8rem; font-weight: 900; letter-spacing: .1em; }
.process { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; max-width: 1040px; margin: 3rem auto 0; counter-reset: step; }
.process div { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgb(20 26 42 / 6%); }
.process div:not(:last-child)::after { content: "→"; position: absolute; right: -1.15rem; top: 50%; z-index: 2; color: var(--orange-dark); font-weight: 900; }
.process strong { display: block; color: var(--orange-dark); font-size: 1.15rem; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 3rem; }
.evidence { padding: 1.3rem 1.4rem; border-left: 5px solid; border-radius: 7px 12px 12px 7px; }
.evidence strong { display: block; margin-bottom: .3rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.confirmed { border-color: var(--green); background: var(--green-bg); }
.industry { border-color: var(--blue); background: var(--blue-bg); }
.observation { border-color: var(--orange); background: var(--amber-bg); }
.unknown { border-color: var(--charcoal); background: var(--grey-bg); }
.project-feature { display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.project-feature img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: top; }
.project-copy { padding: clamp(1.5rem, 4vw, 3.2rem); }
.status { display: inline-flex; gap: .45rem; align-items: center; padding: .35rem .7rem; border-radius: 99px; color: #205a3c; background: var(--green-bg); font-size: .85rem; font-weight: 800; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #2f8b5d; }
.note { margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--orange); background: var(--amber-bg); }
.page-hero { padding: clamp(5rem,8vw,7.5rem) 0 4rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--brand-soft), white); text-align: center; }
.page-hero .wrap { max-width: 1040px; }
.page-hero h1, .page-hero .lede { margin-inline: auto; }
.page-hero figure { text-align: left; }
.breadcrumbs { margin: 0 0 1.2rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; color: var(--muted); font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: #aaa; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) 260px; justify-content: space-between; gap: 4rem; align-items: start; }
.article-body { min-width: 0; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body h2:first-child { margin-top: 0; }
.article-body > p { max-width: 66ch; }
.article-body > p + p { margin-top: 1.75rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li + li { margin-top: .45rem; }
.article-body h3 { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 3rem; }
.topic-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.topic-card h3 { margin: 0; padding: 0; border: 0; font-size: 1.25rem; }
.topic-card p { margin-top: .75rem; color: var(--charcoal); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.fact-card { padding: 1.35rem 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.fact-card dt { margin-bottom: .45rem; color: var(--muted); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.fact-card dd { margin: 0; color: var(--ink); font-weight: 700; }
.numbered-list { margin: 1.4rem 0 2rem; padding-left: 1.7rem !important; }
.numbered-list li { padding: .35rem 0 .35rem .7rem; }
.numbered-list li + li { margin-top: 1.15rem; }
.numbered-list li::marker { color: var(--orange-dark); font-weight: 900; }
.example { margin: 1.5rem 0 2rem; padding: 1rem 1.2rem; border-left: 4px solid var(--blue); background: var(--blue-bg); }
.toc { position: sticky; top: 112px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); font-size: .9rem; }
.toc strong { display: block; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li + li { margin-top: .4rem; }
.toc a { color: var(--charcoal); text-decoration: none; }
.toc a:hover { color: var(--orange-dark); text-decoration: underline; }
.fact-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; font-size: .95rem; }
.fact-table th, .fact-table td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.fact-table th { width: 34%; background: var(--grey-bg); }
.timeline { position: relative; margin: 2rem 0; padding-left: 1.8rem; border-left: 3px solid var(--line); }
.timeline article { position: relative; padding: 0 0 1.7rem 1rem; }
.timeline article::before { content: ""; position: absolute; left: -2.34rem; top: .35rem; width: .8rem; height: .8rem; border: 3px solid var(--canvas); border-radius: 50%; background: var(--orange-dark); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1/-1; }
label { font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #aaa6a3; border-radius: 8px; background: white; color: var(--ink); font: inherit; padding: .8rem; }
textarea { min-height: 180px; resize: vertical; }
.form-status { min-height: 1.7em; margin-top: .8rem; font-weight: 700; }
.site-footer { padding: 4rem 0 2rem; color: #ddd; background: #242324; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-brand img { width: 290px; filter: brightness(0) invert(1); opacity: .96; }
.site-footer h2 { margin: 0 0 1rem; color: white; font-size: 1.1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { color: #eee; }
.legal-line { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #4a494a; color: #aaa; font-size: .86rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header { border-radius: 24px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 84px; display: none; padding: .75rem 1rem 1rem; border: 1px solid var(--line); border-radius: 20px; background: var(--canvas); box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { display: grid; }
  .site-nav a { padding: .75rem; }
  .hero-grid, .project-feature, .article-layout { grid-template-columns: 1fr; }
  .hero-media img { max-height: 460px; }
  .toc { position: static; order: -1; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .site-header { width: min(calc(100% - 1rem), 1200px); top: .5rem; margin-top: .5rem; }
  .header-inner { min-height: 70px; }
  .brand img { width: 210px; }
  .hero { padding-top: 2.5rem; }
  .hero-media img { border-radius: 20px 20px 46px 20px; }
  .grid-2, .grid-4, .process, .evidence-grid, .form-grid, .footer-grid, .topic-grid, .fact-grid { grid-template-columns: 1fr; }
  .process div:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -1.25rem; }
  .field-full { grid-column: auto; }
  .section { padding: 3.8rem 0; }
}

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