/* ==========================================================================
   Metafori — lo-fi wireframe kit, v2
   Shared shell for the ten landing concepts + collections subpage.
   V2 principles:
   — truly fullscreen and fluid: viewport-height bands, type scales with the
     screen (capped for 4K), no fixed content block
   — backgrounds stay light and simple; ink is for type, the hero-over-video
     overlay and the footer
   — no letterspaced caps: labels are set sentence case, "Like this"
   — every visual is a labelled square-ish tile; depth comes from the tile
     motif (borders, light layered tints, offset frames), not dark bands
   ========================================================================== */

@font-face {
  font-family: 'Tartuffo';
  src: url('../fonts/tartuffo/Tartuffo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tartuffo';
  src: url('../fonts/tartuffo/Tartuffo-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tartuffo';
  src: url('../fonts/tartuffo/Tartuffo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tartuffo';
  src: url('../fonts/tartuffo/Tartuffo-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
/* Variable primary */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/generalsans/GeneralSans-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/generalsans/GeneralSans-VariableItalic.woff2') format('woff2');
  font-weight: 200 700;
  font-style: italic;
  font-display: swap;
}

/* Metric-matched fallbacks — the faces the browser paints during `swap`.
   Sized so the pre-swap layout wraps identically to the real thing, so a
   reload restores your scroll position against a layout that won't move.
   One face per weight: Helvetica/Arial and Georgia don't widen with weight
   the way General Sans and Tartuffo do, so a single size-adjust leaves the
   heavier text rewrapping. Percentages are measured ratios over page copy.
   Re-measure if either family is swapped out. */
@font-face {
  font-family: 'Tartuffo Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  font-weight: 400;
  size-adjust: 87.9%;
  ascent-override: 105%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Tartuffo Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  font-weight: 500;
  size-adjust: 94.1%;
  ascent-override: 105%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Tartuffo Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  font-weight: 600 700;
  size-adjust: 100.2%;
  ascent-override: 105%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'General Sans Fallback';
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
  font-weight: 200 400;
  size-adjust: 98.7%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'General Sans Fallback';
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
  font-weight: 500;
  size-adjust: 101.5%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'General Sans Fallback';
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
  font-weight: 600 700;
  size-adjust: 104.1%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* Static faces — only when variable fonts aren't supported */
@supports not (font-variation-settings: normal) {
  @font-face {
    font-family: 'General Sans';
    src: url('../fonts/generalsans/GeneralSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'General Sans';
    src: url('../fonts/generalsans/GeneralSans-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'General Sans';
    src: url('../fonts/generalsans/GeneralSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'General Sans';
    src: url('../fonts/generalsans/GeneralSans-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
}

:root {
  --display: 'Tartuffo', 'Tartuffo Fallback', Georgia, serif;
  --sans: 'General Sans', 'General Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Light, simple greyscale. Three paper layers are all the "depth" we use. */
  --paper: #f6f5f2;
  --paper-2: #edebe6;
  --paper-3: #e4e2dc;
  --ink: #17181a;
  --ink-60: #54575b;
  --ink-30: #8f9296;
  --line: #cfcdc8;
  --line-soft: #e0ded9;
  --box: #e8e6e1;

  --bar-h: 0px;

  /* Fluid layout tokens */
  --gutter: clamp(24px, 4vw, 120px);
  /* 40.59em is 68ch in General Sans, which every element using --measure is
     set in. Stated in em so the reading column keeps its width while the
     fallback face is painted — in ch it resized with the face and rewrapped
     the text under it on every load. */
  --measure: 40.59em;
  --content-max: 1920px;

  /* Explicit headline → lede → body spacing */
  --stack-hero: clamp(20px, 3vh, 44px);
  --stack-section: clamp(16px, 2vw, 32px);

  /* Display scale — bigger than v1, calmer than the first v2 pass */
  --size-xl: clamp(2.9rem, 7.5vw, 9rem);
  --size-lg: clamp(2.2rem, 5vw, 5.5rem);
  --size-md: clamp(1.7rem, 3vw, 3rem);
  --size-sm: clamp(1.25rem, 1.9vw, 1.7rem);

  /* Type floor: at fullscreen scale nothing in the design dips under 16px.
     General Sans runs bigger next to Tartuffo so the pairing contrast eases. */
  --text-min: 1rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 72px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--bar-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(17px, 1.05vw, 20px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

/* --------------------------------------------------------------------------
   Concept switcher — the wireframe chrome, not part of any design.
   Only ever mounted on the hub page (see wireframe.js buildBar); every
   layout offset above reads --bar-h so it collapses to 0 automatically
   on pages that never get the bar.
   -------------------------------------------------------------------------- */

:root:has(.wf-bar) {
  --bar-h: 44px;
}

.wf-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  background: #17181a;
  color: #f4f3f0;
  font-family: var(--sans);
  font-size: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.wf-bar::-webkit-scrollbar {
  display: none;
}

.wf-bar__home {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 12px;
  margin-right: 4px;
  border-right: 1px solid #3a3c40;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.wf-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4f3f0;
}

.wf-bar__link {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  color: #b9bbbe;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.wf-bar__link:hover {
  background: #26282c;
  color: #f4f3f0;
}

.wf-bar__link[aria-current='page'] {
  background: #f4f3f0;
  color: #17181a;
  font-weight: 600;
}

.wf-bar__tag {
  flex: none;
  margin-left: auto;
  padding-left: 12px;
  color: #7d8085;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .wf-bar__tag {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Layout primitives — fluid by default
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Narrow reading column for long-form passages */
.wrap--text {
  max-width: calc(var(--measure) + 2 * var(--gutter));
}

section {
  position: relative;
}

.band {
  padding-block: clamp(56px, 9vh, 128px);
}

.band--line {
  border-top: 1px solid var(--line-soft);
}

/* A band that owns the screen — near-full, so pages don't feel endless.
   One message per screen still applies. */
.band--full {
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.band--tint {
  background: var(--paper-2);
}

.band--tint-2 {
  background: var(--paper-3);
}

/* Ink is reserved: hero-over-video overlays and the footer close. */
.band--ink {
  background: var(--ink);
  color: var(--paper);
}

.band--ink .lede,
.band--ink .body,
.band--ink .label,
.band--ink .small {
  color: rgba(246, 245, 242, 0.72);
}

.stack > * + * {
  margin-top: var(--stack-section);
}

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

.grid {
  display: grid;
  gap: clamp(24px, 3vw, 64px);
}

.grid > * {
  min-width: 0;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--split {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}

@media (max-width: 900px) {
  .grid--3,
  .grid--4,
  .grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--split {
    grid-template-columns: 1fr;
  }
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Type — the one thing rendered at full fidelity
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.display--xl {
  font-size: var(--size-xl);
}

.display--lg {
  font-size: var(--size-lg);
  line-height: 1;
}

.display--md {
  font-size: var(--size-md);
  line-height: 1.05;
}

.display--sm {
  font-size: var(--size-sm);
  line-height: 1.12;
}

.em {
  font-style: italic;
}

.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  line-height: 1.45;
  color: var(--ink-60);
  max-width: var(--measure);
  margin: 0;
  text-wrap: pretty;
}

.body {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-60);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.5;
}

.body--ink {
  color: var(--ink);
}

/* Label — the v2 eyebrow. Sentence case, no tracking, no caps. */
.label {
  font-family: var(--sans);
  font-size: var(--text-min);
  font-weight: 500;
  color: var(--ink-30);
  margin: 0 0 var(--stack-section);
  display: block;
}

.num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  line-height: 1;
  display: block;
}

.small {
  font-size: var(--text-min);
  color: var(--ink-60);
  line-height: 1.5;
}

/* Headline → lede spacing inside heroes */
.hero-stack > .lede {
  margin-top: var(--stack-hero);
}

.hero-stack > .btn-row {
  margin-top: var(--stack-hero);
}

/* --------------------------------------------------------------------------
   Placeholder tiles — everything visual is a labelled box, squares preferred
   -------------------------------------------------------------------------- */

.ph {
  position: relative;
  background: var(--box);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ink-60);
}

.ph::before,
.ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line-soft) 50%, transparent calc(50% + 0.5px));
  pointer-events: none;
}

.ph::after {
  background: linear-gradient(to bottom right, transparent calc(50% - 0.5px), var(--line-soft) 50%, transparent calc(50% + 0.5px));
}

.ph__label {
  position: relative;
  z-index: 1;
  margin: 12px;
  padding: 5px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: var(--text-min);
  color: var(--ink-60);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 24px);
}

.ph--video {
  aspect-ratio: 16 / 9;
}
.ph--wide {
  aspect-ratio: 21 / 9;
}
.ph--square {
  aspect-ratio: 1;
}
.ph--portrait {
  aspect-ratio: 3 / 4;
}
.ph--tall {
  aspect-ratio: 4 / 5;
}
.ph--fill {
  height: 100%;
  min-height: 220px;
}

.ph--dark {
  background: #2a2c30;
  border-color: #3a3c40;
  color: #b9bbbe;
}

.ph--dark::before,
.ph--dark::after {
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), #3a3c40 50%, transparent calc(50% + 0.5px));
}
.ph--dark::after {
  background: linear-gradient(to bottom right, transparent calc(50% - 0.5px), #3a3c40 50%, transparent calc(50% + 0.5px));
}

.ph--dark .ph__label {
  background: #17181a;
  border-color: #3a3c40;
}

/* The square-tile motif: a framed tile sitting on an offset paper square.
   This is the wireframe's whole notion of "depth" — light, not tonal. */
.tile {
  position: relative;
  min-width: 0; /* never let a nowrap tile label force horizontal overflow */
}

.tile > .ph {
  position: relative;
  z-index: 1;
}

.tile::after {
  content: '';
  position: absolute;
  inset: clamp(10px, 1.2vw, 18px) calc(clamp(10px, 1.2vw, 18px) * -1) calc(clamp(10px, 1.2vw, 18px) * -1) clamp(10px, 1.2vw, 18px);
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  z-index: 0;
}

.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--box);
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Site header (per-concept variants adjust position/colour)
   -------------------------------------------------------------------------- */

.hdr {
  position: sticky;
  top: var(--bar-h);
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.hdr__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.hdr__logo {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hdr__nav a {
  font-size: var(--text-min);
  text-decoration: none;
  color: var(--ink-60);
  transition: color 0.15s;
}

.hdr__nav a:hover {
  color: var(--ink);
}

.hdr__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: var(--text-min);
  cursor: pointer;
}

/* Header laid over a dark hero */
.hdr--over {
  position: absolute;
  top: var(--bar-h);
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  color: var(--paper);
}

.hdr--over .hdr__nav a {
  color: rgba(246, 245, 242, 0.75);
}

.hdr--over .hdr__nav a:hover {
  color: var(--paper);
}

.hdr--over .hdr__toggle {
  border-color: rgba(246, 245, 242, 0.4);
}

@media (max-width: 860px) {
  .hdr__nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .hdr__nav[data-open='true'] {
    display: flex;
  }

  .hdr__nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
    color: var(--ink);
  }

  .hdr__nav .btn {
    margin-top: 16px;
    border-bottom: 0;
    justify-content: center;
  }

  .hdr__toggle {
    display: block;
  }

  .hdr--over .hdr__nav {
    background: var(--ink);
  }

  .hdr--over .hdr__nav a {
    color: var(--paper);
    border-bottom-color: rgba(246, 245, 242, 0.15);
  }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--text-min);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
}

.btn:hover {
  opacity: 0.82;
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}

.btn--big {
  padding: 17px 32px;
  font-size: 1.05rem;
}

.band--ink .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.band--ink .btn--ghost {
  background: transparent;
  color: var(--paper);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.15s;
}

.link:hover {
  gap: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Cards, rows, chips, list structures
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.card .ph {
  transition: opacity 0.15s;
}

.card:hover .ph {
  opacity: 0.78;
}

.card__meta {
  font-size: var(--text-min);
  color: var(--ink-30);
}

/* The shared 2-column work grid: big square-ish media tiles, 3 per line */
.work2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 64px) clamp(24px, 3vw, 56px);
}

@media (max-width: 760px) {
  .work2 {
    grid-template-columns: 1fr;
  }
}

.row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding-block: clamp(18px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.18s, background 0.18s;
}

.row:hover {
  padding-left: 12px;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}

.row__idx {
  font-size: var(--text-min);
  color: var(--ink-30);
  font-variant-numeric: tabular-nums;
}

.row__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  margin: 0;
}

.row__type {
  font-size: var(--text-min);
  color: var(--ink-60);
}

.row__go {
  font-size: var(--text-min);
  color: var(--ink-30);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .row {
    grid-template-columns: 2.4rem 1fr;
    gap: 4px 14px;
  }
  .row__type {
    grid-column: 2;
  }
  .row__go {
    display: none;
  }
}

.tag {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--text-min);
  color: var(--ink-60);
}

/* Intent chips — "what brings you here?" in the contact section.
   Clicking one prefills the form and records the intent. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: var(--text-min);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Receipts — full-bleed proof strip */
.receipts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.receipts > div {
  padding: clamp(22px, 2.8vw, 44px) var(--gutter) clamp(22px, 2.8vw, 44px) clamp(24px, 3vw, 56px);
  border-left: 1px solid var(--line-soft);
}

.receipts > div:first-child {
  border-left: 0;
  padding-left: var(--gutter);
}

.receipts span:last-child {
  display: block;
  font-size: var(--text-min);
  color: var(--ink-60);
  margin-top: 10px;
  max-width: 26ch;
}

@media (max-width: 900px) {
  .receipts {
    grid-template-columns: repeat(2, 1fr);
  }
  .receipts > div {
    border-top: 1px solid var(--line-soft);
    padding-left: var(--gutter);
  }
  .receipts > div:nth-child(-n + 2) {
    border-top: 0;
  }
  .receipts > div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .receipts {
    grid-template-columns: 1fr;
  }
  .receipts > div {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .receipts > div:first-child {
    border-top: 0;
  }
}

/* Fullscreen team photo with the story told over it */
.team-full {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
}

.team-full__bg {
  position: absolute;
  inset: 0;
}

.team-full__bg .ph {
  height: 100%;
  border: 0;
  align-items: flex-start;
  justify-content: flex-end;
}

.team-full__panel {
  position: relative;
  z-index: 1;
  margin: var(--gutter);
  padding: clamp(28px, 3.5vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
  max-width: 62ch;
}

.team-full__panel .display {
  margin-bottom: var(--stack-section);
}

@media (max-width: 640px) {
  .team-full__panel {
    margin: 16px;
  }
}

/* Disclosure used by a couple of concepts */
.disc {
  border-bottom: 1px solid var(--line-soft);
}

.disc__btn {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.disc__btn:hover .disc__title {
  opacity: 0.65;
}

.disc__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  margin-right: auto;
  transition: opacity 0.15s;
}

.disc__sign {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-30);
  transition: transform 0.2s;
}

.disc__btn[aria-expanded='true'] .disc__sign {
  transform: rotate(45deg);
}

.disc__panel {
  display: none;
  padding-bottom: clamp(20px, 3vw, 34px);
}

.disc__panel[data-open='true'] {
  display: block;
}

/* Rotating hero word */
.rotor {
  display: inline-block;
  transition: opacity 0.24s ease;
}

.rotor--out {
  opacity: 0;
}

/* Form */
.field {
  display: block;
  margin-bottom: 18px;
}

.field span {
  display: block;
  font-size: var(--text-min);
  font-weight: 500;
  color: var(--ink-60);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: var(--text-min);
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

/* Footer */
.foot {
  padding-block: clamp(48px, 6vw, 96px) 36px;
  border-top: 1px solid var(--line);
  font-size: var(--text-min);
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 44px;
}

@media (max-width: 860px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot__grid > :first-child {
    grid-column: 1 / -1;
  }
}

.foot h3 {
  font-size: var(--text-min);
  font-weight: 600;
  color: var(--ink-30);
  margin: 0 0 14px;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li + li {
  margin-top: 9px;
}

.foot a {
  text-decoration: none;
  color: var(--ink-60);
}

.foot a:hover {
  color: var(--ink);
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-30);
  font-size: var(--text-min);
}

/* A note pinned to open questions inside the wireframes */
.todo {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed var(--ink-30);
  border-radius: 3px;
  font-size: var(--text-min);
  color: var(--ink-30);
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Shared final-round components: pillars, 6-service grid, client logos,
   project filters, newsletter. Used by all five finals.
   -------------------------------------------------------------------------- */

/* Three practice pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 72px);
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2vw, 32px);
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--size-md);
  line-height: 1.02;
  margin: 0 0 14px;
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vh, 56px);
  }
}

/* Six named services, each a title + one-line description */
.svc6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 64px);
}

.svc6 > div {
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(16px, 1.8vw, 28px);
}

.svc6 h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

@media (max-width: 900px) {
  .svc6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .svc6 {
    grid-template-columns: 1fr;
  }
}

/* Client logo strip — labelled placeholder plates for now */
.logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 28px);
}

.logos .ph {
  aspect-ratio: 3 / 2;
  align-items: center;
  justify-content: center;
}

.logos .ph__label {
  margin: 8px;
  white-space: normal;
  text-align: center;
}

@media (max-width: 1100px) {
  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Project filters — a chip row under the work title.
   Featured first, categories in the middle, all projects last. */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: clamp(20px, 2.5vw, 36px) clamp(32px, 4vw, 64px);
}

/* Newsletter band — one field, one button, no promises */
.news {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 88px);
  align-items: center;
}

.news__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.news__form .field {
  flex: 1 1 260px;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .news {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Per-section cursors — a microinteraction experiment, shipped in concepts
   01 and 04 only. Fine pointers only; one CSS block to delete if cheesy.
   -------------------------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  [data-cursor='folder'] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="26" viewBox="0 0 30 26"><path d="M2 6a2 2 0 0 1 2-2h8l3 3h11a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z" fill="%23f6f5f2" stroke="%2317181a" stroke-width="2"/></svg>') 4 4, auto;
  }

  [data-cursor='play'] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><circle cx="15" cy="15" r="13" fill="%23f6f5f2" stroke="%2317181a" stroke-width="2"/><path d="M12 9.5 21 15l-9 5.5z" fill="%2317181a"/></svg>') 15 15, auto;
  }

  [data-cursor='mail'] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="24" viewBox="0 0 30 24"><rect x="2" y="2" width="26" height="20" rx="2" fill="%23f6f5f2" stroke="%2317181a" stroke-width="2"/><path d="m3 4 12 9L27 4" fill="none" stroke="%2317181a" stroke-width="2"/></svg>') 4 4, auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
