@charset "UTF-8";
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Abstracts: Variables ─────────────────────────────────────────────
   Compile-time SCSS values. CSS-runtime tokens (theme switch, dark mode)
   live as :root custom properties in /base/_root.scss.
   ────────────────────────────────────────────────────────────────────── */
/* ─ Brand palette (from brief) ─ */
/* Tints / shades for hovers and quiet UI tones */
/* Breakpoints (em-based, no px) */
/* Layout */
/* Radii for the v2.x rounded components (menu panel, projects card,
   portfolio media card, approach panel, hover preview tile). Kept
   distinct from $radius-sm/md/lg so the original Swiss/editorial sharp
   aesthetic on legacy components (about-image, work tiles, recognition
   list) is preserved while the new card system stays internally
   consistent. */
/* Typography stacks */
/*fonts sizes*/
/* Font weights */
/* Line heights */
/* Letter spacing */
/* gaps, paddings, and margins */
/* Motion */
/* Z-index scale */
/*******************************************************
  Divs sizes
*******************************************************/
/* ── Abstracts: Functions ─────────────────────────────────────── */
/* px-style numeric helpers, but the brief forbids px output, so
   these are utilities used inside mixins only.                 */
/* clamp() helper for fluid scaling */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Abstracts: Mixins ───────────────────────────────────────────── */
/* ─ Responsive breakpoints ─ */
/* Pre-rolled break helpers */
/* ─ Container ─ */
/* ─ Slide-up / fade-up label-on-hover (per brief) ─
   Wrap the label in `.btn__label-stack` containing two `.btn__label`
   children; `--alt` is the replacement that slides up on hover. */
/* ─ Reveal animation utility ─ */
/* ─ Visually hidden (a11y) ─ */
/* ─ Aspect ratio (no px) ─ */
/* ─ Centered abs ─ */
/* ─ Reset focus outline (replaced by our own ring) ─ */
/* ─ Smoother fluid type ─ */
/* ── Abstracts: Animations ────────────────────────────────────── */
@keyframes fadeOutLoader {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes marqueeForward {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-1%, -1%);
  }
  20% {
    transform: translate(1%, 1%);
  }
  30% {
    transform: translate(-2%, 2%);
  }
  40% {
    transform: translate(2%, -2%);
  }
  50% {
    transform: translate(-1%, 1%);
  }
  60% {
    transform: translate(1%, -1%);
  }
  70% {
    transform: translate(-2%, -1%);
  }
  80% {
    transform: translate(2%, 1%);
  }
  100% {
    transform: translate(0, 0);
  }
}
/* Base */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Base: Root tokens (CSS custom properties) ────────────────────── */
:root {
  /* Colors (runtime-swappable via dark mode) */
  --color-bg: rgb(220, 242, 224);
  --color-fg: rgb(14, 27, 16);
  --color-fg-quiet: rgba(14, 27, 16, 0.62);
  --color-primary: #3D5E42;
  --color-secondary: #59329D;
  --color-cta: #BD9544;
  --color-cta-h: #73AC7B;
  /* Text-link / ghost accent. Distinct from --color-cta (which is the
     button FILL): bright Burnished Gold as TEXT on the light Press Proof
     bg only hits ~2.35:1 and fails WCAG AA. So on light we use a deepened
     gold (~5:1) that still reads gold, with a worn-patina green hover; on
     dark, the bright gold/sage already pass on Vault Ink so they stay. */
  --color-link: #7d5e12;
  --color-link-h: #3D5E42;
  --color-accent: #BEAEEB;
  --color-danger: #BE6219;
  --color-border: rgba(14, 27, 16, 0.12);
  --color-card-bg: rgba(220, 242, 224,0.55);
  /* Nav glass: translucent at rest, more opaque once scrolled over content. */
  --color-nav-bg: rgba(220, 242, 224, 0.55);
  --color-nav-bg-scrolled: rgba(220, 242, 224, 0.78);
  /* Typography stacks */
  --font-display: Teko, ui-monospace, Source Code Pro, monospace;
  --font-heading: Teko, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  --font-body: Lexend, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  /* Layout gaps and type scale extras */
  --gap-fluid: clamp(2rem, 5vw, 4rem);
  --paragraph-med: clamp(1rem, 2.2vw, 1.2rem);
  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --spring: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Directional easing for open/close (accordion, menu): a smooth slow-
     settle on the way IN, a quicker accelerate on the way OUT. Reads as
     "soft and springy" without an overshoot that would gap the layout. */
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.5, 0, 0.75, 0);
  --dur-fast: 150ms;
  --dur: 300ms;
  --dur-slow: 600ms;
  --dur-enter: 800ms;
  /* Layout */
  --container-max: min(80vw, 3072px);
  --reading-max: 48ch;
  --gutter: clamp(1rem, 2vw, 2rem);
  --section-pad-y: clamp(5rem, 13vw, 10rem);
  --radius-sm: clamp(0.4rem, 0.6rem + 0.4vw, 0.8rem);
  --radius-md: clamp(1rem, 0.85rem + 0.5vw, 1.3rem);
  --radius-lg: 0;
  --radius-card: 1rem;
  --radius-tile: 0.75rem;
  /* `--radius` is the convenience alias used by the catch-all rounding
     rules in main.scss. It points at --radius-md so there is a single
     source of truth (1rem → 1.3rem) and the two can never drift apart. */
  --radius: var(--radius-md);
}

/* Dark theme — toggled by JS via [data-theme="dark"] */
[data-theme=dark] {
  --color-bg: rgb(14, 27, 16);
  --color-fg: rgb(220, 242, 224);
  --color-fg-quiet: rgba(220, 242, 224,0.55);
  --color-border: rgba(220, 242, 224,0.14);
  --color-card-bg: rgba(14, 27, 16, 0.6);
  --color-nav-bg: rgba(14, 27, 16, 0.55);
  --color-nav-bg-scrolled: rgba(14, 27, 16, 0.8);
  /* On Vault Ink, bright gold (~6.4:1) and sage (~6.8:1) both pass AA. */
  --color-link: #BD9544;
  --color-link-h: #73AC7B;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Base: Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1rem + 0.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

::-moz-selection {
  background: var(--color-cta);
  color: var(--color-black, var(--secondary-black));
}

::selection {
  background: var(--color-cta);
  color: var(--color-black, var(--secondary-black));
}

::-webkit-scrollbar {
  width: 0.25rem;
  height: 0.25rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 0;
}

/* Skip link / sr-only */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content: off-screen until focused, then slides in top-left above
   the floating nav and every overlay so keyboard users can jump past the
   header on each page. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 112;
  transform: translateY(-200%);
  padding: 0.65rem 1.1rem;
  background: var(--color-fg);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  border-radius: clamp(0.4rem, 0.6rem + 0.4vw, 0.8rem);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

/* The skip target is a programmatic focus destination, not a control, so a
   ring around the whole <main> would just be noise. */
.site-main:focus {
  outline: none;
}

/* Disable native cursor only on devices likely to have a real pointer */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor body, html.has-cursor a, html.has-cursor button {
    cursor: none;
  }
}
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Base: Typography ─────────────────────────────────────────────── */
h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase; /* per brief: H1 always uppercase */
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 10vw, 9.5rem);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase; /* per brief: H1 always uppercase */
  margin-top: 1rem;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 4.5rem);
}

h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: var(--fw-medium);
}

h4 {
  font-size: clamp(1.75rem, 2vw, 1.375rem);
  font-weight: var(--fw-medium);
}

h5 {
  font-size: 1.125rem;
  font-weight: var(--fw-medium);
}

h6 {
  font-size: var(--h6);
  font-weight: var(--fw-medium);
}

p {
  font-family: var(--font-body);
  font-size: var(--paragraph);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: var(--reading-med);
  text-wrap: pretty;
}

strong, b {
  font-weight: 600;
}

em {
  font-style: italic;
  color: var(--color-secondary);
}

small {
  font-size: 1rem;
  color: var(--color-fg-quiet);
}

code, pre {
  font-family: var(--font-display);
  font-size: 1em;
}

/* Section eyebrow label */
.section-label {
  font-family: var(--font-body);
  font-size: var(--h2);
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: var(--margin-fluid);
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* Dash draw-in: the ruling line prints left-to-right when the parent
   reveal becomes visible. Fires once; reduced-motion global handles skip. */
.reveal.is-visible .section-label::before {
  animation: dashDraw 0.75s 0.1s var(--ease-out) both;
}

@keyframes dashDraw {
  from {
    width: 0;
  }
  to {
    width: 1.5rem;
  }
}
.empty-state {
  color: var(--color-fg-quiet);
  font-style: italic;
  padding: 4rem 0;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Base: Grain overlay ──────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  /* Inline SVG noise — no extra HTTP request */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/></svg>");
  background-size: 12rem 12rem;
  animation: grain 8s steps(8) infinite;
}

[data-theme=dark] .grain {
  mix-blend-mode: screen;
  opacity: 0.06;
}

/* Layout */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Layout: Grid + container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: min(80vw, 3072px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2vw, 2rem);
  /* Mobile: 94vw width with 3vw margins each side — overrides the
     default `padding-inline: var(--gutter)` so content sits inside a
     uniform 94% column regardless of which section it's in. */
}
@media (max-width: 39.99em) {
  .container {
    width: 94vw;
    max-width: 94vw;
    padding-inline: 0;
    margin-inline: auto;
  }
}
.container--reading {
  max-width: var(--reading-max);
}

/* Reveal-on-scroll utility */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-2 {
  transition-delay: 80ms;
}
.reveal--delay-3 {
  transition-delay: 160ms;
}
.reveal--delay-4 {
  transition-delay: 240ms;
}

.site-main {
  position: relative;
  z-index: 10;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Layout: Sections ─────────────────────────────────────────────── */
.section {
  padding-block: var(--section-pad-y);
  position: relative;
}
@media (max-width: 39.99em) {
  .section {
    padding-block: clamp(4rem, 14vw, 6rem);
  }
}

/* ── Section header ───────────────────────────────────────────────────
   The single shared title block (template-parts/global/section-header.php).
   Sits at the TOP of every section; the section content always follows
   below it, so every section has the same structure. */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: clamp(0.6rem, 1.4vw, 1rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
  /* The label brings its own bottom margin; the flex gap handles spacing
     here, so neutralise it for an even rhythm. */
}
.section-header .section-label {
  margin-bottom: 0;
}
.section-header__title {
  margin: 0;
}
.section-header__intro {
  max-width: 36rem;
  color: var(--color-fg-quiet);
}

/* ── Two-column content grids ─────────────────────────────────────────
   Content only — the section title lives in `.section-header` above. Both
   columns are content, vertically centred in the row. */
.about-grid,
.contact-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 56em) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.about-grid h2,
.contact-grid h2 {
  margin: 0.5rem 0 1.5rem;
}
.about-grid p,
.contact-grid p {
  margin-bottom: 1.25rem;
}

/* ── About stats — horizontal strip (no divider lines) ────────────── */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-block: clamp(2rem, 5vw, 3.5rem);
}

