/* Lontra Industries: shared styles. Tokens and rules in DESIGN.md. */

:root {
  --ground: #1B2420;
  --ground-2: #222D28;
  --ground-3: #2A3631;
  --cream: #F5F1E6;
  --sand: #F5EAD8;
  --sand-2: #EFE1CA;
  --brown: #3A2A1E;
  --brown-soft: #6B5646;
  --mist: #AEB6AC;
  --line-dark: rgba(245, 241, 230, .14);
  --line-light: rgba(58, 42, 30, .18);
  --mint: #5FD8AE;
  --spruce: #234F3D;
  --aurora-dark: linear-gradient(60deg, #3FAE7F 0%, #3FC39A 35%, #5FD8AE 65%, #9B8EF0 100%);
  --aurora-light: linear-gradient(60deg, #234F3D 0%, #2F7F5C 25%, #2FA189 50%, #58D0A4 75%, #7B6BD6 100%);

  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 75rem;
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);

  --link: var(--mint);
  --focus: var(--mint);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
  scrollbar-color: #3D4B44 var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--mint); color: var(--ground); }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-thickness 160ms var(--ease-ui), color 160ms var(--ease-ui);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--cream);
  color: var(--ground);
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

/* The lockup PNG carries wide transparent margins: crop to the artwork, never scale it. */
.lockup {
  display: block;
  width: 9.5rem;
  aspect-ratio: 2.68;
  overflow: hidden;
  flex: none;
}
.lockup img {
  width: 173.9%;
  max-width: none;
  margin: -5.19% 0 0 -37.4%;
}
.lockup:focus-visible { outline-offset: 6px; }

.nav { display: flex; align-items: center; gap: 2rem; }

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav a:not(.btn) {
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding-block: .5rem;
  background: linear-gradient(var(--mint), var(--mint)) left bottom / 0 1px no-repeat;
  transition: background-size 220ms var(--ease-ui), color 160ms var(--ease-ui);
}
.nav a[aria-current="page"]:not(.btn) {
  background-image: var(--aurora-dark);
  background-size: 100% 2px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: 600 1rem/1 var(--text);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 62rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--ground);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 16px 40px rgba(10, 14, 12, .45);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 200ms var(--ease-ui), visibility 0s linear 200ms;
  }
  .js .nav.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 200ms var(--ease-ui), visibility 0s;
  }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul a:not(.btn) {
    display: block;
    padding: .85rem 0;
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.6rem;
    border-bottom: 1px solid var(--line-dark);
    background: none;
  }
  .js .nav ul a[aria-current="page"] { color: var(--mint); }
  .js .nav .btn { align-self: flex-start; }
  /* no JS: links wrap under the logo */
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 1rem; }
  html:not(.js) .nav ul { flex-wrap: wrap; gap: .25rem 1.25rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--aurora-dark);
  background-size: 140% 100%;
  background-position: 0% 50%;
  color: var(--ground);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-position 260ms var(--ease-ui), transform 160ms var(--ease-ui), filter 200ms var(--ease-ui);
}
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 200ms var(--ease-ui); }

.btn--small { min-height: 2.75rem; padding: .6rem 1.25rem; font-size: .9375rem; }


.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  font-weight: 600;
  color: var(--link);
}
.link-arrow .icon { transition: transform 200ms var(--ease-ui); }

@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { background-size: 100% 1px; color: var(--mint); }
  .nav a[aria-current="page"]:not(.btn):hover { background-size: 100% 2px; }
  a:hover { text-decoration-thickness: 2px; color: var(--cream); }
  .sand a:hover { color: var(--brown); }
  .btn:hover { background-position: 100% 50%; filter: brightness(1.05); color: var(--ground); transform: translateY(-1px); }
  .btn:active { transform: scale(0.97); }
  .btn:hover .icon, .link-arrow:hover .icon { transform: translateX(3px); }
  .menu-toggle:hover { border-color: var(--mint); }
}

/* ---------- Aurora (the one authored motion moment) ---------- */

.sky {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 75% 100%, #23332C 0%, rgba(27, 36, 32, 0) 60%),
    var(--ground);
}

