@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --ink: #0e1a22;
  --navy: #062c5b;
  --steel: #5c6e78;
  --ice: #3fa9c7;
  --ice-dark: #1e88b6;
  --electric: #087ef5;
  --frost: #d9dee1;
  --snow: #f5f7f8;
  --white: #fff;
  --content-max: 1180px;
  --wide-max: 1680px;
  --text-max: 820px;
  --section-pad: clamp(5rem, 9vw, 8.25rem);
  --gutter: clamp(1.375rem, 4vw, 3.5rem);
  --rule: 1px solid var(--frost);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: "IBM Plex Sans", Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; }
h1 { margin-bottom: 1.75rem; font-size: clamp(3.25rem, 7vw, 6.25rem); line-height: .96; }
h2 { margin-bottom: 2rem; font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: 1.02; }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.12; }
p { color: var(--steel); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .75rem 1rem; color: var(--white); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.content-shell { width: min(calc(100% - (2 * var(--gutter))), var(--content-max)); margin-inline: auto; }
.text-shell { width: min(calc(100% - (2 * var(--gutter))), var(--text-max)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.tech-label { font-family: "IBM Plex Mono", monospace; font-size: .75rem; line-height: 1.35; letter-spacing: .08em; }
.section-index { margin-bottom: 1.75rem; color: var(--ice-dark); }
.lead { max-width: 53rem; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.45; }
.prose { max-width: 45rem; }
.prose p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.prose p + p { margin-top: 1.25rem; }

.site-header { position: absolute; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid rgba(14,26,34,.12); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - (2 * var(--gutter))), var(--wide-max)); min-height: 5.25rem; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); font-size: 1.65rem; font-weight: 600; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 2rem; height: 2rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.25rem); }
.site-nav a { font-size: .9rem; text-decoration: none; }
.site-nav a:not(.nav-cta) { text-underline-offset: .35rem; }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; }
.nav-cta { padding: .7rem 1rem; border: 1px solid var(--ink); transition: color .2s, background .2s; }
.nav-cta:hover { color: var(--white); background: var(--ink); }
.nav-toggle { display: none; border: 0; background: transparent; }

.hero { overflow: hidden; padding: 5.25rem 0 0; }
.hero-copy { padding-top: clamp(4.25rem, 9vw, 8.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.hero-copy .tech-label { margin-bottom: 1.6rem; color: var(--ice-dark); }
.hero-copy .lead { margin-bottom: 2rem; }
.actions { display: flex; align-items: center; gap: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 3.2rem; padding: .75rem 1.1rem; border: 1px solid; font-weight: 500; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
.button-primary { border-color: var(--ink); color: var(--white); background: var(--ink); }
.button-primary:hover { border-color: var(--ice-dark); background: var(--ice-dark); }
.text-link { padding-block: .75rem; text-underline-offset: .35rem; }
.hero-figure { width: min(100%, var(--wide-max)); margin: 0 auto; border-top: var(--rule); }
.hero-diagram { position: relative; width: 100%; }
.hero-diagram img { display: block; width: 100%; height: auto; }
.hero-diagram .hero-labels { position: absolute; inset: 0; }

.insight { background: var(--snow); }
.insight .text-shell { text-align: center; }
.insight h2 { max-width: 50rem; margin-inline: auto; }
.insight .prose { margin-inline: auto; }
.insight-statement { margin: clamp(3rem, 6vw, 5rem) 0 0; padding-top: 2rem; border-top: var(--rule); color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2rem); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading-centered { display: block; text-align: center; }
.section-heading-centered .section-index { margin-inline: auto; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule); border-bottom: var(--rule); }
.benefit { min-width: 0; padding: 2.4rem 2.1rem 2.8rem 0; }
.benefit + .benefit { padding-left: 2.1rem; border-left: var(--rule); }
.benefit h3 { min-height: 4.1rem; margin-bottom: 1.2rem; }
.benefit p { margin-bottom: 0; }

.how { border-top: var(--rule); background: var(--snow); }
.how-intro, .thermal-intro { display: block; text-align: center; }
.how-intro .lead-copy, .thermal-intro .lead-copy { margin-inline: auto; }
.lead-copy { padding-bottom: .5rem; }
.process-figure { width: min(100%, var(--wide-max)); margin: clamp(3.5rem, 7vw, 6rem) auto 0; background: var(--white); }
.process-diagram { position: relative; width: 100%; }
.process-diagram img { display: block; width: 100%; height: auto; }
.process-diagram .process-labels { position: absolute; inset: 0; height: 100%; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - (2 * var(--gutter))), var(--content-max)); margin: 2.5rem auto 0; border-top: var(--rule); }
.process-grid article { padding: 1.75rem 1.5rem 0 0; }
.process-grid article + article { padding-left: 1.5rem; border-left: var(--rule); }
.process-grid .tech-label { color: var(--ice-dark); }
.process-grid p { margin: 1rem 0 0; font-size: .95rem; }