.about-stats__item {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  /* Mobile: 2x2 layout, spaced by the flex gap (no rules). */
}
@media (max-width: 39.99em) {
  .about-stats__item {
    flex: 1 1 calc(50% - clamp(1.5rem, 4vw, 3rem));
  }
}

.about-stats__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  color: var(--color-fg);
}

.about-stats__label {
  font-size: 0.7rem;
  color: var(--color-fg-quiet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── About image ──────────────────────────────────────────────────── */
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-card-bg);
}
.about-image__img, .about-image__placeholder {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.about-image__placeholder {
  background: var(--color-card-bg);
}
.about-image__tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-bg);
  padding: 0.35rem 0.75rem;
  border-radius: 0;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Layout: Site header / nav (v2.2) ─────────────────────────────── */
.nav {
  position: fixed;
  top: clamp(0.6rem, 1.5vw, 1rem);
  left: 50%;
  transform: translateX(-50%);
  width: var(--container-max);
  max-width: calc(100vw - 2rem);
  z-index: 80;
  background: var(--color-nav-bg);
  /* Frosted glass: heavier blur + saturate so content behind reads as
     colored light, not detail. Radius comes from the allowlist in main.scss
     (var(--radius)) so it matches cards and media. No border — the glass
     edge is defined by the blur and translucency alone. */
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease);
  /* Once scrolled into content, firm up the glass for legibility. */
}
.nav.is-scrolled {
  background: var(--color-nav-bg-scrolled);
}
.nav {
  /* Mobile: match container's 94vw */
}
@media (max-width: 39.99em) {
  .nav {
    width: 94vw;
    max-width: 94vw;
  }
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(0.7rem, 1.5vw, 1rem);
}
.nav__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin-inline-start: calc(var(--gutter) * -1);
  padding-inline-start: var(--gutter);
  margin-inline-end: 0;
  max-width: clamp(8rem, 42vw, 14rem);
  min-width: 0;
  overflow: hidden;
  color: var(--color-fg);
  text-decoration: none;
}
.nav__logo--text {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__logo--image {
  padding-block: 0.25rem;
}
.nav__logo img,
.nav__logo .custom-logo, .nav__logo-img {
  display: block;
  height: clamp(1.75rem, 3vw, 2.25rem);
  width: auto;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.nav__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}
.nav__inner > .custom-logo-link {
  order: -1;
  margin-inline-end: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.nav__inner > .custom-logo-link img, .nav__inner > .custom-logo-link .custom-logo {
  display: block;
  height: clamp(1.75rem, 3vw, 2.25rem);
  width: auto;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  margin-inline-end: calc(var(--gutter) * -1);
  padding-inline-end: var(--gutter);
}
.nav {
  /* "Schedule a call" pill. */
}
.nav__cta-pill {
  display: none;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding-inline: 1.25rem;
  border: 1px solid var(--color-border);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg);
  background: transparent;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__cta-pill:hover, .nav__cta-pill:focus-visible {
  border-color: var(--color-fg);
}
@media (min-width: 40em) {
  .nav__cta-pill {
    display: inline-flex;
  }
}

/* Menu toggle button — three lines (closed) ⇄ minus (open). */
.nav-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--color-fg);
  cursor: pointer;
}
.nav-toggle__lines, .nav-toggle__minus {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-toggle__lines {
  opacity: 1;
  transform: scale(1);
}
.nav-toggle__lines span {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  margin-block: 2px;
}
.nav-toggle__minus {
  opacity: 0;
  transform: scale(0.6);
}
.nav-toggle__minus::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
}
.nav-toggle.is-open .nav-toggle__lines {
  opacity: 0;
  transform: scale(0.6);
}
.nav-toggle.is-open .nav-toggle__minus {
  opacity: 1;
  transform: scale(1);
}

/* Drop-down menu panel.
   Floats below the floating nav — matches its width and horizontal position. */
.menu-panel {
  position: fixed;
  top: var(--nav-bottom, 5rem);
  left: 50%;
  width: var(--container-max);
  max-width: calc(100vw - 2rem);
  z-index: 79;
  pointer-events: none;
  padding-block-start: 0.5rem;
}
@media (max-width: 39.99em) {
  .menu-panel {
    width: 94vw;
    max-width: 94vw;
  }
}
.menu-panel {
  opacity: 0;
  transform: translate(-50%, -1rem);
  /* Closing easing (this rule is the resting/closed state, so its timing is
     used when transitioning back TO closed): quick accelerate-out. */
  transition: opacity 0.26s var(--ease-exit), transform 0.26s var(--ease-exit);
}
.menu-panel.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  /* Opening easing: a slightly longer, smooth slow-settle drop-in. */
  transition: opacity 0.42s var(--ease-enter), transform 0.42s var(--ease-enter);
}
.menu-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--color-fg);
  color: var(--color-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (min-width: 40em) {
  .menu-panel__grid {
    grid-template-columns: repeat(var(--cells, 4), minmax(0, 1fr));
  }
}
.menu-panel__cell {
  position: relative;
  min-height: clamp(10rem, 22vw, 16rem);
  display: flex;
  flex-direction: column;
}
@media (max-width: 39.99em) {
  .menu-panel__cell {
    min-height: auto;
  }
}
@media (min-width: 40em) {
  .menu-panel__cell + .menu-panel__cell {
    border-inline-start: 1px solid rgba(0, 0, 0, 0.08);
  }
}
@media (max-width: 39.99em) {
  .menu-panel__cell + .menu-panel__cell {
    border-block-start: 1px solid rgba(0, 0, 0, 0.08);
  }
}
.menu-panel__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: var(--color-fg);
  color: var(--color-bg);
  padding: clamp(1rem, 1.5vw, 1.5rem);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.menu-panel__link:hover, .menu-panel__link:focus-visible {
  background: var(--color-cta);
  color: rgb(14, 27, 16);
}
.menu-panel__media {
  flex: 1;
  min-height: clamp(5rem, 12vw, 8rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-block-end: 1rem;
  background: var(--color-card-bg);
}
@media (max-width: 39.99em) {
  .menu-panel__media {
    display: none;
  }
}
.menu-panel__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.menu-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.menu-panel__label {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.menu-panel__arrow {
  line-height: 1;
  opacity: 0.8;
  flex-shrink: 0;
}

/* When the panel is open: dim & subtly suppress the underlying content,
   but keep the nav itself fully visible (so the toggle can still be hit). */
body.menu-panel-open {
  overflow: hidden;
}
body.menu-panel-open .site-main, body.menu-panel-open .site-footer {
  filter: brightness(0.55);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Layout: Site footer ──────────────────────────────────────────── */
.site-footer {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3rem);
  margin-top: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid var(--color-border);
  color: var(--color-fg);
  /* ── Top: nav columns. Headings + links come from WordPress menus. ── */
}
.site-footer__nav {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
@media (min-width: 30em) {
  .site-footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 40em) {
  .site-footer__nav {
    grid-template-columns: repeat(4, 1fr);
  }
}
.site-footer__col-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
  color: var(--color-fg);
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  color: var(--color-fg-quiet);
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__links a:hover, .site-footer__links a:focus-visible {
  color: var(--color-link);
}
.site-footer {
  /* ── Middle: brand logo. The SVG's fills are rewritten to
     `currentColor` by ladder_render_logo(), so it follows the color
     set here and adapts when the theme flips light/dark. ── */
}
.site-footer__logo {
  margin: clamp(2.5rem, 7vw, 5rem) 0;
  line-height: 0;
  /* Clip for the slide-up reveal. The logo sits flush in this box at
     rest (yPercent 0), so it's fully visible if JS never runs; the
     FooterReveal module translates it up from below the clip edge. */
  overflow: hidden;
}
.site-footer__logo .custom-logo-link {
  display: block;
  color: var(--color-fg);
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__logo-svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}
.site-footer {
  /* ── Bottom: legal bar. ── */
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-fg-quiet);
}
.site-footer__legal {
  margin: 0;
}
.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__legal-links a {
  color: var(--color-fg-quiet);
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__legal-links a:hover, .site-footer__legal-links a:focus-visible {
  color: var(--color-link);
}

/* Per brief: gallery hides footer. */
body.ladder--gallery .site-footer {
  display: none;
}

/* Components */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Buttons ──────────────────────────────────────────── */
.btn, .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  padding: clamp(0.55rem, 1.5vw, 0.9rem) clamp(0.9rem, 2.5vw, 1.5rem);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: transform;
  border: 1px solid transparent;
}
.btn:active, .read-more-link:active {
  transform: translateY(1px);
}
.btn:focus-visible, .read-more-link:focus-visible {
  outline: 2px solid #BD9544;
  outline-offset: 0.25rem;
  border-radius: clamp(0.4rem, 0.6rem + 0.4vw, 0.8rem);
}
.btn__icon {
  height: clamp(2rem, 8vw, 6rem);
  display: inline-flex;
  align-items: start;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .btn__icon, .read-more-link:hover .btn__icon {
  transform: translate(0.15em, -0.15em);
}
.btn__label-stack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  display: inline-flex;
  height: 2em;
}
.btn__label-stack > * {
  display: block;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn__label-stack > :nth-child(1) {
  transform: translateY(0);
  opacity: 1;
}
.btn__label-stack > :nth-child(2) {
  transform: translateY(100%);
  opacity: 0;
}
.btn__label-stack:hover > :nth-child(1), .btn__label-stack:focus-visible > :nth-child(1), a:hover .btn__label-stack > :nth-child(1), button:hover .btn__label-stack > :nth-child(1), a:focus-visible .btn__label-stack > :nth-child(1), button:focus-visible .btn__label-stack > :nth-child(1) {
  transform: translateY(-100%);
  opacity: 0;
}
.btn__label-stack:hover > :nth-child(2), .btn__label-stack:focus-visible > :nth-child(2), a:hover .btn__label-stack > :nth-child(2), button:hover .btn__label-stack > :nth-child(2), a:focus-visible .btn__label-stack > :nth-child(2), button:focus-visible .btn__label-stack > :nth-child(2) {
  transform: translateY(0);
  opacity: 1;
}
.btn__label {
  display: block;
}
.btn__label--alt {
  margin-top: -1.5rem;
}
.btn, .read-more-link {
  /* ── Variants ── */
}
.btn--primary {
  min-width: clamp(8rem, 30vw, 12rem);
  width: auto;
  max-width: 25rem;
  justify-content: space-between;
  align-items: end;
  background: var(--color-cta);
  color: rgb(14, 27, 16);
}
.btn--primary:hover {
  background: var(--color-cta-h);
}
.btn--outline {
  /* Icon-only square button per v3.0.1 brief. Adopts the visual
     language of the old `.reviews-btn`: 2.25rem square, sharp
     corners, soft --color-border, hover swaps bg↔fg. Overrides
     the text-button padding inherited from .btn. */
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0;
  gap: 0;
  border-radius: 0;
  color: var(--color-fg);
  display: grid;
  place-items: center;
  /* Outline variant never carries text labels — hide any stray
     label-stack so older markup doesn't push the box wider. */
}
.btn--outline .btn__label-stack {
  display: none;
}
.btn--outline .btn__icon {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
}
.btn--outline:hover {
  background: var(--color-cta-h);
  color: var(--color-bg);
}
.btn--outline svg {
  width: 1.25rem;
  height: 1.25rem;
}
.btn--ghost, .read-more-link {
  padding-inline: 0;
  color: var(--color-link);
  gap: 1rem;
}
.btn--ghost:hover, .read-more-link:hover {
  color: var(--color-link-h);
}

/* Read-more link variant kept for parity */
/* Generic anchor inside copy. Uses the AA-safe link token; hover darkens to
   the patina green rather than dropping opacity (which would lower contrast). */
.page-content a {
  color: var(--color-link);
  border-bottom: 1px solid currentColor;
  transition: color var(--dur-slow) var(--ease);
}
.page-content a:hover {
  color: var(--color-link-h);
}

.btn__container {
  min-height: clamp(3.5rem, 10vw, 6rem);
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 1rem;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Nav links (slide-up text) ───────────────────────── */
.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-fg);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.nav__link.is-active::after, .nav__link:hover::after, .nav__link:focus-visible::after {
  transform: scaleX(1);
}
.nav__link-stack {
  overflow: hidden;
  display: inline-flex;
  height: 1.2em;
}
.nav__link-stack > * {
  display: block;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__link-stack > :nth-child(1) {
  transform: translateY(0);
  opacity: 1;
}
.nav__link-stack > :nth-child(2) {
  transform: translateY(100%);
  opacity: 0;
}
.nav__link-stack:hover > :nth-child(1), .nav__link-stack:focus-visible > :nth-child(1), a:hover .nav__link-stack > :nth-child(1), button:hover .nav__link-stack > :nth-child(1), a:focus-visible .nav__link-stack > :nth-child(1), button:focus-visible .nav__link-stack > :nth-child(1) {
  transform: translateY(-100%);
  opacity: 0;
}
.nav__link-stack:hover > :nth-child(2), .nav__link-stack:focus-visible > :nth-child(2), a:hover .nav__link-stack > :nth-child(2), button:hover .nav__link-stack > :nth-child(2), a:focus-visible .nav__link-stack > :nth-child(2), button:focus-visible .nav__link-stack > :nth-child(2) {
  transform: translateY(0);
  opacity: 1;
}
.nav__link-label {
  display: block;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Forms — outlined fields + floating label ───────────
   Each field is a full outlined box; the label rests inside (as the
   placeholder) and floats up to notch the top border on focus / when
   filled. Name fields are stacked one per line.
   ──────────────────────────────────────────────────────────────────── */
/* ─ Form container ─────────────────────────────────────────────── */
.contact-form {
  display: grid;
  gap: 0;
}
.contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__submit {
  justify-self: start;
}
.contact-form__status {
  font-size: var(--paragraph-sm);
  min-height: 1.4em;
  margin-top: 0.75rem;
}
.contact-form__status[data-state=success] {
  color: var(--color-primary);
}
.contact-form__status[data-state=error] {
  color: var(--color-danger);
}

/* ─ Field group ─────────────────────────────────────────────────── */
.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-group--checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* ─ Inputs: full outline box ────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--paragraph);
  font-weight: 300;
  transition: border-color var(--dur-fast) var(--ease);
}
.form-input::-moz-placeholder, .form-select::-moz-placeholder, .form-textarea::-moz-placeholder {
  opacity: 0;
  color: transparent;
}
.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  opacity: 0;
  color: transparent;
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--color-cta);
}
.form-input[aria-invalid=true],
.form-select[aria-invalid=true],
.form-textarea[aria-invalid=true] {
  border-color: var(--color-danger);
}

.form-textarea {
  resize: vertical;
  min-height: clamp(6rem, 16vw, 9rem);
}

/* ─ Floating label ──────────────────────────────────────────────────
   At rest it sits inside the field where the text starts (acting as the
   placeholder); floated it rides the top border with a bg notch. */
.form-label {
  position: absolute;
  top: 1rem;
  left: 0.65rem;
  padding-inline: 0.35rem;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--paragraph);
  font-weight: 300;
  line-height: 1;
  color: var(--color-fg-quiet);
  pointer-events: none;
  transition: top var(--dur) var(--ease), transform var(--dur) var(--ease), font-size var(--dur) var(--ease), letter-spacing var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.form-label .req {
  font-size: 0.65em;
  opacity: 0.55;
  margin-left: 0.1rem;
}

/* Shared floated appearance (rides the top border, notched). */
.form-input:not(:-moz-placeholder) ~ .form-label, .form-textarea:not(:-moz-placeholder) ~ .form-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--color-bg);
}
.form-group:focus-within .form-label, .form-group--select .form-label,
.form-group.is-filled .form-label, .form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--color-bg);
}