/* a few fixed stars, drawn once */
.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(245,241,230,.7), transparent),
    radial-gradient(1px 1px at 17% 42%, rgba(245,241,230,.5), transparent),
    radial-gradient(1.5px 1.5px at 29% 9%, rgba(245,241,230,.6), transparent),
    radial-gradient(1px 1px at 41% 27%, rgba(245,241,230,.45), transparent),
    radial-gradient(1px 1px at 52% 6%, rgba(245,241,230,.55), transparent),
    radial-gradient(1.5px 1.5px at 63% 21%, rgba(245,241,230,.6), transparent),
    radial-gradient(1px 1px at 71% 4%, rgba(245,241,230,.5), transparent),
    radial-gradient(1px 1px at 83% 14%, rgba(245,241,230,.6), transparent),
    radial-gradient(1.5px 1.5px at 92% 33%, rgba(245,241,230,.5), transparent),
    radial-gradient(1px 1px at 96% 8%, rgba(245,241,230,.45), transparent),
    radial-gradient(1px 1px at 4% 61%, rgba(245,241,230,.35), transparent),
    radial-gradient(1px 1px at 36% 55%, rgba(245,241,230,.3), transparent);
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ribbon {
  position: absolute;
  width: 120%;
  left: -10%;
  height: auto;
  filter: blur(22px);
  transform-origin: 0% 100%;
}
.ribbon--1 { top: -6%; opacity: .54; }
.ribbon--2 { top: 6%; opacity: .5; filter: blur(30px); }
.ribbon--3 { top: -14%; opacity: .34; filter: blur(14px); }

@media (prefers-reduced-motion: no-preference) {
  .sky--drift .ribbon {
    animation: aurora-in 1.6s var(--ease-out) both;
  }
  .sky--drift .ribbon--2 { animation-delay: 120ms; animation-duration: 2s; }
  .sky--drift .ribbon--3 { animation-delay: 240ms; animation-duration: 2.4s; }
}

@keyframes aurora-in {
  from { opacity: 0; transform: translate3d(-6%, 4%, 0); }
}

/* ---------- Ridge: the horizon every page crosses ---------- */

.ridge {
  display: block;
  width: 100%;
  height: clamp(3.5rem, 8vw, 7.5rem);
  color: var(--sand);
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
}
.ridge--dark { color: var(--ground); }
.ridge path.land { fill: currentColor; }
/* the braided channels of the delta, drawn into the land */
.ridge path.braid { fill: none; stroke: var(--spruce); stroke-opacity: .38; }
.ridge path.braid + path.braid { stroke-opacity: .24; }

.coords {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: .875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}
.coords::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--aurora-dark);
}

/* ---------- Home hero ---------- */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.hero__copy { padding-bottom: clamp(2.5rem, 6vw, 5rem); }

.hero h1 {
  font-size: clamp(2.9rem, 5.4vw, 4.9rem);
  font-weight: 600;
  line-height: 1;
  max-width: 17ch;
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 34ch;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--cream);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.hero__otter {
  justify-self: end;
  width: min(100%, 26rem);
  /* sit the otter on the delta, not on the mountains */
  margin-bottom: calc(clamp(3.5rem, 8vw, 7.5rem) * -0.62);
  position: relative;
  z-index: 1;
}

.hero__ground {
  position: relative;
}
.hero__ground .coords {
  position: absolute;
  left: var(--gutter);
  left: max(var(--gutter), calc((100% - var(--max)) / 2));
  bottom: calc(clamp(3.5rem, 8vw, 7.5rem) * .1);
  margin: 0;
  color: var(--brown-soft);
}
.coords span + span { margin-left: .9em; }

/* a soft patch of night behind the copy, so cream text stays clear of the brightest band */
.hero__copy, .page-head__copy { position: relative; }
.hero__copy::before, .page-head__copy::before {
  content: "";
  position: absolute;
  inset: -12% -14% -6% -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(27, 36, 32, .62), rgba(27, 36, 32, 0));
}

/* ---------- Inner page head ---------- */

.page-head .wrap {
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-head h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  max-width: 14ch;
}
.page-head__lede {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
}

