/* off script STUDIOS, Scrollcraft version. Page styles; the scroll engine's
   own floor and devices are in scrollcraft.css.
   The look comes from Anya's Figma file (MUiSN9TNFEV4KNHrEuLRt6): frame 25:2
   "home desktop" for the front page and frame 36:10 for a project page.
   Michroma (the wide face) carries the nav, headings and buttons; Poppins
   carries everything you read; the ground is white; the warmth comes from the
   studio photo and the cream of the wordmark (#F5F3EE). */

@font-face { font-family: "Michroma"; src: url("assets/fonts/michroma-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Michroma draws the degree sign on the baseline, so "contrast88°" read as
   "contrast88o". Only that one character comes from Poppins instead. */
@font-face { font-family: "Michroma"; src: url("assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+00B0; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* engine roles */
  --sc-canvas: #ffffff;
  --sc-ink: #000000;
  --sc-accent: #000000;
  --sc-accent-ink: #ffffff;
  --sc-font-text: "Poppins", system-ui, sans-serif;

  /* page tokens */
  --white: #ffffff;
  --ink: #000000;
  --ink-mark: #161616;       /* the dark wordmark */
  --soft: #5d5852;
  --cream: #f5f3ee;          /* the wordmark and brandmark colour */
  --cream-soft: rgba(245, 243, 238, 0.78);          /* the darkest tone in the studio photo */
  --glass: rgba(217, 217, 217, 0.3); /* the Enquire Now fill in 25:2 */
  --error: #a3271c;
  --wide: "Michroma", system-ui, sans-serif;
  --text: "Poppins", system-ui, sans-serif;

  --bar-h: 72px;
  --r: 20px;
  --r-sm: 14px;
  --lift-1: 0 1px 2px hsl(25 20% 10% / 0.12), 0 6px 16px -6px hsl(25 20% 10% / 0.22);
  --lift-2: 0 2px 4px hsl(25 20% 10% / 0.1), 0 18px 36px -14px hsl(25 20% 10% / 0.32);
  --lift-3: 0 4px 10px hsl(25 20% 10% / 0.12), 0 34px 60px -24px hsl(25 20% 10% / 0.42);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --photo: url("img/brand/studio-photo.webp");
  --grain: url("img/brand/grain.png");
}
@media (max-width: 760px) { :root { --bar-h: 60px; } }

html { background: var(--white); scroll-padding-top: var(--bar-h); }
body {
  overflow-x: clip;
  background: var(--white); color: var(--ink);
  font-family: var(--text); font-weight: 400; letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: 8px; z-index: 100; padding: 10px 14px;
  background: var(--ink); color: var(--white); text-decoration: none; border-radius: 10px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
[data-sc-progress] { height: 2px; background: var(--ink); z-index: 70; }
.page-home [data-sc-progress] { background: var(--cream); mix-blend-mode: difference; }

/* The studio photo always carries the grain Figma lays over it: 25% black
   on about half the pixels, the "noise" effect on layer 25:19. */

/* ------------------------------------------------------------- type kit -- */
.eyebrow {
  margin: 0 0 1.2rem; font-family: var(--wide); font-size: 0.78rem; letter-spacing: 0.2em;
  line-height: 1.5; color: var(--soft); text-transform: uppercase;
}

/* --------------------------------------------------------------- buttons -- */
/* From 33:49: a 20px-radius box with a thick white edge over a translucent
   fill, in the wide face. On white grounds the edge turns black. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95em 1.7em; border-radius: var(--r);
  font-family: var(--wide); font-size: 1rem; font-weight: 400; letter-spacing: 0.02em; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--glass { background: var(--glass); color: var(--white); border: 5px solid var(--white); }
.btn--glass:hover { background: rgba(217, 217, 217, 0.48); }
.btn--line { background: transparent; color: var(--ink); border: 3px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--solid { background: var(--ink); color: var(--white); border: 3px solid var(--ink); }

.link {
  color: var(--ink); font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 0.24em;
}
.link:hover { text-decoration-thickness: 2px; }
.link--button { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; }
.flag { font-size: var(--sc-t-xs); color: var(--soft); letter-spacing: 0.03em; }
.flag::before {
  content: ""; display: inline-block; margin-right: 0.5em;
}

/* ---------------------------------------------------------------- header -- */
/* Over the photo the header is exactly 25:2: brandmark at (84, 65), the four
   nav words at their own x positions, all in 1/1728ths of the page width. Past
   the photo it turns into a white bar with the wordmark. */
.bar {
  --u: calc(100cqw / 1728);
  container-type: inline-size;
  position: absolute; inset: 0 0 auto 0; z-index: 60; height: calc(200 * var(--u));
  pointer-events: none;
}
.bar a, .bar button { pointer-events: auto; }
.bar__home { position: absolute; display: block; text-decoration: none; }
.bar__brandmark, .bar__wordmark { display: block; height: auto; }
.bar__home { left: calc(84 * var(--u)); top: calc(65 * var(--u)); }
.bar__brandmark { width: calc(110.4 * var(--u)); }
.bar__wordmark { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__i { position: absolute; top: calc(84 * var(--u)); }
.nav__i a {
  display: block; font-family: var(--wide); font-size: calc(20 * var(--u)); line-height: normal;
  letter-spacing: 0; color: var(--white); text-decoration: none; white-space: nowrap;
  text-underline-offset: 0.42em; text-decoration-thickness: 1px;
}
.nav__i a:hover, .nav__i a[aria-current="true"] { text-decoration-line: underline; }
.nav__i--services { left: calc(1018 * var(--u)); }
.nav__i--about { left: calc(1213 * var(--u)); }
.nav__i--work { left: calc(1390 * var(--u)); }
.nav__i--contact { left: calc(1566 * var(--u)); }
.nav__extra { display: none; }
.bar .menu, .bar .motion--bar { display: none; }

/* light pages (a project page, the legal pages): frame 36:10, the dark
   wordmark top left and the nav in black, 68 units further left, 61 lower */
.page-light .bar { height: calc(250 * var(--u)); }
.page-light .bar__home { left: calc(79 * var(--u)); top: calc(117 * var(--u)); }
.page-light .bar__brandmark { display: none; }
.page-light .bar__wordmark { display: block; width: calc(395 * var(--u)); }
.page-light .nav__i { top: calc(145 * var(--u)); }
.page-light .nav__i a { color: var(--ink); }
.page-light .nav__i--services { left: calc(949 * var(--u)); }
.page-light .nav__i--about { left: calc(1144 * var(--u)); }
.page-light .nav__i--work { left: calc(1321 * var(--u)); }
.page-light .nav__i--contact { left: calc(1497 * var(--u)); }

/* The comp's header scrolls away with the photo; only the white bar (and the
   open phone menu) stay fixed. */
.bar.is-solid, .bar.is-open { position: fixed; }

/* the white bar, once the page has moved on */
.bar.is-solid {
  height: var(--bar-h); pointer-events: auto;
  display: flex; align-items: center; gap: 2.2rem; padding: 0 var(--sc-gutter);
  background: var(--white); border-bottom: 1px solid var(--line);
  animation: bar-in 320ms var(--ease-out);
}
@keyframes bar-in { from { transform: translateY(-100%); } to { transform: none; } }
.bar.is-solid .bar__home { position: static; margin-right: auto; }
.bar.is-solid .bar__brandmark { display: none; }
.bar.is-solid .bar__wordmark { display: block; width: auto; height: 26px; }
.bar.is-solid .nav__list { display: flex; gap: 2.4rem; }
.bar.is-solid .nav__i { position: static; }
.bar.is-solid .nav__i a { font-size: 0.82rem; color: var(--ink); }
.bar.is-solid .motion--bar { display: inline-flex; }

/* below the comp's scale, the same header in fixed sizes */
@media (max-width: 1099px) {
  .bar { height: 120px; }
  .bar__home, .page-light .bar__home { left: var(--sc-gutter); top: 26px; }
  .bar__brandmark { width: 72px; }
  .page-light .bar__wordmark { width: 230px; }
  .nav__list { position: absolute; right: var(--sc-gutter); top: 50px; display: flex; gap: 1.8rem; }
  .page-light .nav__list { top: 40px; }
  .nav__i, .page-light .nav__i { position: static; }
  .nav__i a { font-size: 0.82rem; }
  .bar.is-solid .nav__list { position: static; }
}
@media (max-width: 760px) {
  .bar { height: 96px; }
  .bar__home, .page-light .bar__home { left: 16px; top: 18px; }
  .bar__brandmark { width: 56px; }
  .page-light .bar__wordmark { width: 168px; }
  .page-light .bar__home { top: 26px; }
  .bar .menu { position: absolute; right: 16px; z-index: 2;
    padding: 0.6rem 0.2rem; background: none; border: 0; cursor: pointer;
    font-family: var(--wide); font-size: 0.82rem; color: var(--white);
  }
  .page-light .menu, .bar.is-solid .menu, .bar.is-open .menu { color: var(--ink); }
  .menu__close { display: none; }
  .bar.is-open .menu__open { display: none; }
  .bar.is-open .menu__close { display: inline; }
  .nav { display: none; }
  .bar.is-solid { padding: 0 16px; gap: 1rem; }
  .bar.is-solid .bar__wordmark { height: 22px; }
  .bar.is-solid .menu { position: static; }
  .bar.is-solid .motion--bar { display: none; }
  /* the open menu: a white sheet with the four words large */
  .bar.is-open { height: 100svh; pointer-events: auto; background: var(--white); animation: none; }
  .bar.is-open .bar__brandmark { display: none; }
  .bar.is-open .bar__wordmark { display: block; width: auto; height: 22px; }
  .bar.is-open .bar__home { position: absolute; left: 16px; top: 22px; margin: 0; }
  .bar.is-open .menu { position: absolute; right: 16px; top: 12px; }
  .bar.is-open .nav { display: block; position: absolute; inset: 96px 16px auto 16px; }
  .bar.is-open .nav__list { position: static; display: grid; gap: 0; }
  .bar.is-open .nav__i a { font-size: 1.7rem; color: var(--ink); padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .bar.is-open .nav__extra { display: block; margin-top: 1.8rem; }
  .bar.is-open .nav__extra + .nav__extra { margin-top: 1.2rem; }
}

.motion {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.1rem;
  background: none; border: 0; font-family: var(--wide); font-size: 0.7rem; letter-spacing: 0.04em;
  color: var(--ink); cursor: pointer; white-space: nowrap;
}
.motion__dot { width: 24px; height: 14px; border: 1.5px solid currentColor; border-radius: 999px; position: relative; flex: none; }
.motion__dot::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  transform: translateX(10px); transition: transform 200ms var(--ease-out);
}
.motion[aria-pressed="false"] .motion__dot::after { transform: none; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.motion:hover .motion__label { text-decoration: underline; text-underline-offset: 0.35em; }
.motion:disabled { cursor: default; color: var(--soft); }

/* ------------------------------------------------------------ 1 · home -- */
.hero { container-type: inline-size; position: relative; z-index: 3; }
.hero__frame {
  --u: calc(100cqw / 1728);
  position: relative; height: calc(1185 * var(--u)); overflow: hidden; color: var(--white);
}
/* 25:19: the photo, 3198 x 2195 at (-948, -118) */
.hero__photo {
  position: absolute; left: calc(-948 * var(--u)); top: calc(-118 * var(--u));
  width: calc(3198 * var(--u)); height: calc(2195 * var(--u));
  background: var(--photo) 0 0 / 100% 100% no-repeat;
}
.hero__photo::after { content: ""; position: absolute; inset: 0; background: var(--grain) 0 0 / 128px 128px repeat; }
/* 25:18: the wordmark, cropped to its ink: 788 x 155 at (477, 484) */
.hero__mark { position: absolute; margin: 0; left: calc(476.8 * var(--u)); top: calc(484.3 * var(--u)); width: calc(788.1 * var(--u)); }
.hero__mark img { display: block; width: 100%; height: auto; }
/* 33:74 */
.hero__tag {
  position: absolute; margin: 0; left: calc(557 * var(--u)); top: calc(666 * var(--u));
  font-family: var(--text); font-weight: 400; font-size: calc(32 * var(--u)); line-height: normal;
  letter-spacing: calc(3.2 * var(--u)); white-space: nowrap;
}
/* 33:49 and 33:45 */
.hero__cta.btn {
  position: absolute; left: calc(696 * var(--u)); top: calc(848 * var(--u));
  width: calc(285 * var(--u)); height: calc(69 * var(--u));
  justify-content: flex-start; align-items: flex-start;
  padding: calc(13 * var(--u)) 0 0 calc(49 * var(--u));
  border-width: calc(5 * var(--u)); border-radius: calc(20 * var(--u));
  font-size: calc(22 * var(--u)); line-height: normal; letter-spacing: 0;
}

@media (max-width: 1099px) {
  .hero__frame { height: max(100svh, 560px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 80px 24px 40px; text-align: center; }
  .hero__photo { inset: 0; left: 0; top: 0; width: 100%; background-size: cover; background-position: 46% 40%; }
  .hero__mark, .hero__tag, .hero__cta.btn { position: relative; left: auto; top: auto; }
  .hero__mark { width: min(78vw, 620px); }
  .hero__tag { margin-top: clamp(1rem, 2.4vw, 1.6rem); font-size: clamp(0.82rem, 0.5rem + 1.3vw, 1.3rem); letter-spacing: 0.1em; white-space: normal; }
  .hero__cta.btn {
    margin-top: clamp(2.6rem, 7vw, 4.4rem); width: auto; height: auto;
    justify-content: center; align-items: center; padding: 0.9em 1.8em;
    border-width: 4px; border-radius: 18px; font-size: clamp(0.9rem, 0.7rem + 0.8vw, 1.15rem);
  }
}

/* ------------------------------------------------- 2 · the white section -- */
/* 33:75 onward: left statement (33:79) at (90, 1315), the 1px divider at
   x 864 from y 1309 for 243, the right statement (33:80) at (969, 1309). */
.intro { container-type: inline-size; position: relative; background: var(--white); }
.intro__frame { --u: calc(100cqw / 1728); position: relative; height: calc(419 * var(--u)); }
.intro__left {
  position: absolute; margin: 0; left: calc(90 * var(--u)); top: calc(130 * var(--u));
  font-family: var(--wide); font-size: calc(32 * var(--u)); line-height: normal; letter-spacing: calc(3.2 * var(--u));
  white-space: nowrap;
}
.intro__rule { position: absolute; left: calc(864 * var(--u) - 0.5px); top: calc(124 * var(--u)); width: 1px; height: calc(243 * var(--u)); background: var(--ink); }
.intro__right {
  position: absolute; margin: 0; left: calc(969 * var(--u)); top: calc(124 * var(--u)); width: calc(675 * var(--u));
  font-family: var(--text); font-size: calc(23 * var(--u)); line-height: calc(35 * var(--u)); /* the 35px line pitch measured in 25:2 */ letter-spacing: calc(2.3 * var(--u));
}
@media (max-width: 1099px) {
  .intro__frame { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 0 clamp(1.6rem, 5vw, 3.4rem); padding: clamp(4rem, 10vw, 6rem) var(--sc-gutter) clamp(3rem, 8vw, 5rem); }
  .intro__left, .intro__rule, .intro__right { position: static; width: auto; height: auto; }
  .intro__left { font-size: clamp(0.9rem, 0.45rem + 1.25vw, 1.25rem); letter-spacing: 0.1em; line-height: 1.5; white-space: normal; }
  .intro__left br { display: none; }
  .intro__rule { align-self: stretch; }
  .intro__right { font-size: clamp(1rem, 0.7rem + 0.9vw, 1.3rem); letter-spacing: 0.1em; line-height: 1.5; }
}
@media (max-width: 760px) {
  .intro__frame { grid-template-columns: 1px minmax(0, 1fr); gap: 1.6rem 1.4rem; padding: 4.2rem 16px 3.4rem; }
  .intro__left { grid-column: 1 / -1; font-size: 1rem; line-height: 1.6; }
  .intro__rule { grid-column: 1; grid-row: 2; }
  .intro__right { grid-column: 2; grid-row: 2; font-size: 1.02rem; }
}

/* ------------------------------------------------ 3 · selected works wall -- */
.wall { container-type: inline-size; position: relative; padding: 0 0 clamp(4rem, 8vw, 7rem); overflow: hidden; background: var(--white); }
.wall__head { --u: calc(100cqw / 1728); display: grid; grid-template-columns: calc(969 * var(--u) - var(--sc-gutter)) minmax(0, calc(675 * var(--u))); padding: 0 var(--sc-gutter) clamp(2rem, 3.4vw, 3.4rem); }
/* 33:83 at x 608, the top of this section (y 1604 on the canvas) */
.wall__title {
  grid-column: 1 / -1; margin: 0 0 calc(56 * var(--u)) calc(608 * var(--u) - var(--sc-gutter));
  font-family: var(--wide); font-weight: 400; font-size: calc(32 * var(--u)); line-height: normal; letter-spacing: calc(3.2 * var(--u));
}
.wall__lede { grid-column: 2; margin: 0 0 0.8rem; color: var(--ink); font-size: var(--sc-t-base); letter-spacing: 0.06em; line-height: 1.6; }
.wall__hint { grid-column: 2; margin: 0; font-size: var(--sc-t-sm); color: var(--soft); letter-spacing: 0.04em; }
@media (max-width: 1099px) {
  .wall__head { grid-template-columns: minmax(0, 1fr); padding-top: 1rem; text-align: center; justify-items: center; }
  .wall__title { margin: 0 0 1.2rem; font-size: clamp(1.2rem, 0.8rem + 1.4vw, 1.7rem); letter-spacing: 0.1em; }
  .wall__lede, .wall__hint { grid-column: 1; max-width: 34rem; }
}
.wall__stage {
  position: relative;
  overflow: hidden; touch-action: pan-y; cursor: default; background: var(--cream);
}
.wall__tiles { position: absolute; inset: 0; }
.tile {
  position: absolute; display: block; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  overflow: hidden; transform-origin: center;
  box-shadow: 0 1px 2px hsl(25 20% 10% / 0.14), 0 10px 22px -12px hsl(25 20% 10% / 0.36);
}
.tile img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
[data-wall].is-live .tile { will-change: transform; }
.tile.is-featured { z-index: 5; box-shadow: 0 4px 10px hsl(25 20% 10% / 0.18), 0 40px 70px -24px hsl(25 20% 10% / 0.55); }
.tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; z-index: 6; }
.wall__caption {
  position: absolute; left: 0; top: 0; z-index: 7; margin: 0; pointer-events: none;
  display: grid; gap: 0.25rem; padding: 0.6rem 0.9rem 0.65rem; border-radius: 12px;
  background: var(--ink); color: var(--white); box-shadow: 0 10px 22px -10px hsl(25 20% 10% / 0.5); will-change: transform;
}
.wall__caption span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.wall__caption strong { font-family: var(--wide); font-size: 0.92rem; font-weight: 400; letter-spacing: 0.06em; }
.wall__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.gridcard { display: grid; gap: 0.6rem; padding: 0; background: none; border: 0; text-align: left; color: var(--ink); font: inherit; cursor: pointer; }
.gridcard__plate { position: relative; display: block; width: 100%; aspect-ratio: 2000 / 1414; overflow: hidden; }
.gridcard__plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gridcard__name { font-family: var(--wide); font-size: 1rem; letter-spacing: 0.06em; }
.gridcard__meta { color: var(--soft); font-size: var(--sc-t-sm); }
.gridcard:hover .gridcard__name { text-decoration: underline; text-underline-offset: 0.3em; }
@media (max-width: 860px) {
  .wall__stage { height: 74svh; min-height: 460px; }
  .wall__grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
}

/* project dialog */
.project {
  width: min(66rem, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0;
  background: var(--white); color: var(--ink); box-shadow: var(--lift-3); border-radius: var(--r); overflow: hidden;
}
.project::backdrop { background: hsl(25 20% 8% / 0.7); }
.project__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); max-height: calc(100svh - 2rem); }
.project__close {
  position: absolute; right: 1rem; top: 1rem; z-index: 2; padding: 0.55rem 0.95rem;
  font-family: var(--wide); font-size: 0.74rem; background: var(--white); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 12px; cursor: pointer;
}
.project__close:hover { background: var(--ink); color: var(--white); }
.project__plate { margin: 0; display: grid; align-content: center; gap: 0.6rem; padding: 0 0 0.8rem; }
.project__plate img { display: block; width: 100%; height: auto; }
.project__plate figcaption { padding: 0 1rem; font-size: var(--sc-t-sm); color: #fff; mix-blend-mode: difference; }
.project__body { padding: clamp(1.6rem, 4vw, 3rem); padding-top: clamp(3.8rem, 5vw, 4rem); overflow-y: auto; }
.project__meta { margin: 0 0 0.8rem; font-size: var(--sc-t-sm); color: var(--soft); }
.project__title { margin: 0 0 1.2rem; font-family: var(--wide); font-weight: 400; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); letter-spacing: 0.06em; line-height: 1.3; }
.project__body p { margin: 0; line-height: 1.65; }
.project__body .flag { margin: 1.2rem 0 1.6rem; }
.project__page { display: inline-block; margin: 1.2rem 0 1.6rem; font-family: var(--wide); font-size: 0.84rem; color: var(--ink); text-underline-offset: 0.4em; }
.project__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0 0 1.8rem; }
.project__thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; background: var(--cream); cursor: pointer; aspect-ratio: 2000 / 1414; overflow: hidden; }
.project__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project__thumb[aria-pressed="true"] { border-color: var(--ink); }
@media (max-width: 860px) {
  .project__inner { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .project__body { padding-top: 1.6rem; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  [data-sc-pan] > * { scroll-snap-align: none; }
}

/* ---------------------------------------------- 4 · about, the picture wipe */
.manifesto__stage {
  background: var(--white);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(2rem, 6vw, 6rem); padding: calc(var(--bar-h) + 4vh) var(--sc-gutter) 5vh;
}
.mf__eyebrow { grid-column: 1; grid-row: 1; align-self: end; margin: 0 0 0.4rem; }
.mf__roll { overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12px, #000 calc(100% - 12px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 12px, #000 calc(100% - 12px), transparent); }
.mf__roll--head { grid-column: 1; grid-row: 2; height: 10rem; }
.mf__roll--copy { grid-column: 1; grid-row: 3; margin-top: calc(1.4rem - 24px); height: 14rem; }
.mf__track { will-change: transform; }
.mf__h {
  margin: 0; box-sizing: border-box; padding: 12px 0 calc(0.2em + 12px); overflow: hidden; display: flex; align-items: flex-end;
  font-family: var(--wide); font-weight: 400; font-size: min(clamp(1.25rem, 0.7rem + 1.5vw, 2.1rem), max(1.05rem, 4.2vh)); letter-spacing: 0.08em; line-height: 1.38; text-wrap: balance;
}
.mf__c { margin: 0; box-sizing: border-box; padding: 12px 0; overflow: hidden; max-width: 34rem; font-size: min(var(--sc-t-base), max(0.8rem, 2.35vh)); line-height: 1.7; letter-spacing: 0.03em; color: var(--soft); }
.mf__c p { margin: 0 0 0.8em; }
.mf__c p:last-child { margin: 0; }
.mf__frame { grid-column: 2; grid-row: 1 / 5; align-self: center; margin: 0; position: relative; }
.mf__canvas { display: block; width: min(100%, calc((100svh - var(--bar-h) - 22vh) * 1.414)); aspect-ratio: 2000 / 1414; margin-left: auto; background: var(--cream); box-shadow: var(--lift-2); }
.mf__piece { margin-top: 0.8rem; text-align: right; font-size: var(--sc-t-xs); color: var(--soft); letter-spacing: 0.04em; }
/* Short windows: tighter leading and padding so the pinned column still fits. */
@media (min-width: 861px) and (max-height: 780px) {
  .manifesto__stage { padding-top: calc(var(--bar-h) + 2vh); padding-bottom: 3vh; }
  .mf__c { line-height: 1.55; }
  .mf__c p { margin-bottom: 0.6em; }
}
.mf__list { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
/* still version (reduced motion / motion off): chapters stack */
.manifesto.is-still { padding: var(--sc-section) 0; }
.manifesto.is-still .manifesto__stage { display: block; padding: 0 var(--sc-gutter); }
.manifesto.is-still .mf__roll, .manifesto.is-still .mf__frame { display: none; }
.manifesto.is-still .mf__eyebrow { margin-bottom: 2.4rem; }
.manifesto.is-still .mf__list {
  position: static !important; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.4rem clamp(2rem, 5vw, 5rem); list-style: none; margin: 0; padding: 0;
}
.manifesto.is-still .mf__item h3 { margin: 1.2rem 0 0.8rem; font-family: var(--wide); font-weight: 400; font-size: clamp(1.1rem, 0.8rem + 0.9vw, 1.6rem); letter-spacing: 0.08em; line-height: 1.38; }
.manifesto.is-still .mf__item p { margin: 0 0 0.8em; color: var(--soft); line-height: 1.7; }
.mf__still { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1414; background: var(--cream); }
.manifesto.is-still .mf__still-label { margin-top: 0.6rem; font-size: var(--sc-t-xs); }
@media (max-width: 860px) {
  .manifesto__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; padding: calc(var(--bar-h) + 2svh) 16px 3svh; align-content: start; row-gap: 0.6rem; }
  .mf__eyebrow { grid-row: 1; margin: 0; }
  .mf__roll--head { grid-row: 2; }
  .mf__h { font-size: 1.05rem; }
  .mf__frame { grid-column: 1; grid-row: 3; }
  .mf__canvas { width: 100%; margin: 0; }
  .mf__piece { text-align: left; margin-top: 0.5rem; }
  .mf__roll--copy { grid-row: 4; margin-top: -6px; }
  .mf__c { font-size: 0.86rem; line-height: 1.6; }
  .manifesto.is-tight .mf__c { font-size: 0.8rem; line-height: 1.5; }
  .manifesto.is-tight .mf__c p { margin-bottom: 0.5em; }
  .manifesto.is-tight .mf__piece { margin-top: 0.3rem; }
  .manifesto.is-still .mf__list { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------- 5 · services -- */
.services { padding: var(--sc-section) 0; background: var(--white); }
.services__title { margin: 0; max-width: 22ch; font-family: var(--wide); font-weight: 400; font-size: clamp(1.6rem, 0.8rem + 2.6vw, 3.4rem); letter-spacing: 0.06em; line-height: 1.3; text-wrap: balance; }
.split { display: grid; grid-template-columns: 1px minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 4.4rem); align-items: stretch; }
.split__rule { background: var(--ink); }
.services__intro { margin: clamp(2.4rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem) calc(50% - 0.5px); }
.services__intro p { margin: 0; max-width: 40rem; font-size: var(--sc-t-lg); line-height: 1.55; letter-spacing: 0.08em; }
/* three packages side by side, separated by the divider line from 25:2 */
.svc__list { margin: 0; padding-left: 1.1em; display: grid; gap: 0.35rem; line-height: 1.5; list-style: disc; font-size: var(--sc-t-base); }
.svc__list--terms { font-size: var(--sc-t-sm); color: var(--soft); }
@media (max-width: 860px) {
  .services__intro { margin-left: 0; }
}

/* ------------------------------------------- 5b · the branding packages */
/* The captain's pick from the 20 Nov options (layout A, after Osmo's plans and
   Linear's pricing columns): all three packages side by side, everything
   showing. Subgrid lines every row up across the columns (picture, number,
   name, who it is for, price, button, list, deliverable), so the eye can run
   along "price" or "deliverable" in one sweep; the shorter lists simply end
   sooner. Thin rules between the columns, no boxes. */
.sx__top { display: grid; gap: clamp(0.8rem, 1.6vw, 1.4rem); margin-bottom: clamp(2.4rem, 5vw, 4rem); padding-top: clamp(2.4rem, 5vw, 4rem); border-top: 1px solid var(--ink); }
.sx__title { margin: 0; font-family: var(--wide); font-weight: 400; letter-spacing: 0.06em; line-height: 1.25; }
.sx__lede { margin: 0; max-width: 38rem; font-size: var(--sc-t-lg); line-height: 1.5; letter-spacing: 0.05em; }

.pa__hint { display: none; }
.pa {
  --pad: clamp(1.2rem, 2.2vw, 2.4rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(8, auto);
  column-gap: calc(2 * var(--pad)); border-top: 1px solid var(--ink);
}
.pk {
  position: relative; display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0.85rem; align-content: start;
  padding: clamp(1.6rem, 2.4vw, 2.4rem) 0 clamp(2rem, 3vw, 3rem);
}
/* the thin rule between columns, centred in the gap */
.pk + .pk::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(-1 * var(--pad)); width: 1px; background: var(--line-strong); }
.pk__pic { margin: 0 0 0.6rem; }
.pk__pic img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1414; object-fit: cover; background: var(--cream); }
.pk__pic figcaption { margin-top: 0.6rem; font-family: var(--ui); font-size: var(--sc-t-xs); color: var(--soft); letter-spacing: 0.04em; }
.pk__n { margin: 0.4rem 0 0; font-family: var(--wide); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--soft); }
.pk__name { margin: 0; font-family: var(--wide); font-weight: 400; font-size: clamp(1.05rem, 0.55rem + 1vw, 1.55rem); letter-spacing: 0.06em; line-height: 1.3; text-wrap: balance; }
.pk__for { margin: 0; font-size: var(--sc-t-sm); line-height: 1.55; color: var(--soft); }
.pk__price { margin: 0; font-size: var(--sc-t-lg); letter-spacing: 0.02em; }
.pk__cta.btn { justify-self: start; align-self: start; padding: 0.8em 1.5em; font-size: 0.86rem; border-width: 2px; border-radius: var(--r-sm); min-height: 44px; }
.pk__label { display: block; margin: 0 0 0.7rem; font-family: var(--wide); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.pk__inc { padding-top: 1.1rem; }
.pk__list { list-style: none; margin: 0; padding: 0; font-size: var(--sc-t-sm); line-height: 1.45; }
.pk__list li { padding: 0.62rem 0; border-top: 1px solid var(--line); }
.pk__deliv { align-self: start; margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--ink); font-size: var(--sc-t-base); line-height: 1.55; }
.pk__deliv .pk__label { margin-bottom: 0.5rem; }
/* the legal small print under the packages (DMCC Act 2024 s.230: trader identity
   and the cancellation right next to the prices), in the caption style */
.pkgs__small { margin: 1.2rem 0 0; font-family: var(--ui); font-size: var(--sc-t-xs); line-height: 1.6; color: var(--soft); letter-spacing: 0.04em; }
.pkgs__small a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

/* the additional applications, a quiet ruled list */
.sx-apps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 5vw, 5rem); }
.sx-apps__h { grid-row: 1 / 3; margin: 0; font-family: var(--wide); font-weight: 400; font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.3rem); letter-spacing: 0.08em; line-height: 1.4; }
.sx-apps__lede { margin: 0; font-size: var(--sc-t-base); line-height: 1.6; color: var(--soft); max-width: 34rem; }
.sx-apps__list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.4rem, 3vw, 3rem); }
.sx-apps__list li { padding: 0.75rem 0; border-top: 1px solid var(--line); font-size: var(--sc-t-base); }

