/* ─────────────────────────────────────────────
   VEGVISIR — styles
   Bold titles, small body, no rules. Panels slide over panels;
   the footer is revealed underneath at the end.
   ───────────────────────────────────────────── */

:root {
  /* white / sand / grey — only a breath of warmth */
  --paper: #FAFAF8;     /* softened white: header, cards, footer (pure white glared on iPhone) */
  --cream: #F5F5F2;     /* page */
  --deboss: #D3D3CE;    /* the one debossed grey: footer lockup, founder names (same contrast everywhere) */
  --stone: #F2F2EF;     /* pale grey */
  --sand: #EAE9E5;      /* light sand-grey */
  --ink: #1F1F1E;
  --ink-2: #6E6E6A;

  --m: clamp(16px, 2.6vw, 44px);
  --r: 28px;          /* panel top corners */
  --r-img: 16px;
  --hd: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --t-hero: clamp(44px, 7.2vw, 128px);
  --t-xl: clamp(64px, 13vw, 220px);
  --t-l: clamp(36px, 5.6vw, 96px);
  --t-m: clamp(22px, 2.1vw, 34px);
  --small: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: var(--small);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── type ───────── */
.t-xl { font-size: var(--t-xl); font-weight: 600; line-height: 0.9; letter-spacing: -0.06em; }
.t-l  { font-size: var(--t-l); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; }
.t-m  { font-size: var(--t-m); font-weight: 600; line-height: 1.18; letter-spacing: -0.025em; }
.small { font-size: var(--small); line-height: 1.65; color: var(--ink-2); max-width: 30em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

/* ───────── header ───────── */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--hd);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--m);
  /* a permanent white bar (drawn by .hd__sheet); the menu lines are debossed into it */
  color: #E2E2DE;
  pointer-events: none;
}
.hd__burger span {
  filter: drop-shadow(0 -1px 0 rgba(31,31,30,.30)) drop-shadow(0 1px 0 #FFFFFF);
}
.hd > * { pointer-events: auto; }
/* slides out of view while scrolling down, back in on any scroll up */
.hd { transition: transform 0.6s var(--ease); }
.hd.is-hidden { transform: translateY(-105%); }
.menu-open .hd { transform: none; }
.hd__brand { display: flex; align-items: center; gap: 16px; }
.hd__mark { width: 56px; height: 56px; }
.hd__sheet { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* The holes always show the footer lockup's grey (not the page scrolling underneath). */
.hd__under { opacity: 1; }
/* the real logo SVGs only hold the place (and the link); what you see is the hole in the sheet */
.hd__brand .vg, .hd__burger span { visibility: hidden; }
.hd__name { height: 20px; width: auto; aspect-ratio: 10704 / 920; }
.hd__burger {
  width: 52px; height: 52px; border: 0; background: none; cursor: pointer; position: relative;
}
.hd__burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.hd__burger span:nth-child(1) { top: 21px; }
.hd__burger span:nth-child(2) { top: 29px; }
.hd__burger:hover span:nth-child(1) { transform: translateX(-4px); }
.hd__burger:hover span:nth-child(2) { transform: translateX(4px); }
.menu-open .hd__burger span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.menu-open .hd__burger span:nth-child(2) { top: 25px; transform: rotate(-45deg); }

/* ───────── menu overlay ───────── */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--hd) var(--m) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-io);
  pointer-events: none;
}
.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__nav { display: flex; flex-direction: column; gap: 0.1em; }
.menu__nav a {
  display: flex; align-self: flex-start;
  font-size: clamp(64px, 12vw, 190px); font-weight: 600; line-height: 1; letter-spacing: -0.055em;
  transform: translateY(40px); opacity: 0;
  transition: transform 1s var(--ease), opacity 0.6s ease;
}
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: 0.25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: 0.33s; }



/* ───────── text roll (hover) ───────── */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; line-height: inherit; }
.roll > span { display: inline-block; transition: transform 0.55s var(--ease); }
.roll > span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
}
a:hover .roll > span, button:hover .roll > span { transform: translateY(-100%); }

/* ───────── custom cursor ───────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  /* inverts whatever it is over: dark on the light pages, light over photos */
  background: var(--paper); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.cursor__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.3s; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor * { cursor: none !important; } }

