/* Wolu Artha — scroll-driven aerial hero, then products, process, quote and company.
   The hero is drawn on a 1280×800 frame: u = min(100vh/800, 100vw/716), and 800 design px
   equal one viewport height, so vertical positions in the track are written as N/8 vh. */

:root {
  --deep: #0b1a16; /* behind the film */
  --cloud: #ecefeb; /* the page after the clouds; matched to the film's last frame */
  --paper: #f8f9f6;
  --ink: #10211c;
  --ink-70: rgba(16, 33, 28, 0.7);
  --ink-60: rgba(16, 33, 28, 0.6);
  --rule: rgba(16, 33, 28, 0.16);
  --soft: #8d9792; /* the muted last line of a display heading */
  --cream: #f7f5ef;
  --white: #f9f9f9;
  --teal: #12a597;
  --teal-deep: #0b6f68;
  --green: #0f3d31;
  --alert: #b8432c;

  --display: "Exo 2", "Arial Narrow", Arial, sans-serif;
  --ui: "Public Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --u: min(100vh / 800, 100vw / 716);
  --gutter: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 14px;
}

.wrap {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 2.6vw, 34px);
  color: var(--cream);
  transition:
    color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

.nav a {
  text-decoration: none;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.nav__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(249, 249, 249, 0.94);
  padding: 3px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

.nav__links a {
  position: relative;
  padding: 8px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* on the opening screen the big logo stands in for the small one */
.nav__brand {
  transition: opacity 0.4s ease;
}
.nav.is-top .nav__brand {
  opacity: 0;
  pointer-events: none;
}

/* inside the clouds the light type would vanish */
.nav.is-ink {
  color: var(--ink);
}
.nav.is-ink .nav__brand,
.nav.is-ink .nav__links {
  text-shadow: none;
}
.nav.is-ink .nav__cta {
  background: var(--green);
  color: #fff;
  box-shadow: none;
}
.nav.is-ink .nav__cta:hover {
  background: var(--teal-deep);
}

/* past the film */
.nav.is-solid {
  padding-block: 10px;
  background: rgba(236, 239, 235, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rule);
}

/* ---------- the scroll track ---------- */

.track {
  position: relative;
  min-height: 300vh;
  background: var(--deep);
}

.scene {
  --k: 0; /* clip progress, written by hero.js */
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  background: var(--deep) url("/media/film-poster.jpg") center / cover no-repeat;
}

.scene__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* A light veil so white type reads on bright water; it lifts as the clouds take over. */
.scene__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: clamp(0, calc(1 - (var(--k) - 0.5) * 4), 1);
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 14, 0.42) 0%,
      rgba(4, 18, 14, 0.16) 24%,
      rgba(4, 18, 14, 0.16) 74%,
      rgba(4, 18, 14, 0.36) 100%
    ),
    radial-gradient(ellipse 85% 80% at 50% 50%, rgba(4, 18, 14, 0) 40%, rgba(4, 18, 14, 0.22) 100%);
}

.opener {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 2.6vw, 34px) clamp(22px, 4vh, 38px);
  color: var(--cream);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.opener__line {
  max-width: 34ch;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.opener__cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.opener__cue i {
  position: relative;
  display: block;
  width: 1.5px;
  height: 44px;
  background: rgba(247, 245, 239, 0.32);
  overflow: hidden;
}

.opener__cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  55% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

.content {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: var(--white);
}

/* The opening screen: logo and headline in the middle of the first viewport. They are part of the
   scrolling copy, so they rise up the boat's axis and leave at the top like everything after them. */
.intro {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100lvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* sits a little above the middle, so the logo clears the boat's bow */
  padding: calc(40 * var(--u)) 20px calc(190 * var(--u));
  text-align: center;
  isolation: isolate;
}

/* a soft shade behind the block, so cream type holds on bright water */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 52% 44% at 50% 40%, rgba(4, 18, 14, 0.46) 0%, rgba(4, 18, 14, 0.2) 45%, rgba(4, 18, 14, 0) 72%);
  pointer-events: none;
}

