/* Shailka — corporate site stylesheet */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1f1a;
  --ink-2: #12332b;
  --green: #06482b;
  --green-2: #0a7a3c;
  --mint: #dcebe4;
  --brass: #a67c2e;
  --paper: #f7f5ef;
  --white: #ffffff;
  --text: #1c2a26;
  --muted: #5a6763;
  --line: #dcd8cb;
  --line-dark: rgba(255, 255, 255, 0.14);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Red Hat Display", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); line-height: 1.18; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.eyebrow {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin: 0 0 14px;
}
.small { font-size: 0.86rem; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Notice bar */
.notice { background: var(--ink); color: #b9c9c3; font-size: 0.8rem; padding: 8px 0; }
.notice .wrap { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice a { color: #e6efe9; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); display: inline-block; margin-right: 8px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }
.brand-tag { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--text); font-size: 0.92rem; font-weight: 500; padding: 26px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.nav a.btn { padding: 10px 18px; border-bottom: 0; color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Buttons */
.btn {
  display: inline-block; background: var(--green); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 0.93rem; padding: 13px 22px; border-radius: 3px; border: 1px solid var(--green);
  transition: background 0.15s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn.outline { background: transparent; color: var(--green); }
.btn.outline:hover { background: var(--green); color: var(--white); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Hero */
.hero { background: var(--ink); color: #cfdcd6; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(23, 121, 93, 0.5), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 100%;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 92px; padding-bottom: 92px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #7fd0b3; }
.hero .lede { color: #b9c9c3; margin-top: 22px; }
.hero-panel { border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); border-radius: 4px; }
.hero-panel header { padding: 16px 24px; border-bottom: 1px solid var(--line-dark); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9fb4ac; display: flex; justify-content: space-between; gap: 12px; }
.hero-panel dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hero-panel dl > div { padding: 22px 24px; border-bottom: 1px solid var(--line-dark); }
.hero-panel dl > div:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.hero-panel dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.hero-panel dt { font-size: 0.78rem; color: #9fb4ac; }
.hero-panel dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.9rem; color: var(--white); line-height: 1.15; font-variant-numeric: tabular-nums; }
.hero-panel dd small { font-family: var(--sans); font-size: 0.8rem; color: #9fb4ac; font-weight: 500; margin-left: 4px; }
.hero-panel footer { padding: 13px 24px; border-top: 1px solid var(--line-dark); font-size: 0.75rem; color: #8fa49c; }

.page-hero { background: var(--ink); color: #b9c9c3; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 90% 0%, rgba(23, 121, 93, 0.45), transparent 70%); }
.page-hero .wrap { position: relative; padding-top: 68px; padding-bottom: 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.8vw, 3rem); max-width: 20ch; }
.page-hero .eyebrow { color: #7fd0b3; }
.page-hero .lede { color: #b9c9c3; margin: 18px 0 0; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ink); color: #b9c9c3; }
section.dark h2, section.dark h3 { color: var(--white); }
section.dark .eyebrow { color: #7fd0b3; }
section.dark .lede { color: #b9c9c3; }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head .lede { margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
section.alt .card { background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 18px; }
.card.rule { border-top: 3px solid var(--green); }
section.dark .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }

.stat { border-top: 2px solid var(--green); padding-top: 18px; }
.stat b { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 0.92rem; color: var(--muted); }
.stat cite { display: block; margin-top: 8px; font-size: 0.76rem; font-style: normal; color: #7d8985; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: #faf9f5; font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); width: 30%; }
td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

.tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; white-space: nowrap; }
.tag.done { background: var(--mint); color: var(--green); }
.tag.plan { background: #f1ead9; color: #7a5a1c; }
.tag.open { background: #ecebe6; color: #4d5955; }

/* Process flow */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.flow li { list-style: none; padding: 26px 20px 24px; border-right: 1px solid var(--line); position: relative; counter-increment: step; }
.flow li:last-child { border-right: 0; }
.flow li::before { content: "0" counter(step); font-family: var(--serif); font-size: 0.95rem; color: var(--brass); font-weight: 600; }
.flow li::after { content: ""; position: absolute; right: -6px; top: 32px; width: 10px; height: 10px; background: var(--white); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 1; }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 1.02rem; margin: 10px 0 8px; }
.flow p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.5; }
ol.flow { margin: 0; padding: 0; }

/* Roadmap */
.roadmap { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.roadmap li { padding: 0 0 30px 30px; position: relative; }
.roadmap li:last-child { padding-bottom: 0; }
.roadmap li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid #b5b1a4; }
.roadmap li.done::before { background: var(--green); border-color: var(--green); }
.roadmap li.now::before { background: var(--white); border-color: var(--brass); box-shadow: 0 0 0 4px rgba(166, 124, 46, 0.2); }
.roadmap h3 { font-size: 1.08rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.roadmap p { margin: 6px 0 0; color: var(--muted); font-size: 0.94rem; max-width: 64ch; }
section.alt .roadmap li::before { background: var(--white); }
section.alt .roadmap li.done::before { background: var(--green); }

/* Capital bar */
.capbar { display: flex; height: 54px; border-radius: 3px; overflow: hidden; font-size: 0.86rem; font-weight: 600; color: var(--white); }
.capbar div { display: flex; align-items: center; padding: 0 16px; white-space: nowrap; }
.capbar .debt { background: var(--green); flex: 70; }
.capbar .eq { background: var(--brass); flex: 30; }

/* Lists */
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); position: relative; }
.check li:last-child { border-bottom: 0; }
.check li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
section.dark .check li { border-color: var(--line-dark); }
section.dark .check li::before { border-color: #7fd0b3; }

.callout { border-left: 3px solid var(--brass); background: #fbf8ef; padding: 20px 24px; font-size: 0.92rem; color: #4c463a; border-radius: 0 4px 4px 0; }
.callout strong { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

/* CTA */
.cta { background: var(--green); color: #d6ebe3; padding: 64px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: var(--white); max-width: 22ch; }
.cta p { margin: 12px 0 0; max-width: 52ch; }
.cta .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.cta .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Form */
form.enquiry { display: grid; gap: 18px; }
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 12px 14px; border: 1px solid #c9c5b8; border-radius: 3px; background: var(--white); color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }

/* Footer */
.site-footer { background: var(--ink); color: #9fb4ac; font-size: 0.88rem; padding: 64px 0 0; }
.site-footer a { color: #cfdcd6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-tag { color: #9fb4ac; }
.legal { border-top: 1px solid var(--line-dark); padding: 26px 0 34px; font-size: 0.76rem; line-height: 1.6; color: #869992; }
.legal p { max-width: 110ch; margin-bottom: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 44px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li { border-bottom: 1px solid var(--line); }
  .flow li:nth-child(even) { border-right: 0; }
  .flow li:nth-last-child(-n+2) { border-bottom: 0; }
  .flow li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 14px; text-align: center; }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .hero .wrap { padding-top: 60px; padding-bottom: 60px; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .g4.keep2 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .flow li:last-child { border-bottom: 0 !important; }
  form.enquiry .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-panel dd { font-size: 1.5rem; }
  .hero-panel dl > div { padding: 18px 16px; }
  .notice .wrap > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .notice, .cta, .nav-toggle { display: none; }
  body { background: #fff; }
  section { padding: 28px 0; }
}

/* Grid children may shrink below content width (wide tables scroll inside .table-wrap) */
.split > *, .grid > *, .hero .wrap > * { min-width: 0; }
@media (max-width: 620px) {
  .capbar { font-size: 0.76rem; }
  .capbar div { padding: 0 10px; }
}

/* ============================================================
   Motion and graphics
   ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes breathe { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2.5px); } }
@keyframes wave { to { transform: translateX(-40px); } }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-27px); opacity: 0; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.15); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes track { to { background-position: -200% 0; } }
@keyframes step { 0%, 12% { background: var(--green); color: var(--white); border-color: var(--green); box-shadow: 0 0 0 7px rgba(15, 91, 70, 0.14); } 22%, 100% { background: var(--white); color: var(--green); border-color: var(--line); box-shadow: 0 0 0 0 rgba(15, 91, 70, 0); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes pan { to { background-position: 112px 194px; } }

.a-spin, .a-spin-slow { transform-origin: 0 0; animation: spin 7s linear infinite; }
.a-spin-b { animation-duration: 5s; animation-delay: -2s; }
.a-spin-slow { animation-duration: 40s; }
.a-flow path { stroke-dasharray: 5 11; animation: dash 1.1s linear infinite; }
.a-fall { stroke-dasharray: 4 6; animation: dash 0.9s linear infinite reverse; }
.a-breathe { animation: breathe 4s ease-in-out infinite; }
.a-bob { animation: bob 4s ease-in-out infinite; }
.a-wave { animation: wave 2.6s linear infinite; }
.a-bubble { animation: bubble 2.2s ease-in infinite; }
.a-bubble.d1 { animation-delay: -0.5s; } .a-bubble.d2 { animation-delay: -1s; } .a-bubble.d3 { animation-delay: -1.5s; } .a-bubble.d4 { animation-delay: -1.9s; }

/* Hero */
.hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 40px; padding-top: 76px; padding-bottom: 28px; }
.hero .wrap + .wrap { display: block; padding-top: 0; padding-bottom: 44px; }
.hero h1 em { font-style: italic; font-weight: 500; color: #9be0c5; }
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.1s; } .hero-copy > :nth-child(3) { animation-delay: 0.22s; } .hero-copy > :nth-child(4) { animation-delay: 0.34s; }
.hero-art { animation: rise 1.2s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: drift 18s ease-in-out infinite; }
.aurora i:nth-child(1) { background: #17795d; right: -80px; top: -200px; }
.aurora i:nth-child(2) { background: #0f5b46; left: 20%; bottom: -320px; animation-duration: 24s; animation-direction: reverse; }
.aurora i:nth-child(3) { background: #a67c2e; left: -220px; top: -260px; opacity: 0.22; animation-duration: 30s; }
.hero-stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); border-radius: 4px; background: rgba(11, 31, 26, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats > div { padding: 22px 26px; border-right: 1px solid var(--line-dark); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats dt { font-size: 0.78rem; color: #9fb4ac; }
.hero-stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: 2rem; color: var(--white); line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-stats dd small { font-family: var(--sans); font-size: 0.78rem; color: #9fb4ac; font-weight: 500; margin-left: 6px; }
.hero-foot { font-size: 0.75rem; color: #8fa49c; margin: 12px 0 0; }

/* Page hero pattern */
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v33L28 65 0 49V16zM28 65v32M0 97V81M56 97V81' fill='none' stroke='%237fd0b3' stroke-opacity='.22'/%3E%3C/svg%3E") 0 0 / 56px 97px;
  -webkit-mask-image: radial-gradient(520px 300px at 88% 40%, #000, transparent 75%);
  mask-image: radial-gradient(520px 300px at 88% 40%, #000, transparent 75%);
  animation: pan 30s linear infinite;
}
.page-hero .wrap > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: 0.1s; } .page-hero .wrap > :nth-child(3) { animation-delay: 0.2s; }

/* Scroll reveal (class added by site.js) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Header, buttons, cards */
.site-header { transition: box-shadow 0.25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 31, 26, 0.09); }
.btn { transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 31, 26, 0.18); }
.btn:not(.ghost):not(.nav .btn)::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform 0.2s; }
.btn:hover::after { transform: translateX(4px); }
.card { transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, opacity 0.7s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(11, 31, 26, 0.1); border-color: #c5d8cf; }
section.dark .card:hover { border-color: rgba(127, 208, 179, 0.45); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3); }
.stat { position: relative; border-top-color: var(--line); }
.stat::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(1); transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i, 0) * 80ms + 0.2s); }
.js .stat.reveal:not(.in)::before { transform: scaleX(0); }
.card .icon path, .card .icon circle { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease calc(var(--i, 0) * 80ms + 0.3s); }
.js .card.reveal:not(.in) .icon path, .js .card.reveal:not(.in) .icon circle { stroke-dashoffset: 1; }

/* Process flow */
.flow { border: 0; background: none; position: relative; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--line) 0 40%, var(--green-2) 50%, var(--line) 60% 100%) 0 0 / 200% 100%; animation: track 3s linear infinite; }
.flow li { border: 0 !important; padding: 0 14px; text-align: center; }
.flow li::before, .flow li::after { display: none; }
.flow-icon { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; animation: step 9s linear infinite; }
.flow-icon svg { width: 26px; height: 26px; }
.flow li:nth-child(2) .flow-icon { animation-delay: 1.5s; } .flow li:nth-child(3) .flow-icon { animation-delay: 3s; }
.flow li:nth-child(4) .flow-icon { animation-delay: 4.5s; } .flow li:nth-child(5) .flow-icon { animation-delay: 6s; } .flow li:nth-child(6) .flow-icon { animation-delay: 7.5s; }
.flow h3 { margin-top: 0; }

/* Mass balance diagram */
.diagram-scroll { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 4px; background: rgba(255, 255, 255, 0.025); padding: 12px; }
.balance { min-width: 860px; width: 100%; height: auto; }
.balance .nodes rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.22); }
.balance .nodes .core rect { fill: rgba(23, 121, 93, 0.35); stroke: #7fd0b3; }
.balance .nodes .out rect { fill: rgba(217, 181, 106, 0.14); stroke: #d9b56a; }
.balance text { text-anchor: middle; fill: #fff; font-size: 14px; font-weight: 600; }
.balance text.v { fill: #9fb4ac; font-size: 12px; font-weight: 400; }
.balance .pills rect { fill: #0b1f1a; stroke: rgba(127, 208, 179, 0.5); }
.balance .pills text { font-size: 11.5px; font-weight: 500; fill: #cfe9de; }
.balance .core rect { animation: breathe 4s ease-in-out infinite; }
.reaction { max-width: 560px; margin: 40px auto 0; }
.reaction .op { fill: #9fb4ac; font: 500 26px var(--sans); text-anchor: middle; }
.reaction .lbl text { fill: #9fb4ac; font-size: 13px; font-weight: 600; text-anchor: middle; letter-spacing: 0.5px; }
.reaction .mol { animation: float 4s ease-in-out infinite; }
.reaction .m1 { transform: translate(40px, 35px); } .reaction .m2 { transform: translate(110px, 35px); animation-delay: -1.3s; } .reaction .m3 { transform: translate(75px, 68px); animation-delay: -2.6s; }
.reaction .m4 { transform: translate(210px, 52px); animation-delay: -0.7s; }
.reaction .m5 { transform: translate(410px, 52px); animation-delay: -2s; } .reaction .m6 { transform: translate(480px, 52px); animation-delay: -3.2s; }

/* Roadmap progress and capital bar */
.roadmap { position: relative; }
.roadmap::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: calc(var(--p, 1) * 100%); background: linear-gradient(var(--green), var(--brass)); }
.roadmap li.now::before { animation: breathe 2s ease-in-out infinite; }
.capbar div { transition: flex-grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; overflow: hidden; }
.js .capbar.reveal:not(.in) .debt { flex-grow: 1; } .js .capbar.reveal:not(.in) .eq { flex-grow: 99; }
.js tbody tr { transition: background 0.2s; } tbody tr:hover { background: #fbfaf6; }

@media (max-width: 980px) {
  .hero .wrap { padding-top: 56px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .flow::before { display: none; }
  .flow { gap: 34px 0; }
}
@media (max-width: 620px) {
  .hero-stats > div { padding: 16px; }
  .hero-stats dd { font-size: 1.45rem; }
  .hero-stats dd small { display: block; margin: 2px 0 0; }
  .flow li { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .flow-icon { grid-row: span 2; margin: 0; }
  .flow { gap: 26px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Scroll film (story.html)
   ============================================================ */
.film { height: 620vh; background: var(--ink); position: relative; }
.film-stage { position: sticky; top: var(--header); height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); overflow: hidden; color: var(--white); }
.film-scenes i { position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 90% at 70% 20%, var(--a), var(--b) 70%); }
.film-scenes i:first-child { opacity: 1; }
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s; }
.film-canvas.ready { opacity: 1; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 15, 0.78) 0%, rgba(6, 18, 15, 0.35) 45%, transparent 70%), linear-gradient(0deg, rgba(6, 18, 15, 0.55), transparent 35%); }
.film-chapters { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.film-chapters li { position: absolute; left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); bottom: 14%; max-width: 560px; padding-right: 24px; opacity: 0; transform: translateY(30px); pointer-events: none; will-change: opacity, transform; }
.film-chapters li:first-child { opacity: 1; transform: none; }
.film-chapters li.on { pointer-events: auto; }
.film-chapters span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #9be0c5; }
.film-chapters h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 14px 0 16px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.film-chapters p { font-size: 1.1rem; color: #d6e3dd; max-width: 46ch; margin: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.film-rail { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 2px; height: 40%; background: rgba(255, 255, 255, 0.2); }
.film-rail b { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #9be0c5; transform-origin: top; transform: scaleY(var(--p, 0)); }
.film-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); transition: opacity 0.4s; }
.film-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; animation: breathe 1.6s ease-in-out infinite; }
.film.started .film-hint { opacity: 0; }
@media (max-width: 620px) {
  .film-shade { background: linear-gradient(0deg, rgba(6, 18, 15, 0.85) 0%, rgba(6, 18, 15, 0.3) 60%, transparent 85%); }
  .film-chapters li { bottom: 12%; }
  .film-chapters p { font-size: 1rem; }
  .film-rail { right: 12px; }
}
/* Without JavaScript or with reduced motion, the chapters read as a plain list */
html:not(.js) .film, .film.static { height: auto; }
html:not(.js) .film-stage, .film.static .film-stage { position: static; height: auto; padding: 60px 0; }
html:not(.js) .film-chapters, .film.static .film-chapters { position: static; }
html:not(.js) .film-chapters li, .film.static .film-chapters li { position: static; opacity: 1; transform: none; margin: 0 auto 56px; padding: 0 24px; max-width: var(--wrap); pointer-events: auto; }
html:not(.js) .film-rail, html:not(.js) .film-hint, html:not(.js) .film-canvas, .film.static .film-rail, .film.static .film-hint, .film.static .film-canvas { display: none; }

/* Six navigation items need the compact menu earlier */
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 14px; text-align: center; }
}

/* Contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { margin: 5px 0 0; font-size: 0.8rem; color: #a3261d; min-height: 0; }
[aria-invalid="true"] { border-color: #a3261d; background: #fdf6f5; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form-status.err { color: #a3261d; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.form-done { text-align: center; padding: 40px 10px; animation: rise 0.6s both; }
.form-done svg { width: 56px; height: 56px; color: var(--green); margin: 0 auto 18px; }
.form-done svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick 0.6s 0.3s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.form-done p { color: var(--muted); margin: 8px 0 0; }

/* Vision statement */
.statement { position: relative; overflow: hidden; padding: 110px 0; }
.statement .wrap { position: relative; max-width: 980px; }
.statement blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.16; color: var(--white); font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; }
.statement .lede { max-width: 66ch; }
.big-n { display: block; font-family: var(--serif); font-size: 0.95rem; font-weight: 600; color: var(--brass); margin-bottom: 10px; }

/* Seven navigation items: tighter spacing, compact menu below 1240px */
.nav { gap: 24px; }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 14px; text-align: center; }
}

/* Brand logo (assets/brand) */
.brand img { height: 64px; width: auto; display: block; }
.nav a { padding: 31px 0; }
.site-footer .brand img { height: 72px; }
@media (max-width: 620px) { :root { --header: 68px; } .brand img { height: 50px; } }

/* ============================================================
   Hero illustration v2: one pulse tells the story in sequence
   (power -> electrolysis -> synthesis -> storage -> export), 12s loop
   ============================================================ */
.hero::before { background: radial-gradient(900px 500px at 85% -10%, rgba(10, 122, 60, 0.45), transparent 65%); }
.hero-art .stage { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-art .s1 { animation-delay: 0.3s; } .hero-art .s2 { animation-delay: 0.55s; } .hero-art .s3 { animation-delay: 0.8s; }
.hero-art .s4 { animation-delay: 1.05s; } .hero-art .s5 { animation-delay: 1.3s; }
.hero-art .pulse { stroke-dasharray: 0.16 1; stroke-dashoffset: 0.16; opacity: 0; animation: 12s linear 1.6s infinite; filter: drop-shadow(0 0 4px currentColor); }
.hero-art .p1 { animation-name: p1; color: #f0cd7c; } .hero-art .p2 { animation-name: p2; color: #9be0c5; }
.hero-art .p3 { animation-name: p3; color: #fff; } .hero-art .p4 { animation-name: p4; color: #fff; }
@keyframes p1 { 0% { stroke-dashoffset: 0.16; opacity: 1; } 20% { stroke-dashoffset: -1; opacity: 1; } 20.1%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes p2 { 0%, 21.9% { stroke-dashoffset: 0.16; opacity: 0; } 22% { stroke-dashoffset: 0.16; opacity: 1; } 34% { stroke-dashoffset: -1; opacity: 1; } 34.1%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes p3 { 0%, 37.900% { stroke-dashoffset: 0.16; opacity: 0; } 38% { stroke-dashoffset: 0.16; opacity: 1; } 54% { stroke-dashoffset: -1; opacity: 1; } 54.1%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes p4 { 0%, 63.900% { stroke-dashoffset: 0.16; opacity: 0; } 64% { stroke-dashoffset: 0.16; opacity: 1; } 70% { stroke-dashoffset: -1; opacity: 1; } 70.1% { stroke-dashoffset: 0.16; opacity: 1; } 76% { stroke-dashoffset: -1; opacity: 1; } 76.1% { stroke-dashoffset: 0.16; opacity: 1; } 82% { stroke-dashoffset: -1; opacity: 1; } 82.1%, 100% { stroke-dashoffset: -1; opacity: 0; } }

.hero-art .glow { opacity: 0.12; animation: 12s ease-in-out 1.6s infinite; }
.hero-art .glow.k2 { opacity: 0.04; animation-name: g2; } .hero-art .glow.k3 { animation-name: g3; }
@keyframes g2 { 0%, 16% { opacity: 0.04; } 22%, 32% { opacity: 0.3; } 40%, 100% { opacity: 0.04; } }
@keyframes g3 { 0%, 30% { opacity: 0.12; } 36%, 52% { opacity: 1; } 60%, 100% { opacity: 0.12; } }

.hero-art .lab { animation: 12s ease-in-out 1.6s infinite; }
.hero-art .lab.k1 { animation-name: l1; } .hero-art .lab.k2 { animation-name: l2; } .hero-art .lab.k3 { animation-name: l3; }
.hero-art .lab.k4 { animation-name: l4; } .hero-art .lab.k5 { animation-name: l5; }
@keyframes l1 { 0%, 18% { fill: #fff; } 24%, 100% { fill: #9fb4ac; } }
@keyframes l2 { 0%, 16% { fill: #9fb4ac; } 21%, 32% { fill: #fff; } 38%, 100% { fill: #9fb4ac; } }
@keyframes l3 { 0%, 30% { fill: #9fb4ac; } 35%, 52% { fill: #fff; } 58%, 100% { fill: #9fb4ac; } }
@keyframes l4 { 0%, 50% { fill: #9fb4ac; } 55%, 64% { fill: #fff; } 70%, 100% { fill: #9fb4ac; } }
@keyframes l5 { 0%, 62% { fill: #9fb4ac; } 66%, 92% { fill: #fff; } 98%, 100% { fill: #9fb4ac; } }

/* Tank level rises as ammonia arrives, falls as the ship loads */
.hero-art .level { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0.6); animation: level 12s ease-in-out 1.6s infinite; }
@keyframes level { 0%, 50% { transform: scaleY(0.28); } 62%, 64% { transform: scaleY(0.92); } 84%, 100% { transform: scaleY(0.28); } }
/* Ship arrives, loads, departs */
.hero-art .ship { animation: ship 12s cubic-bezier(0.4, 0, 0.2, 1) 1.6s infinite; }
@keyframes ship { 0%, 44% { transform: translateX(150px); } 58%, 86% { transform: translateX(0); } 99%, 100% { transform: translateX(150px); } }
.hero-art .cargo { transform-box: fill-box; transform-origin: 0 50%; opacity: 0.85; animation: cargo 12s linear 1.6s infinite; }
@keyframes cargo { 0%, 64% { transform: scaleX(0); } 84%, 100% { transform: scaleX(1); } }

/* Process flow: one dot travels the line and each step lights as it arrives */
.flow::before { background: var(--line); animation: none; left: 8.33%; right: 8.33%; }
.flow::after { content: ""; position: absolute; top: 22px; left: 8.33%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--leaf, #08a33d); box-shadow: 0 0 0 5px rgba(8, 163, 61, 0.18), 0 0 14px rgba(8, 163, 61, 0.6); animation: flowdot 9s linear infinite; z-index: 2; }
@keyframes flowdot { 0% { left: 8.33%; opacity: 0; } 2% { opacity: 1; } 83.300% { left: 91.67%; opacity: 1; } 90%, 100% { left: 91.67%; opacity: 0; } }
.flow-icon { z-index: 1; animation: step2 9s linear infinite; }
@keyframes step2 { 0% { background: var(--white); color: var(--green); border-color: var(--line); transform: scale(1); } 3%, 14% { background: var(--green); color: var(--white); border-color: var(--green); transform: scale(1.12); } 24%, 100% { background: var(--white); color: var(--green); border-color: var(--line); transform: scale(1); } }
.flow li h3, .flow li p { animation: steptext 9s linear infinite; }
@keyframes steptext { 0%, 100% { opacity: 0.6; } 3%, 16% { opacity: 1; } 28% { opacity: 0.6; } }
.flow li:nth-child(2) :is(h3, p) { animation-delay: 1.5s; } .flow li:nth-child(3) :is(h3, p) { animation-delay: 3s; }
.flow li:nth-child(4) :is(h3, p) { animation-delay: 4.5s; } .flow li:nth-child(5) :is(h3, p) { animation-delay: 6s; } .flow li:nth-child(6) :is(h3, p) { animation-delay: 7.5s; }
.flow:hover::after, .flow:hover .flow-icon, .flow:hover li :is(h3, p) { animation-play-state: paused; }
@media (max-width: 980px) { .flow::after { display: none; } .flow li h3, .flow li p { animation: none; opacity: 1; } }

/* Reaction: reactants meet, flash, ammonia leaves (8s loop) */
.reaction .m1 { transform: translate(60px, 40px); } .reaction .m2 { transform: translate(130px, 40px); } .reaction .m3 { transform: translate(95px, 80px); }
.reaction .m4 { transform: translate(190px, 62px); } .reaction .m5 { transform: translate(410px, 62px); } .reaction .m6 { transform: translate(480px, 62px); }
.reaction .rx-in { animation: rxin 8s ease-in-out infinite; }
.reaction .rx-out { animation: rxout 8s ease-in-out infinite; }
.reaction .rx-flash { opacity: 0; transform-box: fill-box; transform-origin: center; animation: rxflash 8s ease-out infinite; }
@keyframes rxin { 0% { opacity: 0; transform: translateX(-20px); } 8%, 30% { opacity: 1; transform: translateX(0); } 44% { opacity: 1; transform: translateX(120px) scale(0.9); } 50%, 100% { opacity: 0; transform: translateX(150px) scale(0.6); } }
@keyframes rxflash { 0%, 42% { opacity: 0; transform: scale(0.2); } 48% { opacity: 0.55; transform: scale(0.8); } 60%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rxout { 0%, 46% { opacity: 0; transform: translateX(-160px) scale(0.6); } 54% { opacity: 1; transform: translateX(-130px) scale(1); } 76%, 90% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(20px); } }
.reaction .rx-in, .reaction .rx-out { transform-origin: 280px 62px; }

/* Air intake: nitrogen is drawn from the atmosphere */
.hero-art .air path { stroke-dasharray: 3 9; stroke-opacity: 0.75; animation: dash 1.6s linear infinite; }
.hero-art .air-dots circle { offset-rotate: 0deg; animation: airdot 3.6s linear infinite; opacity: 0; }
.hero-art .air-dots circle:nth-child(1) { offset-path: path("M596 122C556 122 528 156 508 198"); }
.hero-art .air-dots circle:nth-child(2) { offset-path: path("M596 148C566 148 540 170 512 200"); animation-delay: -1.2s; }
.hero-art .air-dots circle:nth-child(3) { offset-path: path("M596 174C572 174 548 186 517 205"); animation-delay: -2.4s; }
.hero-art .air-dots circle:nth-child(4) { offset-path: path("M596 122C556 122 528 156 508 198"); animation-delay: -1.8s; }
@keyframes airdot { 0% { offset-distance: 0%; opacity: 0; } 15%, 80% { opacity: 0.9; } 100% { offset-distance: 100%; opacity: 0; } }
.reaction .m4 { transform: translate(205px, 62px); }
.reaction .lbl text.src { font-size: 11px; font-weight: 400; fill: #7f948c; letter-spacing: 0.3px; }
@keyframes steptext { 0%, 100% { opacity: 0.75; } 3%, 16% { opacity: 1; } 28% { opacity: 0.75; } }

/* Markets: one hub feeding four end-use cards */
.markets { position: relative; padding-top: 104px; }
.markets-hub { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 1px solid var(--green); border-radius: 40px; background: var(--white); font-size: 0.86rem; font-weight: 600; color: var(--ink); z-index: 2; white-space: nowrap; }
.markets-hub span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 0.8rem; animation: hub 3s ease-in-out infinite; }
@keyframes hub { 0%, 100% { box-shadow: 0 0 0 0 rgba(8, 163, 61, 0.45); } 60% { box-shadow: 0 0 0 12px rgba(8, 163, 61, 0); } }
/* trunk down from the hub, rail across, then a drop into each card */
.markets::before { content: ""; position: absolute; top: 58px; left: 50%; width: 2px; height: 22px; background: var(--line); }
.markets::after { content: ""; position: absolute; top: 80px; left: calc(12.5% - 9px); right: calc(12.5% - 9px); height: 2px; background: linear-gradient(90deg, var(--line) 0 42%, #08a33d 50%, var(--line) 58% 100%) 0 0 / 200% 100%; animation: track 3s linear infinite reverse; }
.markets .card { position: relative; }
.markets .card::before { content: ""; position: absolute; left: 50%; top: -25px; width: 2px; height: 24px; background: repeating-linear-gradient(#08a33d 0 5px, transparent 5px 10px) 0 0 / 2px 10px; animation: drip 0.7s linear infinite; }
@keyframes drip { to { background-position: 0 10px; } }
.markets .card.primary { border-color: var(--green); box-shadow: 0 10px 30px rgba(6, 72, 43, 0.1); }
.markets .card .tag { margin-bottom: 18px; }
.markets .card .icon { margin-bottom: 14px; }
@media (max-width: 980px) {
  .markets { padding-top: 76px; }
  .markets::before, .markets::after, .markets .card::before { display: none; }
}

/* Brand lock-up: kit mark + large name + tagline */
.brand { gap: 14px; }
.brand img, .site-footer .brand img { height: 58px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1; color: var(--green); white-space: nowrap; }
.brand-tag { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; color: #0a7a3c; margin-top: 7px; white-space: nowrap; }
.brand-tag i { font-style: normal; color: var(--brass); margin: 0 2px; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-tag { color: #9be0c5; }
@media (max-width: 620px) {
  .brand { gap: 10px; }
  .brand img { height: 44px; }
  .brand-name { font-size: 1.36rem; }
  .brand-tag { font-size: 0.54rem; letter-spacing: 0.13em; margin-top: 5px; }
}

/* Tagline v2 (three short sentences) */
.brand-tag { font-size: 0.64rem; letter-spacing: 0.09em; }
.markets-hub span + span { margin-left: -6px; }
.markets-hub span:first-child { background: #0a7a3c; }
.markets .card p strong { color: var(--ink); }
@media (max-width: 620px) {
  .brand-tag { font-size: 0.52rem; letter-spacing: 0.06em; white-space: normal; line-height: 1.35; margin-top: 4px; max-width: 200px; }
}
/* Keep the tagline within the width of the name so the menu never wraps */
.brand-tag { font-size: 0.6rem; letter-spacing: 0.03em; }
.nav a { white-space: nowrap; }
@media (max-width: 620px) { .brand-tag { font-size: 0.52rem; letter-spacing: 0.06em; } }

/* Brand typeface: Red Hat Display (SIL Open Font License), self-hosted */
@font-face { font-family: "Red Hat Display"; src: url("fonts/red-hat-display-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
.brand-name { font-family: "Red Hat Display", var(--sans); font-weight: 800; letter-spacing: -0.02em; font-size: 1.85rem; }
@media (max-width: 620px) { .brand-name { font-size: 1.34rem; } }

/* Menu: never wrap; tighter spacing, and switch to the compact menu before it gets cramped */
.site-header .wrap { gap: 24px; }
.brand { flex: none; }
.nav { gap: 22px; flex: none; }
.nav a { white-space: nowrap; font-size: 0.9rem; }
@media (max-width: 1300px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a.btn { margin-top: 14px; text-align: center; }
}

/* Headings and figures in Red Hat Display (replaces the earlier serif) */
h1, h2, h3, .statement blockquote, .film-chapters h2 { font-weight: 700; letter-spacing: -0.022em; }
h1 { font-weight: 800; letter-spacing: -0.028em; }
h3 { letter-spacing: -0.012em; }
.stat b, .hero-stats dd { font-weight: 700; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; font-weight: 800; }
h1 { letter-spacing: -0.016em; word-spacing: 0.06em; }
h2, .statement blockquote, .film-chapters h2 { letter-spacing: -0.014em; word-spacing: 0.04em; }

/* Story chapters: generated still per chapter over the colour fallback, with a slow push-in on scroll */
.film-scenes i { background: var(--img, none) center / cover no-repeat, radial-gradient(120% 90% at 70% 20%, var(--a), var(--b) 70%); will-change: opacity, transform; }
.film-shade { background: linear-gradient(90deg, rgba(6, 18, 15, 0.82) 0%, rgba(6, 18, 15, 0.5) 38%, rgba(6, 18, 15, 0.08) 68%, transparent 80%), linear-gradient(0deg, rgba(6, 18, 15, 0.6), transparent 40%); }
@media (max-width: 620px) { .film-shade { background: linear-gradient(0deg, rgba(6, 18, 15, 0.9) 0%, rgba(6, 18, 15, 0.45) 55%, rgba(6, 18, 15, 0.1) 85%); } }
.film.static .film-scenes { display: none; }

/* ============================================================
   Generated imagery: page backgrounds, section shots, story effects
   ============================================================ */
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.page-hero.has-img::before { inset: -6% -4%; background: var(--bg) center / cover no-repeat; animation: kenburns 28s ease-in-out infinite alternate; transform: translateY(calc(var(--sy, 0) * 0.25px)); }
.page-hero.has-img::after { background: linear-gradient(90deg, rgba(8, 26, 21, 0.94) 0%, rgba(8, 26, 21, 0.78) 38%, rgba(8, 26, 21, 0.25) 72%, rgba(8, 26, 21, 0.1) 100%), linear-gradient(0deg, rgba(8, 26, 21, 0.55), transparent 45%); -webkit-mask-image: none; mask-image: none; animation: none; }
.page-hero.has-img .wrap { padding-top: 96px; padding-bottom: 92px; }
.page-hero.has-img .lede { color: #d5e2dc; }
@media (max-width: 620px) { .page-hero.has-img::after { background: linear-gradient(0deg, rgba(8, 26, 21, 0.94) 10%, rgba(8, 26, 21, 0.62) 100%); } .page-hero.has-img .wrap { padding-top: 64px; padding-bottom: 60px; } }

section.has-img { position: relative; overflow: hidden; isolation: isolate; }
section.has-img:not(.page-hero)::before { content: ""; position: absolute; inset: -8% 0; z-index: -2; background: var(--bg) center / cover no-repeat; transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.06); will-change: transform; }
section.has-img:not(.page-hero)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 21, 0.93), rgba(8, 26, 21, 0.72) 55%, rgba(8, 26, 21, 0.5)); }
.statement.has-img .aurora { display: none; }

.shot { margin: 0 0 20px; border-radius: 3px; overflow: hidden; aspect-ratio: 3 / 2; background: #dfe7e1; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .shot img, .shot:hover img { transform: scale(1.07); }
.card .shot { margin: -28px -28px 22px; border-radius: 3px 3px 0 0; }
.card.rule .shot { margin-top: -28px; }
.shot.wide { aspect-ratio: 16 / 9; margin: 6px 0 22px; }
.shot::after { content: "Illustrative"; position: absolute; right: 8px; bottom: 8px; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); background: rgba(8, 26, 21, 0.5); padding: 2px 7px; border-radius: 2px; }
.js .reveal .shot img { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i, 0) * 80ms + 0.1s), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in .shot img { clip-path: inset(0); }
.markets .card .tag { margin-bottom: 14px; }

.film-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.film.static .film-fx { display: none; }
.page-hero.has-img::after { z-index: 1; }
.page-hero.has-img .wrap { z-index: 2; }

/* Long-term ambition */
.ambition-band { padding: 120px 0; }
.ambition-band h2 { max-width: 20ch; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.ambition-band .lede { margin-top: 18px; }
.ambition .section-head { max-width: 860px; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.ladder li { border: 1px solid var(--line-dark); border-radius: 4px; background: rgba(8, 26, 21, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 0 26px 26px; display: flex; flex-direction: column; }
.ladder .rung { height: 170px; position: relative; margin: 0 -26px 22px; border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.ladder .rung::before { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: var(--h); background: linear-gradient(0deg, #08a33d, #9be0c5); border-radius: 3px 3px 0 0; transform-origin: bottom; transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i, 0) * 180ms + 0.2s); }
.js .ladder li.reveal:not(.in) .rung::before { transform: scaleY(0); }
.ladder .rung::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: var(--h); background: linear-gradient(0deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%) 0 0 / 100% 300%; animation: sheen 4s linear infinite; }
@keyframes sheen { from { background-position: 0 100%; } to { background-position: 0 -50%; } }
.ladder span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9be0c5; }
.ladder h3 { color: var(--white); margin: 8px 0 8px; }
.ladder p { margin: 0; font-size: 0.94rem; color: #c3d2cb; }
@media (max-width: 980px) { .ladder { grid-template-columns: 1fr; } .ladder .rung { height: 90px; } .ambition-band { padding: 80px 0; } }

/* Story chapter video loops */
.film-scenes i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s; }
.film-scenes i video.on { opacity: 1; }
.film.has-video .film-fx { opacity: 0.35; }

/* ============================================================
   Smoothness pass: transform/opacity only, softer easing, no hard cuts
   ============================================================ */
:root { --ease: cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .reveal { transform: translate3d(0, 22px, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
.js .reveal.in { transform: none; will-change: auto; }
.card { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.9s var(--ease); }
.btn { transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.shot img { transition: transform 1.4s var(--ease); }
.js .reveal .shot img { transition: clip-path 1.2s var(--ease) calc(var(--i, 0) * 90ms + 0.1s), transform 1.4s var(--ease); }

/* Page header: one slow composited zoom (the scroll-linked shift is removed; the two fought each other) */
.page-hero.has-img::before { transform: none; animation: kenburns 36s ease-in-out infinite alternate; will-change: transform; }
section.has-img:not(.page-hero)::before { transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.1); }
.film-scenes i, .film-chapters li { will-change: opacity, transform; backface-visibility: hidden; }
.aurora i { will-change: transform; }

/* Process flow: the dot now moves with a transform instead of animating `left` */
.flow::after { left: 8.33%; right: 8.33%; width: auto; height: 12px; margin-left: 0; border-radius: 0; box-shadow: none; background: radial-gradient(circle 6px at 6px 50%, #08a33d 96%, transparent 100%) no-repeat; filter: drop-shadow(0 0 6px rgba(8, 163, 61, 0.7)); animation: flowdot2 9s linear infinite; will-change: transform, opacity; }
@keyframes flowdot2 { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 3% { opacity: 1; } 83.300% { transform: translate3d(calc(100% - 12px), 0, 0); opacity: 1; } 90%, 100% { transform: translate3d(calc(100% - 12px), 0, 0); opacity: 0; } }
@keyframes step2 { 0% { background: var(--white); color: var(--green); border-color: var(--line); transform: scale(1); } 5%, 13% { background: var(--green); color: var(--white); border-color: var(--green); transform: scale(1.1); } 26%, 100% { background: var(--white); color: var(--green); border-color: var(--line); transform: scale(1); } }

/* Hero illustration: pulses fade in and out, glows and levels ease, the ship glides */
@keyframes p1 { 0% { stroke-dashoffset: 0.16; opacity: 0; } 2% { opacity: 1; } 18% { opacity: 1; } 20% { stroke-dashoffset: -1; opacity: 0; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes p2 { 0%, 20% { stroke-dashoffset: 0.16; opacity: 0; } 22% { stroke-dashoffset: 0.16; opacity: 1; } 32% { opacity: 1; } 34% { stroke-dashoffset: -1; opacity: 0; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes p3 { 0%, 36% { stroke-dashoffset: 0.16; opacity: 0; } 38% { stroke-dashoffset: 0.16; opacity: 1; } 52% { opacity: 1; } 54% { stroke-dashoffset: -1; opacity: 0; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes p4 { 0%, 62% { stroke-dashoffset: 0.16; opacity: 0; } 64% { stroke-dashoffset: 0.16; opacity: 1; } 80% { opacity: 1; } 84% { stroke-dashoffset: -3.200; opacity: 0; } 100% { stroke-dashoffset: -3.200; opacity: 0; } }
.hero-art .p4 { stroke-dasharray: 0.16 0.9; }
@keyframes g2 { 0%, 14% { opacity: 0.04; } 24%, 30% { opacity: 0.3; } 44%, 100% { opacity: 0.04; } }
@keyframes g3 { 0%, 28% { opacity: 0.12; } 40%, 50% { opacity: 1; } 64%, 100% { opacity: 0.12; } }
@keyframes level { 0%, 48% { transform: scaleY(0.28); } 63%, 65% { transform: scaleY(0.92); } 86%, 100% { transform: scaleY(0.28); } }
@keyframes ship { 0%, 40% { transform: translate3d(150px, 0, 0); } 60%, 86% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(150px, 0, 0); } }
.hero-art .ship { animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
.hero-art .level { animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
.hero-art .a-spin { animation-duration: 9s; } .hero-art .a-spin-b { animation-duration: 7s; }
.hero-art .lab { transition: none; }
@keyframes l1 { 0%, 16% { fill: #fff; } 26%, 100% { fill: #9fb4ac; } }
@keyframes l2 { 0%, 14% { fill: #9fb4ac; } 23%, 30% { fill: #fff; } 40%, 100% { fill: #9fb4ac; } }
@keyframes l3 { 0%, 28% { fill: #9fb4ac; } 38%, 50% { fill: #fff; } 60%, 100% { fill: #9fb4ac; } }
@keyframes l4 { 0%, 48% { fill: #9fb4ac; } 57%, 62% { fill: #fff; } 72%, 100% { fill: #9fb4ac; } }
@keyframes l5 { 0%, 60% { fill: #9fb4ac; } 68%, 90% { fill: #fff; } 99%, 100% { fill: #9fb4ac; } }

/* Hub connector: slide the highlight with a transform */
.markets::after { background: var(--line); animation: none; overflow: hidden; }
.markets-hub span { animation-timing-function: var(--ease); }

/* Story: scroll-scrubbed frames */
.film.has-frames .film-fx { opacity: 0.3; }
.film-canvas { transition: opacity 0.5s; }
/* No tag over images */
.shot::after { content: none; }
/* Process flow dot: a 12px dot moved by transform across the track (container units, so nothing overflows) */
.flow { container-type: inline-size; }
.flow::after { left: 8.33%; right: auto; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #08a33d; filter: none; box-shadow: 0 0 0 5px rgba(8, 163, 61, 0.18), 0 0 14px rgba(8, 163, 61, 0.6); animation: flowdot3 9s linear infinite; }
@keyframes flowdot3 { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 3% { opacity: 1; } 83.300% { transform: translate3d(83.34cqw, 0, 0); opacity: 1; } 90%, 100% { transform: translate3d(83.34cqw, 0, 0); opacity: 0; } }
.brand-tag i { margin: 0 5px; color: var(--brass); font-weight: 700; }

/* Project page: reaction canvas and flow points */
.reaction { max-width: 860px; margin: 44px auto 0; border: 1px solid var(--line-dark); border-radius: 4px; background: rgba(255, 255, 255, 0.025); padding: 10px 14px 14px; }
.rx-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 360; }
.balance .a-flow path.pipe { stroke-dasharray: none; animation: none; stroke-opacity: 0.32; stroke-width: 2; }
.balance .flow-pt { offset-rotate: 0deg; animation: flowpt linear infinite; filter: drop-shadow(0 0 4px currentColor); }
@keyframes flowpt { 0% { offset-distance: 0%; opacity: 0; } 8%, 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.balance .core rect { animation-duration: 5s; }

/* Brand block always gets its full width; neighbours make room for it */
.brand { min-width: 0; }
.brand > span { display: block; }
.brand-tag i { margin: 0 4px; }
.footer-grid { grid-template-columns: max-content 1fr 1fr 1fr; gap: 40px 56px; }
.footer-grid > div:first-child { max-width: 460px; }
.footer-grid > div:first-child p { max-width: 40ch; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } .site-footer .brand-tag { white-space: normal; } }
/* Compact menu whenever the full menu would not fit beside the brand (set by site.js), at any width or zoom */
.nav-compact .nav-toggle { display: block; }
.nav-compact .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
.nav-compact .nav.open { display: flex; }
.nav-compact .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.nav-compact .nav a.btn { margin-top: 14px; text-align: center; }

/* ============================================================
   Home hero v3: living image background, diagram in a glass panel
   ============================================================ */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-bg.ready { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 23, 19, 0.95) 0%, rgba(7, 23, 19, 0.86) 34%, rgba(7, 23, 19, 0.5) 66%, rgba(7, 23, 19, 0.38) 100%), linear-gradient(0deg, rgba(7, 23, 19, 0.9) 0%, rgba(7, 23, 19, 0.2) 38%, transparent 60%); }
.hero .aurora { opacity: 0.55; }
.hero-panel2 { border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 6px; background: rgba(7, 23, 19, 0.6); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); padding: 16px 22px 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); animation: rise 1.1s 0.3s var(--ease) both; min-width: 0; }
.hero-panel2-title { margin: 0 0 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9be0c5; display: flex; align-items: center; gap: 10px; }
.hero-panel2-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #08a33d; box-shadow: 0 0 0 0 rgba(8, 163, 61, 0.6); animation: hub 2.4s var(--ease) infinite; }
.hero-panel2 .hero-art { animation: none; overflow: hidden; }
.hero-stats { background: rgba(7, 23, 19, 0.66); }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
@media (max-width: 980px) { .hero-shade { background: linear-gradient(0deg, rgba(7, 23, 19, 0.95) 0%, rgba(7, 23, 19, 0.78) 55%, rgba(7, 23, 19, 0.7) 100%); } }

/* Markets rail: highlight travels along the line again */
.markets::after { background: linear-gradient(90deg, var(--line) 0 42%, #08a33d 50%, var(--line) 58% 100%) 0 0 / 200% 100%; animation: track 3.5s linear infinite reverse; }

/* Phone and tablet: the hero stacks (headline, then the diagram panel) */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-panel2 { padding: 14px 14px 6px; }
}

/* ============================================================
   Glass material (Apple-style frosted glass)
   Native CSS backdrop-filter: a Gaussian blur plus a saturation boost of whatever is behind the surface,
   a translucent tint, a bright hairline edge and a soft shadow. No library: this is the same technique
   apple.com uses for its own navigation bar, and it runs on the GPU in every current browser.
   ============================================================ */
:root {
  --glass-blur: saturate(180%) blur(22px);
  --glass-light: rgba(255, 255, 255, 0.56);
  --glass-light-strong: rgba(250, 250, 247, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --glass-dark: rgba(255, 255, 255, 0.07);
  --glass-dark-edge: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 12px 34px rgba(11, 31, 26, 0.08);
  --r-lg: 20px; --r-md: 14px; --r-pill: 980px;
}
/* Soft colour behind the light pages, so translucent surfaces have something to frost */
body { background: radial-gradient(1000px 700px at 6% 4%, rgba(8, 163, 61, 0.1), transparent 62%), radial-gradient(900px 700px at 96% 28%, rgba(166, 124, 46, 0.1), transparent 60%), radial-gradient(900px 800px at 40% 92%, rgba(15, 123, 93, 0.09), transparent 60%), var(--paper); background-attachment: fixed; }
section.alt { background: rgba(255, 255, 255, 0.42); border-color: rgba(255, 255, 255, 0.7); }

/* Top bar */
.site-header { background: var(--glass-light-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-bottom: 1px solid rgba(11, 31, 26, 0.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 30px rgba(11, 31, 26, 0.1); }
.nav a:not(.btn) { border-bottom: 0; padding: 9px 14px; border-radius: var(--r-pill); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.nav { gap: 6px; }
.nav a:not(.btn):hover { background: rgba(6, 72, 43, 0.08); color: var(--green); }
.nav a[aria-current="page"]:not(.btn) { background: rgba(6, 72, 43, 0.1); color: var(--green); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset; }
.nav a.btn { margin-left: 10px; }
.nav-toggle { border-radius: 12px; background: rgba(255, 255, 255, 0.5); border-color: rgba(11, 31, 26, 0.12); }
@media (max-width: 1300px) { .nav { background: rgba(250, 250, 247, 0.86); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 24px 50px rgba(11, 31, 26, 0.16); } .nav a:not(.btn) { border-radius: 10px; border-bottom: 0; padding: 13px 14px; } }
.nav-compact .nav { background: rgba(250, 250, 247, 0.86); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 24px 50px rgba(11, 31, 26, 0.16); }
.nav-compact .nav a:not(.btn) { border-radius: 10px; border-bottom: 0; padding: 13px 14px; }

/* Buttons become glass capsules */
.btn { border-radius: var(--r-pill); padding: 13px 24px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 18px rgba(6, 72, 43, 0.2); }
.btn.ghost { background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn.outline { background: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-color: rgba(6, 72, 43, 0.25); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; }
.cta .btn { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }

/* Cards, tables and panels on light pages */
.card, section.alt .card, .table-wrap, .callout { background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--glass-shadow); }
.card.rule { border-top: 1px solid var(--glass-edge); }
.card.rule > h3:first-child::before, .card.rule > .big-n::before { content: none; }
.card:hover { border-color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 22px 48px rgba(11, 31, 26, 0.13); }
.card .shot { margin: -28px -28px 22px; border-radius: 19px 19px 0 0; }
.shot { border-radius: var(--r-md); }
.table-wrap { overflow: hidden; overflow-x: auto; }
table { background: transparent; }
thead th { background: rgba(255, 255, 255, 0.5); }
tbody tr:hover { background: rgba(255, 255, 255, 0.45); }
.callout { border-left: 3px solid var(--brass); background: rgba(255, 249, 235, 0.6); }
.tag { border-radius: var(--r-pill); padding: 4px 11px; }
.markets .card.primary { border-color: rgba(6, 72, 43, 0.35); }
.markets-hub { background: var(--glass-light-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-color: rgba(6, 72, 43, 0.3); box-shadow: var(--glass-shadow); }
.flow-icon { background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); }
input, select, textarea { border-radius: 12px; background: rgba(255, 255, 255, 0.7); border-color: rgba(11, 31, 26, 0.14); }
.capbar { border-radius: var(--r-pill); }

/* Glass on dark and photographic sections */
section.dark .card, .ladder li, .hero-stats, .hero-panel2, .diagram-scroll, .reaction { background: var(--glass-dark); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-dark-edge); border-radius: var(--r-lg); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 20px 50px rgba(0, 0, 0, 0.28); }
.hero-panel2 { background: rgba(7, 23, 19, 0.42); }
.hero-stats { background: rgba(7, 23, 19, 0.4); overflow: hidden; }
.ladder li { overflow: hidden; }
section.dark .card:hover { border-color: rgba(255, 255, 255, 0.34); }
.film-chapters li { padding: 26px 30px 28px; margin-left: -30px; border-radius: 24px; background: rgba(7, 23, 19, 0.3); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 24px 60px rgba(0, 0, 0, 0.3); }
.film-shade { background: linear-gradient(0deg, rgba(6, 18, 15, 0.45), transparent 40%); }
@media (max-width: 620px) { .film-chapters li { margin-left: -14px; margin-right: 10px; padding: 18px 18px 20px; } .film-shade { background: linear-gradient(0deg, rgba(6, 18, 15, 0.6) 0%, transparent 60%); } }
.notice { background: rgba(7, 23, 19, 0.96); }

/* Browsers without backdrop-filter get solid, readable surfaces instead */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .nav, .nav-compact .nav { background: #fbfaf6; }
  .card, section.alt .card, .table-wrap { background: #fff; }
  section.dark .card, .ladder li, .hero-stats, .hero-panel2, .diagram-scroll, .reaction, .film-chapters li { background: rgba(8, 26, 21, 0.9); }
}

/* Glass refinements */
.nav { gap: 2px; }
.nav a:not(.btn) { padding: 8px 11px; font-size: 0.89rem; }
.nav a.btn { margin-left: 8px; padding: 10px 18px; }
/* The open menu sits inside the frosted bar, where a second blur cannot see the page: give it a near-solid sheet */
@media (max-width: 1300px) { .nav { background: rgba(250, 250, 247, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; } .nav a:not(.btn) { padding: 13px 14px; font-size: 1rem; } .nav a.btn { margin-left: 0; padding: 13px 18px; } }
.nav-compact .nav { background: rgba(250, 250, 247, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-compact .nav a:not(.btn) { padding: 13px 14px; font-size: 1rem; }
.nav-compact .nav a.btn { margin-left: 0; padding: 13px 18px; }
@media (min-width: 1301px) { .nav a:not(.btn) { padding: 8px 9px; } .nav a.btn { margin-left: 6px; padding: 10px 16px; } }

/* ============================================================
   Liquid glass: clear, see-through surfaces with bright refractive rims
   (the edge bending itself is added by site.js where the browser supports it)
   ============================================================ */
:root {
  --lg-fallback: blur(4px) saturate(165%) brightness(1.04);
  --lg-rim: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 1.6px 1.6px 0.6px -0.6px rgba(255, 255, 255, 0.85), inset -1.6px -1.6px 0.6px -0.6px rgba(255, 255, 255, 0.5), inset 0 0 22px rgba(255, 255, 255, 0.1);
  --lg-drop: 0 14px 38px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
  --lg-rim-light: inset 0 0 0 1px rgba(255, 255, 255, 0.65), inset 1.6px 1.6px 0.6px -0.6px #fff, inset -1.6px -1.6px 0.6px -0.6px rgba(255, 255, 255, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.35);
}
/* dark and photographic surfaces: fully clear */
section.dark .card, .ladder li, .hero-stats, .hero-panel2, .diagram-scroll, .reaction, .film-chapters li, .btn.ghost {
  background: rgba(255, 255, 255, 0.025); border: 0;
  -webkit-backdrop-filter: var(--lg-fallback); backdrop-filter: var(--lg-f, var(--lg-fallback));
  box-shadow: var(--lg-rim), var(--lg-drop);
}
.hero-stats > div { border-color: rgba(255, 255, 255, 0.14); }
.film-chapters li { background: rgba(7, 23, 19, 0.1); }
.film-chapters h2, .film-chapters p, .film-chapters span, .hero-stats dd, .hero-stats dt, .ladder h3, .ladder p { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.35); }
.hero-shade { background: linear-gradient(90deg, rgba(7, 23, 19, 0.9) 0%, rgba(7, 23, 19, 0.74) 34%, rgba(7, 23, 19, 0.34) 66%, rgba(7, 23, 19, 0.26) 100%), linear-gradient(0deg, rgba(7, 23, 19, 0.82) 0%, rgba(7, 23, 19, 0.15) 40%, transparent 62%); }
/* light pages: clear panes over the colour wash */
.card, section.alt .card, .table-wrap, .callout, .markets-hub, .flow-icon, .btn.outline {
  background: rgba(255, 255, 255, 0.16); border: 0;
  -webkit-backdrop-filter: var(--lg-fallback); backdrop-filter: var(--lg-f, var(--lg-fallback));
  box-shadow: var(--lg-rim-light), 0 12px 34px rgba(11, 31, 26, 0.09);
}
.card.rule { border-top: 0; }
.card:hover { box-shadow: var(--lg-rim-light), 0 24px 54px rgba(11, 31, 26, 0.15); }
section.dark .card:hover { box-shadow: var(--lg-rim), 0 24px 60px rgba(0, 0, 0, 0.32); }
.callout { border-left: 0; background: rgba(255, 244, 214, 0.3); }
.markets .card.primary { box-shadow: var(--lg-rim-light), 0 0 0 1.5px rgba(6, 72, 43, 0.35), 0 12px 34px rgba(11, 31, 26, 0.09); }
thead th { background: rgba(255, 255, 255, 0.28); }
section.alt { background: rgba(255, 255, 255, 0.18); }
.cta .btn { -webkit-backdrop-filter: var(--lg-fallback); backdrop-filter: var(--lg-f, var(--lg-fallback)); background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; box-shadow: var(--lg-rim), var(--lg-drop); }
.cta .btn:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }

/* The top bar: a floating clear-glass capsule over the page */
:root { --header: 72px; --bar-gap: 10px; }
.site-header { position: sticky; top: var(--bar-gap); z-index: 60; width: min(calc(100% - 24px), 1260px); margin: var(--bar-gap) auto calc(-1 * (var(--header) + var(--bar-gap))); border-radius: 30px; border: 0; background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: var(--lg-fallback); backdrop-filter: var(--lg-f, var(--lg-fallback)); box-shadow: var(--lg-rim-light), 0 10px 30px rgba(11, 31, 26, 0.12); transition: box-shadow 0.4s var(--ease); }
.site-header.scrolled { box-shadow: var(--lg-rim-light), 0 16px 40px rgba(11, 31, 26, 0.18); }
.site-header.on-dark, .site-header.on-dark.scrolled { box-shadow: var(--lg-rim), var(--lg-drop); }
.site-header .wrap { max-width: none; padding: 0 12px 0 22px; height: var(--header); }
.brand img, .site-footer .brand img { height: 50px; }
.brand-name { font-size: 1.62rem; }
.brand-tag { font-size: 0.55rem; margin-top: 6px; }
.mark-on-dark { display: none !important; }
.site-header .brand-name, .site-header .brand-tag, .nav a:not(.btn), .nav-toggle span { transition: color 0.35s var(--ease), background 0.35s var(--ease); }
.site-header.on-dark .mark-on-light { display: none; }
.site-header.on-dark .mark-on-dark { display: block !important; }
.site-header.on-dark .brand-name { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.site-header.on-dark .brand-tag { color: #bdf0d8; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.site-header.on-dark .nav-toggle { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.site-header.on-dark .nav-toggle span { background: #fff; }
@media (min-width: 1301px) {
  html:not(.nav-compact) .site-header.on-dark .nav a:not(.btn) { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
  html:not(.nav-compact) .site-header.on-dark .nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.14); }
  html:not(.nav-compact) .site-header.on-dark .nav a[aria-current="page"]:not(.btn) { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
}
.nav a[aria-current="page"]:not(.btn) { background: rgba(6, 72, 43, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.nav a.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px rgba(6, 72, 43, 0.28); }
/* the open menu drops below the capsule as its own solid sheet */
@media (max-width: 1300px) { .nav { top: calc(var(--header) + 8px); border-radius: 24px; padding: 10px 12px 14px; } }
.nav-compact .nav { top: calc(var(--header) + 8px); border-radius: 24px; padding: 10px 12px 14px; }
/* the first section now sits underneath the bar */
.hero > .wrap:first-of-type { padding-top: calc(70px + var(--header) + var(--bar-gap)); }
.page-hero.has-img .wrap, .page-hero .wrap { padding-top: calc(86px + var(--header) + var(--bar-gap)); }
.film-stage { top: 0; height: 100vh; height: 100svh; }
@media (max-width: 620px) {
  :root { --header: 62px; --bar-gap: 8px; }
  .site-header { width: calc(100% - 16px); border-radius: 24px; }
  .site-header .wrap { padding: 0 8px 0 14px; }
  .brand img { height: 40px; } .brand-name { font-size: 1.22rem; } .brand-tag { font-size: 0.47rem; }
  .hero > .wrap:first-of-type { padding-top: calc(40px + var(--header) + var(--bar-gap)); }
  .page-hero.has-img .wrap, .page-hero .wrap { padding-top: calc(50px + var(--header) + var(--bar-gap)); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(250, 250, 247, 0.94); } .site-header.on-dark { background: rgba(8, 26, 21, 0.85); }
}

/* Liquid glass tuning: enough softening behind the glass to keep its own text readable */
:root { --lg-fallback: blur(9px) saturate(170%) brightness(1.05); }
.site-header { --lg-soft: 10px; }
.hero-panel2, .hero-stats, .film-chapters li, .ladder li, section.dark .card { --lg-soft: 8px; }
.btn.ghost, .cta .btn, .markets-hub { --lg-soft: 5px; }
.hero-shade + .wrap { padding-top: calc(70px + var(--header) + var(--bar-gap)); }
@media (max-width: 620px) { .hero-shade + .wrap { padding-top: calc(40px + var(--header) + var(--bar-gap)); } }
.site-header { --lg-soft: 16px; }
@media (max-width: 1300px) { .nav { background: #fbfaf6; box-shadow: 0 24px 60px rgba(11, 31, 26, 0.28); } }
.nav-compact .nav { background: #fbfaf6; box-shadow: 0 24px 60px rgba(11, 31, 26, 0.28); }

/* Overview diagram: sunlight streams from the sun onto the solar panels, which glow as it lands */
@keyframes sunray { to { stroke-dashoffset: -14; } }
@keyframes solarglow { 0%, 100% { fill-opacity: 0.14; } 50% { fill-opacity: 0.42; } }
.hero-art .sunrays path { stroke-dasharray: 4 10; stroke-linecap: round; opacity: 0.9; animation: sunray 0.9s linear infinite; }
.hero-art .sunrays path:nth-child(2) { animation-delay: -0.3s; } .hero-art .sunrays path:nth-child(3) { animation-delay: -0.6s; } .hero-art .sunrays path:nth-child(4) { animation-delay: -0.15s; }
.hero-art .solar { fill-opacity: 0.2; animation: solarglow 2.4s ease-in-out infinite; }
/* Sunlight radiates outward in all directions */
.hero-art .sunrays path { stroke-dasharray: 5 9; animation: sunray 1.1s linear infinite; opacity: 1; }
.hero-art .sunrays path:nth-child(odd) { animation-delay: -0.55s; }

/* Overview diagram: the dam spills water, and a pipe carries water to the electrolysers */
@keyframes fall { to { stroke-dashoffset: -12; } }
@keyframes pipeflow { to { stroke-dashoffset: -16; } }
@keyframes foam { 0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; } 50% { transform: translateY(-2.5px) scale(1.35); opacity: 0.35; } }
@keyframes reservoir { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-2px); } }
.hero-art .waterfall path { stroke-dasharray: 5 7; stroke-linecap: round; animation: fall 0.55s linear infinite; }
.hero-art .waterfall path:nth-child(even) { animation-duration: 0.7s; animation-delay: -0.2s; stroke-opacity: 0.7; }
.hero-art .foam circle { transform-box: fill-box; transform-origin: center; animation: foam 0.9s ease-in-out infinite; }
.hero-art .foam circle:nth-child(even) { animation-delay: -0.45s; }
.hero-art .foam circle:nth-child(3n) { animation-delay: -0.25s; }
.hero-art .reservoir { animation: reservoir 3s ease-in-out infinite; }
.hero-art .waterpipe { fill: none; stroke-dasharray: 7 9; stroke-linecap: round; animation: pipeflow 0.8s linear infinite; }

/* Overview diagram: oxygen rising from the electrolyser vent */
@keyframes o2rise { 0% { transform: translate(0, 0) scale(0.6); opacity: 0; } 15% { opacity: 0.95; } 100% { transform: translate(var(--dx, 0px), -46px) scale(1.25); opacity: 0; } }
.hero-art .o2 circle { transform-box: fill-box; transform-origin: center; animation: o2rise 2.6s ease-out infinite; }
.hero-art .o2 circle:nth-child(1) { --dx: -5px; } .hero-art .o2 circle:nth-child(2) { --dx: 6px; animation-delay: -0.5s; }
.hero-art .o2 circle:nth-child(3) { --dx: -9px; animation-delay: -1.05s; } .hero-art .o2 circle:nth-child(4) { --dx: 3px; animation-delay: -1.6s; }
.hero-art .o2 circle:nth-child(5) { --dx: 9px; animation-delay: -2.1s; }

/* Overview diagram: the ammonia carrier arrives, its tanks fill at the jetty, then it sails away for export */
@keyframes ship { 0%, 30% { transform: translate3d(160px, 0, 0); } 48%, 82% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(160px, 0, 0); } }
@keyframes cargofill { 0%, 62% { fill-opacity: 0.08; } 82%, 100% { fill-opacity: 0.9; } }
@keyframes wake { 0%, 83% { opacity: 0; } 88%, 97% { opacity: 0.85; } 100% { opacity: 0; } }
.hero-art .ship { animation: ship 12s cubic-bezier(0.5, 0, 0.3, 1) 1.6s infinite; }
.hero-art .cargo { transform: none; opacity: 1; animation: none; }
.hero-art .cargo path { fill-opacity: 0.08; animation: cargofill 12s linear 1.6s infinite; }
.hero-art .cargo path:nth-child(2) { animation-name: cargofill2; } .hero-art .cargo path:nth-child(3) { animation-name: cargofill3; }
@keyframes cargofill2 { 0%, 68% { fill-opacity: 0.08; } 82%, 100% { fill-opacity: 0.9; } }
@keyframes cargofill3 { 0%, 74% { fill-opacity: 0.08; } 82%, 100% { fill-opacity: 0.9; } }
.hero-art .wake { fill: none; stroke-linecap: round; opacity: 0; animation: wake 12s linear 1.6s infinite; }

/* Overview diagram: hydrogen to mobility and industry, ammonia to fertiliser, and a colour key */
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3.5deg); } }
.hero-art .h2flow, .hero-art .nh3flow { fill: none; stroke-dasharray: 7 9; stroke-linecap: round; animation: pipeflow 0.8s linear infinite; }
.hero-art .nh3flow { animation-duration: 1s; }
.hero-art .crop { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.2s ease-in-out infinite; }
.hero-art .crop.c2 { animation-delay: -1s; } .hero-art .crop.c3 { animation-delay: -2s; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 6px; padding: 0; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: #b9c9c3; }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend li::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--c); box-shadow: 0 0 6px var(--c); }
.legend { gap: 5px 13px; font-size: 0.6rem; letter-spacing: 0.05em; justify-content: space-between; }
.legend li { gap: 6px; } .legend li::before { width: 12px; }
.panel-note { margin: 2px 0 8px; font-size: 0.66rem; line-height: 1.45; color: #9fb4ac; }