/* split head: copy left, the page's own subject right, sitting on the horizon */
.page-head--split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
}
.page-head--split .page-head__copy { padding-bottom: .5rem; }
.page-head--visual .wrap { padding-bottom: 0; }
.page-head--visual .page-head__copy { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* the visual breaks over the ridge line */
.head-visual {
  position: relative;
  z-index: 2;
  justify-self: end;
  margin: 0 0 calc(clamp(3.5rem, 8vw, 7.5rem) * -0.55);
}
.head-visual--otter { width: min(100%, 24rem); }
.head-visual--screen { width: 100%; }
/* three printables, laid out like sheets on a table */
.head-visual--fan {
  width: min(100%, 30rem);
  aspect-ratio: 1.15;
}
.head-visual--fan img {
  position: absolute;
  width: 58%;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
}
.head-visual--fan img:nth-child(1) { left: 0; top: 10%; transform: rotate(-7deg); }
.head-visual--fan img:nth-child(2) { right: 0; top: 2%; transform: rotate(6deg); }
.head-visual--fan img:nth-child(3) { left: 21%; top: 30%; transform: rotate(-1.5deg); }

/* where 68.36 N sits: a polar view, the pole at the centre */
.head-visual--polar { width: min(100%, 27rem); margin-bottom: 0; }
.polar { width: 100%; height: auto; overflow: visible; }
.polar text {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: var(--mist);
}
.polar .polar__here { fill: var(--cream); font-size: 15px; }
@media (max-width: 48rem) {
  .polar text { font-size: 16px; letter-spacing: .08em; }
  .polar .polar__here { font-size: 18px; }
}

/* the two plans in the head, each month drawn as its posts */
.head-plans {
  justify-self: end;
  width: min(100%, 27rem);
  display: grid;
  gap: 1.75rem;
}
.head-plans > div + div { padding-top: 1.75rem; border-top: 1px solid var(--line-dark); }
.head-plans p { margin: 0; }
.head-plans__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1;
}
.head-plans__what { color: var(--mist); max-width: 36ch; }
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding-block: .9rem .8rem;
}
.tiles span {
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid rgba(245, 241, 230, .6);
}
.tiles .tiles__video { border: 0; background: var(--aurora-dark); }

/* a large, plain price figure in the head */
.head-figure {
  margin: 0;
  justify-self: end;
  width: min(100%, 26rem);
}
.head-figure div { padding-block: 1.1rem; }
.head-figure div + div { border-top: 1px solid var(--line-dark); }
.head-figure__amount {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.25rem, 6.4vw, 5.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.head-figure__amount small {
  font-size: max(.26em, .875rem);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-left: .4em;
  color: var(--mist);
  vertical-align: 1.1em;
}
.head-figure__amount--then { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.head-figure__amount--then small { font-size: max(.4em, .875rem); vertical-align: .55em; }
.head-figure__what { color: var(--mist); margin-top: .6rem; max-width: 34ch; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--follow { padding-top: 0; }

.sand {
  --link: var(--spruce);
  --focus: var(--spruce);
  background: var(--sand);
  color: var(--brown);
}
.sand ::selection { background: var(--spruce); color: var(--sand); }
.sand .muted { color: var(--brown-soft); }

.muted { color: var(--mist); }

.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  max-width: 18ch;
}
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  max-width: 52ch;
  margin-top: 1.25rem;
}

.stack > * + * { margin-top: 1.25rem; }

.rule {
  height: 2px;
  border: 0;
  margin: 0;
  border-radius: 2px;
  background: var(--aurora-dark);
}
.sand .rule { background: var(--aurora-light); }

/* ---------- Draft river (home) ---------- */

.river {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.river__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 2.5rem;
}
.river ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.river li { padding-top: 3.75rem; position: relative; }
.river li::before {
  content: "";
  position: absolute;
  top: calc(var(--y, 1.1rem) - 7px);
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--spruce);
}
.river li:nth-child(1) { --y: 1.55rem; }
.river li:nth-child(2) { --y: .8rem; }
.river li:nth-child(3) { --y: 1.35rem; }
.river li:nth-child(4) { --y: .7rem; }
.river li:nth-child(4)::before { background: var(--spruce); }
.river h3 { font-size: 1.75rem; margin-bottom: .6rem; }
.river p { color: var(--brown-soft); max-width: 30ch; }

/* headline over text, never a split header */
.split-intro { max-width: 46rem; }
.split-intro .lede { max-width: 56ch; }

/* ---------- Index rows (what we do) ---------- */

.index { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-dark); }