/* Float when the field has content (text inputs + textarea). */
/* Selects always show their value, so their label stays floated. */
/* Float on focus — last so it wins, and tints the label with the accent. */
.form-group:focus-within .form-label {
  color: var(--color-link);
}

/* ─ Select + chevron ────────────────────────────────────────────── */
.form-select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-group--select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--color-fg-quiet);
  border-bottom: 1.5px solid var(--color-fg-quiet);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: border-color var(--dur-fast) var(--ease);
}

.form-group--select:focus-within::after {
  border-color: var(--color-cta);
}

/* ─ Error messages ──────────────────────────────────────────────── */
.form-error {
  display: block;
  color: var(--color-danger);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  min-height: 1em;
  margin-top: 0.35rem;
}

/* ─ Checkbox ────────────────────────────────────────────────────── */
.form-checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.form-checkbox:checked {
  background: var(--color-cta);
  border-color: var(--color-cta);
}
.form-checkbox:checked::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: rgb(14, 27, 16);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.form-checkbox:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.form-checkbox-label {
  font-size: var(--paragraph-sm);
}
.form-checkbox-label a {
  color: var(--color-link);
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Service cards ───────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40em) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 56em) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  display: block;
  background: var(--color-bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow: hidden;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--color-fg-quiet);
}
.service-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-block: 1rem;
  color: var(--color-link);
}
.service-card__name {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-family: var(--font-body);
  font-weight: 500;
}
.service-card__desc {
  color: var(--color-fg-quiet);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}
.service-card__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-content: center;
  border-radius: 0;
  border: 1px solid var(--color-border);
  opacity: 0;
  transform: translate(0.25rem, 0.25rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover {
  background: rgb(14, 27, 16);
  color: rgb(220, 242, 224);
}
.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: none;
  background: var(--color-cta);
  border-color: transparent;
  color: rgb(14, 27, 16);
}
.service-card:hover .service-card__num {
  color: rgba(225, 228, 222, 0.6);
}
.service-card:hover .service-card__desc {
  color: rgba(225, 228, 222, 0.7);
}

/* ─ Reviews track ─ */
.reviews-controls {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Prev/next: enlarge past the 2.25rem .btn--outline default to a 2.75rem
   (44px) touch target. SVG stays its inherited size, centered. */
.reviews-btn.btn--outline {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
}

.reviews-dots {
  display: inline-flex;
  gap: 0.35rem;
  height: 2.25rem;
}
.reviews-dots span {
  width: 0.5rem;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--color-border);
  transition: background var(--dur) var(--ease);
}
.reviews-dots span.is-active {
  background: var(--color-cta);
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  transition: transform var(--dur-slow) var(--ease);
}

.review-card {
  flex: 0 0 100%;
  max-width: 38rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
}
@media (min-width: 40em) {
  .review-card {
    flex-basis: 60%;
  }
}
.review-card__quote {
  max-width: 48ch;
  margin-bottom: 1.5rem;
}
.review-card__name {
  font-family: var(--font-heading);
}
.review-card__role {
  font-size: var(--paragraph);
  color: var(--color-fg-quiet);
  margin-top: 0.25rem;
}

/* Recognition list */
.recognition-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.recognition-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body);
}
@media (min-width: 40em) {
  .recognition-item {
    grid-template-columns: 6rem 1fr 1fr;
  }
}
.recognition-item__year {
  font-family: var(--font-display);
  font-size: 1rem;
}
.recognition-item__title {
  font-family: var(--font-heading);
  font-size: var(--h4);
  font-weight: var(--fw-medium);
}
.recognition-item__title a {
  transition: color var(--dur) var(--ease);
}
.recognition-item__title a:hover {
  color: var(--color-link);
}
.recognition-item__org {
  color: var(--color-fg-quiet);
  font-size: 0.9375rem;
}

/* Contact details list */
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-block: 2rem;
}
.contact-detail__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--color-link);
}
.contact-detail__label {
  font-size: var(--paragraph-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: 0.15rem;
}
.contact-detail__value a {
  transition: color var(--dur) var(--ease);
}
.contact-detail__value a:hover {
  color: var(--color-link);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Page loader ──────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  background: var(--color-bg);
  gap: 1rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader.is-done {
  animation: fadeOutLoader 0.7s var(--ease) forwards;
}
.loader__logo {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  text-align: center;
}
.loader__bar {
  width: clamp(8rem, 30vw, 18rem);
  height: 1px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}
.loader__bar-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--color-fg);
  transition: inset var(--dur) var(--ease);
}
.loader__count {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-align: center;
  color: var(--color-fg-quiet);
}
.loader[data-style=circle] .loader__bar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-fg);
  animation: spin 1s linear infinite;
  background: transparent;
}
.loader[data-style=circle] .loader__bar .loader__bar-fill {
  display: none;
}
.loader[data-style=minimal] .loader__bar, .loader[data-style=minimal] .loader__count {
  display: none;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Page transition (panel sweep) ───────────────────────
   A brand-ink panel sweeps up from below to cover the screen on exit,
   then continues up and off the top to reveal the new page on enter —
   one smooth, single-direction motion across the navigation. The reveal
   is a CSS animation triggered by `html.ladder-entering` (set before
   first paint by the inline head script), so the new page is hidden under
   the panel at paint and never flashes; JS only removes the class as
   cleanup. The studio mark fades through the middle for a touch of weight.
   ──────────────────────────────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  overflow: hidden;
}
.page-transition__panel {
  position: absolute;
  inset: 0;
  /* Theme-aware: the curtain is the ink colour (opposite of the page
     background), so it always contrasts and flips with light/dark —
     dark panel over a light page, light panel over a dark page. */
  background: var(--color-fg);
  display: grid;
  place-items: center;
  transform: translateY(100%); /* rest: parked below the viewport */
  will-change: transform;
}
.page-transition__mark {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.6rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-bg); /* contrasts with the ink panel, in both themes */
  opacity: 0;
}

