:root {
  --kit-accent: var(--accent);
  --bg: #06080a;
  --fg: #eef1f2;
  --muted: #8f9aa1;
  --line: #1e2428;
  --accent: #4fd1c5;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* minimal scrollbars: thin, no track, a quiet thumb */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(238, 241, 242, 0.24) transparent;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: rgba(238, 241, 242, 0.24);
  border-radius: 3px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--fg);
}
body {
  margin: 0;
  font:
    400 17px/1.55 system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 4vw, 48px);
  background: linear-gradient(var(--bg), transparent);
}
.brand {
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
}
.contact-link {
  font-size: 14px;
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--accent);
}

/* hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-content: end;
  gap: 28px;
  padding: 120px clamp(20px, 6vw, 96px) 12vh;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 11;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.hero {
  position: relative;
  overflow: hidden;
}
/* a faint grid of soundings behind the hero, like a sea chart */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(79, 209, 197, 0.1), transparent 70%),
    linear-gradient(rgba(238, 241, 242, 0.035) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(238, 241, 242, 0.035) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
.horizon {
  width: 100%;
  height: clamp(28px, 4vw, 56px);
  overflow: visible;
}
.horizon path,
.underline path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.title {
  max-width: 16ch;
  font-weight: 300;
  font-size: clamp(40px, 8.4vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.meta {
  display: grid;
  gap: 14px;
  margin: 0;
  font-size: 14px;
}
.meta dt {
  color: var(--muted);
}
.meta dd {
  margin: 2px 0 0;
}

/* process: a list by default; pinned and handed over only when motion runs (the .animated class) */
.process {
  position: relative;
  display: grid;
  gap: 48px;
  padding: 12vh clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.process-bar {
  display: none;
}
.step {
  display: grid;
  gap: 10px;
  max-width: 36ch;
}
.num {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.step h2 {
  font-weight: 300;
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step p {
  color: var(--muted);
}
.animated .process {
  height: 100svh;
  padding: 0;
  overflow: hidden;
}
.animated .step {
  position: absolute;
  inset: 0;
  align-content: center;
  max-width: none;
  padding: 0 clamp(20px, 6vw, 96px);
}
.animated .step p {
  max-width: 36ch;
}
.animated .process-bar {
  display: block;
  position: absolute;
  left: clamp(20px, 6vw, 96px);
  right: clamp(20px, 6vw, 96px);
  top: 96px;
  height: 1px;
  background: var(--line);
}
.big-num {
  display: none;
}
/* the step's number, very large and outlined, behind the text; it rolls to the next as the steps hand over */
.animated .big-num {
  display: block;
  position: absolute;
  right: clamp(12px, 4vw, 72px);
  top: 50%;
  translate: 0 -50%;
  height: 1em;
  overflow: hidden;
  font-size: clamp(160px, 34vw, 460px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(79, 209, 197, 0.35);
  pointer-events: none;
}
.big-num span {
  display: block;
  height: 1em;
}
.process-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* route: the line is drawn in full and every stop is lit, unless motion runs */
.route {
  border-top: 1px solid var(--line);
}
.route-pin {
  display: grid;
  gap: 28px;
  align-content: center;
  padding: 12vh clamp(20px, 6vw, 96px);
}
.route h2 {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.035em;
}
.route svg {
  width: min(100%, 760px);
  overflow: visible;
}
.route path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.route-ghost {
  stroke: var(--line);
  stroke-dasharray: 3 7;
}
.route-line {
  stroke: var(--accent);
}
/* the wake: a wide, soft copy of the line behind the boat */
.route-wake {
  stroke: rgba(79, 209, 197, 0.16);
  stroke-width: 9 !important;
}
.sea {
  opacity: 0.7;
}
.swell {
  fill: none;
  stroke: #12202a;
  stroke-width: 0.8;
}
.route .land {
  fill: #0d151a;
}
.route .coast {
  fill: none;
  stroke: #2c3c45;
  stroke-width: 1.2;
}
.island {
  stroke: #2c3c45;
  stroke-width: 1.2;
}
.route .contour {
  fill: none;
  stroke: #17232a;
  stroke-width: 1;
}
.beam {
  fill: rgba(255, 236, 170, 0.12);
}
.boat path {
  fill: var(--fg);
}
.boat .cabin {
  fill: var(--accent);
}
.stop {
  fill: var(--accent);
  transition: fill 0.3s;
}
.stops {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stops li {
  transition: color 0.3s;
}
.animated .route {
  height: 260vh;
}
.animated .route-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-block: 0;
}
/* not yet reached: a grey dot and a grey label, still readable */
.animated .stop:not(.on) {
  fill: var(--line);
}
.animated .stops li:not(.on) {
  color: var(--muted);
}

/* work: a grid by default; a sideways strip when motion runs */
.work {
  border-top: 1px solid var(--line);
}
.work-pin {
  display: grid;
  gap: 32px;
  padding: 12vh clamp(20px, 6vw, 96px);
}
.work h2 {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.035em;
}
.work-track {
  display: grid;
  gap: 16px;
}
.tile {
  display: grid;
  gap: 12px;
}
.tile figcaption {
  color: var(--muted);
  font-size: 15px;
}
.art {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
/* each artwork is drawn in CSS with the studio's one idea: a line between land and water */
.art::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  top: 58%;
  height: 40%;
  border-top: 2px solid var(--accent);
  border-radius: 50% 50% 0 0;
}
.a1 {
  background: linear-gradient(160deg, #10302e, #06080a 70%);
}
.a2 {
  background: linear-gradient(200deg, #1b2a36, #06080a 70%);
}
.a3 {
  background: linear-gradient(140deg, #2b2416, #06080a 70%);
}
.a4 {
  background: linear-gradient(180deg, #14202a, #06080a 70%);
}
.a5 {
  background: linear-gradient(120deg, #0f2a22, #06080a 70%);
}
.a2::after {
  top: 40%;
}
.a3::after {
  top: 70%;
  border-radius: 0 50% 0 0;
}
.a4::after {
  top: 50%;
  border-radius: 40% 60% 0 0;
}
.animated .work-pin {
  height: 100svh;
  align-content: center;
  padding-block: 0;
  overflow: hidden;
}
.animated .work-track {
  display: flex;
  width: max-content;
}
.animated .tile {
  width: min(78vw, 420px);
}
/* inside each frame the artwork is wider than the frame, so it can drift against the strip */
.animated .art::before {
  content: '';
  position: absolute;
  inset: 0 -12%;
  background: inherit;
  translate: var(--drift, 0) 0;
}
.art {
  transition: border-color 0.3s;
}
.tile:hover .art {
  border-color: var(--accent);
}

/* contact */
.contact {
  min-height: 70svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid var(--line);
}
.underline {
  width: min(80vw, 560px);
  height: 24px;
  margin-top: -18px;
  overflow: visible;
}
.end {
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  letter-spacing: -0.045em;
}
.btn {
  padding: 15px 30px;
  border-radius: 99px;
  background: var(--accent);
  color: #03100f;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover,
.btn:focus-visible {
  filter: brightness(1.1);
}
/* the bar's section links, from tablet width up */
.links {
  display: none;
  gap: 26px;
  margin-left: auto;
  margin-right: 24px;
  font-size: 14px;
}
.links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.links a:hover,
.links a:focus-visible {
  color: var(--fg);
}

/* outcome */
.outcome,
.services,
.next {
  padding: 16vh clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.outcome h2,
.services h2 {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}
.outcomes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.outcomes li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 12px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}
.outcomes span {
  grid-row: span 2;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 6px;
}
.outcomes b {
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  color: var(--fg);
}
.brief {
  margin: 80px 0 0;
  max-width: 26ch;
}
.brief p {
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.brief footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.services li {
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.services li:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.next {
  display: grid;
  gap: 16px;
}
.next h2 {
  font-weight: 300;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.next > p:not(.kicker) {
  color: var(--muted);
  max-width: 40ch;
}
/* the next study's artwork: seven doors, one lit */
.next-art {
  margin-top: 24px;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 calc(100% / 7 * 3), rgba(79, 209, 197, 0.22) 0 calc(100% / 7 * 4), transparent 0),
    repeating-linear-gradient(90deg, #0d1418 0 calc(100% / 7 - 2px), var(--line) 0 calc(100% / 7)), #0b1114;
}

.foot {
  display: grid;
  gap: 32px;
  padding: 56px clamp(20px, 6vw, 96px) 32px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.foot-cols {
  display: grid;
  gap: 24px;
}
.foot ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot a {
  text-decoration: none;
}
.foot a:hover,
.foot a:focus-visible {
  color: var(--fg);
}
.foot .brand {
  color: var(--fg);
}
.foot-note {
  font-size: 13px;
}

/* larger screens */
@media (min-width: 1000px) {
  .route-pin {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    grid-template-rows: auto auto;
    column-gap: 6vw;
    align-content: center;
  }
  .route h2 {
    align-self: end;
  }
  .route svg {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-height: 78svh;
  }
  .stops {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    flex-direction: column;
    gap: 14px;
  }
}
@media (min-width: 700px) {
  .meta {
    grid-template-columns: repeat(2, max-content);
    gap: 48px;
  }
  .work-track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .work-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .links {
    display: flex;
  }
  .foot-cols {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .outcome {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    column-gap: 6vw;
  }
  .outcome h2 {
    grid-column: 1 / -1;
  }
  .brief {
    margin: 0;
    align-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .stop,
  html:not(.motion-on) .stops li {
    transition: none;
  }
}

/* the film layer, shared by all five projects: grain over everything, letterbox bars that close in while the
   signature moment plays (html.film, set by the script), and a fade up from black as the page opens. All of it is
   decoration, kept out of the way of the pointer and the reader, and still under reduced motion */
.grain {
  position: fixed;
  inset: -20px;
  z-index: 30;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bars {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: none;
  pointer-events: none;
}
.bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 7vh;
  background: #000;
  transform: scaleY(0);
  transition: transform 0.7s var(--ease);
}
.bars i:first-child {
  top: 0;
  transform-origin: top;
}
.bars i:last-child {
  bottom: 0;
  transform-origin: bottom;
}
html.film .bars i {
  transform: none;
}
@media (min-width: 900px) {
  .bars {
    display: block;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .grain {
    animation: gate 1s steps(4) infinite;
  }
  .js body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #000;
    pointer-events: none;
    animation: curtain 1.4s var(--ease) 0.1s forwards;
  }
}
html.motion-on .grain {
  animation: gate 1s steps(4) infinite;
}
@keyframes gate {
  25% {
    transform: translate(-8px, 5px);
  }
  50% {
    transform: translate(6px, -7px);
  }
  75% {
    transform: translate(-4px, -3px);
  }
}
@keyframes curtain {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---- the scroll kit's styles: the same in all five projects, coloured by each site's own tokens ---- */
header nav a[aria-current='location'] {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--kit-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
/* reveal on scroll: hidden only when the script runs and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .kit-reveal {
    opacity: 0;
    translate: 0 28px;
    transition:
      opacity 0.9s var(--ease),
      translate 0.9s var(--ease);
  }
  .js .kit-reveal.kit-in {
    opacity: 1;
    translate: none;
  }
}
html.motion-on.js .kit-reveal:not(.kit-in) {
  opacity: 0;
  translate: 0 28px;
}
html.motion-on.js .kit-reveal {
  transition:
    opacity 0.9s var(--ease),
    translate 0.9s var(--ease);
}
.kit-section {
  padding: 14vh clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.kit-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.kit-head h2 {
  margin: 0;
  font-weight: inherit;
  font-size: clamp(32px, 4.8vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.kit-buttons {
  display: flex;
  gap: 8px;
}
.kit-buttons button,
.kit-more {
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
}
.kit-buttons button:hover,
.kit-buttons button:focus-visible,
.kit-more:hover,
.kit-more:focus-visible {
  border-color: var(--kit-accent);
}
/* scroll snap: a native horizontal track that settles on a card */
.kit-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 340px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.kit-track > * {
  scroll-snap-align: start;
  margin: 0;
}
.kit-card {
  display: grid;
  gap: 10px;
}
.kit-card .kit-art {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.kit-card h3 {
  margin: 0;
  font-weight: inherit;
  font-size: 22px;
}
.kit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
/* zoom on scroll: the frame stays put, the picture inside settles from 1.28x to 1x */
.kit-zoom {
  overflow: hidden;
  border: 1px solid var(--line);
}
.kit-zoom > * {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(var(--zoom, 1));
  transform-origin: 50% 60%;
}
/* infinite scroll */
.kit-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.kit-list li {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 4px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.kit-list time,
.kit-list .kit-tag {
  color: var(--kit-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 4px;
}
.kit-list p {
  margin: 0;
  color: var(--muted);
}
.kit-list b {
  display: block;
  color: var(--fg);
  font-weight: inherit;
  font-size: 1.15em;
}
.kit-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.kit-more {
  display: none;
}
.js .kit-more:not([hidden]) {
  display: inline-block;
}

/* reduced motion: state changes happen at once, nothing fades or slides into place */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) *,
  html:not(.motion-on) *::before,
  html:not(.motion-on) *::after {
    transition-duration: 0s !important;
  }
}

/* ---- advanced layer ---- */
/* the sea chart behind the hero */
.tide {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .title .char {
  display: inline-block;
  will-change: transform;
}
/* process: each step is a panel of the same water as the page, so the circular wipe that opens it shows only
   the new words covering the old */
.animated .step {
  background: var(--bg);
}
.animated .big-num {
  z-index: 2;
  /* room for the outline past the last glyph's advance */
  padding-right: 0.08em;
}
.animated .process-bar {
  z-index: 3;
}
/* the map tips up from the table into view */
.animated .route svg {
  will-change: transform;
}
/* a ring that follows a fine pointer, and grows over anything you can press */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    margin 0.3s var(--ease),
    background 0.3s,
    opacity 0.3s;
}
html.pointer .cursor {
  opacity: 1;
}
html.pointer .cursor.over {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  background: rgba(79, 209, 197, 0.12);
}
