/* Winterlight Research
   Source of truth: latest 1440 × 2160 website export + expanded handoff.
   Breakpoint adaptations change flow, not the brand, copy, artwork or section order.
   Fonts are defined separately in assets/fonts/fonts.css. */

:root {
  color-scheme: dark;
  --obsidian: #000000;
  --deep-blue: #0F1B2B;
  --slate: #2F3E4E;
  --mist: #9AA7B3;
  --ice: #E8ECEF;
  --silver: #BAC5CC;
  --surface: #030B0F;
  --accent: #8AB8CD;
  --hairline: #28343A;
  --footer: #01080E;
  --display: "Winterlight Display", "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Winterlight Inter", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 78px;
  --right-gutter: 34px;
  --frame: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ice); font: 400 18px/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
p, h1, h2, h3, ol { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 300; text-transform: uppercase; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
::selection { background: var(--accent); color: var(--surface); }
.site { position: relative; max-width: 1920px; margin-inline: auto; }
.layout-shell { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: var(--gutter) var(--right-gutter); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ice); color: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
[aria-disabled="true"] { cursor: not-allowed; }
/* Pending controls intentionally have no href, not a fake '#' or invented address.
   Their labels/visual positions are retained; source and README identify the approvals. */
.arrow-icon { width: 25px; height: 30px; flex: 0 0 auto; }
.button, .text-link {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 500; line-height: 1.25;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button { border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.button--primary { width: 300px; min-height: 61px; padding: 14px 27px; gap: 21px; background: var(--ice); color: var(--surface); font-size: 18px; justify-content: space-between; }
.button--header { width: 156px; min-height: 50px; padding: 12px 18px; font-size: 15px; border-color: var(--mist); }
.button--footer { width: 209px; min-height: 54px; padding: 11px 27px; font-size: 17px; border-color: var(--mist); justify-content: space-between; }
.button[href]:hover { border-color: var(--ice); background: rgb(232 236 239 / 6%); }
.button--primary[href]:hover { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.text-link[href]:hover, .nav-link[href]:hover { color: var(--accent); }

/* Header remains in its approved overlay position, not a newly introduced sticky bar. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.site-header__inner { max-width: var(--frame); margin-inline: auto; padding: 28px 34px 0 58px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 374px; flex: 0 1 374px; }
.brand img { width: 100%; }
.desktop-navigation { display: grid; grid-template-columns: 96px 131px 156px 100px 156px; align-items: start; margin-top: 8px; }
/* Keep the approved final-column contact position when Insights is omitted. */
.desktop-navigation > .button--header { grid-column: -2 / -1; }
.nav-link { display: flex; align-items: center; min-height: 50px; padding-bottom: 4px; font-size: 16px; font-weight: 400; line-height: 24px; }
.mobile-navigation { display: none; }

/* 01 / Hero: measured baseline positions and original mountain image. */
.hero { min-height: 848px; position: relative; isolation: isolate; }
.hero__picture { position: absolute; inset: 0; z-index: -2; }
.hero__picture img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__content { padding-top: 220px; padding-bottom: 96px; }
h1 { width: fit-content; max-width: calc(100% / 1.03); font-size: 45px; line-height: 67px; letter-spacing: 8px; transform: scaleX(1.03); transform-origin: left center; }
h1 .desktop-line { display: block; }
.hero__lead { margin-top: 21px; font-size: 26px; line-height: 43px; font-weight: 400; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 35px; margin-top: 30px; }
.hero__secondary { min-height: 61px; gap: 47px; font-size: 18px; }

/* 02 / From question to evidence. */
.process { min-height: 544px; padding-top: 65px; padding-bottom: 58px; background: var(--surface); }
.process__intro { display: grid; grid-template-columns: calc(50% - 22px) minmax(0, 1fr); column-gap: 30px; }
/* At 1440px, the right column starts at x=750px: 78 + 642 + 30. */
.eyebrow { font-size: 17px; line-height: 26px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; }
.process h2 { margin-top: 16px; font-size: 32px; line-height: 52px; letter-spacing: 6px; }
.process h2 .desktop-line { display: block; }
.process__copy { padding-top: 25px; font-size: 21px; line-height: 35px; color: var(--silver); }
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 80px -24px 0 0; padding: 0; list-style: none; }
.step { position: relative; min-width: 0; padding-right: 40px; }
.step + .step::before { content: ""; position: absolute; left: -37px; top: 2px; bottom: -7px; border-left: 1px solid var(--hairline); }
.step__icon { width: 50px; height: 50px; margin-left: 9px; }
.step h3 { margin-top: 33px; font-size: 17px; line-height: 26px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; }
.step p { margin-top: 9px; font-size: 18px; line-height: 29px; color: var(--silver); }

/* 03 / Image and light panel are intentionally asymmetric, with rectangular edges. */
.applications { display: grid; grid-template-columns: 47.083333333% minmax(0, 1fr); min-height: 460px; border-top: 1px solid var(--hairline); }
.applications__visual { min-width: 0; position: relative; }
.applications__picture { position: absolute; inset: 0; }
.applications__picture img { width: 100%; height: 100%; object-fit: cover; }
.applications__content { padding: 69px 74px 55px; color: var(--surface); background: var(--ice); }
.applications h2 { font-size: 31px; line-height: 52px; letter-spacing: 4.6px; }
.applications h2 .desktop-line { display: block; }
.applications p { margin-top: 26px; font-size: 21px; line-height: 36px; }
.applications__link { margin-top: 16px; min-height: 44px; width: 100%; justify-content: space-between; gap: 24px; font-size: 16px; letter-spacing: 3.5px; text-transform: uppercase; }
.applications .text-link[href]:hover { color: var(--deep-blue); text-decoration: underline; text-underline-offset: 5px; }
.applications :focus-visible { outline-color: var(--deep-blue); }

/* 04 / Footer: use the supplied placement canvas including its exact embedded fade. */
.site-footer { min-height: 308px; position: relative; isolation: isolate; background: var(--footer); }
.site-footer__picture { position: absolute; inset: 0; z-index: -1; }
.site-footer__picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-footer__content { padding-top: 48px; padding-bottom: 31px; }
.site-footer h2 { font-size: 32px; line-height: 48px; letter-spacing: 5px; }
.site-footer h2 .desktop-line { display: block; }
.site-footer p { margin-top: 24px; font-size: 20px; line-height: 30px; color: var(--silver); }
.site-footer .button { margin-top: 25px; }

@media (min-width: 1200px) {
  .desktop-line { display: block; }
}

/* Laptop: preserve the composition; allow copy to wrap naturally and steps to reflow. */
@media (max-width: 1199px) {
  :root { --gutter: 40px; --right-gutter: 40px; }
  .site-header__inner { padding: 26px 40px 0 26px; align-items: center; gap: 20px; }
  .brand { width: 285px; flex-basis: 285px; }
  .desktop-navigation { display: flex; align-items: center; gap: 24px; margin-top: 0; }
  .nav-link { font-size: 15px; }
  .button--header { width: 136px; }
  .hero { min-height: 800px; }
  .hero__content { padding-top: 200px; padding-bottom: 100px; }
  h1 { font-size: 40px; line-height: 58px; letter-spacing: 6px; }
  .hero__lead { max-width: 770px; font-size: 24px; line-height: 38px; margin-top: 24px; }
  .hero__lead .desktop-line { display: block; }
  .process { padding-block: 64px; }
  .process__intro { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process h2 { font-size: 30px; line-height: 48px; letter-spacing: 4.6px; }
  .process__copy { padding-top: 25px; font-size: 19px; line-height: 32px; }
  .process__steps { margin: 64px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
  .step { padding-right: 12px; }
  .step + .step::before { content: none; }
  .step:nth-child(even)::before { content: ""; left: -32px; }
  .step h3 { margin-top: 24px; }
  .applications__content { padding: 54px 40px; }
  .applications h2 { font-size: 28px; line-height: 45px; letter-spacing: 3.4px; }
  .applications p { font-size: 19px; line-height: 32px; margin-top: 22px; }
  .applications__link { font-size: 14px; letter-spacing: 2.3px; }
  .site-footer { min-height: 308px; }
}

/* Tablet: native disclosure menu, no off-screen navigation or script-dependent content. */
@media (max-width: 900px) {
  .desktop-navigation { display: none; }
  .site-header__inner { align-items: flex-start; }
  .mobile-navigation { display: block; margin-top: 3px; }
  .mobile-navigation summary { cursor: pointer; min-width: 84px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; list-style: none; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .menu-icon { display: block; width: 22px; height: 12px; border-block: 1px solid currentColor; }
  .mobile-navigation[open] .menu-icon { border-bottom-color: transparent; }
  .mobile-navigation nav { position: absolute; top: 102px; inset-inline: var(--gutter); padding: 20px 24px; background: var(--surface); border: 1px solid var(--hairline); }
  .mobile-navigation .nav-link { padding: 10px 0; min-height: 48px; font-size: 17px; }
  .mobile-navigation .button--header { margin-top: 10px; width: 100%; }
  .hero { min-height: 820px; }
  .hero__lead { max-width: 640px; font-size: 22px; line-height: 36px; }
  .hero__actions { column-gap: 30px; }
  .hero__secondary { gap: 18px; }
  .process__intro { grid-template-columns: 1fr; gap: 28px; }
  .process__copy { padding-top: 0; max-width: 660px; }
  .applications { grid-template-columns: 44% minmax(0, 1fr); }
  .applications__content { padding: 48px 32px; }
  .applications h2 { font-size: 26px; letter-spacing: 3px; line-height: 41px; }
}

/* Mobile is a vertical editorial flow, not a reduced desktop screenshot. */
@media (max-width: 767px) {
  :root { --gutter: 24px; --right-gutter: 24px; }
  html { scroll-padding-top: 16px; }
  .site-header__inner { padding: 20px 24px 0 11px; gap: 6px; }
  .brand { width: 258px; flex: 0 1 258px; }
  .mobile-navigation { margin-top: 0; }
  .mobile-navigation summary { font-size: 14px; min-width: 70px; gap: 8px; min-height: 48px; }
  .menu-icon { width: 19px; }
  .mobile-navigation nav { top: 86px; }
  .hero { min-height: 850px; }
  .hero__picture img { object-position: 64% bottom; }
  .hero__content { padding-top: 142px; padding-bottom: 180px; }
  h1 { max-width: 100%; font-size: 32px; line-height: 42px; letter-spacing: .10em; transform: none; }
  .hero__lead { max-width: 100%; margin-top: 24px; font-size: 18px; line-height: 29px; }
  .hero__lead .desktop-line + .desktop-line { margin-top: 8px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
  .button--primary { width: 100%; max-width: 320px; min-height: 56px; font-size: 17px; }
  .hero__secondary { min-height: 48px; font-size: 17px; gap: 24px; }
  .process { padding-block: 64px; }
  .eyebrow { font-size: 14px; line-height: 24px; letter-spacing: 3px; }
  .process h2, .applications h2, .site-footer h2 { font-size: 28px; line-height: 39px; letter-spacing: .12em; }
  .process h2 { margin-top: 18px; }
  .process__intro { gap: 24px; }
  .process__copy, .applications p { font-size: 18px; line-height: 29px; }
  .process__steps { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .step { padding: 28px 0 0 76px; border-top: 1px solid var(--hairline); min-height: 126px; }
  .step:first-child { padding-top: 0; border-top: 0; min-height: 98px; }
  .step:nth-child(even)::before { content: none; }
  .step__icon { position: absolute; left: 0; top: 27px; width: 46px; height: 46px; margin-left: 0; }
  .step:first-child .step__icon { top: 0; }
  .step h3 { margin: 0; font-size: 15px; line-height: 25px; letter-spacing: 2.5px; }
  .step p { margin-top: 9px; font-size: 17px; line-height: 28px; }
  .applications { display: flex; flex-direction: column; min-height: 0; }
  .applications__visual { aspect-ratio: 1.477; }
  .applications__content { padding: 48px 24px 44px; }
  .applications p { margin-top: 24px; }
  .applications__link { margin-top: 24px; font-size: 14px; letter-spacing: 2px; gap: 16px; }
  .site-footer { min-height: 520px; }
  .site-footer__picture img { object-fit: cover; object-position: 83% bottom; }
  .site-footer__content { padding-top: 56px; padding-bottom: 180px; }
  .site-footer p { font-size: 18px; line-height: 29px; margin-top: 22px; }
  .site-footer .button { margin-top: 26px; }
}
@media (max-width: 359px) {
  .brand { flex-basis: 223px; min-height: 44px; }
  .mobile-navigation summary { min-width: 44px; font-size: 0; justify-content: center; }
  h1 { font-size: 30px; letter-spacing: .08em; }
  .process h2, .applications h2, .site-footer h2 { font-size: 25px; }
  .step { padding-left: 64px; }
}
@media (min-width: 1441px) {
  .hero__content { padding-top: 220px; }
  .applications { max-width: 1440px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .hero__picture, .site-footer__picture { display: none; }
  .button { border: 1px solid ButtonText; }
  .step__icon, .brand img { forced-color-adjust: none; }
}
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; }
  .site-header, .skip-link, .hero__picture, .site-footer__picture, .hero__actions, .applications__link, .site-footer .button { display: none; }
  .hero, .process, .site-footer { min-height: 0; background: transparent; padding: 20px 0; }
  .hero__content, .site-footer__content { padding: 0 24px; }
  h1 { transform: none; font-size: 30px; line-height: 1.4; letter-spacing: 3px; }
  .process__copy, .step p, .site-footer p { color: black; }
  .applications { break-inside: avoid; }
  .process__steps { margin-block-start: 32px; }
}

/* Readability correction, not new decoration: the handoff's optional overlay is
   used only where the white secondary CTA failed the 4.5:1 backdrop check.
   The approved 1440px desktop artwork is untouched. */
@media (max-width: 1199px) {
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url("/assets/icons/hero-readability.749e65dde7.svg") left top / 200% 100% no-repeat; opacity: .4; }
}
@media (max-width: 900px) { .hero::after { opacity: .7; } }
@media (max-width: 767px) { .hero::after { opacity: 1; } }
@media (forced-colors: active), print { .hero::after { display: none; } }

/* A minimal utility state is required for real 404 responses; it reuses the brand. */
.not-found { min-height: 100svh; display: grid; place-items: center; }
.not-found__content { width: min(100%, 700px); padding: 64px 24px; }
.not-found__content > a:first-child { display: block; max-width: 360px; margin-left: -18px; }
.not-found h1 { font-size: 64px; line-height: 1.2; margin-top: 64px; transform: none; }
.not-found p { margin-top: 24px; color: var(--silver); }
.not-found .button { margin-top: 32px; }