/* Exit: panel sweeps up from below to cover. */
html.ladder-leaving .page-transition__panel {
  animation: ptCover var(--pt-dur, 700ms) cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

html.ladder-leaving .page-transition__mark {
  animation: ptMarkIn var(--pt-dur, 700ms) ease forwards;
}

/* Enter (new page): panel starts covering, sweeps up and off the top. */
html.ladder-entering .page-transition__panel {
  transform: translateY(0); /* covering at first paint — no flash */
  animation: ptReveal var(--pt-dur, 700ms) cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

html.ladder-entering .page-transition__mark {
  animation: ptMarkOut var(--pt-dur, 700ms) ease forwards;
}

@keyframes ptCover {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes ptReveal {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}
@keyframes ptMarkIn {
  0% {
    opacity: 0;
  }
  55%, 100% {
    opacity: 1;
  }
}
@keyframes ptMarkOut {
  0% {
    opacity: 1;
  }
  70%, 100% {
    opacity: 0;
  }
}
/* Reduced motion: no sweep. JS skips the transition entirely (normal
   navigation); this hides the panel as a belt-and-braces fallback. */
@media (prefers-reduced-motion: reduce) {
  .page-transition__panel {
    display: none;
  }
}
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Hero zoom-morph overlay ─────────────────────────────
   A single image tile that scales between a menu cell's media and the
   destination page's hero, bridging the navigation as one continuous
   zoom. Driven by assets/js/global/hero-morph.js:
     • EXIT  — JS grows the tile to full bleed, then navigates.
     • ENTER — the inline <head> script sets `--hero-morph-img` and adds
               `html.ladder-hero-entering`, so the image covers the screen
               at first paint; JS then settles it into [data-hero-target].
   The overlay never takes pointer events and sits above the page-transition
   panel so the two systems never fight.
   ──────────────────────────────────────────────────────────────────── */
.hero-morph {
  position: fixed;
  inset: 0;
  z-index: 111;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

.hero-morph__media {
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: var(--color-card-bg);
  will-change: top, left, width, height;
  backface-visibility: hidden;
}

/* Beat the global `[class*="__media"]` rounding (equal specificity, later
   in source) so the morphing tile is a clean square at full bleed — no
   notches at the screen corners. Two classes raise specificity above the
   single-attribute allowlist selector. */
.hero-morph .hero-morph__media {
  border-radius: 0 !important;
}

/* ENTER cover: painted before first frame by the inline head script, so
   the new page is hidden under its own hero image — no white flash. */
html.ladder-hero-entering .hero-morph {
  opacity: 1;
  visibility: visible;
}
html.ladder-hero-entering .hero-morph__media {
  width: 100%;
  height: 100%;
  background-image: var(--hero-morph-img);
}

/* No-JS safety: if scripting is unavailable the JS settle never runs, so
   fade the cover out on its own to keep the page usable. (With JS — even
   reduced-motion or a failed GSAP load — hero-morph.js dismisses it.) */
@media (scripting: none) {
  html.ladder-hero-entering .hero-morph {
    animation: heroMorphReveal 0.6s ease 0.35s forwards;
  }
}
@keyframes heroMorphReveal {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* Reduced motion: the overlay still prevents a flash on entry, but JS
   dismisses it instantly rather than animating. Nothing to do here. */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Language switcher ────────────────────────────────── */
.lang-switcher {
  position: relative;
}
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.lang-switcher__icon, .lang-switcher__chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.lang-switcher__chevron {
  transition: transform var(--dur) var(--ease);
}
.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}
.lang-switcher__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: auto;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  opacity: 0;
  transform: translateY(-0.5rem);
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.lang-switcher.is-open .lang-switcher__list {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.lang-switcher__link {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.lang-switcher__link.is-active {
  background: var(--color-fg);
  color: var(--color-bg);
}
.lang-switcher__link:hover:not(.is-active) {
  background: var(--color-card-bg);
}
.lang-switcher__code {
  font-family: var(--font-display);
  width: 2rem;
}
.lang-switcher__label {
  color: var(--color-fg-quiet);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Bento grid ──────────────────────────────────────── */
.bento {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 14rem;
}
@media (min-width: 40em) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 18rem;
  }
}
@media (min-width: 56em) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 16rem;
  }
}
.bento__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  grid-column: span 2;
}

/* ─ Work item ─ */
.work-item {
  background: var(--color-card-bg);
}
@media (min-width: 56em) {
  .work-item--large {
    grid-column: span 4;
    grid-row: span 2;
  }
}
@media (min-width: 56em) {
  .work-item--medium {
    grid-column: span 3;
    grid-row: span 1;
  }
}
@media (min-width: 40em) {
  .work-item--small {
    grid-column: span 2;
  }
}
@media (min-width: 56em) {
  .work-item--small {
    grid-column: span 2;
  }
}
.work-item__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.work-item__bg--placeholder {
  display: grid;
  place-content: center;
  background: var(--color-card-bg);
  color: var(--color-fg-quiet);
  font-family: var(--font-display);
  font-size: 4rem;
}
.work-item__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: rgba(0, 0, 0, 0.4);
  color: rgb(220, 242, 224);
}
.work-item__cat {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.35rem;
}
.work-item__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
}
.work-item__year {
  font-size: 0.8125rem;
  opacity: 0.65;
  margin-top: 0.25rem;
}
.work-item__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-content: center;
  background: #BD9544;
  color: rgb(14, 27, 16);
  border-radius: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.work-item:hover .work-item__bg {
  transform: scale(1.04);
}
.work-item:hover .work-item__icon {
  opacity: 1;
  transform: none;
}

/* ─ Journal card ─ */
.journal-card {
  background: var(--color-card-bg);
  display: flex;
  flex-direction: column;
}
@media (min-width: 56em) {
  .journal-card--large {
    grid-column: span 4;
    grid-row: span 2;
  }
}
@media (min-width: 56em) {
  .journal-card--medium {
    grid-column: span 3;
  }
}
@media (min-width: 40em) {
  .journal-card--small {
    grid-column: span 2;
  }
}
@media (min-width: 56em) {
  .journal-card--small {
    grid-column: span 2;
  }
}
.journal-card__media {
  flex: 1 1 auto;
  min-height: 8rem;
  overflow: hidden;
}
.journal-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.journal-card:hover .journal-card__media img {
  transform: scale(1.04);
}
.journal-card__body {
  padding: 1.25rem 1.5rem;
}
.journal-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: 0.5rem;
}
.journal-card__title {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.25;
}
.journal-card__excerpt {
  color: var(--color-fg-quiet);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}

/* ─ Reviews bento tiles ─ */
.review-tile {
  background: var(--color-card-bg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 56em) {
  .review-tile--large {
    grid-column: span 4;
    grid-row: span 2;
  }
}
@media (min-width: 56em) {
  .review-tile--medium {
    grid-column: span 3;
  }
}
@media (min-width: 40em) {
  .review-tile--small {
    grid-column: span 2;
  }
}
@media (min-width: 56em) {
  .review-tile--small {
    grid-column: span 2;
  }
}
.review-tile__rating {
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--color-link);
}
.review-tile__quote {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}
.review-tile__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
}
.review-tile__role {
  font-size: 0.8125rem;
  color: var(--color-fg-quiet);
  margin-top: 0.25rem;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: FAQ accordion ───────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-card-bg);
  transition: background var(--dur) var(--ease);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 3vw, 1.75rem);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--paragraph);
  color: var(--color-fg);
  transition: color var(--dur) var(--ease);
}
.faq-item__icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.faq-item__icon svg {
  position: absolute;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq-item__icon-minus {
  opacity: 0;
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}
.faq-item__a > * {
  padding-block: 0.25rem;
}
.faq-item__a p {
  color: var(--color-fg-quiet);
}
.faq-item[aria-expanded=true], .faq-item.is-open {
  background: var(--color-bg);
}
.faq-item[aria-expanded=true] .faq-item__a, .faq-item.is-open .faq-item__a {
  padding-block: 0 1.25rem;
}
.faq-item[aria-expanded=true] .faq-item__icon-plus, .faq-item.is-open .faq-item__icon-plus {
  opacity: 0;
  transform: rotate(45deg);
}
.faq-item[aria-expanded=true] .faq-item__icon-minus, .faq-item.is-open .faq-item__icon-minus {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Sticky list (process / services / legal) ────────── */
.process-page-layout,
.services-page-layout,
.legal-layout,
.team-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 56em) {
  .process-page-layout,
  .services-page-layout,
  .legal-layout,
  .team-page-layout {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
  }
}

/* Push the whole block (title list + detail) flush to the right of the
   container on desktop — mirrors it over from the left. The detail track
   is sized to the panel's own 35rem cap (instead of the filling `1fr`),
   then `justify-content: end` slides both tracks to the right edge so the
   empty space lands on the left. Inner prose is right-aligned too. */
@media (min-width: 56em) {
  .services-page-layout,
  .process-page-layout {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 35rem);
    justify-content: end;
  }
}

.sticky-list {
  min-width: 25%;
}
@media (min-width: 56em) {
  .sticky-list {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}
.sticky-list__items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sticky-list__item {
  border-bottom: 1px solid var(--color-border);
}
.sticky-list__btn {
  width: 100%;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  text-align: left;
  color: var(--color-fg-quiet);
  transition: color var(--dur) var(--ease);
}
.sticky-list__num {
  font-family: var(--font-display);
  font-size: var(--paragraph-med);
  min-width: 2.5rem;
}
.sticky-list__name {
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.sticky-list__item.is-active .sticky-list__btn {
  color: var(--color-fg);
}
.sticky-list__item.is-active .sticky-list__btn::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-fg);
  opacity: 0.5;
}
.sticky-list {
  /* ── Mobile / tablet (single-column below $bp-lg): the stage list
     becomes a horizontal, swipeable chip row sitting above the detail.
     It scrolls sideways with a swipe when wider than the viewport;
     native momentum scrolling, scrollbar hidden. ── */
}
@media (max-width: 55.99em) {
  .sticky-list__items {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .sticky-list__items::-webkit-scrollbar {
    display: none;
  }
  .sticky-list__item {
    flex: 0 0 auto;
    border-bottom: none;
    scroll-snap-align: start;
  }
  .sticky-list__btn {
    padding: 0.55rem 0.9rem;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius) !important;
  }
  .sticky-list__num {
    min-width: 0;
  }
  .sticky-list__item.is-active .sticky-list__btn::after {
    content: none;
  }
}
.sticky-list__detail {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 60vh, 40rem);
  width: min(100%, 35rem);
}
.sticky-list__panel {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 100%, 0); /* default: parked below */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.65s ease, visibility 0s linear 0.65s;
  scroll-margin-top: 8rem;
}
.sticky-list__panel.is-active {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.65s ease, visibility 0s linear 0s;
}
.sticky-list__panel.is-leaving {
  transform: translate3d(0, -100%, 0); /* slide UP out the top */
  opacity: 0;
  visibility: visible;
}
.sticky-list__panel-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-link);
  margin-bottom: 1rem;
}
.sticky-list__panel-title {
  margin-bottom: 1rem;
}
.sticky-list__panel-summary {
  font-size: var(--paragraph);
  color: var(--color-fg-quiet);
  margin-bottom: 1.5rem;
}
.sticky-list__panel-body {
  line-height: 1.7;
}

.deliverables-list {
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: end;
}
.deliverables-list li, .deliverables-list .card__num {
  padding: 0.75rem 1rem;
  background: var(--color-card-bg);
  font-size: 1.5rem;
  border-radius: var(--radius-sm) !important;
}

/* Legacy `.process-stack` removed in v3 — the user's update moves the
   process content to the Services page using the same `.sticky-list`
   slide-swap pattern as the rest of the site, so the stacked-card
   variant is no longer used. */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Marquee (hero) ──────────────────────────────────── */
