@font-face {
  font-family: "Libre Caslon Display";
  src: url("fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Display";
  src: url("fonts/libre-caslon-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}

@property --r {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  --paper: #f7f9fb;
  --mist: #e5ebf2;
  --ink: #0f1419;
  --ink-soft: #4a535c;
  --deep: #0c2547;
  --cyan: #1b3a6e;
  --mid: #4a6b96;
  --display: "Libre Caslon Display", "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 56px);
  --measure: 34rem;
  --ease: cubic-bezier(0.5, 0, 0.2, 1);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

p {
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Top bar ---------- */

.bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  color: var(--paper);
}
.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(12, 37, 71, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.langs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: 600 0.8rem/1 var(--text);
  letter-spacing: 0.04em;
  padding: 8px 10px;
  min-width: 40px;
  min-height: 32px;
  border-radius: 999px;
  cursor: pointer;
}
.langs button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--deep);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(620px, 100svh);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--deep);
  overflow: hidden;
}
.hero video,
.hero .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 37, 71, 0.55) 0%, rgba(12, 37, 71, 0.2) 45%, rgba(12, 37, 71, 0) 65%),
    linear-gradient(to top, rgba(12, 37, 71, 0.9) 0%, rgba(12, 37, 71, 0.45) 38%, rgba(12, 37, 71, 0) 68%),
    linear-gradient(to bottom, rgba(12, 37, 71, 0.45), rgba(12, 37, 71, 0) 22%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(40px, 9vh, 96px);
}
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 8rem);
  max-width: 11ch;
}
.hero .sub {
  margin-top: 1.4rem;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(247, 249, 251, 0.88);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
}
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 9px 22px 10px;
  border-radius: 14px;
  text-decoration: none;
  background: var(--paper);
  color: var(--deep);
  border: 1px solid var(--paper);
  transition: background-color 0.2s, color 0.2s;
}
.store small {
  font-size: 0.72rem;
  line-height: 1.1;
  opacity: 0.75;
}
.store span {
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.15;
}
.store.ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247, 249, 251, 0.6);
}
.store:hover {
  background: var(--mist);
}
.store.ghost:hover {
  background: rgba(247, 249, 251, 0.12);
}
.free {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(247, 249, 251, 0.75);
}

/* ---------- Steps ---------- */

.steps {
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
}
.steps > .wrap > h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  max-width: 14ch;
}
.steps-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(40px, 8vw, 120px);
  margin-top: clamp(40px, 6vw, 80px);
}
.stage {
  position: sticky;
  top: max(40px, calc(50vh - 340px));
  align-self: start;
}
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  min-height: 78vh;
  display: grid;
  align-content: center;
  grid-template-columns: auto 1fr;
  column-gap: 28px;
  max-width: 36rem;
}
.step:first-child {
  min-height: 60vh;
  align-content: start;
  padding-top: 14vh;
}
.step .n {
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 0.85;
  color: var(--mid);
  transition: color 0.4s;
}
.step.on .n {
  color: var(--deep);
}
.step h3 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.step p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  max-width: 30rem;
}
.step .inline {
  display: none;
}

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 2400;
  padding: 3.2%;
  border-radius: 13% / 5.9%;
  background: var(--ink);
  box-shadow:
    0 30px 60px -20px rgba(12, 37, 71, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10.5% / 4.8%;
  overflow: hidden;
  background: var(--mist);
}
.phone video,
.phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage .phone video {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.stage .phone video.on {
  opacity: 1;
}

/* ---------- Film ---------- */

.film {
  padding: 0 0 clamp(80px, 11vw, 150px);
}
.film h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  max-width: 16ch;
}
.film-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: clamp(28px, 4vw, 48px);
  border-radius: 14px;
  background: var(--deep);
  box-shadow: 0 30px 70px -30px rgba(12, 37, 71, 0.5);
}

/* ---------- Features ---------- */