@media (max-width: 860px) {
  .sx-apps { grid-template-columns: minmax(0, 1fr); }
  .sx-apps__h { grid-row: auto; }
  .sx-apps__list { grid-template-columns: minmax(0, 1fr); }
  /* a phone has no room for three columns: a sideways swipe row, the next
     package peeking in so the row reads as more than one */
  .pa__hint { display: block; margin: 0 0 1rem; font-family: var(--ui); font-size: var(--sc-t-xs); color: var(--soft); letter-spacing: 0.04em; }
  .pa {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--sc-gutter)); padding-inline: var(--sc-gutter); scroll-padding-inline: var(--sc-gutter);
    column-gap: 0; border-top: 0; scrollbar-width: none;
  }
  .pa::-webkit-scrollbar { display: none; }
  .pk {
    flex: 0 0 84%; scroll-snap-align: start; grid-row: auto; grid-template-rows: none;
    padding: 1.4rem 1.2rem 2rem; border-top: 1px solid var(--ink);
  }
  .pk:first-child { padding-left: 0; }
  .pk + .pk { border-left: 1px solid var(--line-strong); }
  .pk + .pk::before { display: none; }
}

/* ------------------------------------ 6 · the process, sideways, on photo */
.pr__stage { color: var(--white); background: var(--umber); } /* the engine makes it sticky, which also positions it */
/* Sideways drags on a phone are turned into page scroll by site.js; the
   browser keeps the vertical ones. */