/* Both selectors render the same component — `.page-hero__marquee` is the
   one the page-hero template part emits; `.hero__marquee` is the legacy
   name used elsewhere. Style them identically. */
.hero__marquee,
.page-hero__marquee {
  margin-top: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  padding-block: clamp(0.75rem, 1.5vw, 1.25rem);
  white-space: nowrap;
}

.hero__marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 4rem;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
}

.hero__marquee-item {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.hero__marquee-item::after {
  content: "✦";
  display: inline-block;
  margin-left: 4rem;
  color: var(--color-cta);
  opacity: 0.6;
  transform: translateY(-0.1em);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Filter buttons (portfolio, faq) ─────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.filters__btn {
  padding: 0.5rem 1rem;
  border-radius: 0;
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-fg-quiet);
  transition: all var(--dur-fast) var(--ease);
}
.filters__btn:hover {
  color: var(--color-fg);
  border-color: var(--color-fg);
}
.filters__btn.is-active {
  background: var(--color-fg);
  color: var(--color-bg);
  border-color: var(--color-fg);
}

.portfolio-item {
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.portfolio-item.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  display: none;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Page hero (inner pages) ─────────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(10rem, 22vw, 16rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__content {
  position: relative;
  z-index: 1;
}
.page-hero__eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: 1rem;
}
.page-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.page-hero__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 7.5rem);
  line-height: 1.02;
}
.page-hero__subtitle {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--color-fg-quiet);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}
.page-hero {
  /* Hero visual: the page's featured image, and the landing target for the
     menu → hero zoom-morph (assets/js/global/hero-morph.js). Rounded via
     the global `[class*="__media"]` allowlist. */
}
.page-hero__media {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  width: 100%;
  max-width: 64rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-card-bg);
}
.page-hero__img, .page-hero__video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border: 0;
}
.page-hero {
  /* `&__marquee` styled in components/_marquee.scss alongside its sibling
     `.hero__marquee` rules so both selectors stay in sync. */
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Component: Works list (home — vertical, hover reveal) ────────── */
.works-list-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

.works-list-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--paragraph);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
  text-decoration: none;
  border-block-end: 1px solid var(--color-border);
  padding-block-end: 0.25rem;
  transition: border-color var(--dur-fast) var(--ease);
}
.works-list-section__cta:hover, .works-list-section__cta:focus-visible {
  border-color: var(--color-fg);
}

.works-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-block-start: 1px solid var(--color-border);
}

.work-row {
  position: relative;
  border-block-end: 1px solid var(--color-border);
}
@media (hover: hover) {
  .works-list:hover .work-row__link {
    color: var(--color-fg-quiet);
  }
  .works-list:hover .work-row__link:hover, .works-list:hover .work-row__link:focus-visible {
    color: var(--color-fg);
  }
}

.work-row__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  justify-content: space-between;
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  padding-inline: 0;
  color: var(--color-fg);
  text-decoration: none;
  position: relative;
  transition: color var(--dur-fast) var(--ease), padding var(--dur) var(--ease);
}
@media (hover: hover) {
  .work-row__link:hover, .work-row__link:focus-visible {
    padding-inline-start: clamp(0.5rem, 1vw, 1rem);
  }
}

.heading__3 {
  font-weight: 500;
  min-width: 30%;
}

.work-row__cat {
  font-family: var(--font-body);
  font-size: var(--paragraph);
  opacity: 0.55;
  margin-inline-start: 0.25em;
}

/* ── Floating media reveal (desktop — cursor-follow) ─────────────── */
.work-row__media {
  position: absolute;
  top: 0;
  left: 0;
  /* Large, viewport-height-driven preview capped at 65vh; width follows
     the 4/5 portrait ratio. The WorksCursor module positions it under the
     pointer, so it floats over the list rather than pinning to one edge. */
  height: clamp(18rem, 48vw, 65vh);
  width: auto;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-tile);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  /* Individual transform properties: JS drives `translate` (cursor follow)
     and `rotate` (velocity tilt + elastic wobble) every frame, while CSS
     owns `scale` (reveal settle). None of them fight over one `transform`. */
  translate: var(--wx, 0px) var(--wy, 0px);
  rotate: var(--wr, 0deg);
  scale: 0.92;
  transform-origin: center;
  transition: opacity var(--dur) var(--ease), scale var(--dur-slow) var(--ease);
  will-change: translate, rotate;
}
.work-row__media img, .work-row__media video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

@media (hover: hover) {
  /* Image rests slightly zoomed and settles to 1 as the tile reveals —
     a layered "develop into place" depth cue. */
  .work-row__media :is(img, video) {
    scale: 1.12;
    transition: scale var(--dur-slow) var(--ease);
  }
  .work-row__link:hover .work-row__media,
  .work-row__link:focus-visible .work-row__media {
    opacity: 1;
    scale: 1;
  }
  .work-row__link:hover .work-row__media :is(img, video),
  .work-row__link:focus-visible .work-row__media :is(img, video) {
    scale: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-row__media {
    rotate: none !important;
  }
  .work-row__media,
  .work-row__media :is(img, video) {
    scale: none !important;
  }
}
/* ── Mobile / no-hover: image-card with text overlaid ────────────── */
@media (hover: none), (max-width: 39.999em) {
  .works-list {
    border-block-start: none;
  }
  .work-row {
    border-block-end: none;
    margin-block-end: clamp(0.75rem, 2.5vw, 1.5rem);
  }
  .work-row:last-child {
    margin-block-end: 0;
  }
  .work-row__link {
    display: block;
    padding: 0;
    position: relative;
    border-radius: var(--radius-tile);
    overflow: hidden;
  }
  .work-row__media {
    position: relative;
    inset: auto;
    /* Reset the desktop cursor-follow sizing + transforms. */
    height: auto;
    width: 100%;
    translate: none;
    rotate: none;
    scale: none;
    opacity: 1;
    /* Portrait on narrow phones (fills the single column), widening to
       landscape as the viewport grows so larger phones / portrait tablets
       aren't dominated by one tall tile. */
    aspect-ratio: 4/5;
    border-radius: var(--radius-tile);
    z-index: 0;
    pointer-events: auto;
    /* static base; JS adds the reveal */
  }
}
@media (hover: none) and (min-width: 30em), (max-width: 39.999em) and (min-width: 30em) {
  .work-row__media {
    aspect-ratio: 3/2;
  }
}
@media (hover: none), (max-width: 39.999em) {
  .work-row__media img, .work-row__media video {
    scale: none;
  }
  .work-row__name,
  .work-row__cat {
    position: absolute;
    inset-inline-start: 1rem;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    z-index: 2;
  }
  .work-row__name {
    inset-block-end: 2.5rem;
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }
  .work-row__cat {
    inset-block-end: 1rem;
    margin-inline-start: 0;
    opacity: 0.9;
    font-size: 0.875rem;
  }
  .work-row__link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
  }
}
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Components: Block patterns (full-height editorial sections) ──────
   Styles for the Ladder block patterns inserted from the editor. Each is a
   100vh section in the site voice; the PatternAnims JS module reveals the
   media (clip wipe) and text (fade-up) on scroll. Media frames carry the
   card surface so an un-filled placeholder still reads as a deliberate box.
   ──────────────────────────────────────────────────────────────────── */
.pattern-section {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 6vw, 5rem);
  place-items: center;
  align-content: center;
  /* Media frame */
}
.pattern-section .pattern-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
}
.pattern-section .pattern-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: inherit !important; /* beat the global sharp reset */
}
.pattern-section {
  /* Text voice */
}
.pattern-section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-heading);
  line-height: 1;
  text-wrap: balance;
  margin: 0;
}
.pattern-section p {
  font-family: var(--font-body);
  margin: 0;
}
.pattern-section .pattern-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.pattern-section .pattern-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.pattern-section .pattern-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  max-width: 46ch;
  text-wrap: pretty;
}
.pattern-section {
  /* On-brand CTA buttons inside patterns */
}
.pattern-section .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-cta);
  color: rgb(14, 27, 16);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: 0.04em;
  padding: 0.7rem 1.5rem;
  border-radius: 0 !important;
  transition: background var(--dur) var(--ease);
}
.pattern-section .wp-block-button__link:hover, .pattern-section .wp-block-button__link:focus-visible {
  background: var(--color-cta-h);
}

/* 1 ── One large image, edge to edge ─────────────────────────────── */
.pattern-section--image-full {
  padding: 0;
  gap: 0;
}
.pattern-section--image-full .pattern-media {
  height: 100vh;
  height: 100dvh;
  border-radius: 0;
}
.pattern-section--image-full .pattern-media img {
  border-radius: 0 !important;
}

/* 2 ── Two images side by side ───────────────────────────────────── */
.pattern-section--duo {
  grid-template-columns: 1fr;
}
@media (min-width: 40em) {
  .pattern-section--duo {
    grid-template-columns: 1fr 1fr;
  }
}
.pattern-section--duo .pattern-media {
  height: 42vh;
}
@media (min-width: 40em) {
  .pattern-section--duo .pattern-media {
    height: 74vh;
  }
}

/* 3 ── Three images: one tall, two stacked ───────────────────────── */
.pattern-section--trio {
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}
.pattern-section--trio .pattern-media {
  height: 30vh;
}
@media (min-width: 40em) {
  .pattern-section--trio {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .pattern-section--trio .pattern-media {
    height: 100%;
    min-height: 0;
  }
  .pattern-section--trio .pattern-media:first-child {
    grid-row: 1/3;
  }
  .pattern-section--trio {
    min-height: 100vh;
  }
}

/* 4 ── Project brief + meta ──────────────────────────────────────── */
.pattern-section--brief {
  place-items: start;
  align-content: center;
  text-align: left;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.pattern-section--brief > * {
  width: 100%;
  max-width: 56rem;
}
.pattern-section--brief .pattern-meta {
  margin-top: clamp(1.5rem, 4vw, 3rem) !important;
  gap: clamp(1.5rem, 4vw, 3rem) !important;
}
.pattern-section--brief .pattern-meta__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: 0.35rem !important;
}
.pattern-section--brief .pattern-meta__value {
  font-family: var(--font-heading);
  font-size: var(--h4);
  line-height: 1.1;
}

/* 5 ── View-live CTA over an image ───────────────────────────────── */
.pattern-section--live {
  padding: 0;
  position: relative;
  place-items: center;
}
.pattern-section--live .pattern-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  z-index: 0;
}
.pattern-section--live .pattern-media img {
  border-radius: 0 !important;
}
.pattern-section--live::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.pattern-section--live .pattern-cta {
  position: relative;
  z-index: 2;
}