.features {
  background: var(--deep);
  color: var(--paper);
  padding: clamp(80px, 11vw, 150px) 0;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
}
.feature + .feature {
  margin-top: clamp(80px, 11vw, 150px);
}
.feature:nth-child(even) .media {
  order: -1;
}
.feature h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  max-width: 12ch;
}
.feature p {
  margin-top: 1.1rem;
  max-width: 30rem;
  color: rgba(229, 235, 242, 0.82);
  font-size: 1.1rem;
}
.feature p:first-child {
  margin-top: 0;
}
.feature .media {
  justify-self: center;
  width: 100%;
}
.feature .phone {
  width: min(300px, 70vw);
  margin: 0 auto;
}
.feature .card {
  width: min(460px, 100%);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.6);
}
.zone {
  width: min(480px, 100%);
  margin: 0 auto;
  color: var(--mist);
}
.zone .route {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.zone .trim {
  opacity: 0;
  transition: opacity 0.8s 2s;
}
.zone.drawn .route {
  stroke-dashoffset: 0;
}
.zone.drawn .trim {
  opacity: 1;
}

/* ---------- Gallery ---------- */

.gallery {
  padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px);
}
.gallery header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 64px;
}
.gallery h2 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}
.gallery header p {
  color: var(--ink-soft);
  max-width: 26rem;
  justify-self: end;
}
.prints {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.6vw, 22px);
  margin-top: clamp(40px, 6vw, 72px);
}
.prints figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.prints .w2 {
  grid-column: span 2;
}
.prints .w3 {
  grid-column: span 3;
}
.prints .w4 {
  grid-column: span 4;
}
.w2 .print {
  aspect-ratio: 4 / 5;
}
.w3 .print {
  aspect-ratio: 4 / 3;
}
.w4 .print {
  aspect-ratio: 3 / 2;
}
.print {
  position: relative;
  isolation: isolate;
  flex: 1;
  overflow: hidden;
  background: var(--cyan);
}
.print img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Cyanotype duotone from the colour file: shadows to Prussian blue, highlights to blue-white paper. */
.print .cyan {
  filter: grayscale(1) contrast(1.15) brightness(0.9);
}
.print .tint {
  position: absolute;
  inset: 0;
}
.print .shade {
  background: #0c2547;
  mix-blend-mode: screen;
}
.print .paper {
  background: #1b3a6e;
  mix-blend-mode: color;
}
.print .color {
  --r: 0%;
  -webkit-mask-image: radial-gradient(ellipse var(--r) var(--r) at var(--px) var(--py), #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse var(--r) var(--r) at var(--px) var(--py), #000 58%, transparent 100%);
  transition: --r 1.9s var(--ease) 1.1s;
}
.print.developed .color {
  --r: 210%;
}
.print svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.print svg path {
  fill: none;
  stroke: var(--paper);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease), opacity 1s 2s;
}
.print.developed svg path {
  stroke-dashoffset: 0;
  opacity: 0.25;
}
.pin {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-18px) scale(0.4);
  transition: opacity 0.25s 1s, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 1s;
}
.print.developed .pin {
  opacity: 1;
  transform: none;
}
.prints figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  min-height: 1.3em;
}

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

.closing {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  padding: clamp(100px, 14vw, 190px) 0 40px;
}
.closing .bg {
  filter: grayscale(1);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.closing .wrap {
  position: relative;
}
.closing h2 {
  font-size: clamp(3rem, 9vw, 8.5rem);
}
.closing .cta {
  margin-top: 2.4rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(80px, 12vw, 150px);
  padding-top: 24px;
  border-top: 1px solid rgba(229, 235, 242, 0.2);
  font-size: 0.88rem;
  color: rgba(229, 235, 242, 0.72);
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stage {
    display: none;
  }
  .step,
  .step:first-child {
    min-height: 0;
    padding: 0 0 72px;
  }
  .step .inline {
    display: block;
    grid-column: 1 / -1;
    width: min(260px, 70vw);
    margin: 28px 0 0;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature:nth-child(even) .media {
    order: 0;
  }
  .gallery header {
    grid-template-columns: 1fr;
  }
  .gallery header p {
    justify-self: start;
  }
  .prints {
    grid-template-columns: repeat(2, 1fr);
  }
  .prints .w3,
  .prints .w4 {
    grid-column: span 2;
  }
  .prints .w2 {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }
  .store {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* Cyanotype duotone from the colour file: shadows to Prussian blue, highlights to blue-white paper. */
.print .cyan {
  filter: grayscale(1) contrast(1.15) brightness(0.9);
}
.print .tint {
  position: absolute;
  inset: 0;
}
.print .shade {
  background: #0c2547;
  mix-blend-mode: screen;
}
.print .paper {
  background: #1b3a6e;
  mix-blend-mode: color;
}
.print .color {
    --r: 210%;
    transition: none;
  }
  .print svg,
  .pin {
    display: none;
  }
  .zone .route {
    stroke-dashoffset: 0;
    transition: none;
  }
  .zone .trim {
    opacity: 1;
    transition: none;
  }
  .stage .phone video {
    transition: none;
  }
}