/* ───────── panels (slide over what's pinned beneath) ───────── */
main { position: relative; z-index: 2; background: var(--cream); }
.panel {
  position: relative; z-index: 2;
  background: var(--cream);
  border-radius: var(--r) var(--r) 0 0;
  margin-top: calc(var(--r) * -1);
  padding: clamp(96px, 12vw, 200px) var(--m);
}

/* ───────── hero ───────── */
.hero-wrap { position: relative; }
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100svh; overflow: hidden;
  color: var(--paper);
}
.hero__media { position: absolute; inset: 0; transform-origin: 50% 70%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,19,17,.18) 0%, rgba(20,19,17,0) 30%, rgba(20,19,17,.42) 100%);
}
.hero__title {
  position: absolute; left: var(--m); right: var(--m); bottom: clamp(140px, 24vh, 300px);
  font-size: var(--t-hero); font-weight: 600; line-height: 0.98; letter-spacing: -0.05em;
  max-width: 12.5em; text-wrap: balance;
}
.hero__foot {
  position: absolute; left: var(--m); right: var(--m); bottom: 28px;
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
}
.hero__scroll { display: inline-flex; gap: 10px; align-items: center; }
.hero__scroll::after {
  content: ""; width: 1px; height: 28px; background: currentColor; transform-origin: top;
  animation: scrollcue 2.2s var(--ease-io) infinite;
}
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ───────── intro ───────── */
.intro { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.intro .t-l { max-width: 14em; }
.intro__text { margin-left: auto; margin-right: 8vw; }

/* ───────── Brand / Product / Experience: pinned, scrolls sideways ───────── */
.hs { position: relative; z-index: 2; background: var(--paper); }   /* same white as the header bar; height set in JS */
.hs__pin {
  position: sticky; top: 0; height: 100lvh; overflow: hidden;   /* lvh: covers the screen even when the iPhone toolbar collapses */
  container-type: inline-size;   /* cards size to the visible page, not 100vw (which includes the scrollbar) */
  display: flex; align-items: flex-start;
  padding-top: var(--hd);
}
.hs__track {
  display: flex; gap: var(--m);
  padding-inline: var(--m);
  will-change: transform;
}
.hslide {
  flex: none;
  width: calc(100cqw - var(--m) * 2);
  height: calc(100svh - var(--hd) - var(--m));
  border-radius: var(--r); overflow: hidden;
}
.hslide--stone, .hslide--cream, .hslide--ink { background: #E2E2DD; }
.slide__in {
  height: 100%;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: clamp(20px, 2.4vw, 36px);
  padding-left: clamp(24px, 4vw, 64px);
}
.slide__text { display: flex; flex-direction: column; gap: 22px; }
.slide__text .eyebrow { opacity: 0.55; }
.hslide .t-xl { font-size: min(var(--t-xl), 8.4vw); }
.slide__text .t-m { max-width: 15em; }
.tags { font-size: 13px; font-weight: 500; color: var(--ink-2); max-width: 34em; line-height: 1.7; }
.slide__media { height: 100%; border-radius: var(--r-img); overflow: hidden; }
.slide__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translateX(var(--px, 0%)) scale(var(--sz, 1.18));
  transition: scale 1.4s var(--ease);
}
.slide__media:hover img { scale: 1.04; }


/* ───────── punched cards: pinned photo, white card slides over, title cut out ───────── */
.punch { position: relative; z-index: 2; margin-top: calc(var(--r) * -1); }
/* gap below the last card = the side margin: the pin is 100lvh but the cards are sized to 100svh,
   so pull the landscape up by the difference (0 on desktop, the toolbar height on iPhone) */
.hs + .punch { margin-top: calc(100svh - 100lvh); }
.punch__bg {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  /* starts inset like the cards above (margins + rounded corners); opens to full frame
     as the punched card slides in — clip set in JS */
  clip-path: inset(0 var(--m) 0 var(--m) round var(--r));
}
.punch__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
/* darken with a flat overlay (cheap to composite) rather than a per-frame image filter */
.punch__bg::after { content: ""; position: absolute; inset: 0; background: rgba(18, 18, 17, 0.24); }
.punch--bright .punch__bg::after { display: none; }
/* Touch screens (iPhone Safari won't blend the card with the pinned photo): no blend; the
   letters carry the photo themselves, kept aligned with the screen in JS. */
.touch .punch__sheet { mix-blend-mode: normal; }
.touch .punch__title .w > span {
  color: transparent;
  background-image: var(--punch-img);
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
}   /* the field photo stays as bright as the original */
.punch__card {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
/* The sheet is "lighten"-blended over the photo: the off-white stays solid (screen let the
   photo ghost through it, with a visible edge), the black letters become holes onto the photo. */
.punch__sheet {
  position: absolute; inset: 0;
  background: var(--paper);
  border-radius: var(--r) var(--r) 0 0;
  mix-blend-mode: lighten;
  display: flex; align-items: center;
  padding: calc(var(--hd) + 20px) var(--m) var(--m);
}
.punch__title {
  color: #000;
  font-size: clamp(48px, 8.6vw, 156px); font-weight: 700; line-height: 0.96; letter-spacing: -0.055em;
  max-width: 11em;
}
.punch--story .punch__sheet { align-items: flex-start; padding-top: calc(var(--hd) + 10vh); }
.punch--story .punch__title { max-width: 9.4em; }
.punch--story .punch__card { min-height: 128svh; justify-content: flex-start; }
/* this photo never pins: it keeps scrolling (slower, set in JS) while the card overtakes it */
.punch--story .punch__bg { position: relative; will-change: transform; }
/* the drifting photo hangs below its section; clip it so it never peeks round the newsletter's top corners */
.punch--story { overflow: clip; }
.punch__aside {
  position: absolute; right: var(--m); bottom: clamp(120px, 22vh, 240px);
  width: min(380px, 40vw);
  display: flex; flex-direction: column; gap: 28px; align-items: flex-start;
}
.story__mark { width: clamp(140px, 18vw, 260px); height: auto; aspect-ratio: 1; }
/* subtle white-on-white deboss, turning with the scroll */
.story__emboss { color: #E8E8E2; filter: drop-shadow(0 -1.5px 0 #C9C9C2) drop-shadow(0 1.5px 0 #fff); will-change: transform; }
.punch__copy {
  position: relative; z-index: 1;
  padding: calc(var(--hd) + 10vh) var(--m) 0;
}
.punch__ghost { visibility: hidden; }
.punch__text { margin-top: clamp(24px, 3vw, 40px); max-width: 30em; color: var(--ink-2); }
.punch__text--more { margin-top: 1.1em; }
/* blur-and-rise entrance */
.js [data-blur] { opacity: 0; filter: blur(12px); transform: translateY(26px); transition: opacity 1.2s ease, filter 1.4s ease, transform 1.4s var(--ease); transition-delay: 0.25s; }
.js [data-blur].is-in { opacity: 1; filter: blur(0); transform: none; }
.js .founder [data-blur] { filter: blur(6px); transform: translateY(14px); transition: opacity 0.55s ease, filter 0.6s ease, transform 0.7s var(--ease); transition-delay: calc(var(--d, 0.15s) * 0.5); }
.js .founder [data-blur].is-in { filter: blur(0); transform: none; }

/* ───────── selected experience ───────── */
.experience { padding-inline: 0; overflow: hidden; padding-bottom: clamp(128px, 16vw, 256px); }
.experience__head {
  padding-inline: var(--m);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(128px, 16vw, 256px);
}
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; align-items: center; gap: clamp(64px, 7vw, 120px); padding-right: clamp(64px, 7vw, 120px); }
.marquee__set li { flex: none; display: flex; align-items: center; height: 80px; }
.marquee__set img {
  height: calc(var(--h) * 1px); width: auto;
  opacity: 0.26; transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.marquee__set li:hover img { opacity: 0.5; transform: scale(1.04); }

/* ───────── about ───────── */
.about { background: var(--cream); padding-top: var(--r); }
.about .eyebrow { margin-bottom: 28px; color: var(--ink-2); }
.about__title { max-width: 15em; }
.about__duo {
  margin-top: clamp(56px, 7vw, 112px);
  height: clamp(420px, 78vh, 860px); border-radius: var(--r-img); overflow: hidden;
}
.about__duo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; transform-origin: 50% 0; will-change: scale; }
.founders {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(96px, 11vw, 180px);
}
.founder:nth-child(2) { margin-top: clamp(80px, 12vw, 220px); }
.founder__img { aspect-ratio: 2 / 3; border-radius: var(--r-img); overflow: hidden; margin-bottom: 28px; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform-origin: 50% 0; transition: transform 1.6s var(--ease), filter 0.8s ease; filter: grayscale(1) contrast(1.02); will-change: scale; }
.founder .eyebrow { color: var(--ink-2); margin-bottom: 10px; }
.founder__name { transition: transform 0.6s var(--ease); }
/* debossed white on the white page */
.deboss-white { color: var(--deboss); text-shadow: 0 -1px 0 rgba(31,31,30,.3), 0 1.2px 0 #fff; }
.founder__role { font-size: 14px; font-weight: 500; margin: 6px 0 16px; }

/* ───────── process: Map → Story → Product → Experience ───────── */
.process .eyebrow { color: var(--ink-2); margin-bottom: 28px; }
.process__title { max-width: 12em; }
.process__lede { margin: clamp(24px, 3vw, 40px) 0 0 auto; margin-right: 8vw; }
.process__steps {
  list-style: none; margin: clamp(80px, 10vw, 160px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 56px);
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step:nth-child(2) { margin-top: clamp(24px, 3vw, 48px); }
.step:nth-child(3) { margin-top: clamp(48px, 6vw, 96px); }
.step:nth-child(4) { margin-top: clamp(72px, 9vw, 144px); }
/* the tally numerals, pressed into the page like the names */
.step__num { align-self: flex-start; height: 16px; width: auto; fill: none; stroke: var(--deboss); stroke-width: 3; stroke-linecap: butt; filter: drop-shadow(0 -1px 0 rgba(31,31,30,.3)) drop-shadow(0 1.2px 0 #fff); margin-bottom: 10px; }
.step .small { max-width: 22em; }

/* ───────── newsletter (pinned) + contact ───────── */
.news-wrap { position: relative; z-index: 2; }
.newsletter {
  position: sticky; top: 0; z-index: 0;
  min-height: 100svh;
  background: var(--stone);
  border-radius: var(--r) var(--r) 0 0; margin-top: calc(var(--r) * -1);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 28px;
  padding: calc(var(--hd) + clamp(32px, 7vh, 88px)) var(--m) var(--hd);
}
.newsletter .eyebrow { color: var(--ink-2); }
.newsletter .t-l { max-width: 11em; }
.news-cta {
  display: inline-flex; gap: 10px; align-items: center; align-self: flex-start;
  margin-top: 8px; padding: 18px 30px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  transition: background-color 0.4s ease;
}
.news-soon { margin-top: 8px; color: var(--ink-2); }  /* public site: newsletter not live yet */
.news-cta i { font-style: normal; transition: transform 0.5s var(--ease); }
.news-cta:hover { background: #000; }
.news-cta:hover i { transform: translateX(5px); }
.news-notify { margin-top: clamp(28px, 4vw, 48px); font-size: 14px; font-weight: 600; color: var(--ink); }
.news-form {
  margin-top: 4px !important;
  position: relative; margin-top: 20px;
  display: flex; align-items: center; gap: 12px;
  width: min(100%, 620px);
  background: var(--paper); border-radius: 999px; padding: 8px 8px 8px 28px;
}
.news-form input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-size: 17px; font-weight: 500; padding: 14px 0;
}
.news-form input::placeholder { color: var(--ink-2); }
.news-form button {
  border: 0; cursor: pointer; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  padding: 16px 28px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  transition: background-color 0.4s ease;
}
.news-form button:hover { background: #000; }
.news-form__msg { position: absolute; left: 28px; top: calc(100% + 14px); font-size: 14px; color: var(--ink-2); }

.contact { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.contact__title {
  display: flex; flex-direction: column;
  font-size: clamp(48px, 9vw, 160px); font-weight: 600; line-height: 0.98; letter-spacing: -0.055em;
}
.contact__title > span { white-space: nowrap; }   /* each line stays one line */
.contact__title > span:nth-child(2) { padding-left: 1em; }
.contact__title > span:nth-child(3) { padding-left: 2em; color: var(--ink-2); }
.contact__lead { margin-top: clamp(40px, 5vw, 72px); }
.contact__people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(48px, 6vw, 88px); }
.person {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r-img);
  background: var(--paper);
  transition: background-color 0.5s ease, color 0.5s ease, transform 0.6s var(--ease);
}
.person .eyebrow { color: var(--ink-2); transition: color 0.5s ease; }
.person__name { font-size: var(--t-m); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  color: var(--deboss); text-shadow: 0 -1px 0 rgba(31,31,30,.3), 0 1.2px 0 #fff; }
.person__mail { font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.person__mail i { font-style: normal; transition: transform 0.6s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: 0 1px 0 #fff inset, 0 24px 48px -24px rgba(39,39,37,.28); }
.person:hover .person__mail i { transform: translate(4px, -4px); }

/* ───────── footer (revealed underneath): white, debossed ───────── */
.ft {
  position: sticky; bottom: 0; z-index: 1;
  background: var(--paper); color: var(--ink);
  padding: clamp(56px, 7vw, 96px) var(--m) 24px;
  display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px);
}
.ft__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: 16px; }
.ft__col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ft__label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.ft__lockup { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); }
.ft__mark { width: clamp(84px, 14vw, 230px); height: auto; aspect-ratio: 1; flex: none; }
.ft__word { position: relative; display: block; flex: 1; max-width: 1100px; aspect-ratio: 10704 / 920; }
.ft__w { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft__copy { font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; }

/* ───────── the Vegvísir mark (inline SVG, reused via <use>) ───────── */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vg { display: block; overflow: visible; user-select: none; -webkit-user-drag: none; shape-rendering: geometricPrecision; }
.wordmark { height: auto; aspect-ratio: 10704 / 920; }

/* Debossed white-on-white: a tone just below the paper, a dark lip on top, a light lip below. */
.vg--deboss {
  color: #EDEDEA;
  filter: drop-shadow(0 -1px 0 rgba(31,31,30,.2)) drop-shadow(0 1.4px 0 rgba(255,255,255,1));
}
.deboss, .hslide .t-xl {
  color: #F0F0ED;
  text-shadow: 0 -1px 0 rgba(31,31,30,.2), 0 1.5px 0 rgba(255,255,255,1);
}

/* Cards read as pressed into the page. */
.person, .news-form {
  margin-top: 4px !important;
  box-shadow: inset 0 1.5px 2px rgba(31,31,30,.08), inset 0 -1px 0 rgba(255,255,255,.9);
}

/* ───────── see-through titles: the letters are windows onto a photo fixed behind the page ───────── */
.win .w > span {
  color: transparent;
  background-image: linear-gradient(rgba(20, 20, 19, 0.26), rgba(20, 20, 19, 0.26)), var(--win);
  background-size: cover; background-position: center;
  background-attachment: fixed;
  -webkit-background-clip: text; background-clip: text;
}
@media (hover: none) {
  /* iOS ignores fixed backgrounds; the photo then sits inside each word instead. */
  .win .w > span { background-attachment: scroll; background-size: 100vw 100vh; }
}

/* Cut-out subtitles: a hole through the card onto white beneath (dark lip = card edge). */
/* On the cards, the big word and its subtitle share one deboss: a tone just under the card,
   a dark lip along the top, a white lip along the bottom. */
.hslide .t-xl, .hslide .cut {
  color: #D5D5D0;
  text-shadow: 0 -1px 0 rgba(31,31,30,.3), 0 1px 0 rgba(255,255,255,.9);
}

/* ───────── surface titles: letters cut through to a two-tone surface fixed behind the page.
   Low on the screen they show grey; as they rise past the seam they show white — a card
   sliding over another card. ───────── */
.surface { filter: drop-shadow(0 -1px 0 rgba(31,31,30,.24)) drop-shadow(0 1.3px 0 #fff); }
.surface .w > span {
  color: transparent;
  /* top half of the screen: the card beneath; a 5px edge (its thickness) with a soft shadow;
     bottom half: the near-white surface the title starts on */
  background-image: linear-gradient(to bottom,
    var(--under) 0, var(--under) calc(67% - 7px),
    var(--edge-c) calc(67% - 7px), var(--edge-c) calc(67% - 2px),
    var(--shade) calc(67% - 2px), #ECECE8 calc(67% + 6px), #ECECE8 100%);
  background-size: 100vw 100vh; background-attachment: fixed;
  -webkit-background-clip: text; background-clip: text;
}
.surface--grey { --under: #D6D6D1; --edge-c: #B9B9B3; --shade: #E4E4E0; }
.surface--dark { --under: #2C2C2A; --edge-c: #6C6C67; --shade: #DDDDD8; }
@media (hover: none) { .surface .w > span { background-attachment: scroll; } }

/* Footer wordmark: almost invisible, then a darker white rises through the letters
   from underneath as the page lifts off the footer (--edge set in JS). */
/* footer mark and wordmark share one deboss */
/* white debossed, as the Nov 2026 logo pack: pale face, grey shadow above, white edge below */
.ft__word.rise, .ft__mark { filter: drop-shadow(0 -1.5px 0 #C9C9C2) drop-shadow(0 1.5px 0 #fff); }
.ft__mark { color: #E8E8E2; }
.ft__word.rise .ft__w { color: #F1F1EC; }
.ft__word.rise .ft__w--top { color: #E8E8E2; clip-path: inset(var(--edge, 100%) 0 0 0); }

/* ───────── reveal motion ───────── */
/* Each word gets breathing room on every side, and the inner span too: with tight tracking,
   glyphs (W, the final full stop…) overhang their box, and photo/surface-filled titles only
   paint inside the span's box — without this room those edges come out cut off. */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.2em 0.16em; margin: -0.04em -0.2em -0.16em; }
[data-split] .w > span { display: inline-block; padding: 0 0.16em 0.1em; margin: 0 -0.16em -0.1em; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
[data-split].is-in .w > span { transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0.15s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .slide__media, .js .founder__img, .js .about__duo { clip-path: inset(14% 6% 0 6% round var(--r-img)); transition: clip-path 1.5s var(--ease); }
.js .slide__media.is-in, .js .founder__img.is-in, .js .about__duo.is-in { clip-path: inset(0 0 0 0 round var(--r-img)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  [data-split] .w > span, .js [data-reveal] { transform: none !important; opacity: 1 !important; }
  .js .slide__media, .js .founder__img, .js .about__duo { clip-path: none !important; }
}

/* ───────── tablet ───────── */
@media (max-width: 1024px) {
  .experience__head { grid-template-columns: 1fr; }
}

/* ───────── phone ───────── */
@media (max-width: 760px) {
  .process__lede { margin-right: 0; }
  .process__steps { grid-template-columns: 1fr; gap: 56px; }
  .step:nth-child(n) { margin-top: 0; }
  :root { --hd: 68px; --r: 22px; --r-img: 12px; }
  .hd__burger { margin-right: -12px; }

  .hero__title { bottom: 22vh; text-wrap: balance; }
  .intro__text { margin: 0; }

  .slide__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 20px; padding: 14px 14px 20px; }
  .slide__media { order: -1; height: 36svh; }
  .slide__text { gap: 12px; padding-inline: 6px; }
  .hslide .small { font-size: 14px; }
  .hslide .t-xl { font-size: 15vw; }

  .marquee__set img { height: calc(var(--h) * 0.95px); }

  .founders { grid-template-columns: 1fr; gap: 72px; }
  .founder:nth-child(2) { margin-top: 0; }
  .about__duo { height: auto; aspect-ratio: 1 / 1; }

  .contact__title { font-size: 9.2vw; }
  .contact__title > span:nth-child(2) { padding-left: 0.5em; }
  .contact__title > span:nth-child(3) { padding-left: 1em; }
  .contact__people { grid-template-columns: 1fr; }

  .news-form { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .news-form input { padding: 14px 16px; flex-basis: 100%; }
  .news-form button { width: 100%; }
  .news-form__msg { left: 16px; }

  .ft__row { grid-template-columns: 1fr 1fr; }
  .punch__title { font-size: 13.5vw; }
  .punch--story .punch__title { font-size: 10vw; max-width: none; }
  .punch--story .punch__sheet { padding-top: calc(var(--hd) + 6vh); }
  .punch__copy { padding-top: calc(var(--hd) + 6vh); }
  .punch__aside { left: 0; right: 0; width: auto; align-items: center; }
  .story__mark { width: 62vw; flex: none; }
  .hd__mark { width: 42px; height: 42px; }
  .hd__name { height: 16px; }
  .ft__col:last-child { display: none; }
}