html:not(.motion-off) .pr__stage { touch-action: pan-y; }
.pr__stage::before {
  content: ""; position: absolute; inset: 0;
}
.pr__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--grain) 0 0 / 128px 128px repeat; }
.pr__rail {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(2.4rem, 5vw, 5rem); height: 100%; width: max-content;
  padding: calc(var(--bar-h) + 2vh) var(--sc-gutter) 3vh; will-change: transform;
}
.pr__lead { width: min(30rem, 82vw); flex: none; }
.pr__lead .eyebrow { color: var(--cream-soft); }
.pr__title { margin: 0; font-family: var(--wide); font-weight: 400; font-size: clamp(1.3rem, 0.8rem + 1.5vw, 2.2rem); letter-spacing: 0.08em; line-height: 1.38; text-wrap: balance; }
.pr__lead p { margin: 1.4rem 0 0; color: var(--cream-soft); line-height: 1.7; letter-spacing: 0.04em; }
.pr__steps { display: flex; gap: clamp(2rem, 4vw, 4rem); margin: 0; padding: 0; list-style: none; flex: none; position: relative; }
.pr__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 2rem; height: 1px; background: rgba(245, 243, 238, 0.45); }
.pr__step { position: relative; width: clamp(16rem, 28vw, 26rem); flex: none; padding-top: 3.4rem; }
.pr__n { position: absolute; left: 0; top: 0; font-family: var(--wide); font-size: 0.78rem; line-height: 1.2rem; letter-spacing: 0.1em; color: var(--cream); }
.pr__step::before { content: ""; position: absolute; left: 0; top: calc(2rem - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--cream); }
.pr__step h3 { margin: 0 0 1.1rem; font-family: var(--wide); font-weight: 400; font-size: clamp(1.25rem, 0.9rem + 1.1vw, 2rem); letter-spacing: 0.1em; line-height: 1.3; }
.pr__step p { margin: 0; font-size: var(--sc-t-base); line-height: 1.7; letter-spacing: 0.03em; color: var(--cream-soft); }
.pr__end { width: min(20rem, 72vw); flex: none; display: grid; gap: 1.4rem; justify-items: start; }
.pr__end p { margin: 0; font-family: var(--wide); font-size: var(--sc-t-lg); letter-spacing: 0.06em; }
.pr__end .btn { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .pr__lead, .pr__step, .pr__end { scroll-snap-align: start; scroll-margin-inline: var(--sc-gutter); }
}
html.motion-off .pr__lead, html.motion-off .pr__step, html.motion-off .pr__end { scroll-snap-align: start; scroll-margin-inline: var(--sc-gutter); }
/* Short windows (a phone on its side, a short desktop window): the steps are
   held on screen, so they get smaller type and a tighter top. */