.intro__logo {
  width: calc(218 * var(--u));
  height: auto;
  margin-bottom: calc(34 * var(--u));
  filter: drop-shadow(0 calc(8 * var(--u)) calc(26 * var(--u)) rgba(0, 0, 0, 0.5));
}

.headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(46 * var(--u));
  line-height: calc(52 * var(--u));
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow:
    0 calc(12 * var(--u)) calc(32 * var(--u)) rgba(0, 0, 0, 0.5),
    0 0 calc(3 * var(--u)) rgba(0, 0, 0, 0.25);
}

.headline > span {
  display: block;
  white-space: nowrap;
}

/* Split-text reveal: hero.js cuts each line into words and letters, then lets the letters rise in
   one after another. Until it has done that the headline stays out of sight, so there is no flash
   of finished text; the fallback shows it anyway if the script never runs. */
.js .headline:not(.is-split) {
  visibility: hidden;
  animation: headline-fallback 0s linear 4s forwards;
}

@keyframes headline-fallback {
  to {
    visibility: visible;
  }
}

.headline {
  pointer-events: auto; /* the letters lift under the cursor */
  cursor: default;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-char {
  display: inline-block;
  will-change: transform, opacity;
}

.js .intro__logo {
  animation: logo-in 1.1s var(--ease) 0.1s both;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.eyebrow {
  position: absolute;
  top: calc(968 / 8 * 1vh);
  left: 0;
  right: 0;
  text-align: center;
  font-size: max(9.5px, calc(8.6 * var(--u)));
  font-weight: 700;
  letter-spacing: 0.304em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, 0.6);
}

/* Copy fades out as it slides under the fixed nav; hero.js writes --cut (px hidden from the block's top). */
.intro,
.eyebrow,
.feature {
  --cut: 0px;
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--cut) - 46px), #000 var(--cut));
  mask-image: linear-gradient(180deg, transparent calc(var(--cut) - 46px), #000 var(--cut));
}

.feature {
  position: absolute;
  width: calc(300 * var(--u));
  text-shadow:
    0 calc(3 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, 0.6),
    0 0 calc(2 * var(--u)) rgba(0, 0, 0, 0.35);
}

.feature__icon {
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  margin-bottom: calc(30 * var(--u));
  color: var(--white);
  filter: drop-shadow(0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(0, 0, 0, 0.45));
}

.feature h2 {
  margin-bottom: calc(11 * var(--u));
  font-size: calc(19.6 * var(--u));
  line-height: calc(20 * var(--u));
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.feature p {
  font-size: max(12px, calc(12.8 * var(--u)));
  line-height: max(15.5px, calc(16.2 * var(--u)));
  color: rgba(249, 249, 249, 0.92);
}

.feature h2 span,
.feature p span {
  display: block;
  white-space: nowrap;
}

.feature--l {
  right: calc(50% + 78 * var(--u));
  text-align: right;
}
.feature--l .feature__icon {
  margin-left: auto;
}
.feature--r {
  left: calc(50% + 78 * var(--u));
}
.feature--r1 {
  top: calc(1040 / 8 * 1vh);
}
.feature--r2 {
  top: calc(1299 / 8 * 1vh);
}
.feature--l.feature--r2 {
  right: calc(50% + 88 * var(--u));
}
.feature--r.feature--r2 {
  left: calc(50% + 88 * var(--u));
}
.feature--c {
  top: calc(1603 / 8 * 1vh);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.feature--c .feature__icon {
  margin-inline: auto;
}

/* ---------- after the clouds ---------- */

.after {
  position: relative;
  z-index: 3;
  background: var(--cloud);
  color: var(--ink);
  padding: 120px 0 140px;
}

/* The first section is pulled up over the end of the film, so the clouds run straight into the page. */
.after--first {
  margin-top: -34vh;
  padding-top: calc(34vh + 24px);
  background: linear-gradient(180deg, rgba(236, 239, 235, 0) 0, var(--cloud) 34vh);
  scroll-margin-top: calc(-34vh + 70px);
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--rule);
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.display span {
  display: block;
}

.display__soft {
  color: var(--soft);
}

.head__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* product rows */

.product {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(220px, 320px);
  gap: 44px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.product__no {
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}

.product__meta h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product__meta p:last-child {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-60);
}

.product__text {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.42;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chips li {
  padding: 6px 12px 5px;
  border: 1px solid rgba(16, 33, 28, 0.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-70);
}

.product__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: #d9ddd7;
  box-shadow: 0 24px 50px -28px rgba(16, 33, 28, 0.45);
}

.product__media img,
.product__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.2s var(--ease),
    opacity 0.5s ease;
}

.product__media video {
  opacity: 0;
}

.product__media.is-playing video {
  opacity: 1;
}

.product:hover .product__media img,
.product:hover .product__media video {
  transform: scale(1.045);
}

.range {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  padding-top: 40px;
}

.range__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.range__text {
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-70);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease);
}