.index a {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .9fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
  margin-inline: -1rem;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--cream);
  text-decoration: none;
  transition: background-color 200ms var(--ease-ui);
}
.index__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1;
}
.index__what { color: var(--mist); max-width: 36ch; }
.index__price {
  font-family: var(--display);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.index .icon { width: 1.75rem; height: 1.75rem; color: var(--mint); transition: transform 220ms var(--ease-ui); }

@media (hover: hover) and (pointer: fine) {
  .index a:hover { background-color: var(--ground-2); }
  .index a:hover .icon { transform: translate(3px, -3px); }
}

/* ---------- Night panel (Lontra Studios): dark, with the aurora rising behind the screen ---------- */

.panel-night {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--ground-2);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 2rem clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4.5rem);
}
.panel-night::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -38%;
  width: 70%;
  height: 90%;
  border-radius: 50%;
  background: var(--aurora-dark);
  filter: blur(70px);
  opacity: .4;
  pointer-events: none;
}
.panel-night p { color: var(--mist); }
.panel-night .meta {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  color: var(--cream);
}

.screen {
  border-radius: var(--radius);
  overflow: hidden;
  background: #141310;
  border: 1px solid rgba(245, 241, 230, .2);
}
.screen img { width: 100%; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.faq h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.faq p { color: var(--brown-soft); max-width: 46ch; }
.faq > div { padding-top: 1.25rem; border-top: 1px solid var(--line-light); }

/* ---------- Closing ---------- */

.closing .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
}
.closing__otter { width: clamp(7rem, 14vw, 11rem); }
.closing .h2 { max-width: 20ch; }
.closing .actions { margin-top: 1.75rem; }

/* ---------- Steps (web page) ---------- */

.steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: .5rem 3rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line-light);
}
.steps h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.steps p { color: var(--brown-soft); max-width: 48ch; }

/* ---------- Prices ---------- */

.offers {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  align-items: stretch;
}
.offer {
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--ground-2);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.offer--alt { background: var(--ground); }
.offer h3 { font-size: 1.5rem; color: var(--mist); font-weight: 400; }

.amount {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.amount small {
  font-size: .32em;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-left: .35em;
  color: var(--mist);
  vertical-align: .9em;
}
.sand .amount small { color: var(--brown-soft); }

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}
.ticks li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: .75rem;
  align-items: baseline;
}
.ticks li::before {
  content: "";
  width: .9rem;
  height: 2px;
  border-radius: 2px;
  background: var(--aurora-dark);
  transform: translateY(-.3em);
}
.sand .ticks li::before { background: var(--aurora-light); }

/* price rows: name left, plain words in the middle, the amount right */
.price-rows {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-dark);
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(9rem, auto);
  align-items: baseline;
  gap: .6rem clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line-dark);
}
.price-row h3 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.price-row > p, .price-row .ticks { color: var(--mist); max-width: 44ch; margin: 0; }
.price-row .price-row__amount {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
  text-align: right;
  white-space: nowrap;
}
.price-row__amount small {
  font-size: max(.3em, .8125rem);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-left: .4em;
  color: var(--mist);
}
.price-rows--small { margin-top: 1.5rem; }
.price-rows--small .price-row { padding-block: 1.25rem; }
.price-rows--small h4 { font-size: 1.375rem; font-weight: 500; }
.price-rows--small .price-row__amount { font-size: 1.75rem; }
.price-rows--small .price-row__amount small { font-size: .8125rem; }
.extras-title { margin-top: clamp(1rem, 3vw, 2rem); }

.care {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* ---------- Domain statement ---------- */

.statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  max-width: 22ch;
}

.domain-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light);
}
.domain-row .lede { margin-top: 0; max-width: 58ch; color: var(--brown-soft); }

/* ---------- Apps ---------- */

.game {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.game__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: .95;
}
.game__status {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.game__shot { margin: 2rem 0 0; }
.game__shot figcaption { margin-top: .75rem; font-size: 1rem; color: var(--mist); }
.game > .facts { margin-top: .75rem; }

.facts {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
}
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.facts dt { font-family: var(--display); font-size: 1.125rem; letter-spacing: .02em; }
.facts dd { margin: 0; color: var(--mist); }
.sand .facts div { border-color: var(--line-light); }
.sand .facts dd { color: var(--brown-soft); }

/* TC Manager: the name and what it is on one line, the facts across the full width */
.tc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.tc__name {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: .95;
}
.tc .lede { margin: 0 0 .5rem; }
.facts--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.facts--row div { grid-template-columns: minmax(0, 1fr); gap: .35rem; }

/* the page ends on the launch list */
.launch .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem clamp(2rem, 6vw, 6rem);
}
.launch .actions { margin-top: 1.5rem; }