@media (max-height: 560px) {
  .pr__rail { padding-top: calc(var(--bar-h) + 1.5vh); padding-bottom: 2vh; }
  .pr__steps::before { top: 1.5rem; }
  .pr__step { padding-top: 2.5rem; }
  .pr__step::before { top: calc(1.5rem - 4px); }
  .pr__step h3 { margin-bottom: 0.5rem; font-size: clamp(1rem, 4.2vh, 1.4rem); }
  .pr__step p { font-size: clamp(0.78rem, 3vh, 0.95rem); line-height: 1.5; }
  .pr__title { font-size: clamp(1.05rem, 5vh, 1.6rem); }
  .pr__lead p { font-size: clamp(0.8rem, 3vh, 1rem); line-height: 1.5; }
}

/* --------------------------------- 7 · made around you, working together */
.terms { padding: var(--sc-section) 0; background: var(--white); }
.terms__grid { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 0 clamp(2rem, 6vw, 6.5rem); }
.terms__rule { background: var(--ink); }
.terms__title { margin: 0 0 1.4rem; font-family: var(--wide); font-weight: 400; font-size: clamp(1.05rem, 0.8rem + 0.7vw, 1.5rem); letter-spacing: 0.1em; line-height: 1.4; }
.terms__col > p { margin: 0; max-width: 34rem; font-size: var(--sc-t-lg); line-height: 1.6; letter-spacing: 0.05em; }
.terms .svc__list--terms { font-size: var(--sc-t-base); gap: 0.6rem; }
@media (max-width: 760px) {
  .terms__grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .terms__rule { height: 1px; }
}