.atmospheric-break { position: relative; min-height: min(78vh, 58rem); overflow: hidden; background: #9bcff6; }
.atmospheric-break > picture { position: absolute; inset: 0; }
.atmospheric-break > picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.atmospheric-copy { position: absolute; z-index: 1; top: 0; bottom: 0; left: max(var(--gutter), calc((100vw - var(--content-max)) / 2)); display: flex; flex-direction: column; width: min(34rem, calc(100% - (2 * var(--gutter)))); padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.atmospheric-copy::before { content: ""; position: absolute; z-index: -1; top: 1rem; right: -5rem; left: -5rem; height: 24rem; background: radial-gradient(ellipse, rgba(255,255,255,.82), rgba(255,255,255,0) 70%); }
.atmospheric-copy .tech-label { color: var(--navy); }
.atmospheric-copy h2 { margin: 1.5rem 0; color: var(--navy); font-size: clamp(3.5rem, 7vw, 6.5rem); }
.atmospheric-copy p:last-child { max-width: 30rem; margin-top: auto; margin-bottom: 0; padding: .8rem 1rem; background: rgba(255,255,255,.68); color: var(--navy); font-size: clamp(1.1rem, 2vw, 1.5rem); box-shadow: 0 0 2rem rgba(255,255,255,.35); }

.thermal-intro { margin-bottom: clamp(4rem, 7vw, 6.5rem); }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--rule); }
.source-grid article { position: relative; min-height: 17rem; padding: 2.2rem 2.5rem 2.5rem 0; border-bottom: var(--rule); }
.source-grid article:nth-child(even) { padding-left: 3.75rem; border-left: var(--rule); }
.source-grid h3 { margin: 0 0 2rem; }
.section-jump { color: inherit; text-decoration-color: var(--ice-dark); text-decoration-thickness: 1px; text-underline-offset: .3rem; }
.section-jump:hover { color: var(--ice-dark); }
.source-grid strong { display: block; margin-bottom: .6rem; font-family: "IBM Plex Mono", monospace; color: var(--navy); font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.source-grid p { max-width: 29rem; margin-bottom: 0; }
.system-closing { max-width: 55rem; margin: 4rem auto 0; color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; text-align: center; }

.icecap { color: var(--white); background: var(--navy); }
.icecap-layout { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(4rem, 8vw, 8rem); align-items: center; }
.icecap-layout > * { min-width: 0; }
.icecap .section-index, .icecap .prose p { color: #b9cede; }
.icecap .prose .lead { color: var(--white); }
.icecap-layout > div:first-child > .section-index,
.icecap-layout > div:first-child > h2 { text-align: center; }
.icecap-link { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-bottom: .35rem; border-bottom: 1px solid var(--ice); color: var(--white); font-weight: 500; text-decoration: none; }
.icecap-link:hover { color: #bdeafa; }
.icecap-product { margin: 0; border: 1px solid rgba(255,255,255,.28); padding: 1.2rem; }
.schematic-meta { display: flex; justify-content: space-between; color: #92cde2; }
.icecap-product picture { display: block; margin-top: 1rem; }
.icecap-product img { display: block; width: 100%; height: auto; object-fit: contain; }
.icecap-product figcaption { margin-top: 1rem; color: var(--white); }

.market-focus { background: var(--snow); text-align: center; }
.columns { max-width: none; columns: 2; column-gap: 4rem; }
.columns p { break-inside: avoid; margin: 0 0 1.25rem; text-align: left; }
.focus-line { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding: 1.4rem 0; border-top: var(--rule); border-bottom: var(--rule); color: var(--navy); }
.focus-line span + span::before { content: "·"; margin-right: clamp(1rem, 5vw, 5rem); color: var(--ice); }

.closing-cta { padding-block: clamp(6rem, 11vw, 9rem); color: var(--white); background: var(--ink); }
.closing-cta .section-index { color: #87c8db; }
.closing-cta .section-index, .closing-cta h2 { text-align: center; }
.closing-cta h2 { max-width: 65rem; margin-inline: auto; }
.contact-intro { max-width: 48rem; margin-inline: auto; color: #bac5ca; font-size: 1.1rem; text-align: center; }
.contact-form { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; margin-top: 3.5rem; padding-top: 2.25rem; border-top: 1px solid rgba(255,255,255,.25); }
.form-field { display: flex; flex-direction: column; gap: .55rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-family: "IBM Plex Mono", monospace; color: #b9cede; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.form-field label span { color: #71838d; text-transform: none; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.3); border-radius: 0; padding: .9rem 1rem; color: var(--white); background: rgba(255,255,255,.04); font: inherit; outline: none; }
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--ice); box-shadow: 0 0 0 1px var(--ice); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 1.5rem; }
.form-submit button { cursor: pointer; background: transparent; font: inherit; }
.form-submit button:disabled { cursor: wait; opacity: .6; }
.form-status { margin: 0; color: #b9cede; }
.form-status.is-error { color: #ffb9b9; }
.button-light { min-width: 11rem; border-color: var(--white); color: var(--white); background: transparent; }
.button-light:hover { color: var(--ink); background: var(--white); }
.site-footer { padding-block: 4rem; color: var(--white); background: #071116; border-top: 1px solid rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
.brand-footer { margin-bottom: 1.25rem; color: var(--white); }
.brand-footer img { filter: none; }
.site-footer p, .site-footer span { color: #84949c; }
.site-footer .brand-footer { display: inline-flex; flex-flow: row nowrap; align-items: center; white-space: nowrap; }
.site-footer .brand-footer span { color: var(--white); }
.site-footer a { display: block; width: fit-content; margin-top: .75rem; text-underline-offset: .3rem; }
.footer-end { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .82rem; }
  .how-intro, .thermal-intro, .icecap-layout { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { padding: 2rem 0; }
  .benefit + .benefit { padding-left: 0; border-top: var(--rule); border-left: 0; }
  .benefit .tech-label { margin-bottom: 1.5rem; }
  .benefit h3 { min-height: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .source-grid article { min-height: 0; }
  .icecap-layout { gap: 4rem; }
}

@media (max-width: 720px) {
  :root { --section-pad: 4.75rem; --gutter: 1.25rem; }
  html { scroll-padding-top: 4.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .site-header { position: absolute; }
  .nav-shell { min-height: 4.5rem; }
  .brand { font-size: 1.25rem; }
  .nav-toggle { position: relative; z-index: 102; display: grid; place-content: center; gap: .45rem; width: 2.75rem; height: 2.75rem; padding: 0; }
  .nav-toggle span:not(.sr-only) { display: block; width: 1.5rem; height: 1px; background: var(--ink); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(.25rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.25rem) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 6rem var(--gutter) 3rem; background: var(--white); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav a { font-size: clamp(1.7rem, 8vw, 2.5rem); letter-spacing: -.03em; }
  .site-nav .nav-cta { margin-top: 1rem; font-size: 1rem; }
  .hero { padding-top: 4.5rem; }
  .hero-copy { padding-top: 4rem; }
  .hero-copy h1 br { display: none; }
  .actions { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .hero-figure { overflow-x: auto; }
  .hero-diagram { width: 68rem; max-width: none; }
  .section-heading { display: block; }
  .process-figure { overflow-x: auto; overflow-y: hidden; padding: 0; -webkit-overflow-scrolling: touch; }
  .process-diagram { width: 68rem; max-width: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { padding: 1.5rem 0; border-top: var(--rule); border-left: 0; }
  .process-grid article:first-child { border-top: 0; }
  .atmospheric-break { min-height: 65vh; }
  .atmospheric-break > picture img { object-position: 57% center; }
  .atmospheric-copy { top: 0; padding-top: 3.5rem; padding-bottom: 2.5rem; }
  .atmospheric-copy::before { top: .5rem; right: -3rem; left: -3rem; height: 18rem; }
  .source-grid { grid-template-columns: 1fr; }
  .source-grid article, .source-grid article:nth-child(even) { padding: 2rem 2.5rem 2rem 0; border-left: 0; }
  .columns { columns: 1; }
  .focus-line { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .focus-line span + span::before { content: none; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-end { align-items: flex-start; gap: 2.5rem; }
}

@media (max-width: 420px) {
  .hero-diagram { width: 58rem; }
  .process-diagram { width: 58rem; }
  .icecap-product { width: 100%; margin-inline: 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; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .actions, .nav-toggle { display: none; }
  .hero { padding-top: 0; }
  .reveal { opacity: 1; transform: none; }
}