.btn svg {
  flex: none;
  width: 13px;
  height: 11px;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--ink);
  color: var(--cloud);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--solid {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.btn--solid:hover {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: #fff;
}

/* how we work: a dark band between the two light halves */

.how {
  position: relative;
  z-index: 3;
  padding: 120px 0;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(8, 26, 21, 0.9), rgba(8, 26, 21, 0.95)),
    var(--deep) url("/media/film-poster.jpg") center 30% / cover no-repeat;
}

.head--dark {
  border-bottom-color: rgba(247, 245, 239, 0.18);
}
.head--dark .display__soft {
  color: rgba(247, 245, 239, 0.4);
}
.head--dark .head__note {
  color: rgba(247, 245, 239, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.steps li {
  padding: 44px 36px 46px 0;
  border-bottom: 1px solid rgba(247, 245, 239, 0.18);
}

.steps li + li {
  padding-left: 36px;
  border-left: 1px solid rgba(247, 245, 239, 0.18);
}

.steps__no {
  display: block;
  margin-bottom: 26px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(86, 214, 196, 0.9);
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.steps p {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.74);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 34px;
}

.facts div + div {
  padding-left: 36px;
}

.facts dt {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.5);
}

.facts dd {
  font-size: 14.5px;
  line-height: 1.5;
}

/* request a quote */

.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: start;
}

.quote__intro {
  position: sticky;
  top: 110px;
}

.quote__lead {
  max-width: 40ch;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-70);
}

.quote__contact {
  margin-top: 34px;
  border-top: 1px solid var(--rule);
}

.quote__contact li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.quote__contact span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.quote__contact a {
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.quote__contact a:hover {
  color: var(--teal-deep);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
  padding: 40px;
  border: 1px solid rgba(16, 33, 28, 0.1);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 40px 80px -50px rgba(16, 33, 28, 0.5);
}

.field {
  display: block;
  min-width: 0;
}

.field > span {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(16, 33, 28, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1.4 var(--ui);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 22px;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%2310211c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 2px center / 10px 6px no-repeat;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field ::placeholder {
  color: rgba(16, 33, 28, 0.38);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--teal-deep);
  box-shadow: 0 1px 0 var(--teal-deep);
}

.field.is-bad input,
.field.is-bad select {
  border-bottom-color: var(--alert);
  box-shadow: 0 1px 0 var(--alert);
}

.field.is-bad > span {
  color: var(--alert);
}

.field--full,
.form__foot {
  grid-column: 1 / -1;
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 6px;
}

.form__status {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-60);
}

.form__status.is-bad {
  color: var(--alert);
}

/* company records */

.company {
  padding-top: 0;
}

.record {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
}

.record__meta h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record__meta p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-60);
}