/* ---------------------------------------------------------- 8 · silence -- */
.hush { position: relative; }
.hush__line { margin: 0 auto; max-width: 18ch; text-align: center; font-family: var(--wide); font-size: clamp(1.4rem, 0.7rem + 2.4vw, 3.2rem); letter-spacing: 0.1em; line-height: 1.35; }

/* -------------------------------------------------------- 10 · contact -- */
.close { background: var(--white); }
.close__band { position: relative; overflow: hidden; color: var(--white); }
.close__photo { position: absolute; inset: 0; }
.close__photo::after { content: ""; position: absolute; inset: 0; background: var(--grain) 0 0 / 128px 128px repeat; }
.close__head { position: relative; padding-block: clamp(6rem, 13vw, 11rem) clamp(5rem, 10vw, 8.5rem); text-align: center; display: grid; justify-items: center; }
.close__head .eyebrow { color: var(--cream-soft); }
.close__title { margin: 0; font-family: var(--wide); font-weight: 400; font-size: clamp(1.6rem, 0.8rem + 2.8vw, 3.6rem); letter-spacing: 0.08em; line-height: 1.3; text-wrap: balance; }
.close__lede { margin: 1.6rem 0 0; max-width: 40rem; font-size: var(--sc-t-lg); line-height: 1.55; letter-spacing: 0.08em; }
.close__sign { margin: clamp(2.4rem, 5vw, 3.6rem) 0 0; font-family: var(--wide); font-size: clamp(0.85rem, 0.7rem + 0.5vw, 1.15rem); letter-spacing: 0.14em; }
.close__mail { margin: 1rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.8rem; letter-spacing: 0.08em; }
.close__mail a { color: var(--white); text-underline-offset: 0.3em; }
@media (max-width: 760px) { .close__mail { flex-direction: column; align-items: center; } .close__mail span[aria-hidden] { display: none; } }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; padding-block: clamp(4rem, 8vw, 7rem) 0; }
.close__formtitle { margin: 0 0 0.9rem; font-family: var(--wide); font-weight: 400; font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.6rem); letter-spacing: 0.1em; }
.close__formlede { margin: 0 0 2.2rem; max-width: 36rem; color: var(--soft); line-height: 1.65; }