/* ---------- Two columns that both carry weight ---------- */

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.pair .lede:first-child { margin-top: 0; }
.pair__aside { padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.pair__aside p { color: var(--brown-soft); margin-top: .75rem; }

.care .amount { margin-top: .75rem; }

/* ---------- Shops ---------- */

.listings {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}
.listings li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.25rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--line-light);
}
.listings img { border-radius: var(--radius); border: 1px solid var(--line-light); }
.listings h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; }
.listings h3 a { color: inherit; text-decoration-color: rgba(58, 42, 30, .35); }
.listings p { color: var(--brown-soft); max-width: 52ch; margin-top: .5rem; }
.listings .tag {
  font-family: var(--display);
  font-size: .9375rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--brown);
  text-align: right;
}
.listings__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.listings__foot p { margin: 0; color: var(--brown-soft); }

.gigs { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-dark); }
.gigs a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
  margin-inline: -1rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
  text-decoration: none;
  transition: background-color 200ms var(--ease-ui);
}
.gigs strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.1;
}
.gigs strong { color: var(--cream); margin-bottom: .35rem; }
.gigs span span { color: var(--mist); }
.gigs .icon { width: 1.75rem; height: 1.75rem; color: var(--mint); transition: transform 220ms var(--ease-ui); }
@media (hover: hover) and (pointer: fine) {
  .gigs a:hover { background-color: var(--ground-2); }
  .gigs a:hover .icon { transform: translate(3px, -3px); }
}

/* ---------- About ---------- */

.otter-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 3rem clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.otter-split img { width: min(100%, 26rem); }
.otter-split__title { margin-top: 2.75rem; }
.word {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -0.01em;
}
.word-note {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--mist);
  margin-top: .75rem;
}

.north {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
}
.readout {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
}
.north address { margin-top: 1.75rem; }
.north address a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.readout span { display: block; }
.readout small {
  display: block;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-top: 1rem;
  font-weight: 400;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem clamp(2rem, 6vw, 6rem);
}
address { font-style: normal; }
.contact-gap { margin-top: 2.5rem; }
.stack > .h3 + * { margin-top: .6rem; }

/* ---------- Draft request form ---------- */

.form {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: 40rem;
}
.field { display: grid; gap: .45rem; }
.field label {
  font-weight: 600;
  font-size: 1.0625rem;
}
.field label span { font-weight: 400; color: var(--brown-soft); }
.field .hint { margin: 0; font-size: 1rem; color: var(--brown-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .9rem;
  border: 1px solid rgba(58, 42, 30, .42);
  border-radius: 8px;
  background: #FBF6EC;
  color: var(--brown);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color 160ms var(--ease-ui);
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--spruce);
  outline-offset: 1px;
  border-color: var(--spruce);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #9A3B22; }
.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.form__note { margin: 0; font-size: 1rem; color: var(--brown-soft); max-width: 40ch; }
@media (hover: hover) and (pointer: fine) {
  .field input:hover, .field textarea:hover { border-color: rgba(58, 42, 30, .7); }
}

/* ---------- Legal ---------- */

.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.75rem 0 .9rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4rem; }
.legal code { font-size: .95em; background: var(--sand-2); padding: .05em .35em; border-radius: 4px; }

/* ---------- Small moments ---------- */

.moment {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  min-height: 60vh;
  align-content: center;
}
.moment img { width: clamp(8rem, 18vw, 12rem); }
.moment h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 600; max-width: 16ch; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand { display: grid; gap: 1.25rem; align-content: start; }
.footer-brand .lockup { width: 11rem; }
.footer-brand p { color: var(--mist); max-width: 30ch; }
.site-footer h2 {
  font-size: 1.125rem;
  letter-spacing: .04em;
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-footer ul a {
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 2.75rem;
  align-items: center;
  color: var(--cream);
  text-decoration-color: transparent;
}
.site-footer address { color: var(--mist); line-height: 1.7; }
.site-footer address a { color: var(--cream); display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (hover: hover) and (pointer: fine) {
  .site-footer ul a:hover { text-decoration-color: var(--mint); }
}
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
  color: var(--mist);
  font-size: .9375rem;
}
.footer-base > p { margin: 0; }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }

/* ---------- Responsive ---------- */

@media (max-width: 62rem) {
  .index a { grid-template-columns: minmax(0, 1fr) auto; }
  .index__what { grid-column: 1; }
  .index__price { grid-column: 1; }
  .index .icon { grid-column: 2; grid-row: 1; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  body { font-size: 1.0625rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 1rem; }
  .hero__otter { justify-self: end; width: min(56%, 14rem); }
  .hero__ground .coords {
    position: static;
    display: flex;
    margin: 0;
    padding: .5rem var(--gutter) 0;
    background: var(--sand);
    font-size: .875rem;
    letter-spacing: .08em;
  }
  .hero__ground .coords::before { width: 1.25rem; }
  .page-head--split .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .page-head--visual .page-head__copy { padding-bottom: 0; }
  /* the phone gets its own sky: wider ribbons, set lower, so the light crosses the headline and the otter */
  .ribbon { width: 250%; max-width: none; left: -75%; filter: blur(18px); }
  .ribbon--1 { top: 0; opacity: .62; }
  .ribbon--2 { top: 24%; opacity: .62; filter: blur(22px); }
  .ribbon--3 { top: -4%; opacity: .42; filter: blur(12px); }
  .hero__copy::before, .page-head__copy::before {
    inset: -6% -10% -6% -10%;
    background: radial-gradient(closest-side, rgba(27, 36, 32, .7) 50%, rgba(27, 36, 32, 0));
  }
  .tiles { gap: .3rem; }
  .tiles span { width: 1.3rem; height: 1.3rem; }
  .head-figure, .head-plans { justify-self: start; }
  .head-visual--otter { width: min(56%, 14rem); }
  .head-visual--fan { width: min(100%, 21rem); justify-self: center; }
  .head-visual--polar { width: min(100%, 22rem); justify-self: center; }
  .split-intro, .faq, .offers, .care, .game, .tc, .pair, .launch .wrap,
  .otter-split, .north, .contact-grid, .steps li, .facts--row,
  .panel-night, .domain-row, .field-pair, .price-row { grid-template-columns: minmax(0, 1fr); }
  .price-row .price-row__amount { text-align: left; }
  .listings li { grid-template-columns: 5.5rem minmax(0, 1fr); align-items: start; gap: .5rem 1.25rem; }
  .listings .tag { grid-column: 2; text-align: left; }
  .listings p { margin-top: .35rem; }
  .moment .actions { width: 100%; }
  .river ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .river__line { display: none; }
  .river ol { border-left: 2px solid var(--spruce); margin-left: 6px; }
  .river li { padding: 0 0 2rem 1.75rem; }
  .river li:last-child { padding-bottom: 0; }
  .river li::before { top: .55rem; left: -8px; }
  .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .actions .btn, .form__foot .btn { width: 100%; }
  .actions { gap: .75rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Work (portfolio) ---------- */

.listings--work img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.examples {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.examples a {
  display: grid;
  gap: .6rem;
  height: 100%;
  padding: 1rem 1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--ground-2);
  border: 1px solid var(--line-dark);
  color: var(--cream);
  text-decoration: none;
  align-content: start;
  transition: border-color 200ms var(--ease-ui);
}
.examples img { width: 100%; border-radius: calc(var(--radius) - 6px); border: 1px solid var(--line-dark); margin-bottom: .5rem; }
.examples__label {
  font-family: var(--display);
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
}
.examples strong { font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1.1; }
.examples__what { color: var(--mist); }
@media (hover: hover) and (pointer: fine) {
  .examples a:hover { border-color: var(--mint); }
}

/* ---------- Two things we build (home) ---------- */

.builds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.build {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--sand-2);
  border: 1px solid var(--line-light);
}
.build h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.build p { color: var(--brown-soft); max-width: 44ch; }
.build .actions { margin-top: auto; padding-top: .5rem; }
.build:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (max-width: 62rem) {
  .examples { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
}
@media (max-width: 48rem) {
  .builds { grid-template-columns: minmax(0, 1fr); }
}