/* 6 ── Text beside a square image ────────────────────────────────── */
.pattern-section--text-square {
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 40em) {
  .pattern-section--text-square {
    grid-template-columns: 1fr 1fr;
  }
}
.pattern-section--text-square .pattern-text {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pattern-section--text-square .pattern-text p {
  font-size: var(--paragraph);
  line-height: 1.6;
  max-width: 42ch;
}
.pattern-section--text-square .pattern-media--square {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: min(60vh, 100%);
  justify-self: center;
}

/* 7 ── Big image beside text ─────────────────────────────────────── */
.pattern-section--split {
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 56em) {
  .pattern-section--split {
    grid-template-columns: 1.4fr 1fr;
  }
}
.pattern-section--split .pattern-media {
  height: 48vh;
}
@media (min-width: 56em) {
  .pattern-section--split .pattern-media {
    height: 78vh;
  }
}
.pattern-section--split .pattern-text {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pattern-section--split .pattern-text p {
  font-size: var(--paragraph);
  line-height: 1.6;
  max-width: 38ch;
}

/* 8 ── Large centred statement ───────────────────────────────────── */
.pattern-section--statement .pattern-statement {
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.02;
  text-align: center;
  max-width: 22ch;
  text-wrap: balance;
}

/* Pages */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Pages: Home ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 96vh;
  min-height: 96dvh;
  padding: clamp(9rem, 20vw, 14rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.hero {
  /* Headline lines up edge-for-edge with the floating nav (both are
     container-max wide). The .container keeps its gutter of inline padding
     at EVERY breakpoint, which otherwise leaves the headline inset from the
     nav by that gutter — so pull it back out by the gutter at all sizes, not
     just from $bp-md. */
}
.hero__headline {
  width: auto;
  margin-inline: calc(var(--gutter) * -1);
}
.hero__headline h1 {
  display: flex;
  flex-direction: column;
  gap: clamp(0.05rem, 0.4vw, 0.4rem);
  width: 100%;
  text-align: center;
  line-height: 0.95;
  font-size: clamp(3rem, 11vw, 13rem); /* bigger, fluid */
}
.hero__line {
  display: block;
  white-space: normal;
  text-wrap: balance;
}
.hero__line:nth-child(2) {
  color: var(--color-primary);
}
.hero {
  /* Showreel slot. Starts small + centred (the "before" state), sized as a
     fraction of the content column. The HeroVideo module grows its real
     `width` on scroll — height follows the 16:9 ratio — so it expands both
     horizontally (staying centred) and vertically toward the bottom,
     pushing the sub-copy below it down into the big "later" frame. */
}
.hero__video {
  position: relative;
  align-self: center;
  width: 36%;
  min-width: 15rem;
  max-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  will-change: width;
  background: var(--color-card-bg);
}
.hero__video-frame {
  position: absolute;
  inset: 0;
}
.hero__video-frame :is(video, img, iframe) {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero__video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.hero {
  /* Right-aligned: description on top, button stacked beneath it. */
}
.hero__sub {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: flex-end;
  width: 100%;
}
.hero__desc {
  color: var(--color-fg-quiet);
  max-width: var(--reading-max);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.hero__scroll-line {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: currentColor;
  animation: scrollHint 2s var(--ease) infinite;
}

@keyframes scrollHint {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(0.5rem);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line {
    animation: none;
    opacity: 0.6;
  }
}
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Pages: Portfolio / Projects (v2.2 — slide stack) ─────────────── */
.section--portfolio-stack {
  padding: 0;
  color: var(--color-white);
  background: var(--color-black);
}

.portfolio-stack {
  position: relative;
  width: 100%;
  height: 100vh;
}
.portfolio-stack__viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.portfolio-stack__slide {
  position: absolute;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  max-width: 100%;
  pointer-events: none;
  /* Deliberately NO opacity / transform / will-change on the slide: it
     must not form a stacking context, so every media-card (z-index 2)
     layers above every background (z-index 0) inside the one context
     the sticky viewport creates. That shared plane is what lets the
     outgoing and incoming cards push past each other while the
     backgrounds cross-fade underneath. Visibility of bg / overlay /
     meta is driven per-child off `.is-active` below. */
}
.portfolio-stack__slide.is-active {
  pointer-events: auto;
}
.portfolio-stack__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.portfolio-stack {
  /* Background + overlay cross-fade per active slide (the "scene"). */
}
.portfolio-stack__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-stack__slide.is-active .portfolio-stack__bg {
  opacity: 1;
}
.portfolio-stack__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-stack__slide.is-active .portfolio-stack__overlay {
  opacity: 1;
}
.portfolio-stack {
  /* Media reel: a fixed box (one work's size) centred in the viewport with
     overflow hidden. Every work's media stacks in one vertical track inside
     it; the PortfolioStack module translates the track (--py) so the
     incoming work pushes the current one up and out of the box, coupled like
     a film strip. The box sits above the backgrounds; clicks pass through
     (pointer-events: none) to the active slide link beneath. */
}
.portfolio-stack__reel {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: clamp(14rem, 32vw, 26rem);
  aspect-ratio: 4/5;
  max-height: 72vh;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.18); /* subtle drop */
  background: rgba(20, 20, 20, 0.85);
  pointer-events: none;
}
.portfolio-stack__reel-track {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* --py is the continuous scroll index (0..N-1) set by JS. Each item
     is one box tall, so shifting up by that many box-heights reels the
     strip — the next item pushes the current one out the top. */
  translate: 0 calc(var(--py, 0) * -100%);
  will-change: translate;
}
.portfolio-stack__reel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.portfolio-stack__reel-item > video,
.portfolio-stack__reel-item > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.portfolio-stack {
  /* Bottom-left meta: title / category / year. Cross-fades with the bg. */
}
.portfolio-stack__meta {
  position: absolute;
  inset-block-end: clamp(2rem, 5vw, 4rem);
  inset-inline-start: clamp(2rem, 5vw, 4rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-stack__slide.is-active .portfolio-stack__meta {
  opacity: 1;
  filter: blur(0);
}
.portfolio-stack__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.01em;
}
.portfolio-stack__cat, .portfolio-stack__year {
  margin: 0;
  font-size: var(--paragraph-sm);
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.portfolio-stack {
  /* Bottom-right counter: 01 / NN. Cross-fades with the bg. */
}
.portfolio-stack__count {
  position: absolute;
  inset-block-end: clamp(2rem, 5vw, 4rem);
  inset-inline-end: clamp(2rem, 5vw, 4rem);
  z-index: 3;
  font-size: var(--paragraph-sm);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  letter-spacing: 0.04em;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-stack__slide.is-active .portfolio-stack__count {
  opacity: 0.85;
}
.portfolio-stack {
  /* Dot nav along the bottom centre. */
}
.portfolio-stack__nav {
  position: absolute;
  inset-block-end: clamp(0.75rem, 1.5vw, 1.25rem);
  inset-inline: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
}
.portfolio-stack__nav-dot {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  pointer-events: auto;
  width: 1.75rem;
  height: 2px;
  background: var(--color-cta-h);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease);
}
.portfolio-stack__nav-dot:hover, .portfolio-stack__nav-dot:focus-visible {
  background: rgba(255, 255, 255, 0.7);
}
.portfolio-stack__nav-dot.is-active {
  background: var(--color-cta);
  width: 2.5rem;
}

/* Mobile: shrink the reel box. */
@media (max-width: 39.99em) {
  .portfolio-stack__reel {
    width: min(80vw, 22rem);
    max-height: 60vh;
  }
}
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.section--about-body {
  padding-top: 0;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.team-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 56em) {
  .team-layout {
    grid-template-columns: minmax(14rem, 18rem) 1fr;
  }
}

.team-positions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 56em) {
  .team-positions {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}
.team-positions__btn {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.team-positions__btn:hover {
  color: var(--color-fg);
}
.team-positions__btn.is-active {
  color: var(--color-fg);
  padding-left: 1rem;
}

.team-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 30em) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 56em) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-card-bg);
}
.team-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease);
}
.team-card__img--placeholder {
  background: var(--color-card-bg);
}
.team-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  color: rgb(220, 242, 224);
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(40%);
  transition: transform var(--dur-slow) var(--ease);
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  text-transform: uppercase;
}
.team-card__role {
  font-size: 0.8125rem;
  opacity: 0.75;
  margin-top: 0.15rem;
}
.team-card:hover .team-card__overlay {
  transform: translateY(0);
}
.team-card:hover .team-card__img {
  transform: scale(1.04);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Pages: Journal (v3 — uniform responsive grid) ────────────────── */
/* Fixed-columns responsive layout (per /strict item 3, option 2):
   1 col on mobile, 2 on tablet, 3 on desktop. Cards are equal-size — no
   featured-tile variation, no bento sizing. */
.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 40em) {
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 56em) {
  .journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.journal-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.journal-card:hover, .journal-card:focus-visible {
  border-color: var(--color-fg);
  transform: translateY(-2px);
}
.journal-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.journal-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.journal-card:hover .journal-card__media img {
  transform: scale(1.03);
}
.journal-card__body {
  padding: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.journal-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin: 0;
}
.journal-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
}
.journal-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-fg-quiet);
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Pages: Process (v2.4 — approach: title-list + sliding image/desc) ── */
.section--approach {
  background: var(--color-bg);
  color: var(--color-fg);
}

.approach-header {
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}
.approach-header h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* `.approach-layout` extends `.process-page-layout` from
   components/_sticky-list.scss (two-column grid, sticky left). The class
   also opts this instance into hover-driven panel swaps in the JS. */
.approach-layout .sticky-list__name {
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.02em;
}
.approach-layout .sticky-list__btn {
  padding-block: clamp(1rem, 1.75vw, 1.4rem);
  cursor: pointer;
}
.approach-layout .sticky-list__item {
  border-bottom: 1px solid var(--color-border);
}

/* ── Right column: panels with media on top, body below ─────────── */
.approach-detail {
  position: relative;
  min-height: clamp(28rem, 60vh, 40rem);
  overflow: hidden;
}

.approach-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.approach-panel__media {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-fg);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
}
.approach-panel__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}

.approach-panel.is-active .approach-panel__media img {
  transform: scale(1);
}

.approach-panel__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.approach-panel__summary {
  margin: 0.75rem 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--color-fg-quiet);
  line-height: 1.35;
}

.approach-panel__content {
  margin-block-start: 1rem;
  color: var(--color-fg);
  line-height: 1.7;
}
.approach-panel__content p {
  margin-block: 0 1rem;
}
.approach-panel__content p:last-child {
  margin-block-end: 0;
}