.form__req { margin: 0 0 1.6rem; font-size: var(--sc-t-sm); color: var(--soft); }
.form__group { border: 0; margin: 0 0 2.4rem; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem 1.4rem; }
.form__group legend { grid-column: 1 / -1; padding: 0; margin-bottom: 1.1rem; font-family: var(--wide); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 500; }
.opt { font-weight: 400; color: var(--soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.82rem 0.95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color 160ms var(--ease-out);
}
.field select { appearance: none; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 52%, calc(100% - 0.85rem) 52%; background-size: 0.36rem 0.36rem; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__note { margin: 0; font-size: var(--sc-t-xs); color: var(--soft); }
.field__err { margin: 0; font-size: var(--sc-t-sm); font-weight: 500; color: var(--error); }
.form__group--checks { grid-template-columns: minmax(0, 1fr); }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.check { display: inline-flex; align-items: flex-start; gap: 0.6rem; font-size: 1rem; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin: 0.18rem 0 0; flex: none; }
.consent { margin: 0 0 2rem; }
.check--consent { font-size: var(--sc-t-sm); line-height: 1.55; max-width: 40rem; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.form__check.is-shown { margin: 0 0 1.4rem; } /* Turnstile, only when it asks for a click */
.thanks { padding: clamp(1.8rem, 4vw, 3rem); border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--cream); }
.thanks:focus, .thanks:focus-visible { outline: none; } /* focused only so screen readers announce it */
.thanks__title { margin: 0 0 1rem; font-family: var(--wide); font-weight: 400; font-size: clamp(1.2rem, 0.9rem + 1vw, 1.8rem); letter-spacing: 0.06em; line-height: 1.35; }
.thanks p { margin: 0 0 1rem; max-width: 34rem; }

.faq { position: sticky; top: calc(var(--bar-h) + 2rem); }
.faq__title { margin: 0 0 1rem; font-family: var(--wide); font-weight: 400; font-size: 0.84rem; letter-spacing: 0.14em; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1rem 2rem 1rem 0; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0.25rem; top: 1.6rem; width: 12px; height: 1.5px; background: var(--ink); transition: transform 200ms var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.faq details p { margin: 0 0 1.2rem; color: var(--soft); line-height: 1.65; font-size: var(--sc-t-sm); }
.faq__mail { margin-top: 2rem; display: grid; gap: 0.3rem; }
.faq__mail p { margin: 0; font-weight: 500; }
.foot__inner { flex-wrap: wrap; }
.foot__mark { display: block; margin-right: auto; }
.foot__mark img { display: block; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; list-style: none; margin: 0; padding: 0; }
.foot__links a { color: var(--ink); font-family: var(--wide); font-size: 0.72rem; letter-spacing: 0.06em; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.foot__note { width: 100%; margin: 0; font-size: var(--sc-t-xs); }
@media (max-width: 860px) {
  .close__grid { grid-template-columns: minmax(0, 1fr); }
  .form__group { grid-template-columns: minmax(0, 1fr); }
  .faq { position: static; }
  .foot__mark { width: 100%; }
}

/* ------------------------------------------------------- motion switch -- */
/* "Motion off" restates the engine's reduced-motion floor for this page, since
   the engine's own block only answers the system setting. */
html.motion-off [data-sc-in] { transform: none !important; transition-duration: 220ms; }
html.motion-off [data-sc-pan], html.motion-off .sc-split__i { transform: none !important; }
html.motion-off [data-sc-act="pan"] [data-sc-stage] { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
html.motion-off [data-sc-pan] > * { scroll-snap-align: none; }
html.motion-off .btn, html.motion-off .motion__dot::after { transition: none; }
html.motion-off .bar.is-solid { animation: none; }

/* ------------------------------------------- project page (frame 36:10) -- */
/* The header is 36:10; the case study text is 36:8, word for word, in Poppins
   with 1.2px tracking at 25px on the comp. The body layout is not in the file
   (36:8 sits off the frame), so the pictures between the sections are ours. */
.case { padding-top: 0; }
.case__top { container-type: inline-size; }
.case__space { height: calc(250 * 100cqw / 1728); }
.case__title { margin: 0; font-family: var(--text); font-weight: 700; font-size: clamp(1.4rem, 0.8rem + 1.9vw, 2.6rem); letter-spacing: 0.048em; line-height: 1.2; }
.case__made { margin: 0.9rem 0 0; color: var(--soft); font-size: var(--sc-t-sm); letter-spacing: 0.06em; line-height: 1.7; }
.case__made span { display: block; font-family: var(--wide); letter-spacing: 0.16em; color: var(--ink); margin-bottom: 0.3rem; }
.case__block { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 0 clamp(2rem, 5vw, 5.4rem); padding-block: clamp(2.4rem, 5vw, 4.4rem); }
.case__rule { background: var(--ink); }
.case__h { margin: 0; font-family: var(--text); font-weight: 700; font-size: clamp(1.05rem, 0.85rem + 0.6vw, 1.56rem); letter-spacing: 0.048em; line-height: 1.4; }
.case__text p { margin: 0 0 1.1em; font-size: clamp(1rem, 0.86rem + 0.45vw, 1.3rem); line-height: 1.65; letter-spacing: 0.048em; max-width: 40rem; text-wrap: pretty; }
.case__text p:last-child { margin-bottom: 0; }
.case__pics { display: grid; gap: clamp(0.8rem, 1.6vw, 1.4rem); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: clamp(0.5rem, 1vw, 1rem); }
.case__pics--one { grid-template-columns: minmax(0, 1fr); }
.case__pics--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case__pic { margin: 0; display: grid; gap: 0.5rem; }
.case__pic img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1414; object-fit: cover; background: #0b0b0b; }
.case__pic figcaption { font-size: var(--sc-t-xs); color: var(--soft); letter-spacing: 0.06em; }
.case__next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2rem; padding-block: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--ink); margin-top: clamp(3rem, 6vw, 5rem); }
.case__next p { margin: 0; font-family: var(--wide); font-size: clamp(1rem, 0.8rem + 0.7vw, 1.5rem); letter-spacing: 0.08em; line-height: 1.4; }
.case__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
@media (max-width: 1099px) { .case__space { height: 120px; } }
@media (max-width: 760px) {
  .case__space { height: 96px; }
  .case__block { grid-template-columns: 1px minmax(0, 1fr); gap: 1rem 1.2rem; }
  .case__block > :first-child { grid-column: 1 / -1; }
  .case__rule { grid-column: 1; }
  .case__text { grid-column: 2; }
  .case__pics, .case__pics--three { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------- legal pages -- */
.legal { padding-top: clamp(2.4rem, 5vw, 4.5rem); padding-bottom: 6rem; } /* sides come from .sc-wrap */
.legal h1 { margin: 0; font-family: var(--wide); font-weight: 400; font-size: clamp(1.5rem, 0.9rem + 2vw, 2.8rem); letter-spacing: 0.08em; line-height: 1.3; }
.legal .lede { margin: 1.2rem 0 0.8rem; max-width: 38rem; font-size: var(--sc-t-lg); line-height: 1.55; color: var(--soft); }
.legal section { max-width: 46rem; padding: 1.8rem 0; border-top: 1px solid var(--line-strong); }
.legal section:first-of-type { margin-top: 3rem; }
.legal h2 { margin: 0 0 0.9rem; font-family: var(--wide); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.1em; }
.legal p { line-height: 1.7; }
.legal .back { display: inline-block; margin-top: 2.5rem; }

/* =====================================================================
   THE FULL FIGMA FILE (Firstmate inbox 015). Everything above is the
   frame 25:2 build, frozen beside this one in builds/offscript. This layer
   adds what the rest of her Page 1 holds, mostly the brand board "image 1"
   (33:43):
   - its type panel pairs Poppins with Inter, so Inter now sets the small
     working text (forms, captions, notes);
   - its swatches: cobalt #2857A7 (the accent), warm grey #A39F97 (rules),
     near-black #202020 (dark bands), cream #F5F3EE (already the wordmark's);
     soft blue #7E9DCF is not used. #EDE6DD (33:76, beside the empty
     "favacom" frame 25:9) is the favicon's ground;
   - its black-to-white grain gradient behind the quiet line and the footer,
     set the way her "Logo" panel sets the wordmark and the S on it;
   - its photographs: the S embossed on blue fabric behind the Process and
     the blue backdrop studio behind Contact;
   - the hidden sauna-stones photo (19:16, 25:3, 36:11) on the contrast88 page.
   ===================================================================== */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --cobalt: #2857a7;        /* 6.9:1 on white */
  --stone: #a39f97;
  --night: #202020;
  --ui: "Inter", system-ui, sans-serif;
  --umber: var(--night);    /* dark bands take her near-black */
  --line: rgba(163, 159, 151, 0.5);
  --line-strong: var(--stone);
  --fabric: url("img/figma/fabric.webp");
  --backdrop: url("img/figma/backdrop.webp");
}

/* cobalt is the one accent: selection, focus, progress, ticks, link hovers */
::selection { background: var(--cobalt); color: var(--white); }
:focus-visible { outline-color: var(--cobalt); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--cobalt); border-color: var(--cobalt); }
[data-sc-progress], .page-home [data-sc-progress] { background: var(--cobalt); mix-blend-mode: normal; }
.check input { accent-color: var(--cobalt); }
.link:hover, .foot__links a:hover, .project__page:hover, .faq summary:hover { color: var(--cobalt); }
.btn--line:hover, .btn--solid:not(:hover) { border-color: var(--ink); }
.btn--solid:hover { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }

/* Inter, the second face on her type panel, for the small working text */
.field label, .field input, .field select, .field textarea, .field__err, .check,
.flag, figcaption, .foot__note, .wall__hint, .case__made, .project__meta,
.faq details p, .thanks p, .legal p, .legal li {
  font-family: var(--ui); letter-spacing: 0.01em;
}

/* The quiet line on plain white, with the ink S below it (20 Nov: the
   captain asked for the black gradient sections to be plain white). */
.hush {
  display: grid; justify-items: center; gap: clamp(1.8rem, 4.5vh, 3rem);
  padding: 22vh var(--sc-gutter) 20vh;
  background: var(--white); color: var(--ink);
}
.hush__mark { display: block; width: clamp(64px, 7vw, 104px); height: auto; }
@media (max-width: 760px) { .hush { padding: 16svh 16px 14svh; } }

/* The footer is plain white and signs off with the ink wordmark. */
.foot {
  margin-top: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--line-strong);
  background: var(--white);
}
.foot__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 1.2rem 2.4rem; padding-block: 2.6rem clamp(3rem, 6vw, 5rem);
}
.foot__links { grid-column: 1; }
.foot .motion { grid-column: 2; grid-row: 1; justify-self: end; }
.foot__note { grid-column: 1 / -1; color: var(--ink); }
.foot__mark { grid-column: 1 / -1; grid-row: 3; justify-self: center; margin: clamp(4rem, 9vw, 8rem) 0 0; }
.foot__mark img { height: auto; width: min(72vw, 52rem); }
@media (max-width: 760px) {
  .foot__inner { grid-template-columns: minmax(0, 1fr); }
  .foot .motion { grid-column: 1; grid-row: 2; justify-self: start; }
  .foot__note { grid-row: 3; }
  .foot__mark { grid-row: 4; width: auto; margin-top: 3.5rem; }
  .foot__mark img { width: 84vw; }
}

/* Process: the S embossed on her blue fabric */
.pr__stage::before { background: linear-gradient(rgba(32, 32, 32, 0.64), rgba(32, 32, 32, 0.64)), var(--fabric) 50% 50% / cover no-repeat; }

/* Contact: the empty blue backdrop studio, waiting for the next project */
.close__band { background: var(--night); }
.close__photo { background: linear-gradient(rgba(32, 32, 32, 0.42), rgba(32, 32, 32, 0.42)), var(--backdrop) 50% 55% / cover no-repeat; }

/* contrast88: her hidden sauna-stones photo as the page's opening band,
   where it sits (hidden) at the top of frame 36:10 */
.case__heat { margin: 0; }
.case__heat img { display: block; width: 100%; height: clamp(220px, 46vw, 640px); object-fit: cover; object-position: 50% 62%; background: #0b0b0b; }
.case__heat figcaption { padding: 0.6rem var(--sc-gutter) 0; font-size: var(--sc-t-xs); color: var(--soft); }

/* No dark seams (20 Nov: the captain asked for the black gradient sections
   to be plain white). The reading sections are plain white and meet each
   photo along a straight edge, like the Contact photo's cut-off: the hero,
   the Process fabric and the Contact studio keep one even darkening for the
   text on them, with no fade to near-black at their edges. */
.hero { background: var(--white); }
.hero__mark, .hero__tag, .hero__cta.btn { z-index: 1; }

/* ------------------------------------------- impeccable pass, 10 Nov 2026 --
   Refinements from the impeccable critique of the 4520 build. Her palette,
   fonts, the hybrid packages, the seams and the hard-edged Contact photo stay
   exactly as they were. */

/* Form placeholders at 5.4:1 on white (were #857f78, 3.96:1). */
.field input::placeholder, .field textarea::placeholder { color: #6f6a63; }

/* Small labels never under 12px. */
.case__made span { font-size: 0.75rem; }
@media (max-width: 860px) { .mf__eyebrow { font-size: 0.75rem; } }

/* Status notes ("Mock-up", "write-up to come"): a small filled square, so the
   mark no longer reads as the letter o. */
.flag::before { border: 0; border-radius: 1px; width: 0.45em; height: 0.45em; background: currentColor; vertical-align: 0.08em; }

/* Focus on dark grounds: cream, not cobalt (cobalt measured 2.2:1 on the
   photos). Over the hero, the Process fabric and the Contact photo. */
.hero :focus-visible, .pr__stage :focus-visible, .close__band :focus-visible, .page-home .bar:not(.is-solid):not(.is-open) :focus-visible { outline-color: var(--cream); }

/* The packages: "Branding packages" sits a step below the section's own
   headline (it was larger). */
.sx__title { font-size: clamp(1.25rem, 0.6rem + 2vw, 2.6rem); }
/* "Additional brand applications" opens on its own heading, not on a second
   rule under the last package (the two read as an empty row). */
.sx-apps { border-top: 0; padding-top: 0; }

/* Contact: an Enquire Now straight to the form, inside the photo's own text
   block, so the photo keeps its straight edges and shows as before. */
.close__cta { margin-top: clamp(1.8rem, 3vw, 2.4rem); }
.close__formtitle:focus { outline: none; }

/* Touch: every control on a phone is at least 44px tall. */
@media (max-width: 760px) {
  .bar .menu { min-height: 44px; min-width: 44px; padding-block: 0; display: inline-flex; align-items: center; justify-content: flex-end; top: 26px; }
  .motion { min-height: 44px; }
  .checks .check { min-height: 44px; align-items: center; }
  .checks .check input { margin: 0; }
  .checks { row-gap: 0; }
  .close__mail a, .faq__mail .link { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__links { row-gap: 0; }
  .foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Process with motion off: the steps stack in the page flow on her fabric,
   no held section and no sideways strip (steps 03 to 05 were hidden). */
.process-rail.is-still .pr__stage { position: relative; height: auto; overflow: visible; }
.process-rail.is-still .pr__rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.4rem, 5vw, 4rem); width: auto; height: auto; padding: clamp(6rem, 12vw, 9rem) var(--sc-gutter); transform: none !important; }
.process-rail.is-still .pr__lead { width: auto; max-width: 40rem; }
.process-rail.is-still .pr__steps { display: grid; gap: 0; border-bottom: 1px solid rgba(245, 243, 238, 0.3); }
.process-rail.is-still .pr__steps::before, .process-rail.is-still .pr__step::before { display: none; }
/* one row per step, as in the packages index: number and name, then the words */
.process-rail.is-still .pr__step {
  width: auto; display: grid; grid-template-columns: 3rem minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline; padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid rgba(245, 243, 238, 0.3);
}
.process-rail.is-still .pr__n { position: static; }
.process-rail.is-still .pr__step h3 { margin: 0; }
.process-rail.is-still .pr__step p { max-width: 40rem; }
@media (max-width: 760px) {
  .process-rail.is-still .pr__step { grid-template-columns: 2.4rem minmax(0, 1fr); row-gap: 0.8rem; }
  .process-rail.is-still .pr__step p { grid-column: 2; }
}
.process-rail.is-still .pr__end { width: auto; }

/* About: the words roll to the next chapter in one short eased move once the
   picture's change passes halfway (site.js), so they never rest half-cut. */
.mf__track { transition: transform 640ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .mf__track { transition: none; } }
html.motion-off .mf__track { transition: none; }
@media (max-width: 760px) { .bar.is-solid .bar__home { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 760px) { .thanks .link--button { min-height: 44px; } }
/* In the stacked Process the step copy runs across the light S stroke for
   longer, so it is full cream there rather than cream at 78%. */
.process-rail.is-still .pr__step p, .process-rail.is-still .pr__lead p { color: var(--cream); }

/* --------------------------------------- spacing: Chapters (20 Nov pick) */
/* The captain's pick for the space between sections (20 Nov 2026, option E
   "Chapters" on the round-two board), as it ran there:
   - more air at every join (the board's "Room", which every option there
     started from);
   - the top of the page as three full-screen chapters: the photo, the
     intro and Selected works;
   - Terms and One idea a full screen each.
   chapters.js adds the settling onto each join and the hand-offs between
   sections. This block sits last so it wins over the rules above, in the
   same order it had on the board. */
:root { --sc-section: clamp(6.5rem, 9vw + 6vh, 15rem); }
.intro { padding-block: 0; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
.wall { padding-top: calc(var(--bar-h) + clamp(1.5rem, 5vh, 3.5rem)); padding-bottom: clamp(6rem, 8vw + 8vh, 13rem); }
.wall__head { padding-bottom: clamp(2.6rem, 6vh, 4.4rem); }
.wall__stage { height: min(calc(100svh - var(--bar-h) - 15rem), 860px); min-height: 420px; }
.services__intro { margin-bottom: clamp(5rem, 8vw + 5vh, 10rem); }
.sx-apps { margin-top: clamp(5rem, 8vw + 5vh, 10rem); }
.terms, .hush { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
.terms { padding-block: calc(var(--bar-h) + 3rem) 3rem; }
.hush { padding-top: 32vh; padding-bottom: 28vh; }
.close__grid { padding-top: clamp(6rem, 9vw + 4vh, 11rem); }
@media (max-width: 1099px) { .intro__frame { padding-block: 0; } }
@media (max-width: 760px) {
  .intro__frame { padding-inline: 16px; }
  .wall { padding-bottom: 6rem; }
  .hush { padding-top: 24vh; padding-bottom: 20vh; }
}

/* ------------------------------------- the two photo edges (20 Nov pick) */
/* The studio photo's bottom edge and the Process fabric's top edge melt into
   the white instead of stopping on a hard line (the captain's picks, 20 Nov
   2026: "Scroll fade" and "Short fade"). Each fade sits in new white space
   beyond its photo, so it never lies under words:
   - the studio photo, already taller than its frame, carries on 20vh below
     the frame into the hero's bottom padding (site.js draws its mask);
   - the Process fabric and grain reach 14vh up above the section, clear at
     the top and full at the section's edge, so the pinned stage itself
     looks as before once it holds. */
.hero { padding-bottom: 20vh; }
/* The photo is wider than its frame: clip it sideways as before (clip, not
   hidden, so the frame can still let it run downward), and stop it at the
   end of the padding. */
.hero__frame { overflow-x: clip; overflow-y: visible; clip-path: inset(0 0 -20vh 0); }
@media (max-width: 1099px) { .hero__photo { height: calc(100% + 20vh); } }
main > .process-rail { --edge-top: 14vh; margin-top: var(--edge-top); }
html:not(.motion-off) .process-rail .pr__stage { overflow-x: clip; overflow-y: visible; }
.process-rail .pr__stage::before, .process-rail .pr__stage::after {
  top: calc(-1 * var(--edge-top));
  --edge-mask: linear-gradient(
    rgb(0 0 0 / 0.000) calc(var(--edge-top) * 0.0000),
    rgb(0 0 0 / 0.003) calc(var(--edge-top) * 0.0714),
    rgb(0 0 0 / 0.023) calc(var(--edge-top) * 0.1429),
    rgb(0 0 0 / 0.069) calc(var(--edge-top) * 0.2143),
    rgb(0 0 0 / 0.145) calc(var(--edge-top) * 0.2857),
    rgb(0 0 0 / 0.246) calc(var(--edge-top) * 0.3571),
    rgb(0 0 0 / 0.368) calc(var(--edge-top) * 0.4286),
    rgb(0 0 0 / 0.500) calc(var(--edge-top) * 0.5000),
    rgb(0 0 0 / 0.632) calc(var(--edge-top) * 0.5714),
    rgb(0 0 0 / 0.754) calc(var(--edge-top) * 0.6429),
    rgb(0 0 0 / 0.855) calc(var(--edge-top) * 0.7143),
    rgb(0 0 0 / 0.931) calc(var(--edge-top) * 0.7857),
    rgb(0 0 0 / 0.977) calc(var(--edge-top) * 0.8571),
    rgb(0 0 0 / 0.997) calc(var(--edge-top) * 0.9286),
    rgb(0 0 0 / 1.000) calc(var(--edge-top) * 1.0000));
  -webkit-mask-image: var(--edge-mask);
  mask-image: var(--edge-mask);
}