.record__no {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.record__text {
  max-width: 620px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* footer */

.foot {
  position: relative;
  z-index: 3;
  padding: 64px 0 72px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.75;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.foot__brand img {
  width: 168px;
  height: auto;
}

.foot__label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--teal-deep);
}

/* ---------- reveal on scroll (only when the script is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- portrait: one centred column over the film ---------- */

@media (max-width: 609px), (orientation: portrait) {
  :root {
    --u: min(100vw / 390, 1.6px);
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    text-align: center;
  }

  /* the copy runs down the middle here, over the boat and its wake, so the veil is heavier */
  .scene__tint {
    background:
      linear-gradient(
        180deg,
        rgba(4, 18, 14, 0.5) 0%,
        rgba(4, 18, 14, 0.3) 22%,
        rgba(4, 18, 14, 0.3) 76%,
        rgba(4, 18, 14, 0.46) 100%
      );
  }

  .intro,
  .eyebrow,
  .feature {
    position: static;
    transform: none;
    width: auto;
    text-align: center;
  }

  .intro {
    position: relative;
    min-height: 100vh;
    min-height: 100lvh;
    height: auto;
    padding: 60px 0 22vh;
  }

  .intro::before {
    inset: 0 -20px;
    background: radial-gradient(ellipse 90% 40% at 50% 42%, rgba(4, 18, 14, 0.4) 0%, rgba(4, 18, 14, 0.16) 50%, rgba(4, 18, 14, 0) 76%);
  }

  .intro__logo {
    width: clamp(150px, calc(176 * var(--u)), 260px);
    margin-bottom: clamp(22px, calc(28 * var(--u)), 44px);
  }

  .headline {
    font-size: clamp(34px, calc(46 * var(--u)), 72px);
    line-height: 1.08;
  }

  .headline > span {
    white-space: normal;
  }

  .eyebrow {
    margin-top: 6vh;
    font-size: max(10px, calc(10 * var(--u)));
  }

  .feature {
    max-width: calc(320 * var(--u));
    margin-top: 16vh;
  }

  .eyebrow + .feature {
    margin-top: 7vh;
  }

  .feature__icon {
    width: calc(38 * var(--u));
    height: calc(38 * var(--u));
    margin: 0 auto calc(22 * var(--u));
  }

  .feature h2 {
    font-size: calc(21 * var(--u));
    line-height: 1.08;
  }

  .feature p {
    font-size: max(14px, calc(14.5 * var(--u)));
    line-height: 1.5;
  }

  .feature h2 span,
  .feature p span {
    display: inline;
    white-space: normal;
  }
}

/* ---------- smaller screens for the page below ---------- */

@media (max-width: 980px) {
  :root {
    --gutter: 32px;
  }

  .nav__links {
    display: none;
  }

  .head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .head__note {
    max-width: 52ch;
  }

  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px 28px;
  }

  .product__meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
  }

  .product__no,
  .product__meta p:last-child {
    margin: 0;
  }

  .range {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: start;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 20px;
    padding: 30px 0;
    border-left: 0;
  }

  .steps__no {
    grid-row: span 2;
    margin: 0;
  }

  .steps p {
    max-width: none;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .facts div + div {
    padding-left: 0;
  }

  .quote__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .quote__intro {
    position: static;
  }

  .record {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }

  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 609px) {
  :root {
    --gutter: 22px;
  }

  .nav {
    padding: 12px 16px;
    gap: 12px;
  }

  .nav__brand {
    font-size: 15px;
  }

  .nav__brand img {
    width: 36px;
    height: 36px;
  }

  .nav__cta {
    height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }

  .opener__line span {
    display: none;
  }

  .opener__line {
    max-width: 22ch;
    font-size: 12.5px;
  }

  .after {
    padding: 84px 0 96px;
  }

  .after--first {
    padding-top: calc(34vh + 8px);
  }

  .company {
    padding-top: 0;
  }

  .how {
    padding: 84px 0;
  }

  .product {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .product__media {
    order: -1;
  }

  .form {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px;
  }

  .form__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .foot__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

  .opener__cue i::after {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .headline:not(.is-split) {
    visibility: visible;
    animation: none;
  }

  .js .intro__logo {
    animation: none;
  }

  .product__media img,
  .product__media video,
  .btn,
  .btn svg,
  .nav,
  .nav__cta {
    transition: none;
  }
}
