@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7fbfc;
  --paper-deep: #edf6f8;
  --surface: #ffffff;
  --ink: #10242b;
  --ink-soft: #51676e;
  --line: #cfe0e4;
  --accent: #167d95;
  --accent-dark: #075b6f;
  --accent-light: #bfeaf2;
  --radius: 18px;
  --page: min(1400px, calc(100vw - 64px));
  --shadow: 0 28px 70px rgb(16 60 72 / 0.13);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--surface);
  background: var(--accent-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  border-bottom: 1px solid rgb(207 224 228 / 0.72);
  background: rgb(247 251 252 / 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav-shell,
.footer-shell {
  width: var(--page);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a,
.text-link,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.nav-contact {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-contact:hover {
  color: var(--surface);
  background: var(--ink);
}

.nav-contact:active,
.button:active {
  transform: translateY(1px);
}

.hero {
  width: var(--page);
  min-height: calc(100dvh - 72px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  padding-block: clamp(36px, 6vh, 72px);
}

.hero-copy {
  padding-left: clamp(0px, 4vw, 58px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 10ch;
  font-size: clamp(3.5rem, 6.4vw, 7rem);
  font-weight: 530;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.hero-lede {
  max-width: 31rem;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: #f7fbfc;
  background: var(--accent-dark);
  box-shadow: 0 12px 28px rgb(7 91 111 / 0.18);
}

.button-primary:hover {
  background: #064f60;
  box-shadow: 0 15px 32px rgb(7 91 111 / 0.24);
  transform: translateY(-2px);
}

.text-link {
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.35);
}

.hero-media {
  position: relative;
  min-height: min(70vh, 760px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.statement {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 15vw, 220px) clamp(0px, 8vw, 120px);
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  font-weight: 480;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.statement p {
  margin-bottom: 0;
}

.statement-accent {
  color: var(--accent);
  text-align: right;
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
  padding-block: clamp(90px, 11vw, 160px);
}

.section-intro {
  max-width: 780px;
  margin-bottom: clamp(54px, 8vw, 100px);
}

.section-intro h2,
.control h2,
.results h2,
.closing h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  font-weight: 510;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.section-intro p,
.control-copy p,
.results-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.58;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
}

.approach-visual {
  position: sticky;
  top: 108px;
  height: min(70vh, 720px);
  overflow: hidden;
  border-radius: var(--radius);
}

.approach-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-sequence {
  padding-top: 8vh;
}

.work-item {
  min-height: 210px;
  padding: 12px 0 58px;
  border-bottom: 1px solid var(--line);
}

.work-item + .work-item {
  padding-top: 58px;
}

.work-item h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  font-weight: 560;
  letter-spacing: -0.045em;
}

.work-item p {
  max-width: 29rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.control {
  padding-block: clamp(100px, 12vw, 180px);
  background: var(--paper-deep);
}

.control-shell {
  width: var(--page);
  margin-inline: auto;
}

.control-title h2 {
  margin-bottom: 0;
}

.control-copy {
  max-width: 640px;
  margin-top: 32px;
}

.decision-list {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.9fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(66px, 9vw, 120px);
}

.decision {
  padding-top: 24px;
  border-top: 1px solid var(--accent);
}

.decision:nth-child(2) {
  margin-top: 72px;
}

.decision span {
  display: block;
  margin-bottom: 46px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 650;
}

.decision h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.decision p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.results {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(420px, 1.24fr);
  gap: clamp(64px, 10vw, 160px);
  align-items: start;
}

.results-heading {
  position: sticky;
  top: 122px;
}

.results-heading h2 {
  font-size: clamp(2.7rem, 4.7vw, 5.2rem);
}

.result-lines {
  padding-top: 12vh;
}

.result-line {
  padding: 0 0 74px;
}

.result-line + .result-line {
  padding-top: 74px;
  border-top: 1px solid var(--line);
}

.result-line-offset {
  margin-left: clamp(0px, 7vw, 100px);
}

.result-line h3 {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  font-weight: 510;
  letter-spacing: -0.06em;
}

.result-line p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.closing {
  padding-top: 20px;
}

.closing-panel {
  min-height: 480px;
  padding: clamp(38px, 7vw, 96px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.92), rgb(211 240 245 / 0.76)),
    url("assets/arkxy-glacial-flow.jpg") center / cover;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7);
}

.closing-panel h2 {
  max-width: 12ch;
  margin-bottom: 56px;
}

.site-footer {
  min-height: 150px;
  border-top: 1px solid var(--line);
}

.footer-shell {
  min-height: 150px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-shell p {
  margin: 0;
  text-align: center;
}

.footer-shell > a:last-child {
  justify-self: end;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .reveal-delay {
  transition-delay: 110ms;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  :root {
    --page: min(100% - 40px, 900px);
  }

  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .approach-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .results {
    column-gap: 48px;
  }
}

@media (max-width: 767px) {
  :root {
    --page: calc(100% - 32px);
    --radius: 14px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 64px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .nav-contact {
    padding: 8px 14px;
  }

  .hero {
    min-height: calc(100dvh - 64px);
    grid-template-columns: 1fr;
    gap: 36px;
    align-content: center;
    padding-block: 34px 48px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.68rem;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(3.4rem, 17vw, 5.4rem);
  }

  .hero-lede {
    margin-bottom: 26px;
    font-size: 1.02rem;
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-media {
    min-height: 35vh;
    max-height: 390px;
  }

  .statement {
    padding-block: 96px;
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .statement-accent {
    margin-top: 14px;
    text-align: left;
  }

  .section-shell,
  .control {
    padding-block: 92px;
  }

  .section-intro h2,
  .control h2,
  .results h2,
  .closing h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .approach-grid,
  .results {
    grid-template-columns: 1fr;
  }

  .approach-visual,
  .results-heading {
    position: relative;
    top: auto;
  }

  .approach-visual {
    height: 52vh;
    min-height: 380px;
  }

  .work-sequence,
  .result-lines {
    padding-top: 28px;
  }

  .control-copy {
    margin-top: 22px;
  }

  .decision-list {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-top: 58px;
  }

  .decision:nth-child(2) {
    margin-top: 0;
  }

  .decision span {
    margin-bottom: 28px;
  }

  .results {
    gap: 52px;
  }

  .result-line-offset {
    margin-left: 0;
  }

  .closing {
    padding-top: 0;
  }

  .closing-panel {
    min-height: 440px;
    padding: 34px 28px;
  }

  .footer-shell {
    min-height: 220px;
    padding-block: 42px;
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: center;
  }

  .footer-shell p {
    text-align: left;
  }

  .footer-shell > a:last-child {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