.section--process-cta {
  background: var(--color-bg);
  color: var(--color-fg);
  padding-block: clamp(4rem, 10vw, 8rem);
  text-align: center;
}
.section--process-cta .process-cta h2 {
  margin-block-end: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.approach-footer {
  display: flex;
  justify-content: end;
  background: var(--color-bg);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.faq-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.gallery-page {
  padding: 6rem 0 0;
  min-height: 100vh;
}

/* ── Tile grid ────────────────────────────────────────────────────── */
.gallery-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 16rem;
  background: transparent;
  padding: 1rem;
  border-block: 1px solid var(--color-border);
}
@media (min-width: 40em) {
  .gallery-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 18rem;
  }
}
@media (min-width: 56em) {
  .gallery-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 20rem;
  }
}
.gallery-bento__item {
  position: relative;
  display: block;
  overflow: hidden;
  grid-column: span 2;
  background: var(--color-bg);
  cursor: zoom-in;
  transition: grid-column 0.5s var(--ease), grid-row 0.5s var(--ease), z-index 0s linear 0.5s;
}
@media (min-width: 56em) {
  .gallery-bento__item--large {
    grid-column: span 4;
    grid-row: span 2;
  }
}
@media (min-width: 56em) {
  .gallery-bento__item--wide {
    grid-column: span 3;
  }
}
@media (min-width: 56em) {
  .gallery-bento__item--tall {
    grid-row: span 2;
  }
}
.gallery-bento__item--square { /* default */ }
.gallery-bento__item:hover .gallery-bento__img {
  transform: scale(1.04);
}
.gallery-bento__item {
  /* Inline expansion when the tile is the active preview. The grid
     reflows around it; on small screens (where the drawer fills the
     width) we skip the expand so the layout doesn't get cramped. */
}
.gallery-bento__item.is-expanded {
  cursor: zoom-out;
  z-index: 2;
  transition: grid-column 0.5s var(--ease), grid-row 0.5s var(--ease), z-index 0s linear 0s;
}
@media (min-width: 40em) {
  .gallery-bento__item.is-expanded {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (min-width: 56em) {
  .gallery-bento__item.is-expanded {
    grid-column: span 3;
    grid-row: span 2;
  }
}
.gallery-bento__item.is-expanded .gallery-bento__img {
  transform: scale(1.02);
}
.gallery-bento__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

/* ── Preview drawer (slides in from the right; no full-screen overlay) ─ */
.gallery-preview {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(28rem, 92vw);
  z-index: 120;
  background: var(--color-bg);
  border-inline-start: 1px solid var(--color-border);
  box-shadow: -2rem 0 4rem rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.gallery-preview.is-open {
  transform: translateX(0);
}
@media (max-width: 39.999em) {
  .gallery-preview {
    width: 100vw;
  }
}
.gallery-preview__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #BD9544;
  color: rgb(14, 27, 16);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform var(--dur) var(--ease);
}
.gallery-preview__close:hover {
  transform: scale(1.05);
}
.gallery-preview__close:focus-visible {
  outline: 2px solid #BD9544;
  outline-offset: 0.25rem;
  border-radius: clamp(0.4rem, 0.6rem + 0.4vw, 0.8rem);
}
.gallery-preview__figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-border);
}
.gallery-preview__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.gallery-preview__body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gallery-preview__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.gallery-preview__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.gallery-preview__meta > :empty {
  display: none;
}
.gallery-preview__meta > span + span {
  position: relative;
}
.gallery-preview__meta > span + span::before {
  content: "·";
  margin-inline-end: 1rem;
  color: var(--color-border);
}
.gallery-preview__excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-fg);
}
.gallery-preview__excerpt:empty {
  display: none;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Single Service (single-services.php) ───────────────────────────
   Lead excerpt + full detail, with a sticky aside listing deliverables
   and a primary CTA. Mirrors the two-column rhythm of the sticky-list
   layouts used across the site. */
.section--service-single {
  background: var(--color-bg);
  color: var(--color-fg);
}

.service-single {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.service-single__cover {
  margin: 0;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-card-bg);
}
.service-single__cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.service-single__layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 56em) {
  .service-single__layout {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
  }
}
.service-single {
  /* Sticky aside: deliverables + CTA. */
}
.service-single__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 56em) {
  .service-single__aside {
    position: sticky;
    top: 8rem;
  }
}
.service-single__aside-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--paragraph);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.service-single__deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.service-single__deliverables li {
  padding-block: clamp(0.75rem, 1.5vw, 1rem);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--paragraph);
  line-height: 1.3;
}
.service-single__deliverables li:first-child {
  border-top: 1px solid var(--color-border);
}
.service-single {
  /* Body: lead excerpt (larger) then the full content. */
}
.service-single__body {
  max-width: var(--reading-max);
}
.service-single__lead {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-fg);
  text-wrap: pretty;
}
.service-single__content {
  color: var(--color-fg-quiet);
  line-height: 1.7;
}
.service-single__content > :first-child {
  margin-top: 0;
}
.service-single__content > :last-child {
  margin-bottom: 0;
}

.section--service-nav {
  background: var(--color-bg);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.reviews-grid {
  margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Pages: Legal / Privacy ───────────────────────────────────────────
   Long-form reading layout sat inside a `.sticky-list__panel`. The
   primary goals: comfortable reading measure, generous vertical
   spacing between sections, and clear typographic hierarchy. */
.section--legal-page {
  padding-block-start: clamp(2.5rem, 5vw, 4rem);
  padding-block-end: clamp(4rem, 8vw, 6rem);
}

.legal-detail {
  max-width: 42rem; /* ~70ch reading measure */
  padding-block-end: 2rem; /* room above next panel boundary */
  /* Section header (panel-level intro). */
}
.legal-detail__head {
  margin-block-end: clamp(2rem, 4vw, 3rem);
  padding-block-end: clamp(1rem, 2vw, 1.5rem);
  border-block-end: 1px solid var(--color-border);
}
.legal-detail .sticky-list__panel-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.legal-detail__intro {
  margin: 1rem 0 0;
  color: var(--color-fg-quiet);
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
}
.legal-detail {
  /* A single article inside a section (h3 + body). */
}
.legal-detail__entry {
  margin-block: clamp(2.5rem, 5vw, 3.5rem);
}
.legal-detail__entry:first-of-type {
  margin-block-start: 0;
}
.legal-detail__entry:last-of-type {
  margin-block-end: 0;
}
.legal-detail__entry-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.legal-detail__entry-body {
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.7;
  color: var(--color-fg-quiet);
}
.legal-detail__entry-body p {
  margin-block: 0 1rem;
}
.legal-detail__entry-body p:last-child {
  margin-block-end: 0;
}
.legal-detail__entry-body ul, .legal-detail__entry-body ol {
  margin-block: 0 1rem;
  padding-inline-start: 1.25rem;
}
.legal-detail__entry-body ul li, .legal-detail__entry-body ol li {
  margin-block-end: 0.5rem;
  line-height: 1.65;
}
.legal-detail__entry-body h4 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-fg);
}
.legal-detail__entry-body a {
  color: var(--color-link);
  border-block-end: 1px solid currentColor;
}
.legal-detail__entry-body a:hover {
  color: var(--color-link-h);
}
.legal-detail__entry-body strong {
  color: var(--color-fg);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.sitemap {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 40em) {
  .sitemap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 56em) {
  .sitemap {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sitemap__group-title {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.sitemap__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sitemap__links a {
  transition: color var(--dur-fast) var(--ease);
}
.sitemap__links a:hover {
  color: var(--color-link);
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.error-404 {
  min-height: 92vh;
  min-height: 92dvh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.error-404__bg {
  position: absolute;
  inset: 0;
}
.error-404__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.error-404__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: clamp(3rem, 12vw, 11rem);
  line-height: 1;
  margin-block: 1rem;
}
.error-404__desc {
  color: var(--color-fg-quiet);
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.error-404__actions {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Single-work hero ─────────────────────────────────────────────────
   The DOM order is __content → __bg → __overlay (content first, per
   /strict item 4 from the previous brief). __bg and __overlay are
   absolutely positioned full-bleed; __content is the natural in-flow
   child and lifts above them with z-index so the title sits over the
   image. The title color stays cream (`$color-white`) in both themes
   for reliable legibility against any uploaded image. */
.work-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  color: rgb(220, 242, 224);
}
.work-detail-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  z-index: 0;
}
.work-detail-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
}
.work-detail-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.work-detail-hero__eyebrow {
  font-size: var(--paragraph-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 0.75rem;
}
.work-detail-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}

.work-detail {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 56em) {
  .work-detail {
    grid-template-columns: minmax(14rem, 18rem) 1fr;
  }
}
@media (min-width: 56em) {
  .work-detail__meta {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}
.work-detail__meta-item {
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.work-detail__meta-item:first-child {
  padding-top: 0;
}
.work-detail {
  /* ── Mobile / tablet (single-column below $bp-lg): meta becomes a
     horizontal, swipeable chip row above the content. Scrolls sideways
     with a swipe when wider than the viewport. ── */
}
@media (max-width: 55.99em) {
  .work-detail__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .work-detail__meta::-webkit-scrollbar {
    display: none;
  }
  .work-detail__meta-item {
    flex: 0 0 auto;
    min-width: -moz-max-content;
    min-width: max-content;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius) !important;
    scroll-snap-align: start;
  }
  .work-detail__meta-item:first-child {
    padding-top: 0.75rem;
  }
}
.work-detail .pdf-flipbook__controls {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 1rem;
}
.work-detail__meta-label {
  font-size: var(--paragraph-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
  margin-bottom: 0.25rem;
}
.work-detail__meta-value {
  font-family: var(--font-body);
  font-weight: 500;
}
.work-detail__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.work-detail__services li {
  font-size: var(--paragraph-sm);
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
}
.work-detail__cover {
  margin-block: 1rem 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.work-detail__cover img {
  width: 100%;
  height: auto;
}
.work-detail__body p {
  margin-bottom: 1rem;
}

.work-nav {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}
.work-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: color var(--dur) var(--ease);
}
.work-nav__link:hover {
  color: var(--color-link);
}
.work-nav__link--next {
  text-align: right;
}
.work-nav__dir {
  font-size: var(--paragraph-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}
.work-nav__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
/* ── Pages: Work — Case Study single layout ──────────────────────────
   Selected per-work from the dashboard. Reuses .work-detail-hero, then a
   brief + meta band, then an editorial block canvas. The body uses a
   named-line grid so default blocks sit on a reading column while aligned
   media (alignwide / alignfull) break out wider or full-bleed.
   ──────────────────────────────────────────────────────────────────── */
/* ── Intro: brief + meta sidebar ─────────────────────────────────── */
.section--work-case-intro {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.work-case-intro {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 56em) {
  .work-case-intro {
    grid-template-columns: 1.6fr 1fr;
  }
}

.work-case-intro__brief {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  max-width: 32ch;
  margin: 0;
  text-wrap: pretty;
}

.work-case-intro__meta {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.work-case-intro__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.work-case-intro__meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}

.work-case-intro__meta-value {
  font-family: var(--font-heading);
  font-size: var(--h4);
  line-height: 1.1;
}

.work-case-intro__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}
.work-case-intro__services li {
  font-size: var(--paragraph-sm);
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--color-border);
}

.work-case-intro__meta-cta {
  padding-block: 1.25rem 0;
}

/* ── Body: editorial block canvas ────────────────────────────────── */
.section--work-case-body {
  padding-block: clamp(1rem, 4vw, 3rem) clamp(4rem, 10vw, 8rem);
}

.work-case__content {
  display: grid;
  /* full | wide | reading column | wide | full — default blocks sit on
     the centre track; aligned media span the wider / full tracks. The
     content track uses minmax(0, 68ch) (not min(68ch, 100%)) so it shrinks
     below the gutters on narrow screens instead of forcing overflow. */
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 10rem) [content-start] minmax(0, 68ch) [content-end] minmax(0, 10rem) [wide-end] minmax(var(--gutter), 1fr) [full-end];
}
.work-case__content > * {
  grid-column: content;
  min-width: 0;
}
.work-case__content > .alignwide {
  grid-column: wide;
}
.work-case__content > .alignfull {
  grid-column: full;
}
.work-case__content {
  /* Vertical rhythm. Grid items' margins never collapse, so set top-only
     (lobotomised owl) to avoid summed double-gaps. */
}
.work-case__content > * + * {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.work-case__content {
  /* More air on either side of media / layout blocks. */
}
.work-case__content > :where(figure, .wp-block-image, .wp-block-gallery, .wp-block-video,
.wp-block-embed, .wp-block-columns) + *,
.work-case__content > * + :where(figure, .wp-block-image, .wp-block-gallery, .wp-block-video,
.wp-block-embed, .wp-block-columns) {
  margin-top: clamp(3rem, 7vw, 5rem);
}
.work-case__content {
  /* Media */
}
.work-case__content :where(img, video, iframe) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card) !important; /* beat the global sharp reset */
}
.work-case__content {
  /* Full-bleed media reads better with square corners against the edge. */
}
.work-case__content > .alignfull :where(img, video, iframe) {
  border-radius: 0 !important;
}
.work-case__content figcaption {
  margin-top: 0.75rem;
  font-size: var(--paragraph-sm);
  color: var(--color-fg-quiet);
  text-align: center;
}
.work-case__content {
  /* Galleries / columns → responsive grid */
}
.work-case__content .wp-block-gallery {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.work-case__content {
  /* Headings + prose in the site voice */
}
.work-case__content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-family: var(--font-heading);
  line-height: 1.02;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  text-wrap: balance;
}
.work-case__content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-family: var(--font-heading);
  line-height: 1.05;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  text-wrap: balance;
}
.work-case__content p, .work-case__content li {
  font-family: var(--font-body);
  font-size: var(--paragraph);
  line-height: 1.6;
}
.work-case__content p {
  text-wrap: pretty;
}
.work-case__content {
  /* Pull quote */
}
.work-case__content blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  line-height: 1.12;
  color: var(--color-fg);
  padding-block: clamp(1.5rem, 4vw, 3rem);
  margin-block: clamp(1.5rem, 4vw, 3rem);
}
.work-case__content blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.work-case__content {
  /* In-copy links keep the brand underline treatment from .page-content */
}

/* ════════════════════════════════════════════════════════════════════
   Case Study v2 — categories bar → brief → row list (accordion).
   Built from the per-work "Ladder — Case Study" meta box. The shared hero
   in single-work.php is untouched; this is everything below it.
   ════════════════════════════════════════════════════════════════════ */
.section--case {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

/* ── Categories bar ──────────────────────────────────────────────── */
.case-cats {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: clamp(0.75rem, 1.6vw, 1.1rem);
  border-bottom: 1px solid var(--color-border);
}
.case-cats__label {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.case-cats__tags {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-quiet);
}

/* ── Brief (the excerpt) ─────────────────────────────────────────── */
.case-brief {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}
.case-brief__text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.005em;
  max-width: 46ch;
  color: var(--color-fg);
  text-wrap: pretty;
}

/* ── Row list (accordion) ────────────────────────────────────────── */
.case-rows {
  border-top: 1px solid var(--color-fg);
}

/* Title on top, content opens below it (downward). */
.case-row {
  display: block;
  border-bottom: 1px solid var(--color-border);
}

/* The <h2> exists for semantics only; the button inside owns all styling. */
.case-row__heading {
  margin: 0;
  font: inherit;
}

.case-row__head {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.1rem, 2.4vw, 1.9rem) clamp(2.5rem, 6vw, 4rem);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-fg);
  text-align: center;
  transition: color var(--dur-fast, 0.2s) var(--ease), background var(--dur-fast, 0.2s) var(--ease);
}

.case-row__head:hover,
.case-row.is-open .case-row__head {
  color: var(--color-link);
}

.case-row__head:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: -4px;
}

.case-row__title {
  display: inline-block;
}

/* + / − indicator, pinned right */
.case-row__plus {
  position: absolute;
  right: clamp(1rem, 2.5vw, 1.75rem);
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  flex: none;
}

.case-row__plus::before,
.case-row__plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
}

.case-row__plus::before {
  width: 100%;
  height: 2px;
}

.case-row__plus::after {
  width: 2px;
  height: 100%;
}

.case-row.is-open .case-row__plus::after {
  opacity: 0;
} /* + becomes − (no animation) */
/* Panel — traditional show/hide. No height animation, no overflow clipping,
   no transition: closed panels are fully removed from layout (`display:none`)
   and shown instantly on open. Keeps the images out of any animated/clipped
   container so they always paint. */
/* JS animates `height` (0 ⇄ content) — see assets/js/sections/work-case.js.
   Directional easing: smooth slow-settle on open, quicker on close. (Safe to
   animate now: the old image-vanish bug was the data-count/Counters attribute
   collision, since fixed by renaming to data-images.) */
.case-row__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.4s var(--ease-exit); /* closing */
}

.case-row.is-open .case-row__panel {
  transition: height 0.52s var(--ease-enter); /* opening */
}

.case-row__content {
  padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem);
}

/* Text rows: right-aligned, pushed to the right edge (per the design) */
.case-row__text {
  margin-left: auto;
  max-width: 62ch;
  color: var(--color-fg-quiet);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  text-wrap: pretty;
}
.case-row__text p {
  margin: 0 0 1rem;
}
.case-row__text p:last-child {
  margin-bottom: 0;
}
.case-row__text--caption {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
}

/* Image rows: 1–3 images side by side, stacking on small screens */
.case-row__media {
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  grid-template-columns: 1fr; /* mobile: always a single vertical stack */
  /* Multi-up layouts only from tablet/up; mobile stays stacked. */
}
@media (min-width: 40em) {
  .case-row__media[data-images="2"] {
    grid-template-columns: 1fr 1fr;
  }
  .case-row__media[data-images="3"] {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-row__media {
    /* A lone image must not span the whole canvas — cap its track + centre. */
  }
  .case-row__media[data-images="1"] {
    grid-template-columns: minmax(0, 48rem);
    justify-content: center;
  }
}
.case-row__media {
  /* Lone image: no card-bg behind it, at any width. */
}
.case-row__media[data-images="1"] .case-row__img {
  background: none;
}

.case-row__img {
  margin: 0;
  background: var(--color-card-bg);
  /* Shown whole (not cropped), capped at 75vh tall, rounded directly. */
}
.case-row__img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  margin-inline: auto;
  border-radius: var(--radius) !important;
}

/* Live-link row: a full-width link styled like a row */
.case-row--link {
  text-decoration: none;
  color: var(--color-fg);
}
.case-row--link:hover {
  color: var(--color-link);
}

.case-row__head--static {
  cursor: default;
  pointer-events: none;
}

.case-row--link:hover .case-row__head--static {
  color: var(--color-link);
}

.case-row__arrow {
  position: absolute;
  right: clamp(1rem, 2.5vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.1rem;
}

/* ════════════════════════════════════════════════════════════════════
   LADDER STUDIOS — main.scss
   Master entry; compiles to /dist/main.css.

   Local workflow (run once in a terminal at the theme root, leave open):
     sass --watch assets/scss/main.scss:dist/main.css --no-source-map --style=compressed

   The server only serves what's on disk in dist/. Edit SCSS locally,
   the watcher compiles on save, then commit/upload dist/main.css with
   the rest of the theme.
   ════════════════════════════════════════════════════════════════════ */
.team-member {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 56em) {
  .team-member {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
  }
}
.team-member__list {
  display: flex;
  flex-direction: column;
}
@media (min-width: 56em) {
  .team-member__list {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}
.team-member__list-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-fg-quiet);
  transition: color var(--dur) var(--ease);
}
.team-member__list-item:hover, .team-member__list-item.is-active {
  color: var(--color-fg);
}
.team-member__list-name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-transform: uppercase;
}
.team-member__list-role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-member__profile {
  max-width: 50rem;
}
.team-member__media {
  aspect-ratio: 4/5;
  max-width: 32rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  background: var(--color-card-bg);
}
.team-member__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.team-member__name {
  margin-block: 0.25rem 0.25rem;
}
.team-member__role {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-fg-quiet);
  margin-bottom: 1rem;
}
.team-member__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.team-member__skills li {
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
}
.team-member__bio {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--color-fg-quiet);
  margin-bottom: 1rem;
}
.team-member__body {
  line-height: 1.7;
}
.team-member__socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.team-member__socials a {
  font-size: 0.875rem;
  transition: color var(--dur-fast) var(--ease);
}
.team-member__socials a:hover {
  color: var(--color-link);
}

/* Theme toggle + radius safety override (also present in compiled main.css). */
.theme-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--color-fg);
  transition: background var(--dur-fast) var(--ease);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 0.25rem;
}
.theme-toggle__icon {
  position: absolute;
  width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.theme-toggle__icon svg {
  width: 100%;
  height: 100%;
}
.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0);
}
.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(40deg);
}

[data-theme=dark] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(-40deg);
}

[data-theme=dark] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0);
}

*, *::before, *::after {
  border-radius: 0 !important;
}

/* ════════════════════════════════════════════════════════════════════
   Rounded corners. Re-introduces a soft radius (var(--radius), 1–1.3rem)
   on cards, media and controls — overriding the global sharp reset above
   (class/attribute selectors beat the universal `*`, even with !important).
   Everything else stays sharp by default.
   ════════════════════════════════════════════════════════════════════ */
.nav,
.portfolio-stack__reel,
.hero__video, .hero__video-frame,
.btn,
.work-row__media,
.review-card,
.about-image, .about-image__tag, .about-image__placeholder,
.contact-form,
.form-input, .form-select, .form-textarea,
.faq-item,
.menu-panel__grid, .menu-panel__cell,
.approach-panel__media,
[class*=__media], [class*=__image], [class*=__img],
[class*=__thumb], [class*=__cover], [class*=__photo],
[class*=card], [class*=__tile], [class*=__box] {
  border-radius: var(--radius) !important;
}

.theme-toggle, .lang-switcher__toggle, .lang-switcher__list, .lang-switcher__link,
.nav-toggle, .btn--outline {
  border-radius: var(--radius-sm) !important;
}

/* Round the media that fills the rounded wrappers above, so images/videos
   follow the corners even where the wrapper has no overflow clipping. */
.hero__video > *, .hero__video-frame > *,
.work-row__media > *, .approach-panel__media > *,
.about-image > img,
[class*=__media] > img, [class*=__media] > video, [class*=__media] > iframe,
[class*=__image] > img, [class*=__image] > video {
  border-radius: var(--radius) !important;
}

/* ════════════════════════════════════════════════════════════════════
   Touch targets. On touch-primary devices (coarse pointer) guarantee a
   44×44px (2.75rem) minimum hit area on the small icon controls. Mouse /
   desktop (fine pointer) keep the tighter visual sizing — the icons stay
   centred, only the box grows. WCAG 2.5.5 / Apple HIG 44pt. (The reviews
   prev/next buttons are already bumped to 2.75rem in _cards.scss.)
   ════════════════════════════════════════════════════════════════════ */
@media (pointer: coarse) {
  .nav-toggle,
  .theme-toggle,
  .btn--outline {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
  }
  .lang-switcher__toggle,
  .nav__cta-pill {
    min-height: 2.75rem;
  }
}/*# sourceMappingURL=main.css.map */