/* ==========================================================================
   Studio Maiyam: site stylesheet
   Palette and type come from the Studio Maiyam Brand Guidelines (Sept 2026).
   Headings: Agatho Light Caps (licensed) with Cormorant SC as the web stand-in.
   Body: Brother 1816 Printed (licensed) with Jost as the web stand-in.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --rust: #7F2400;      /* Primary: Deep Rust */
  --beige: #F4D79F;     /* Primary: Warm Beige */
  --terra: #C84C19;     /* Secondary: Terracotta */
  --umber: #421603;     /* Secondary: Dark Umber */
  --paper: #FBF3E4;     /* Support tone: Paper */

  /* Derived tones (mixed only from the palette) */
  --sand: color-mix(in srgb, var(--beige) 46%, var(--paper));
  --ink: var(--umber);
  --ink-soft: color-mix(in srgb, var(--umber) 74%, var(--paper));
  --ink-mute: color-mix(in srgb, var(--umber) 58%, var(--paper));
  --line: color-mix(in srgb, var(--umber) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--umber) 32%, transparent);

  /* Type */
  --f-display: "Agatho", "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --f-body: "Brother 1816", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-tamil: "Noto Serif Tamil", "Nirmala UI", "Latha", serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.125rem;
  --t-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  --t-h4: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --t-h3: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --t-h2: clamp(2.375rem, 1.6rem + 2.8vw, 4.25rem);
  --t-h1: clamp(3rem, 1.8rem + 4.6vw, 6.5rem);
  --t-display: clamp(3.25rem, 1.6rem + 6.4vw, 8.5rem);

  /* Space */
  --gutter: clamp(20px, 4vw, 64px);
  --wrap: 1440px;
  --sec: clamp(64px, 3rem + 3.2vw, 112px);
  --sec-sm: clamp(48px, 2.5rem + 2vw, 80px);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-in: 150ms;
  --t-out: 120ms;
  --t-img: 700ms;

  --radius: 2px;
  color-scheme: light;
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  interpolate-size: allow-keywords;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease); }
::view-transition-group(pj-cover) { animation-duration: 800ms; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
::view-transition-old(pj-cover), ::view-transition-new(pj-cover) { height: 100%; object-fit: cover; animation-duration: 800ms; }
::view-transition-group(site-header) { animation-duration: 420ms; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
/* Jost Light reads thin below 14px: small notes keep Regular */
.ph__label, .figcap, .hero__aside, .footer-bottom, .field .error, .form-foot p { font-weight: 400; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--beige); color: var(--umber); }

h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
  font-feature-settings: "liga" 1, "kern" 1;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.08; }
h4 { font-size: var(--t-h4); line-height: 1.15; font-weight: 400; }
.display { font-size: var(--t-display); line-height: .94; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-soft); max-width: 40ch; text-wrap: pretty; }
.body-copy { max-width: 60ch; color: var(--ink-soft); text-wrap: pretty; }
.small { font-size: var(--t-sm); }
.muted { color: var(--ink-mute); }

/* Tracked caps: the brand's subtitle style (Brother 1816 caps, tracked). Used sparingly. */
.kicker {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0;
}

.visually-hidden {
  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-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  background: var(--umber); color: var(--paper); padding: 12px 18px; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform var(--t-in) var(--ease);
}
.skip-link:focus-visible { transform: none; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: var(--sec-sm); }
.section--sand { background: var(--sand); }
.section--beige { background: var(--beige); }
.section--rust { background: var(--rust); color: var(--beige); }
.section--umber { background: var(--umber); color: var(--beige); }
.section--rust .lead, .section--umber .lead,
.section--rust .body-copy, .section--umber .body-copy { color: color-mix(in srgb, var(--beige) 82%, transparent); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head h2 { max-width: 14ch; }

main { display: block; overflow-x: clip; }
.page-top { padding-top: calc(var(--header-h) + clamp(56px, 7vw, 120px)); }

/* ---------- Logo (official artwork, recoloured with a mask) ---------- */
.logo {
  display: block;
  width: var(--logo-w, 172px);
  aspect-ratio: 720 / 189;
  background-color: currentColor;
  -webkit-mask: url("../img/brand/logo-primary.png") center / contain no-repeat;
  mask: url("../img/brand/logo-primary.png") center / contain no-repeat;
}
.logo--mark {
  aspect-ratio: 960 / 512;
  -webkit-mask-image: url("../img/brand/logo-mark.png");
  mask-image: url("../img/brand/logo-mark.png");
}
/* Header and footer logo share one size, on every viewport */
:root { --logo-w: 172px; }
@media (max-width: 899px) { :root { --logo-w: 140px; } }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--rust); --btn-fg: var(--beige); --btn-bd: var(--rust);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px;
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 500; letter-spacing: .02em; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--t-out) var(--ease), color var(--t-out) var(--ease), border-color var(--t-out) var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--umber));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 420ms var(--ease-enter);
}
.btn .icon { width: 16px; height: 16px; transition: transform var(--t-out) var(--ease); }
.btn--light { --btn-bg: var(--beige); --btn-fg: var(--umber); --btn-bd: var(--beige); --btn-hover: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; --btn-hover: color-mix(in srgb, currentColor 12%, transparent); }
.on-dark .btn--ghost { --btn-fg: var(--beige); --btn-bd: color-mix(in srgb, var(--beige) 70%, transparent); --btn-hover: color-mix(in srgb, var(--beige) 14%, transparent); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); transition-duration: var(--t-in); }
  .btn:hover::before { transform: scaleY(1); }
  .btn:not(.btn--light):not(.btn--ghost):hover { color: var(--beige); border-color: var(--umber); }
  .btn:hover .icon { transform: translateX(3px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: var(--t-sm); letter-spacing: .02em;
  padding-block: 6px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat,
    linear-gradient(color-mix(in srgb, currentColor 28%, transparent), color-mix(in srgb, currentColor 28%, transparent)) left bottom / 100% 1px no-repeat;
  transition: background-size 380ms var(--ease-enter);
}
.link .icon { width: 14px; height: 14px; transition: transform var(--t-out) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 100% 1px, 100% 1px; }
  .link:hover .icon { transform: translateX(3px); }
}
.link:focus-visible { background-size: 100% 1px, 100% 1px; }
.icon { flex: none; }

/* ---------- Image placeholders ----------
   Swap a placeholder for a photograph by adding <img src="..." alt="..."> inside .ph
   (the image covers the pattern automatically).                                       */
.ph {
  --ph-bg: var(--sand);
  --ph-fg: var(--umber);
  position: relative; overflow: hidden;
  background: var(--ph-bg);
  aspect-ratio: var(--ar, 4 / 5);
  margin: 0;
  isolation: isolate;
}
.ph__inner {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ph-fg) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ph-fg) 7%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  transition: transform var(--t-img) var(--ease);
  will-change: transform;
}
.ph__inner::after {
  /* the logo mark, faint, as a watermark */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: clamp(56px, 16%, 132px); aspect-ratio: 960 / 512;
  transform: translate(-50%, -50%);
  background: var(--ph-fg); opacity: .12;
  -webkit-mask: url("../img/brand/logo-mark.png") center / contain no-repeat;
  mask: url("../img/brand/logo-mark.png") center / contain no-repeat;
}
.ph__label {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-size: 12px; letter-spacing: .04em; line-height: 1.3;
  color: color-mix(in srgb, var(--ph-fg) 62%, transparent);
  max-width: calc(100% - 32px);
}
.ph > img, .ph > picture, .ph > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
  transition: transform var(--t-img) var(--ease);
}
.ph--beige { --ph-bg: var(--beige); }
.ph--paper { --ph-bg: color-mix(in srgb, var(--beige) 22%, var(--paper)); }
.ph--rust  { --ph-bg: color-mix(in srgb, var(--rust) 88%, var(--umber)); --ph-fg: var(--beige); }
.ph--umber { --ph-bg: color-mix(in srgb, var(--umber) 92%, var(--rust)); --ph-fg: var(--beige); }
.ph--terra { --ph-bg: color-mix(in srgb, var(--terra) 70%, var(--beige)); --ph-fg: var(--umber); }
.ph--wide { --ar: 16 / 9; }
.ph--cinema { --ar: 21 / 9; }
.ph--land { --ar: 3 / 2; }
.ph--square { --ar: 1 / 1; }
.ph--tall { --ar: 3 / 4; }

/* linked photographs zoom inside their frame */
@media (hover: hover) and (pointer: fine) {
  .zoom:hover .ph__inner, .zoom:hover .ph > img { transform: scale(1.03); }
}
.zoom:focus-visible .ph__inner { transform: scale(1.03); }

@media (max-width: 899px) and (min-width: 560px) {
  .statement__media .ph, .founder__media .ph { --ar: 4 / 3; }
  .ph--tall { --ar: 4 / 5; }
}
.figcap { margin-top: 12px; font-size: var(--t-xs); color: var(--ink-mute); letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header {
  view-transition-name: site-header;
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--umber);
  transition: background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 1; transition: opacity 400ms var(--ease);
}
.has-hero .site-header:not(.is-solid) { color: var(--beige); }
.has-hero .site-header:not(.is-solid)::before { opacity: 0; }
.header-inner {
  height: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; padding-block: 8px; }
.nav { justify-self: end; }
.nav ul { display: flex; gap: clamp(18px, 2vw, 34px); }
.nav a {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: var(--t-sm); font-weight: 400; letter-spacing: .02em;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 380ms var(--ease-enter);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.header-cta { min-height: 44px; padding: 12px 20px; }
.has-hero .site-header:not(.is-solid) .header-cta { --btn-bg: transparent; --btn-fg: var(--beige); --btn-bd: color-mix(in srgb, var(--beige) 70%, transparent); --btn-hover: color-mix(in srgb, var(--beige) 16%, transparent); }

.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease-enter), opacity 200ms; }
.menu-btn span:nth-child(1) { transform: translateY(-5px); }
.menu-btn span:nth-child(2) { transform: translateY(5px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); }

@media (max-width: 1080px) and (min-width: 900px) {
  .nav ul { gap: 16px; }
  .header-inner { gap: 20px; }
}
@media (max-width: 899px) {
  /* Mobile: logo centred and sticky, menu on the right */
  .header-inner { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .brand { grid-column: 2; justify-self: center; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; grid-column: 3; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--rust); color: var(--beige);
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(110px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  visibility: hidden; opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms var(--ease-io), opacity 300ms var(--ease), visibility 0s 600ms;
  overflow-y: auto;
}
.menu-open .menu { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 600ms var(--ease-io), opacity 200ms var(--ease), visibility 0s; }
.menu-open .site-header { color: var(--beige); }
.menu-open .site-header::before { opacity: 0; }
.menu ul li { overflow: hidden; }
.menu ul a {
  display: block; padding: 6px 0;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(2.25rem, 9vw, 3.25rem); line-height: 1.1;
  transform: translateY(105%); transition: transform 600ms var(--ease-enter);
}
.menu-open .menu ul a { transform: none; transition-delay: calc(140ms + var(--i, 0) * 50ms); }
.menu ul a[aria-current="page"] { color: var(--paper); }
.menu__foot { font-size: var(--t-sm); color: color-mix(in srgb, var(--beige) 80%, transparent); display: grid; gap: 6px; }
@media (min-width: 900px) { .menu { display: none; } }
.menu-open { overflow: hidden; }

/* ---------- Floating contact buttons (desktop) and sticky bar (mobile) ---------- */
.fab {
  position: fixed; bottom: clamp(20px, 2.4vw, 36px); z-index: 80;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0 16px;
  border-radius: 999px;
  background: var(--rust); color: var(--beige);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--beige) 28%, transparent), 0 10px 30px -12px color-mix(in srgb, var(--umber) 60%, transparent);
  transition: transform 500ms var(--ease-enter), background-color var(--t-in) var(--ease), gap 420ms var(--ease-enter);
}
.fab--call { left: clamp(20px, 2.4vw, 36px); transform: translateX(calc(-100% - 48px)); }
.fab--wa { right: clamp(20px, 2.4vw, 36px); transform: translateX(calc(100% + 48px)); background: var(--terra); flex-direction: row-reverse; }
.fab.is-in { transform: none; }
.fab svg { width: 24px; height: 24px; flex: none; position: relative; z-index: 1; }
.fab__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: .02em;
  transition: max-width 480ms var(--ease-enter), opacity 300ms var(--ease);
  opacity: 0;
}
.fab::before {
  /* soft ring that breathes outward */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid currentColor; opacity: 0;
  animation: fab-ring 4.8s var(--ease) infinite;
}
.fab--wa::before { animation-delay: 2.4s; }
@keyframes fab-ring {
  0% { transform: scale(1); opacity: .55; }
  45%, 100% { transform: scale(1.45); opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .fab:hover { gap: 12px; }
  .fab:hover .fab__label { max-width: 180px; opacity: 1; }
  .fab--call:hover { background: var(--umber); }
  .fab--wa:hover { background: var(--rust); }
}
.fab:focus-visible { gap: 12px; }
.fab:focus-visible .fab__label { max-width: 180px; opacity: 1; }
.fab:active { transform: scale(.97); }

.cta-bar { display: none; }
@media (max-width: 899px) {
  .fab { display: none; }
  .cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 600ms var(--ease-enter);
  }
  .cta-bar.is-in { transform: none; }
  .cta-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; border-radius: var(--radius);
    font-weight: 500; font-size: var(--t-sm); letter-spacing: .02em;
    transition: transform 90ms var(--ease), background-color var(--t-in);
  }
  .cta-bar a:active { transform: scale(.97); }
  .cta-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@keyframes wa-nudge {
  0%, 84%, 100% { transform: none; }
  88% { transform: rotate(-12deg) scale(1.08); }
  92% { transform: rotate(10deg) scale(1.08); }
  96% { transform: rotate(-4deg); }
}

/* ---------- Hero (Home) ----------
   Featured project photographs crossfade with a slow zoom; a footer row names the
   project pictured, shows the slide timing and a scroll cue.                       */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--beige); background: var(--umber);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.hero__slide .ph__inner, .hero__slide .ph > img { transform: scale(1.14); transition: transform 7.5s linear; }
.is-loaded .hero__slide.is-active .ph__inner, .is-loaded .hero__slide.is-active .ph > img { transform: scale(1); }
.hero__slide .ph__inner::after { left: 76%; top: 40%; width: clamp(80px, 10vw, 150px); }
.hero__slide .ph__label { top: calc(var(--header-h) + 14px); bottom: auto; left: auto; right: var(--gutter); }
@media (max-width: 899px) { .hero__slide .ph__inner::after { left: 50%; top: 26%; } }
.hero__shade {
  /* Brand rule: Dark Umber layer over darker photographs */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, color-mix(in srgb, var(--umber) 86%, transparent) 0%, color-mix(in srgb, var(--umber) 30%, transparent) 55%, color-mix(in srgb, var(--umber) 46%, transparent) 100%);
  mix-blend-mode: multiply;
}
.hero__content {
  position: relative; z-index: 4;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(100px, 8vw, 116px); /* clears the Call and WhatsApp buttons */
  display: grid; row-gap: clamp(40px, 6vw, 88px);
}
.hero__text { max-width: 780px; }
.hero__text .kicker { color: color-mix(in srgb, var(--beige) 88%, transparent); margin-bottom: clamp(18px, 2vw, 28px); font-family: var(--f-body); font-size: var(--t-xs); }
.hero__text .display { margin-bottom: clamp(20px, 2.4vw, 32px); color: var(--beige); max-width: 11ch; }
.hero__text .lead { color: color-mix(in srgb, var(--beige) 86%, transparent); max-width: 46ch; margin-bottom: clamp(28px, 3vw, 40px); }
@media (max-width: 899px) {
  .hero__content { padding-bottom: calc(72px + 36px + env(safe-area-inset-bottom)); }
  .hero .btn-row { flex-wrap: nowrap; }
  .hero .btn-row .btn { flex: 1 1 0; padding-inline: 14px; }
}
@media (max-width: 374px) {
  .hero .btn-row { column-gap: 10px; }
  .hero .btn-row .btn { padding-inline: 10px; gap: 8px; }
}
.btn { white-space: nowrap; }

/* Entrance: lines of the display headline rise once on load */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; }
.js [data-enter] .line > span { transform: translateY(108%); transition: transform 1.1s var(--ease-enter); transition-delay: calc(200ms + var(--i, 0) * 110ms); }
.js [data-enter] .enter-fade { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease-enter); transition-delay: calc(520ms + var(--i, 0) * 90ms); }
.js.is-loaded [data-enter] .line > span, .js.is-loaded [data-enter] .enter-fade { transform: none; opacity: 1; }

/* ---------- Scroll reveals (one quiet language across the site) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-enter); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(10% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-reveal="media"] .ph__inner, .js [data-reveal="media"] > img { transform: scale(1.12); transition: transform 1.6s var(--ease-enter); transition-delay: var(--d, 0ms); }
.js [data-reveal="media"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="media"].is-in .ph__inner, .js [data-reveal="media"].is-in > img { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .js .zoom:hover [data-reveal="media"].is-in .ph__inner, .js .zoom:hover [data-reveal="media"].is-in > img { transform: scale(1.03); transition: transform var(--t-img) var(--ease); }
}

/* Larger entrances, as on the project page: up, from the left, from the right */
.js [data-reveal="up"] { transform: translateY(64px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease-enter); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-72px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease-enter); transition-delay: var(--d, 0ms); }
.js [data-reveal="right"] { transform: translateX(72px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease-enter); transition-delay: var(--d, 0ms); }
/* Headline lines rise one after another */
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal="lines"] .line > span { transform: translateY(108%); transition: transform 1.1s var(--ease-enter); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 110ms); }
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js [data-reveal="draw"] { opacity: 1; transform: none; }

/* Parallax: the photograph drifts inside its frame (set by script) */
.plx { position: relative; overflow: hidden; }
.plx > .ph { transform: translate3d(0, var(--plx, 0%), 0) scale(1.18); will-change: transform; }

/* ---------- Quotes ---------- */
.quote { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); line-height: 1.15; margin: 0 0 28px; text-wrap: balance; }
.quote-by { font-size: var(--t-sm); color: var(--ink-soft); }
.quote-by strong { font-weight: 500; color: var(--ink); }

/* ---------- Home: Our work slider ----------
   Info column on the left (the active project's name crossfades), slides on the
   right running off the edge of the screen, the next one peeking in.            */
.ow { overflow: hidden; }
.ow__inner {
  --slide-w: 77%;
  display: grid;
  grid-template-columns: minmax(220px, 24%) minmax(0, 1fr);
  column-gap: clamp(24px, 3.4vw, 64px);
  padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.ow__info { display: flex; flex-direction: column; gap: 32px; min-width: 0; padding-bottom: 6px; }
.ow__info > .kicker { display: flex; align-items: center; gap: 12px; color: color-mix(in srgb, var(--beige) 72%, transparent); }
.ow__info > .kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.ow__titles { display: grid; margin-top: auto; }
.ow__item {
  grid-area: 1 / 1; align-self: end; display: grid; gap: 14px;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 450ms var(--ease), transform 800ms var(--ease-enter);
}
.ow__item.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 280ms; }
.ow__name { font-family: var(--f-display); font-weight: 300; font-size: var(--t-h3); line-height: 1.05; color: var(--paper); text-wrap: balance; }
.ow__item .kicker { color: color-mix(in srgb, var(--beige) 64%, transparent); }
.ow__info > .link { align-self: start; color: var(--beige); }
.ow__stage { min-width: 0; }
.ow__viewport { overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ow__track { display: flex; gap: 8px; will-change: transform; }
.ow__slide { flex: 0 0 var(--slide-w); display: block; opacity: .55; transition: opacity 1s var(--ease); }
.ow__slide.is-active { opacity: 1; }
.ow__frame { display: block; overflow: hidden; }
.ow__slide .ph { --ar: 3 / 2; }
.ow__slide .ph__inner, .ow__slide .ph > img { transform: scale(1.08); transition: transform 1.4s var(--ease-enter); }
.ow__slide.is-active .ph__inner, .ow__slide.is-active .ph > img { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .ow__slide.is-active:hover .ph__inner, .ow__slide.is-active:hover .ph > img { transform: scale(1.03); transition-duration: var(--t-img); }
  .ow__btn:hover { background: color-mix(in srgb, var(--beige) 12%, transparent); }
  .ow__btn[data-ow-prev]:hover svg { transform: translateX(-3px); }
  .ow__btn[data-ow-next]:hover svg { transform: translateX(3px); }
}
.ow__controls { width: var(--slide-w); display: flex; align-items: center; gap: 4px; margin-top: 18px; }
.ow__progress { position: relative; flex: 1; height: 1px; margin-right: 20px; overflow: hidden; background: color-mix(in srgb, var(--beige) 22%, transparent); }
.ow__progress span { position: absolute; inset: 0; background: var(--beige); transform: scaleX(0); transform-origin: left center; }
.ow__progress span.is-run { animation: ow-progress 3.5s linear forwards; }
.ow.is-paused .ow__progress span { animation-play-state: paused; }
@keyframes ow-progress { to { transform: scaleX(1); } }
.ow__count { margin-right: 10px; font-size: var(--t-xs); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--beige) 70%, transparent); }
.ow__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--beige); transition: background-color var(--t-in) var(--ease); }
.ow__btn svg { width: 24px; height: 16px; transition: transform 400ms var(--ease-enter); }
.ow__btn[data-ow-pause] svg { width: 16px; height: 16px; }
.ow__btn .i-play, .ow__btn[aria-pressed="true"] .i-pause { display: none; }
.ow__btn[aria-pressed="true"] .i-play { display: block; }
.ow--single .ow__controls { display: none; }
.ow--single .ow__slide { opacity: 1; }
@media (max-width: 899px) {
  .ow__inner { --slide-w: 86%; grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding-left: var(--gutter); }
  .ow__info { gap: 24px; padding-right: var(--gutter); }
  .ow__titles { margin-top: 0; }
  .ow__info > .link { order: 3; }
  .ow__controls { width: auto; margin-right: var(--gutter); }
}

/* ---------- Projects listing ---------- */
.pfilter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(40px, 5vw, 72px); padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); }
.pfilter[hidden] { display: none; }
.pfilter__items { display: flex; flex-wrap: wrap; gap: 4px; }
.pfilter button { position: relative; isolation: isolate; min-height: 44px; padding: 8px 12px; font-size: var(--t-sm); letter-spacing: .02em; color: var(--ink-soft); transition: color 300ms var(--ease) 30ms; }
.pfilter button::before {
  content: ""; position: absolute; inset: 7px 0; z-index: -1; background: var(--rust);
  transform: scaleX(0); transform-origin: right center; transition: transform 600ms cubic-bezier(.22, .61, .36, 1);
}
.pfilter button[aria-pressed="true"] { color: var(--beige); }
.pfilter button[aria-pressed="true"]::before { transform: scaleX(1); transform-origin: left center; }
@media (hover: hover) and (pointer: fine) {
  .pfilter button:hover { color: var(--beige); }
  .pfilter button:hover::before { transform: scaleX(1); transform-origin: left center; }
}
.pfilter__count { margin: 0; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }

.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(48px, 6vw, 96px); }
.pl { display: block; transition: opacity 340ms var(--ease), transform 340ms var(--ease); }
.pl[hidden] { display: none; }
.pl.is-out { opacity: 0; transform: translateY(12px); }
.pl__media { position: relative; overflow: hidden; }
.pl__media .ph { --ar: 5 / 3; }
.pl__media .pl__alt { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 600ms var(--ease); }
.pl__alt .ph__inner, .pl__alt > img { transform: scale(1.06); transition: transform 1.2s var(--ease-enter); }
.pl__meta { display: grid; gap: 8px; margin-top: 20px; }
.pl__title { font-size: var(--t-h4); font-weight: 400; line-height: 1.15; }
.pl__title span { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size 600ms cubic-bezier(.57, .39, 0, .86); }
.pl__cat { color: var(--ink-mute); }
@media (hover: hover) and (pointer: fine) {
  .pl:hover .pl__alt { opacity: 1; }
  .pl:hover .pl__alt .ph__inner, .pl:hover .pl__alt > img { transform: scale(1); }
  .pl:hover .pl__title span { background-size: 100% 1px; }
}
.pl:focus-visible .pl__title span { background-size: 100% 1px; }
@media (max-width: 699px) {
  .plist { grid-template-columns: minmax(0, 1fr); }

}

/* Image wipe: left to right, as on the projects list */
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.57, .18, 0, .92); transition-delay: var(--d, 0ms); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="wipe"] > .ph:first-child .ph__inner, .js [data-reveal="wipe"] > .ph:first-child > img { transform: scale(1.1); transition: transform 1.6s var(--ease-enter); transition-delay: var(--d, 0ms); }
.js [data-reveal="wipe"].is-in > .ph:first-child .ph__inner, .js [data-reveal="wipe"].is-in > .ph:first-child > img { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .js .pl:hover [data-reveal="wipe"].is-in > .ph:first-child .ph__inner, .js .pl:hover [data-reveal="wipe"].is-in > .ph:first-child > img,
  .js .op:hover [data-reveal="wipe"].is-in > .ph:first-child .ph__inner, .js .op:hover [data-reveal="wipe"].is-in > .ph:first-child > img { transform: scale(1.03); transition: transform var(--t-img) var(--ease); }
}

/* ---------- Media cards (Home and Press) ---------- */
/* Heading centred above the cards; the row stays centred whatever the number of cards */
.media__head { max-width: 46ch; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; display: grid; justify-items: center; }
.media__head h2 { margin-bottom: 18px; }
.media__head .body-copy { max-width: 34ch; margin-bottom: 22px; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.media__inner .media-grid { grid-template-columns: repeat(min(var(--n, 4), 4), minmax(0, 300px)); justify-content: center; }
.mcard { position: relative; display: block; overflow: hidden; isolation: isolate; color: var(--beige); }
.mcard .ph { --ar: 3 / 5; }
.mcard .ph__label { top: 72px; bottom: auto; left: 16px; right: 16px; max-width: none; text-align: center; z-index: 2; }
.mcard::before, .mcard::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.mcard::before { top: 0; height: 34%; z-index: 1; background: linear-gradient(color-mix(in srgb, var(--umber) 42%, transparent), transparent); }
.mcard::after { bottom: 0; height: 55%; z-index: 2; background: linear-gradient(transparent, color-mix(in srgb, var(--umber) 72%, transparent)); }
.mcard__mast { position: absolute; top: 22px; left: 16px; right: 16px; z-index: 2; text-align: center; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1rem + 1.1vw, 2.125rem); line-height: 1; color: var(--paper); }
.mcard__shade { position: absolute; inset: 0; z-index: 3; background: color-mix(in srgb, var(--umber) 76%, transparent); opacity: 0; transition: opacity 800ms var(--ease); }
.mcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 10px; padding: 22px 20px; transform: translateY(10px); transition: transform 800ms var(--ease-enter); }
.mcard__body .kicker { color: color-mix(in srgb, var(--beige) 82%, transparent); font-size: 11px; }
.mcard__title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h4); line-height: 1.1; color: var(--paper); }
.mcard__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 800ms var(--ease-enter), opacity 600ms var(--ease); }
.mcard__more-in { display: grid; gap: 16px; min-height: 0; overflow: hidden; }
.mcard__text { padding-top: 4px; font-size: var(--t-sm); line-height: 1.55; color: color-mix(in srgb, var(--beige) 88%, transparent); }
.mcard .link { justify-self: start; color: var(--beige); }
.mcard:hover .mcard__shade, .mcard:focus-visible .mcard__shade { opacity: 1; }
.mcard:hover .mcard__body, .mcard:focus-visible .mcard__body { transform: none; }
.mcard:hover .mcard__more, .mcard:focus-visible .mcard__more { grid-template-rows: 1fr; opacity: 1; }
.mcard:hover .link, .mcard:focus-visible .link { background-size: 100% 1px, 100% 1px; }
@media (hover: hover) and (pointer: fine) {
  .js .mcard:hover[data-reveal="media"].is-in .ph__inner, .js .mcard:hover[data-reveal="media"].is-in .ph > img { transform: scale(1.04); transition: transform 1.2s var(--ease-enter); }
}
@media (hover: none) {
  .mcard__body { transform: none; }
  .mcard__more { grid-template-rows: 1fr; opacity: 1; }
  .mcard__text { display: none; }
}
@media (max-width: 1099px) {
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .media__inner .media-grid { grid-template-columns: repeat(min(var(--n, 2), 2), minmax(0, 320px)); }
}
@media (max-width: 559px) {
  .media-grid, .media__inner .media-grid { grid-template-columns: minmax(0, 1fr); }
  .mcard .ph { --ar: 4 / 5; }
}

/* ---------- FAQ ---------- */
.faq { align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
.faq__head p { margin-top: 20px; color: var(--ink-soft); max-width: 30ch; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 28px; gap: 24px; align-items: center;
  padding: 26px 0; min-height: 44px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 400; line-height: 1.4;
  transition: color var(--t-in) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--rust); } }
.faq .answer { padding: 0 48px 28px 0; color: var(--ink-soft); max-width: 64ch; }
@media (max-width: 899px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; margin-bottom: 32px; }
  .faq .answer { padding-right: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--umber); color: var(--beige); padding-top: clamp(64px, 7vw, 112px); padding-bottom: 28px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 104px; } .footer-bottom { padding-inline: 0; } }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; padding-bottom: clamp(48px, 6vw, 88px); }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand p { margin-top: 24px; color: color-mix(in srgb, var(--beige) 72%, transparent); font-size: var(--t-sm); max-width: 30ch; }
.footer-col { grid-column: span 2; }
.footer-col--wide { grid-column: span 4; }
.footer-col h2 { font-family: var(--f-body); font-size: var(--t-xs); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--beige) 60%, transparent); margin-bottom: 18px; }
.footer-col li { margin-bottom: 4px; }
.footer-col a, .footer-col address { font-style: normal; font-size: var(--t-sm); color: color-mix(in srgb, var(--beige) 90%, transparent); }
.footer-col a { display: inline-block; padding: 6px 0; position: relative; }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover::after { transform: scaleX(1); transform-origin: left; } }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--beige) 20%, transparent); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--t-xs); color: color-mix(in srgb, var(--beige) 60%, transparent); }
.footer-bottom a { padding: 4px 0; }
@media (max-width: 1080px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col--wide { grid-column: span 4; }
}
@media (max-width: 899px) {
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-col, .footer-col--wide { grid-column: span 6; }
}
@media (max-width: 520px) {
  .footer-col--wide { grid-column: 1 / -1; }
}

/* ---------- About ---------- */
/* The name: a photograph overlapping a Deep Rust band, the word set large */

/* Collage: five photographs in three columns, middle column dropped */
.collage { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: repeat(12, clamp(26px, 3.3vw, 50px)); gap: clamp(12px, 1.6vw, 24px); }
.collage .ph { aspect-ratio: auto; height: 100%; }
.collage__a { grid-column: 1; grid-row: 1 / 13; }
.collage__b { grid-column: 2; grid-row: 2 / 6; }
.collage__c { grid-column: 2; grid-row: 6 / 13; }
.collage__d { grid-column: 3; grid-row: 1 / 8; }
.collage__e { grid-column: 3; grid-row: 8 / 12; }
@media (max-width: 699px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .collage .ph { height: auto; aspect-ratio: 4 / 5; }
  .collage__a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3 !important; }
  .collage__b, .collage__c, .collage__d, .collage__e { grid-column: auto; grid-row: auto; }
}

.founder { align-items: center; row-gap: 48px; }
.founder__media { grid-column: 1 / span 5; }
.founder__text { grid-column: 7 / -1; }
.founder__text .kicker { color: var(--ink-mute); margin-bottom: 14px; }
.founder__text h2 { font-size: var(--t-h1); margin-bottom: 10px; }
.founder__role { font-size: var(--t-lead); color: var(--rust); margin-bottom: 28px; }
.founder__text .quote { margin-top: 36px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); color: var(--rust); }
.founder__sign { display: block; width: clamp(150px, 14vw, 200px); aspect-ratio: 1440 / 415; background: var(--umber); -webkit-mask: url("../img/brand/logo-signature.png") left center / contain no-repeat; mask: url("../img/brand/logo-signature.png") left center / contain no-repeat; }
@media (max-width: 899px) { .founder__media, .founder__text { grid-column: 1 / -1; } }

/* ---------- Services ---------- */
.svc-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.svc-nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; justify-items: start; }
.svc-nav .kicker { color: var(--ink-mute); }
.svc-nav ul { display: grid; gap: 2px; border-left: 1px solid var(--line-strong); }
.svc-nav ul a { display: block; margin-left: -1px; padding: 8px 0 8px 18px; border-left: 2px solid transparent; font-family: var(--f-display); font-size: 1.375rem; line-height: 1.2; color: var(--ink-mute); transition: color 300ms var(--ease), border-color 300ms var(--ease), padding-left 500ms var(--ease-enter); }
.svc-nav ul a[aria-current] { color: var(--ink); border-left-color: var(--rust); padding-left: 26px; }
@media (hover: hover) and (pointer: fine) { .svc-nav ul a:hover { color: var(--ink); } }
.svc-list { grid-column: 5 / -1; display: grid; gap: clamp(96px, 11vw, 176px); }
.svc { display: grid; gap: clamp(36px, 4vw, 56px); scroll-margin-top: calc(var(--header-h) + 32px); }
.svc__media { position: relative; padding-bottom: clamp(48px, 6vw, 96px); }
.svc__big { --ar: 16 / 10; width: 82%; }
.svc__small { position: absolute; right: 0; bottom: 0; z-index: 2; width: 34%; --ar: 4 / 5; box-shadow: 0 0 0 clamp(6px, .8vw, 12px) var(--paper); }
.svc:nth-child(even) .svc__big { margin-left: auto; }
.svc:nth-child(even) .svc__small { right: auto; left: 0; }
.svc__text { display: grid; gap: 24px; justify-items: start; max-width: 760px; }
.svc__text h2 { font-size: var(--t-h2); }
.svc__text .lead { max-width: 52ch; }
.svc__cols { width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 40px; }
.includes { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.includes h3 { font-family: var(--f-body); font-size: var(--t-xs); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; line-height: 1.4; }
.includes ul { display: flex; flex-wrap: wrap; gap: 8px; }
.includes li { font-size: var(--t-sm); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; color: var(--ink-soft); }
.includes p { font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 1080px) {
  .svc-nav { display: none; }
  .svc-list { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .svc__cols { grid-template-columns: minmax(0, 1fr); }
  .svc__big { width: 100%; }
  .svc__small { width: 42%; }
}

/* Projects carousel: the centred card is in focus, tags on the image, View on hover */
.cr { overflow: hidden; }
.cr__head { display: grid; justify-items: center; gap: 16px; text-align: center; margin-bottom: clamp(36px, 4vw, 64px); }
.cr__head .lead { max-width: 44ch; }
.cr__track {
  --card: clamp(250px, 26vw, 380px);
  display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 12px calc(50% - var(--card) / 2) 8px;
  cursor: grab;
}
.cr__track::-webkit-scrollbar { display: none; }
.cr__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.cr__card { flex: 0 0 var(--card); scroll-snap-align: center; display: grid; gap: 6px; opacity: .55; transform: scale(.86); transform-origin: center 40%; transition: transform 700ms var(--ease-enter), opacity 500ms var(--ease); }
.cr__card.is-active { opacity: 1; transform: none; }
.cr__media { position: relative; display: block; overflow: hidden; margin-bottom: 14px; }
.cr__media .ph { --ar: 4 / 5; }
.cr__tags { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; }
.cr__tags span { padding: 6px 10px; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--umber); background: color-mix(in srgb, var(--paper) 88%, transparent); }
.cr__view {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  display: grid; place-items: center; border-radius: 50%;
  font-size: var(--t-sm); font-weight: 500; color: var(--paper);
  background: color-mix(in srgb, var(--umber) 58%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transform: scale(0); transition: transform 500ms var(--ease-enter);
}
.cr__card:focus-visible .cr__view { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .cr__card.is-active:hover .cr__view { transform: scale(1); }
  .cr__card:hover .cr__media .ph__inner, .cr__card:hover .cr__media .ph > img { transform: scale(1.04); }
}
.cr__name { font-family: var(--f-display); font-size: var(--t-h4); line-height: 1.15; }
.cr__meta { font-size: var(--t-xs); line-height: 1.6; color: var(--ink-mute); }
.cr__foot { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: clamp(28px, 3vw, 44px); }
.cr__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color var(--t-in) var(--ease), color var(--t-in) var(--ease), border-color var(--t-in) var(--ease); }
.cr__btn svg { width: 22px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .cr__btn:hover { background: var(--umber); border-color: var(--umber); color: var(--paper); } }
@media (max-width: 699px) { .cr__track { --card: 72vw; } }

/* ---------- Project page ---------- */
.pj-hero { height: clamp(420px, 74vh, 800px); margin-top: var(--header-h); view-transition-name: pj-cover; }
.pj-hero .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.js .pj-hero:not(.no-enter) { opacity: 0; transform: translateY(60px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-enter); }
.js.is-loaded .pj-hero { opacity: 1; transform: none; }
.pj-full { aspect-ratio: 3 / 2; max-height: 92vh; width: 100%; }
.pj-full .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.pj-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; align-items: end; padding-block: clamp(64px, 8vw, 128px); }
.pj-split__a { grid-column: 2 / span 4; }
.pj-split__a .ph { --ar: 4 / 5; }
.pj-split__b { grid-column: 7 / -1; }
.pj-split__b .ph { --ar: 20 / 21; }
.pj-notes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 24px; padding-bottom: clamp(64px, 8vw, 128px); }
.pj-notes .kicker { grid-column: 1 / span 3; color: var(--ink-mute); padding-top: .5em; }
.pj-notes__text { grid-column: 5 / span 7; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-soft); }
.pj-quote { grid-column: 5 / -1; margin: 24px 0 0; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.pj-quote p { margin-bottom: 20px; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); line-height: 1.15; color: var(--rust); text-wrap: balance; }
.pj-more { padding-block: clamp(72px, 8vw, 128px) var(--sec-sm); }
.pj-more__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-strong); }
.pj-more__head h2 { font-size: var(--t-h3); }
.pj-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 44px); }
.op { display: block; }
.op__media { position: relative; overflow: hidden; }
.op .ph { --ar: 2 / 1; }
.op__name { margin: 20px 0 8px; font-size: var(--t-h4); font-weight: 400; line-height: 1.15; }
.op__name span { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size 600ms cubic-bezier(.57, .39, 0, .86); }
.op__cat { color: var(--ink-mute); }
@media (hover: hover) and (pointer: fine) { .op:hover .op__name span { background-size: 100% 1px; } }
.op:focus-visible .op__name span { background-size: 100% 1px; }
@media (max-width: 1080px) { .pj-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .pj-hero { height: 62vh; min-height: 340px; }
  .pj-intro__text, .pj-intro__media { grid-column: 1 / -1; position: static; }
  .pj-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-full { aspect-ratio: 4 / 5; }
  .pj-split__a { grid-column: 1 / span 9; }
  .pj-split__b { grid-column: 4 / -1; }
  .pj-notes .kicker, .pj-notes__text, .pj-quote { grid-column: 1 / -1; }
}
@media (max-width: 559px) { .pj-more__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Project enquiries ---------- */
.enquiry { padding-top: 0; }
.enquiry__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 56px; align-items: start; }
.enquiry__side { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: clamp(48px, 5vw, 72px); }
.enquiry__side .kicker { margin-bottom: 16px; color: var(--ink-mute); }
.channels { border-top: 1px solid var(--line-strong); }
.channel { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.channel__k { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.channel__v { grid-column: 1; font-family: var(--f-body); font-weight: 300; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.35; overflow-wrap: anywhere; transition: color var(--t-in) var(--ease), transform 500ms var(--ease-enter); }
.channel .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 20px; height: 20px; transition: transform 500ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) {
  .channel:hover .channel__v { color: var(--rust); transform: translateX(6px); }
  .channel:hover .icon { transform: translateX(4px); }
}
.next-steps { display: grid; gap: 20px; }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.next-steps span { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--terra); }
.enquiry__form { grid-column: 6 / -1; padding: clamp(28px, 4vw, 64px); background: var(--sand); }
.enquiry__form h2 { margin-bottom: clamp(28px, 3vw, 40px); font-size: var(--t-h3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--t-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 12px 0; min-height: 48px;
  transition: border-color var(--t-in) var(--ease), background-color var(--t-in);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--rust); background-color: color-mix(in srgb, var(--paper) 50%, transparent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--rust); }
.field .error { font-size: var(--t-xs); color: var(--terra); min-height: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--terra); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.form-foot p { font-size: var(--t-xs); color: var(--ink-mute); max-width: 40ch; margin: 0; }
.form-status { margin-top: 28px; padding: 20px 24px; background: var(--paper); border-left: 2px solid var(--rust); font-size: var(--t-sm); display: none; }
.form-status.is-shown { display: block; }
.visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 24px; align-items: stretch; }
.map { background: var(--sand); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.8); }
.visit .map { grid-column: 1 / span 8; min-height: 440px; }
.visit__card { grid-column: 9 / -1; display: grid; gap: 28px; align-content: start; padding: clamp(28px, 3vw, 48px); background: var(--paper); }
.visit__card h2 { font-size: var(--t-h3); }
.visit__card .btn { justify-self: start; }
.visit__note { font-size: var(--t-sm); color: var(--ink-soft); }
.details-list { display: grid; gap: 18px; margin: 0; }
.details-list div { display: grid; gap: 2px; }
.details-list dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.details-list dd { margin: 0; }
.details-list a { display: inline-block; padding: 4px 0; }
@media (max-width: 899px) {
  .enquiry__side, .enquiry__form { grid-column: 1 / -1; position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .visit .map, .visit__card { grid-column: 1 / -1; }
  .visit .map { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 559px) { .enquiry__form { margin-inline: calc(var(--gutter) * -1); } }

.note { margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--line-strong); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }

/* ---------- Page starts (no hero): first section clears the header ---------- */
.section.first { padding-top: calc(var(--header-h) + clamp(40px, 5vw, 88px)); }
.sec-title { font-size: var(--t-h2); }

/* ---------- Home: what we design, four opening panels ---------- */
.panels { display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(440px, 72vh, 680px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--beige); transition: flex-grow .9s var(--ease-enter); }
.panel.is-active { flex-grow: 3.4; }
.panel .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.panel .ph__inner { transform: scale(1.08); transition: transform 1.2s var(--ease-enter); }
.panel.is-active .ph__inner { transform: scale(1); }
.panel .ph__label { top: 16px; bottom: auto; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--umber) 80%, transparent), color-mix(in srgb, var(--umber) 12%, transparent) 62%); }
.panel__tab { position: absolute; left: 20px; bottom: 24px; z-index: 3; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-size: clamp(1.5rem, 1rem + 1vw, 2.25rem); line-height: 1; color: var(--paper); transition: opacity .4s var(--ease); }
.panel.is-active .panel__tab { opacity: 0; }
.panel__body { position: absolute; left: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px); z-index: 3; max-width: 460px; display: grid; gap: 12px; justify-items: start; opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .6s var(--ease-enter); }
.panel.is-active .panel__body { opacity: 1; transform: none; transition-delay: .35s; }
.panel__title { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.05; color: var(--paper); }
.panel__text { font-size: var(--t-sm); color: color-mix(in srgb, var(--beige) 88%, transparent); }
.panel .link { color: var(--beige); }
@media (max-width: 899px) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; height: 340px; }
  .panel__tab { display: none; }
  .panel__body { opacity: 1; transform: none; }
}

/* ---------- Home: media, one featured article ---------- */

/* ---------- Questions (Home and Project enquiries) ---------- */
.faq__head .kicker { margin-bottom: 14px; color: var(--ink-mute); }
.faq__head h2 { max-width: 12ch; }
.faq__card { display: grid; gap: 20px; margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 2.6vw, 36px); background: var(--rust); color: var(--beige); }
.faq__card p { margin: 0; color: color-mix(in srgb, var(--beige) 88%, transparent); }
.faq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.faq__card .link { color: var(--beige); }

/* ---------- About: process, pinned while the steps travel sideways ---------- */
.hs { position: relative; }
.hs__pin { padding-block: var(--sec-sm); }
.hs.is-pinned .hs__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) 0 32px; overflow: hidden; }
.hs__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vh, 56px); }
.hs__head .kicker { margin-bottom: 12px; color: var(--ink-mute); }
.hs__count { margin: 0; font-family: var(--f-display); font-size: var(--t-h4); color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.hs__count span { color: var(--rust); }
.hs__viewport { overflow: hidden; }
.hs__track { display: flex; gap: clamp(16px, 2vw, 32px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; }
.hs-card { flex: 0 0 clamp(300px, 30vw, 440px); display: grid; gap: 14px; align-content: start; }
.hs-card .ph { --ar: 4 / 3; }
.hs-card__n { font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 5.5rem); line-height: .9; color: var(--terra); }
.hs-card h3 { font-size: var(--t-h4); font-weight: 400; }
.hs-card p { max-width: 34ch; font-size: var(--t-sm); color: var(--ink-soft); }
.hs-card--end { flex-basis: clamp(280px, 26vw, 380px); align-self: stretch; align-content: center; justify-items: start; gap: 20px; padding: clamp(28px, 3vw, 48px); background: var(--rust); color: var(--beige); }
.hs-card .hs-card__q { margin: 0; max-width: none; color: var(--beige); font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.1; }
.hs-card--end .btn { --btn-bg: var(--beige); --btn-fg: var(--umber); --btn-bd: var(--beige); --btn-hover: var(--paper); }
.hs-card--end .link { color: var(--beige); }
.hs__bar { position: relative; height: 1px; margin-top: clamp(24px, 4vh, 48px); overflow: hidden; background: var(--line-strong); }
.hs__bar span { position: absolute; inset: 0; background: var(--rust); transform: scaleX(0); transform-origin: left center; }
.hs:not(.is-pinned) .hs__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hs:not(.is-pinned) .hs__viewport::-webkit-scrollbar { display: none; }
.hs:not(.is-pinned) .hs-card { scroll-snap-align: center; }
@media (max-width: 899px) { .hs-card { flex-basis: 78vw; } }

/* ---------- Services: text in two balanced columns ---------- */
.svc-list { gap: 0; }
.svc + .svc { margin-top: clamp(96px, 11vw, 176px); }
.svc-intro { display: grid; gap: 16px; padding-bottom: clamp(28px, 3vw, 44px); margin-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-strong); }
.svc-intro .kicker { color: var(--ink-mute); }
.svc-intro__text { max-width: 26ch; margin: 0; font-family: var(--f-display); font-size: clamp(1.75rem, 1.1rem + 2vw, 3rem); line-height: 1.12; }
.svc__text { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 64px); align-items: start; justify-items: stretch; }
.svc__main { display: grid; gap: 20px; }
.svc__main h2 { font-size: var(--t-h3); }
.svc__main .lead { max-width: none; }
.svc__aside { display: grid; gap: 22px; justify-items: start; padding-top: .5em; }
.svc__aside .includes { width: 100%; }
@media (max-width: 899px) { .svc__text { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Projects: heading in the filter row ---------- */
.pfilter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 40px; }
.ct__kicker { color: var(--ink-mute); }
.pfilter__title { font-size: var(--t-h2); line-height: .95; }
.pfilter__items[hidden] { display: none; }
@media (max-width: 699px) {
  .pfilter { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Thank-you page ---------- */
.ty { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding-block: calc(var(--header-h) + 48px) clamp(96px, 10vw, 140px); background: var(--umber); color: var(--beige); }
.ty__mark { position: absolute; right: -10vw; bottom: -12vw; width: 52vw; color: var(--beige); opacity: .045; pointer-events: none; }
.ty__mark .logo { --logo-w: 100%; }
.ty__inner { position: relative; display: grid; justify-items: start; gap: clamp(20px, 2.4vw, 32px); }
.ty .kicker { color: color-mix(in srgb, var(--beige) 72%, transparent); }
.ty__title { font-size: clamp(4rem, 2rem + 9vw, 11rem); line-height: .9; color: var(--beige); }
.ty .lead { max-width: 44ch; color: color-mix(in srgb, var(--beige) 86%, transparent); }
.ty__steps { width: 100%; max-width: 920px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 12px; }
.ty__steps li { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--beige) 26%, transparent); font-size: var(--t-sm); color: color-mix(in srgb, var(--beige) 86%, transparent); }
.ty__steps span { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--terra); }
@media (max-width: 699px) { .ty__steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Project enquiries ---------- */
.ct__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 56px; align-items: start; }
.ct__side { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; justify-items: start; }
.ct__title { font-size: var(--t-h1); line-height: .95; }
.ct__side .lead { max-width: 34ch; }
.ct__promise { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--t-sm); }
.ct__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.ct__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--terra); animation: dot-ring 2.4s var(--ease) infinite; }
@keyframes dot-ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.tiles { width: 100%; display: grid; gap: 10px; margin-top: 8px; }
.tile { display: grid; grid-template-columns: 48px 1fr auto; column-gap: 16px; row-gap: 2px; align-items: center; padding: 16px 18px; background: var(--sand); transition: background-color .35s var(--ease), color .35s var(--ease); }
.tile__icon { grid-row: 1 / 3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--rust); transition: background-color .35s var(--ease); }
.tile__icon svg { width: 22px; height: 22px; }
.tile__k { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); transition: color .35s var(--ease); }
.tile__v { grid-column: 2; font-size: 1.125rem; overflow-wrap: anywhere; }
.tile .icon { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; transition: transform 500ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { background: var(--rust); color: var(--beige); }
  .tile:hover .tile__k { color: color-mix(in srgb, var(--beige) 72%, transparent); }
  .tile:hover .tile__icon { background: var(--beige); }
  .tile:hover .icon { transform: translateX(4px); }
}
.ct .enquiry__form { grid-column: 7 / -1; }
@media (max-width: 899px) {
  .ct__side { grid-column: 1 / -1; position: static; }
  .ct .enquiry__form { grid-column: 1 / -1; }
}

/* ---------- Shared: client initials and name ---------- */
.avatar { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--terra); color: var(--paper); font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .04em; }
.who { display: grid; gap: 2px; }
.who strong { font-weight: 500; }
.who span { font-size: var(--t-sm); opacity: .78; }

/* ---------- Home: how we work, numbered rows ---------- */
.hw__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; align-items: start; }
.hw__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 18px; justify-items: start; }
.hw__head .kicker { color: color-mix(in srgb, var(--beige) 66%, transparent); }
.hw__head h2 { color: var(--beige); }
.hw__head p { max-width: 30ch; color: color-mix(in srgb, var(--beige) 80%, transparent); }
.hw .link { color: var(--beige); }
.hw__rows { grid-column: 6 / -1; border-top: 1px solid color-mix(in srgb, var(--beige) 28%, transparent); }
.hw__row { display: grid; grid-template-columns: clamp(110px, 12vw, 200px) 1fr; column-gap: clamp(20px, 3vw, 48px); row-gap: 10px; align-items: start; padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid color-mix(in srgb, var(--beige) 28%, transparent); }
.hw__n { grid-row: 1 / 3; font-family: var(--f-display); font-weight: 300; font-size: clamp(4rem, 2.6rem + 4.4vw, 7.5rem); line-height: .8; color: var(--beige); transition: color .4s var(--ease), transform .6s var(--ease-enter); }
.hw__row h3 { font-size: var(--t-h3); color: var(--beige); }
.hw__row p { max-width: 40ch; color: color-mix(in srgb, var(--beige) 80%, transparent); }
@media (hover: hover) and (pointer: fine) { .hw__row:hover .hw__n { color: var(--paper); transform: translateX(8px); } }
@media (max-width: 899px) {
  .hw__head, .hw__rows { grid-column: 1 / -1; }
  .hw__head { position: static; }
  .hw__row { grid-template-columns: 72px 1fr; }
  .hw__n { font-size: 3.5rem; }
}

/* ---------- Home: client words on Warm Beige ---------- */
.tq { position: relative; overflow: hidden; padding-block: var(--sec); background: var(--beige); color: var(--umber); }

/* ---------- Questions: accordion, body font for the questions ---------- */
.faq summary { grid-template-columns: 1fr 44px; padding: 24px 0; font-family: var(--f-body); font-weight: 400; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.45; letter-spacing: .005em; }
.faq details[open] summary { color: var(--rust); }
.faq__icon { position: relative; width: 44px; height: 44px; justify-self: end; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.faq__icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-50%, -70%) rotate(45deg); transition: transform .45s var(--ease-enter); }
.faq details[open] .faq__icon { background: var(--rust); border-color: var(--rust); color: var(--beige); }
.faq details[open] .faq__icon::before { transform: translate(-50%, -25%) rotate(-135deg); }
.faq .answer { overflow: hidden; font-size: 1.0625rem; line-height: 1.75; }

/* ---------- About: principles, one open at a time beside a photograph ---------- */

/* ---------- Closing call to action: one centred Deep Rust band ---------- */
.cta3 { padding-block: var(--sec); background: var(--rust); color: var(--beige); }
.cta3__inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
.cta3__title { margin: 0; font-size: var(--t-h2); line-height: 1; color: var(--beige); }
.cta3__text { margin: 0; max-width: 46ch; color: color-mix(in srgb, var(--beige) 86%, transparent); }
.cta3 .btn { margin-top: 8px; }

/* ---------- Project page: title block, spec sheet, story ---------- */
.pj-head2 { padding-top: clamp(56px, 7vw, 112px); }
.pj-head2 .crumb { margin-bottom: clamp(24px, 3vw, 40px); }
.icon--back { width: 14px; height: 14px; }
.pj-head2__row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; padding-bottom: clamp(28px, 3vw, 44px); }
.pj-name { font-size: var(--t-display); line-height: .92; }
.pj-spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line-strong); }
.pj-spec div { padding: 20px clamp(16px, 2vw, 28px) 22px; border-left: 1px solid var(--line-strong); }
.pj-spec div:first-child { padding-left: 0; border-left: 0; }
.pj-spec dt, .pj-credits dt { margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.pj-spec dd { margin: 0; font-family: var(--f-display); font-size: var(--t-h4); line-height: 1.2; }
.pj-story2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; align-items: start; padding-block: clamp(56px, 7vw, 112px); }
.pj-story2__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.pj-story2__media .ph { --ar: 4 / 5; }
.pj-story2__text { grid-column: 7 / -1; display: grid; gap: clamp(32px, 4vw, 56px); }
.pj-lede { margin: 0; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 300; line-height: 1.5; color: var(--ink); }
.pj-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.pj-block h2 { font-size: var(--t-h4); font-weight: 400; line-height: 1.2; }
.pj-block p { margin: 0; font-size: 1.0625rem; line-height: 1.8; color: var(--ink-soft); }
.pj-credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; padding: clamp(20px, 2.4vw, 32px); background: var(--sand); }
.pj-credits dd { margin: 0; font-size: var(--t-sm); }
.pj-credits a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
@media (max-width: 899px) {
  .pj-head2__row { grid-template-columns: minmax(0, 1fr); }
  .pj-name { font-size: var(--t-h1); }
  .pj-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-spec div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pj-spec div:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .pj-story2__media, .pj-story2__text { grid-column: 1 / -1; position: static; }
  .pj-block { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Testimonials page: heading row, sliding cards, call-back form ---------- */
.section.tf { padding-bottom: var(--sec-sm); }
.tf__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: background-color var(--t-in) var(--ease), color var(--t-in) var(--ease), border-color var(--t-in) var(--ease), opacity .3s var(--ease); }
.tf__btn svg { width: 22px; height: 14px; }
.tf__btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .tf__btn:not(:disabled):hover { background: var(--rust); border-color: var(--rust); color: var(--beige); } }
.tf__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - clamp(16px, 2vw, 24px)) / 2); column-gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tf__track::-webkit-scrollbar { display: none; }
.tf__track:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.tf__card { scroll-snap-align: start; display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); padding: clamp(14px, 1.4vw, 20px); border: 1px solid var(--line-strong); background: var(--paper); }
.tf__card--flip { flex-direction: column-reverse; justify-content: flex-end; }
.tf__media { display: block; overflow: hidden; }
.tf__media .ph { --ar: 16 / 9; }
.tf__media .ph__inner { transition: transform 1.2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tf__card:hover .tf__media .ph__inner { transform: scale(1.03); } }
.tf__text { display: grid; justify-items: start; gap: 14px; padding: 4px clamp(4px, 1vw, 12px) 8px; }
.tf__quote { margin: 0; }
.tf__quote p { margin: 0; font-weight: 300; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.tf__who { margin: 0; font-size: var(--t-sm); color: var(--rust); }
.tf__who strong { font-weight: 500; }
.tf__proj { font-size: var(--t-sm); }

@media (max-width: 899px) {
  .tf__track { grid-auto-columns: 86%; }
}

/* ---------- Project enquiries: what happens next ---------- */
.next3__head { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(40px, 5vw, 72px); text-align: center; }
.next3__head .kicker { color: var(--ink-mute); }
.next3__list { --gap: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.next3__card { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 2.6vw, 40px); background: var(--paper); transition: transform .5s var(--ease-enter), box-shadow .5s var(--ease); }
.next3__card:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: calc(var(--gap) / -2 - 6px); width: 12px; height: 12px; border-top: 1.5px solid var(--rust); border-right: 1.5px solid var(--rust); transform: translateY(-50%) rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .next3__card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px color-mix(in srgb, var(--umber) 60%, transparent); } }
.next3__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--rust); color: var(--beige); }
.next3__icon svg { width: 24px; height: 24px; }
.next3__n { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.next3__card h3 { font-size: var(--t-h3); }
.next3__card p { max-width: 32ch; font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 899px) {
  .next3__list { grid-template-columns: minmax(0, 1fr); }
  .next3__card:not(:last-child)::after { top: auto; right: 50%; bottom: calc(var(--gap) / -2 - 6px); transform: translateX(50%) rotate(135deg); }
}

/* ---------- Project enquiries: visit, details beside a framed map ---------- */
.visit3__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: stretch; }
.visit3__info { grid-column: 1 / span 5; display: grid; gap: 28px; align-content: center; justify-items: start; }
.visit3__info .kicker { color: var(--ink-mute); }
.visit3__addr { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: var(--t-h2); line-height: 1.05; }
.visit3__list { width: 100%; display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.visit3__map { grid-column: 7 / -1; position: relative; min-height: 520px; }
.visit3__map .map { position: absolute; inset: 0; }
.visit3__pin { position: absolute; right: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: var(--umber); color: var(--beige); font-size: var(--t-sm); font-weight: 500; box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--umber) 60%, transparent); }
.visit3__pin .logo { --logo-w: 30px; }
@media (max-width: 899px) {
  .visit3__info, .visit3__map { grid-column: 1 / -1; }
  .visit3__map { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Simpler sections: plain body type for data, fewer boxes and rules ---------- */
.pj-spec dt, .pj-credits dt, .visit3__list dt { margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }

/* Project page: previous/next row, plain spec values, story as labelled paragraphs */
.pj-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.pj-next2 { display: inline-grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; justify-items: end; text-align: right; }
.pj-next2__k { grid-column: 1; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.pj-next2__name { grid-column: 1; font-size: var(--t-sm); font-weight: 500; transition: color var(--t-in) var(--ease); }
.pj-next2 .icon { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; padding: 11px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease-enter); }
@media (hover: hover) and (pointer: fine) {
  .pj-next2:hover .pj-next2__name { color: var(--rust); }
  .pj-next2:hover .icon { background: var(--rust); border-color: var(--rust); color: var(--beige); transform: translateX(3px); }
}
.pj-spec div, .pj-spec div:first-child { padding: 18px 24px 20px 0; border-left: 0; }
.pj-spec dd { font-family: var(--f-body); font-size: 1.125rem; line-height: 1.45; }
.pj-block { display: block; padding-top: 0; border-top: 0; }
.pj-block h2 { margin-bottom: 10px; font-family: var(--f-body); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.pj-block p { color: var(--ink-soft); }
.pj-story2__text { gap: clamp(28px, 3vw, 40px); }
.pj-credits { padding: 24px 0 0; background: none; border-top: 1px solid var(--line-strong); }
.pj-notes .kicker { grid-column: 7 / -1; padding-top: 0; }
.pj-notes__text { grid-column: 7 / -1; font-size: 1.0625rem; line-height: 1.8; }
.pj-quote { grid-column: 7 / -1; margin: 16px 0 0; padding: 4px 0 4px 24px; border-top: 0; border-left: 2px solid var(--rust); }
.pj-quote p { margin-bottom: 12px; font-family: var(--f-body); font-weight: 300; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
@media (max-width: 899px) { .pj-notes .kicker, .pj-notes__text, .pj-quote { grid-column: 1 / -1; } }

/* Services: body-size description, includes as a plain two-column list */
.svc__main .lead { font-size: 1.125rem; line-height: 1.7; color: var(--ink-soft); }
.svc__aside { gap: 24px; }
.svc__aside .includes { padding-top: 0; border-top: 0; }
.svc__aside .includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.svc__aside .includes li { position: relative; padding: 0 0 0 16px; border: 0; border-radius: 0; font-size: var(--t-sm); color: var(--ink); }
.svc__aside .includes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--rust); }

/* Services carousel: heading on the left, controls top right; one small tag */
.cr__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; text-align: left; }
.cr__intro { display: grid; gap: 14px; }
.cr__ctrl { display: flex; align-items: center; gap: 10px; }
.cr__ctrl .link { margin-right: 14px; }
.cr__tags { left: 12px; top: 12px; }
.cr__tags span { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none; background: var(--paper); }

/* Project enquiries: visit the studio, plain address and rows */
.section.visit3 { padding-bottom: 0; }
.visit3__info h2 { font-size: var(--t-h3); }
.visit3__addr { font-family: var(--f-body); font-weight: 400; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.4; }
.visit3__list { display: grid; gap: 16px; margin: 0; padding-top: 22px; }
.visit3__list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; }
.visit3__list dt { margin: 0; }
.visit3__list dd { margin: 0; }
.visit3__list .link { padding-block: 2px; }

/* ---------- Round 8: balance and fit ---------- */
/* How a project runs: the card photograph shrinks on short screens so the text always shows */
.hs.is-pinned .hs-card:not(.hs-card--end) .ph { aspect-ratio: auto; height: clamp(150px, 100svh - 560px, 330px); }
.hs.is-pinned .hs-card__n { font-size: clamp(2.5rem, 9svh, 5.5rem); }
.hs-card p { max-width: 42ch; }
.hs__count { white-space: nowrap; }

/* Project page: story text sits level with its photograph; notes in two columns */
.pj-story2 { align-items: center; }
.pj-story2__media { position: static; }
.pj-block p { font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.pj-notes { align-items: center; }
.pj-notes .kicker { grid-column: 1 / span 5; grid-row: 1; align-self: end; }
.pj-notes__text { grid-column: 1 / span 5; grid-row: 2; align-self: start; margin: 0; font-size: 1.125rem; color: var(--ink); }
.pj-quote { grid-column: 7 / -1; grid-row: 1 / 3; margin: 0; }
@media (max-width: 899px) { .pj-notes .kicker, .pj-notes__text, .pj-quote { grid-column: 1 / -1; grid-row: auto; } .pj-quote { margin-top: 16px; } }

/* Visit the studio: the details panel matches the map's height */
.visit3__info { grid-column: 1 / span 6; align-content: space-between; gap: 32px; padding: clamp(28px, 3.4vw, 56px); background: var(--sand); }
.visit3__list .link { font-weight: 400; }
.visit3__list dd { font-size: 1.125rem; }
@media (max-width: 899px) { .visit3__info { grid-column: 1 / -1; } }

/* Services: a larger description */
.svc__main .lead { font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.4375rem); line-height: 1.65; }
.svc__aside .includes li { font-size: 1rem; }

/* ---------- Round 9: phones follow the desktop layout ---------- */
@media (max-width: 899px) {
  /* What we design: panels side by side, the open one wide */
  .panels { flex-direction: row; height: clamp(420px, 70svh, 560px); gap: 6px; }
  .panel, .panel.is-active { flex: 1 1 0; height: auto; }
  .panel.is-active { flex-grow: 7; }
  .panel__tab { display: block; left: 50%; bottom: 20px; translate: -50% 0; font-size: 1.25rem; }
  .panel__body { left: 16px; right: 16px; bottom: 18px; gap: 8px; opacity: 0; transform: translateY(16px); }
  .panel.is-active .panel__body { opacity: 1; transform: none; }
  .panel__title { font-size: 1.5rem; }
  .panel .ph__label { display: none; }

  /* How we think: the photograph after the principles */

  /* About, first section: photograph overlapping the band, as on desktop */

  /* How a project runs: pinned and sliding, as on desktop */
  .hs.is-pinned .hs-card:not(.hs-card--end) .ph { height: clamp(150px, 100svh - 600px, 300px); }
  .hs.is-pinned .hs-card__n { font-size: clamp(2.25rem, 7svh, 3.5rem); }
  .hs__head h2 { font-size: var(--t-h3); }
}

/* ---------- Round 9: no link underlines, divider rules or progress line ---------- */
.link, .link:hover, .link:focus-visible { background: none; }
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--rust); } .on-dark .link:hover, .panel .link:hover, .hw .link:hover, .faq__card .link:hover, .hs-card--end .link:hover, .mcard .link:hover, .ow__info > .link:hover { color: var(--paper); } }
.nav a::after { display: none; }
.nav a[aria-current="page"] { color: var(--rust); font-weight: 500; }
.has-hero .site-header:not(.is-solid) .nav a[aria-current="page"] { color: var(--paper); }
.pl__title span, .op__name span, .pl:hover .pl__title span, .op:hover .op__name span { background: none; }
.pj-credits a { text-decoration: none; }
.footer-col a::after { display: none; }
.hs__bar { display: none; }
.ow__progress { opacity: 0; } /* kept invisible: its animation times the slides */
.pfilter, .faq__list, .faq details, .footer-bottom, .includes, .pj-quote, .pj-more__head, .channels, .channel,
.next-steps li, .note, .svc-intro, .ty__steps li, .hw__rows, .hw__row,
.pj-spec, .pj-spec div, .pj-block, .pj-credits, .visit3__list, .svc-nav ul { border-top: 0; border-bottom: 0; }
.pj-spec div, .pj-spec div:first-child, .svc-nav ul { border-left: 0; }
.faq details { padding-block: 4px; }

/* ---------- Round 10: sections fit one screen ---------- */
.faq summary { padding: 16px 0; }
.faq details { padding-block: 0; }
.faq .answer { padding-bottom: 20px; }
.form-grid { gap: 20px 24px; }
.field textarea { min-height: 96px; }
.enquiry__form { padding: clamp(24px, 3vw, 48px); }
.enquiry__form h2 { margin-bottom: 24px; }
.form-foot { margin-top: 28px; }
.tf__media .ph { --ar: 2 / 1; }
.pj-more { padding-block: var(--sec-sm); }
.pj-more__head { margin-bottom: clamp(24px, 3vw, 40px); }
.section.first { padding-top: calc(var(--header-h) + clamp(24px, 3vw, 56px)); }
.faq summary { padding: 12px 0; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.faq .answer { padding-bottom: 16px; font-size: 1.125rem; line-height: 1.65; }
.tf__media .ph { --ar: 5 / 2; }
@media (min-width: 900px) {
  .section.studio, .section.faq-sec { padding-block: var(--sec-sm); }
  .collage { gap: clamp(8px, 1.2vw, 16px); grid-template-rows: repeat(12, clamp(20px, 3.4vh, 40px)) !important; }
  .panels { height: clamp(380px, 60vh, 600px); }
  .collage { grid-template-rows: repeat(12, clamp(22px, 4.2vh, 46px)); }
  .pj-story2__media .ph { aspect-ratio: auto; height: clamp(360px, 70vh, 680px); }
  .ct .field input, .ct .field select { min-height: 42px; padding-block: 8px; }
  .ct .form-grid { gap: 16px 24px; }
  .ct .field textarea { min-height: 72px; }
}

/* ---------- Round 11: phone layouts, What happens next on dark ---------- */
.next3 .next3__head .kicker { color: color-mix(in srgb, var(--beige) 70%, transparent); }
.next3 .next3__head h2 { color: var(--beige); }
.next3__card { background: color-mix(in srgb, var(--paper) 7%, var(--umber)); }
.next3__card h3 { color: var(--paper); }
.next3__card p { color: color-mix(in srgb, var(--beige) 80%, transparent); }
.next3__n { color: color-mix(in srgb, var(--beige) 60%, transparent); }
.next3__card:not(:last-child)::after { border-color: var(--terra); }

@media (max-width: 899px) {
  /* What we design: full cards in a swipe row */
  .panels { flex-direction: row; height: auto; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .panels::-webkit-scrollbar { display: none; }
  .panel, .panel.is-active { flex: 0 0 82%; height: clamp(380px, 58svh, 480px); scroll-snap-align: start; }
  .panel__tab { display: none; }
  .panel__body, .panel.is-active .panel__body { opacity: 1; transform: none; left: 20px; right: 20px; bottom: 22px; }
  .panel .ph__inner { transform: none; }

  /* About, first section: photograph on top, the description below it, even spacing */

  /* Services: title, then the two photographs side by side, then the text */
  .svc { gap: 24px; }
  .svc__text, .svc__main { display: contents; }
  .svc__main h2 { order: 1; }
  .svc__media { order: 2; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; padding-bottom: 0; }
  .svc:nth-child(even) .svc__media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .svc:nth-child(even) .svc__small { order: -1; }
  .svc__big, .svc__small { position: static; width: auto; margin: 0 !important; aspect-ratio: auto; height: clamp(200px, 56vw, 300px); box-shadow: none; }
  .svc__small .ph__label { display: none; }
  .svc__main .lead { order: 3; margin: 0; }
  .svc__aside { order: 4; }
}

/* ---------- Round 12: About opening, client quote, Testimonials page ---------- */
/* About: the name set large, a wide photograph beside the story */

/* Home: the client's words beside their project */
.tq3 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: center; }
.tq3__media { grid-column: 1 / span 5; position: relative; display: block; }
.tq3__frame { display: block; overflow: hidden; }
.tq3__frame .ph { --ar: 4 / 5; }
.tq3__frame .ph__inner { transition: transform 1.2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tq3__media:hover .ph__inner { transform: scale(1.03); } }
.tq3__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 8px 14px; background: var(--paper); font-family: var(--f-display); font-size: 1.125rem; color: var(--umber); }
.tq3__body { grid-column: 7 / -1; display: grid; justify-items: start; gap: 22px; }
.tq3--solo .tq3__body { grid-column: 2 / span 10; }
.tq3__kicker { color: var(--rust); }
.tq3__mark { display: block; height: .42em; margin-bottom: -8px; font-family: var(--f-display); font-size: clamp(5rem, 3rem + 4vw, 8rem); line-height: .8; color: var(--terra); }
.tq3__quote { margin: 0; }
.tq3__quote p { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); line-height: 1.12; color: var(--umber); text-wrap: pretty; }
.tq3__who { display: flex; align-items: center; gap: 14px; }
.tq3__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 6px; }
@media (min-width: 900px) { .tq3__frame .ph { aspect-ratio: auto; height: clamp(380px, 66vh, 620px); } }
@media (max-width: 899px) {
  .tq3__media, .tq3__body, .tq3--solo .tq3__body { grid-column: 1 / -1; }
  .tq3__frame .ph { --ar: 4 / 3; }
}

/* Testimonials page: heading block */
.tf__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.tf__lead { grid-column: 1 / span 6; display: grid; gap: 16px; }
.tf__kicker { color: var(--ink-mute); }
.tf__title { margin: 0; font-size: var(--t-h1); line-height: .95; }
.tf__side { grid-column: 8 / -1; display: grid; justify-items: start; gap: 16px; }
.tf__side p { margin: 0; color: var(--ink-soft); }
.tf__nav { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.tf__nav.is-idle { visibility: hidden; }
.tf__count { margin: 0 16px 0 0; font-family: var(--f-display); font-size: var(--t-h4); color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.tf__count span:first-child { color: var(--rust); }
@media (max-width: 899px) {
  .tf__lead, .tf__side, .tf__nav { grid-column: 1 / -1; }
  .tf__title { font-size: var(--t-h2); }
  .tf__nav { justify-content: flex-start; }
}

/* Testimonials page: photograph beside a Deep Rust call-back panel */
.section.tdisc { padding-top: var(--sec-sm); }
.tdisc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; align-items: stretch; }
.tdisc__media { grid-column: 1 / span 5; position: relative; min-height: 420px; }
.tdisc__media .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.tdisc__panel { grid-column: 6 / -1; display: grid; align-content: center; justify-items: start; gap: 20px; padding: clamp(32px, 4.4vw, 72px); background: var(--rust); color: var(--beige); }
.tdisc__kicker { color: color-mix(in srgb, var(--beige) 70%, transparent); }
.tdisc__title { margin: 0; font-size: var(--t-h2); line-height: 1; color: var(--beige); }
.tdisc__lead { margin: 0; max-width: 46ch; color: color-mix(in srgb, var(--beige) 86%, transparent); }
.tdisc__form { width: 100%; display: grid; gap: 20px; margin-top: 8px; }
.tdisc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.tdisc__form .field label { color: color-mix(in srgb, var(--beige) 76%, transparent); }
.tdisc__form .field input { padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--beige) 42%, transparent); background: color-mix(in srgb, var(--umber) 22%, transparent); color: var(--paper); }
.tdisc__form .field input:focus { border-color: var(--beige); background-color: color-mix(in srgb, var(--umber) 34%, transparent); }
.tdisc__form .field .error { color: var(--beige); }
.tdisc__form .field.is-invalid input { border-color: var(--beige); }
.tdisc__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tdisc__note { margin: 0; max-width: 32ch; font-size: var(--t-xs); color: color-mix(in srgb, var(--beige) 70%, transparent); }
.tdisc__form .form-status { margin-top: 0; color: var(--ink); }
@media (max-width: 899px) {
  .tdisc__media, .tdisc__panel { grid-column: 1 / -1; }
  .tdisc__media { min-height: 0; aspect-ratio: 4 / 3; }
  .tdisc__panel { padding: 32px 24px; }
  .tdisc__fields { grid-template-columns: minmax(0, 1fr); }
  .tdisc__send .btn { width: 100%; justify-content: center; }
}

/* Project page: the client quote on its own, centred */
.pj-notes .pj-quote { grid-column: 3 / span 8; grid-row: auto; margin: 0; }
@media (max-width: 899px) { .pj-notes .pj-quote { grid-column: 1 / -1; } }

/* ---------- Round 13: About opening, founder beside it, How we think ---------- */

/* Founder: text on the left, portrait on the right, so it does not repeat the opening */
@media (min-width: 900px) {
  .founder--flip .founder__media { grid-column: 8 / -1; grid-row: 1; }
  .founder--flip .founder__text { grid-column: 1 / span 6; grid-row: 1; }
}

/* How we think: principles scroll on the left, the photograph holds still on the right */
.think2__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: start; }
.think2__col { grid-column: 1 / span 6; }
.think2__head { display: grid; gap: 16px; }
.think2__head .kicker { color: var(--ink-mute); }
.think2__head .body-copy { max-width: 40ch; }
.think2__list { display: grid; gap: clamp(48px, 16vh, 160px); padding-block: clamp(48px, 10vh, 120px) clamp(48px, 18vh, 200px); }
.think2__item { position: relative; display: grid; gap: 14px; padding-left: 28px; }
.think2__item::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color .4s var(--ease), transform .4s var(--ease-enter); }
.think2__item.is-active::before { background: var(--rust); transform: scale(1.4); }
.think2__title { margin: 0; font-size: var(--t-h3); color: var(--ink-mute); transition: color .4s var(--ease); }
.think2__item.is-active .think2__title { color: var(--ink); }
.think2__item p { margin: 0; max-width: 42ch; font-size: var(--t-lead); color: var(--ink-soft); }
.think2__media { grid-column: 8 / -1; position: sticky; top: calc(var(--header-h) + 32px); height: clamp(360px, calc(100svh - var(--header-h) - 64px), 680px); overflow: hidden; }
.think2__media .ph { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease-enter); }
.think2__media .ph.is-active { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .think2__col, .think2__media { grid-column: 1 / -1; }
  .think2__list { gap: 36px; padding-block: 36px 0; }
  .think2__media { position: relative; top: auto; height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Round 14: About studio section in the founder layout ---------- */
.ab3__title { margin: 0 0 10px; font-family: var(--f-display); font-weight: 300; font-size: var(--t-h1); line-height: 1.02; }
.ab3 .founder__text .quote { margin-top: 32px; margin-bottom: 20px; }
.ab3__since { display: flex; align-items: baseline; gap: 14px; margin: 0; color: var(--ink); }
.ab3__since span { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Round 15: home studio, balanced text ---------- */
p, li, dd { text-wrap: pretty; }

/* Home, the studio: the story in the centre, a photograph either side, the four services below */
.st2__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(40px, 6vh, 64px); align-items: center; }

/* About: the name runs straight into the story now the Tamil line is gone */
.ab3__title { margin-bottom: 24px; }

/* How we think: the intro at the same size as the principles, closer together */
.think2__head .body-copy { max-width: 40ch; margin: 0; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-soft); }
.think2__list { gap: clamp(40px, 10vh, 96px); padding-block: clamp(40px, 8vh, 80px) clamp(40px, 12vh, 120px); }
.think2__item p { max-width: 40ch; }

/* Project page: the facts beside the title, the story column in step with the photograph */
.pj-head2__row { grid-template-columns: minmax(0, 1fr) minmax(260px, 32%); gap: 28px clamp(32px, 4vw, 72px); }
.pj-head2__row .pj-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding-bottom: .4em; }
.pj-head2__row .pj-spec div, .pj-head2__row .pj-spec div:first-child { padding: 10px 0; }
.pj-story2__text { max-width: 640px; }
.pj-lede { text-wrap: balance; }
@media (max-width: 899px) { .pj-head2__row { grid-template-columns: minmax(0, 1fr); } }

/* Services: Work across the four services, heading left, intro and controls right */
.cr__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; justify-items: stretch; gap: 24px clamp(32px, 4vw, 72px); text-align: left; }
.cr__head h2 { margin: 0; }
.cr__side { display: grid; gap: 22px; justify-items: start; }
.cr__side .lead { margin: 0; }
@media (max-width: 899px) { .cr__head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Round 16: phones, logo on the left, Project enquiries fixed at the bottom ---------- */
@media (max-width: 899px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) 44px; }
  .brand { grid-column: 1; justify-self: start; }
  .menu-btn { grid-column: 2; }

  .cta-bar { grid-template-columns: minmax(0, 1fr); }
  .cta-bar__go { width: 100%; min-height: 52px; justify-content: center; }

  /* Call and WhatsApp float just above the bar, as on desktop */
  .fab { display: inline-flex; width: 52px; height: 52px; padding: 0; justify-content: center; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .fab--call { left: var(--gutter); }
  .fab--wa { right: var(--gutter); }
  .fab__label { display: none; }
  .menu-open .fab, .menu-open .cta-bar { visibility: hidden; }
}

/* ---------- Round 17: Studio Maiyam design system (tokens, controls, bands). Logo artwork is the studio's own files. ---------- */
:root {
  --ink-soft: #6B4A3A;      /* ink-muted */
  --ink-mute: #6B4A3A;
  --line: #E9D9BD;
  --line-strong: #8C6A55;
  --raised: #FFFAF1;        /* surface-raised: inputs and cards */
  --sunken: #F3E6CC;        /* surface-sunken: quiet wells */
  --ink-inverse-muted: #E6C993;
}
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.on-dark :focus-visible, .section--rust :focus-visible, .section--umber :focus-visible, .site-footer :focus-visible, .cta-bar :focus-visible { outline-color: var(--beige); }

/* Eyebrow: tracked caps, muted */
.kicker { font-size: 12px; line-height: 16px; letter-spacing: .2em; }

/* Buttons: crisp 2px corners, tracked caps label, 48px tall (56px in heroes) */
.btn { min-height: 48px; padding: 0 32px; font-size: 13px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; }
.hero .btn, .pghero .btn { min-height: 56px; }
.header-cta { min-height: 44px; padding: 0 22px; }
.btn .icon { width: 15px; height: 15px; }

/* Nav: tracked caps links */
.nav a { font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 1180px) and (min-width: 900px) { .nav ul { gap: 18px; } .nav a { letter-spacing: .12em; } .header-cta { padding: 0 16px; } }

/* Form fields: raised boxes with a strong hairline, sentence-case labels */
.field label { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink); }
.field label .opt { color: var(--ink-mute); }
.field input, .field select, .field textarea { padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background-color: var(--raised); }
.field select { background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rust); background-color: var(--raised); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: none; outline: 2px solid var(--terra); outline-offset: 2px; }
.field .error { color: #A1311F; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #A1311F; }
.tdisc__form .field label { color: var(--beige); }

/* Tags: Warm Beige chips, tracked caps */
.cr__tags span { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius); background: var(--beige); color: var(--umber); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* Bands: Paper, Warm Beige and Deep Rust alternate; the closing band is Warm Beige, the footer Deep Rust */
.cta3 { background: var(--beige); color: var(--umber); }
.cta3__title { color: var(--umber); }
.cta3__text { color: var(--ink-soft); }
.site-footer { background: var(--rust); }
.footer-brand p, .footer-col a, .footer-col address { color: var(--beige); }
.footer-col h2, .footer-bottom { color: var(--ink-inverse-muted); }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--paper); } }

/* Home studio panels: the guideline's stroke icons in Deep Rust */
.st2__icon { display: block; width: 32px; height: 32px; margin-bottom: 6px; background: var(--rust); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background-color .35s var(--ease); }
.st2__icon--buildings { --icon: url("../img/icons/buildings.svg"); }
.st2__icon--swatches { --icon: url("../img/icons/swatches.svg"); }
.st2__icon--armchair { --icon: url("../img/icons/armchair.svg"); }
.st2__icon--floor-plan { --icon: url("../img/icons/floor-plan.svg"); }
@media (max-width: 899px) { .st2__icon { width: 28px; height: 28px; } }

/* Phones: tracked caps buttons a touch tighter so two fit side by side */
@media (max-width: 899px) {
  .btn { font-size: 12px; letter-spacing: .1em; }
  .hero .btn-row { flex-wrap: wrap; }
  .hero .btn-row .btn { flex: 1 1 auto; min-height: 52px; padding-inline: 12px; }
  .hero .btn-row .btn .icon { display: none; }
  .cta-bar .btn { font-size: 13px; letter-spacing: .14em; }
}

/* ---------- Round 18: home studio like the About opening, gallery ---------- */
.section.st3 { padding-block: var(--sec-sm); }
.st3 .founder__text .st3__title { font-size: var(--t-h2); line-height: 1.02; }
.st3 .founder__role { text-wrap: balance; }
.st3 .founder__role { margin-bottom: 20px; }
.st3 .body-copy { margin-bottom: 28px; }
.st3__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.st3__list a { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: start; height: 100%; padding: 16px 18px; background: color-mix(in srgb, var(--beige) 38%, var(--paper)); transition: background-color .35s var(--ease); }
.st3__list .st2__icon { grid-row: 1 / 3; width: 30px; height: 30px; margin: 2px 0 0; }
.st3__name { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.2; color: var(--ink); transition: color .35s var(--ease); }
.st3__text { font-size: var(--t-sm); line-height: 1.5; color: var(--ink-soft); transition: color .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .st3__list a:hover { background: var(--rust); }
  .st3__list a:hover .st2__icon { background: var(--beige); }
  .st3__list a:hover .st3__name { color: var(--beige); }
  .st3__list a:hover .st3__text { color: var(--ink-inverse-muted); }
}
@media (min-width: 900px) { .st3 .founder__media .ph { aspect-ratio: auto; height: clamp(440px, calc(100svh - var(--header-h) - 120px), 720px); } }
@media (max-width: 899px) { .st3__list { grid-template-columns: minmax(0, 1fr); } }

/* Gallery: five photographs in an editorial grid */
.gal__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.gal__head .kicker { margin-bottom: 14px; color: var(--ink-mute); }
.gal__head h2 { margin: 0; }
.gal__tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; cursor: zoom-in; text-align: left; }
.gal__tile .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.gal__tile .ph__inner { transition: transform 1.2s var(--ease); }
.gal__cap { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; gap: 2px; padding: 40px 18px 16px; background: linear-gradient(to top, color-mix(in srgb, var(--umber) 78%, transparent), transparent); color: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-enter); }
.gal__name { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.15; }
.gal__type { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--beige); }
.gal__tile .ph__label { transition: opacity .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .gal__tile:hover .ph__inner { transform: scale(1.03); }
  .gal__tile:hover .gal__cap { opacity: 1; transform: none; }
  .gal__tile:hover .ph__label { opacity: 0; }
}
.gal__tile:focus-visible .gal__cap { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .gal__cap { opacity: 1; transform: none; padding: 32px 12px 10px; }
  .gal__name { font-size: 1.0625rem; }
  .gal__type { font-size: 10px; letter-spacing: .12em; }
  .gal__tile .ph__label { display: none; }
}

/* Lightbox */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 80px clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px); border: 0; background: color-mix(in srgb, var(--umber) 96%, transparent); color: var(--beige); }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; animation: lb-in .35s var(--ease) both; }
.lb::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb__stage { display: grid; place-items: center; min-height: 0; }
.lb__stage .ph { width: min(100%, calc((100svh - 200px) * 3 / 2)); height: auto; max-height: 100%; aspect-ratio: 3 / 2; }
.lb__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px 28px; width: min(100%, calc((100svh - 200px) * 3 / 2)); margin-inline: auto; }
.lb__info { display: grid; gap: 4px; }
.lb__name { margin: 0; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; color: var(--paper); }
.lb__link { justify-self: start; color: var(--beige); font-size: var(--t-sm); }
.lb__count { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--ink-inverse-muted); }
.lb__nav { display: flex; gap: 10px; }
.lb .cr__btn { color: var(--beige); border-color: color-mix(in srgb, var(--beige) 50%, transparent); }
.lb__close { position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--beige) 50%, transparent); color: var(--beige); }
.lb__close span { position: absolute; left: 14px; right: 14px; top: 50%; height: 1.5px; background: currentColor; }
.lb__close span:first-child { transform: rotate(45deg); }
.lb__close span:last-child { transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .lb__close:hover, .lb .cr__btn:hover { background: var(--beige); color: var(--umber); } }
.lb-open { overflow: hidden; }
@media (max-width: 899px) {
  .lb { padding: 72px 16px calc(16px + env(safe-area-inset-bottom)); }
  .lb__stage .ph { width: 100%; aspect-ratio: 4 / 5; }
  .lb__bar { grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
  .lb__count { grid-column: 1; grid-row: 2; }
  .lb__nav { grid-column: 2; grid-row: 1 / 3; }
}

/* ---------- Round 19: gallery as one moving row of same-size photographs ---------- */
.gal__ctrl { display: flex; align-items: center; gap: 24px; }

.gal__grid { --tile: clamp(240px, 22vw, 340px); --gap: clamp(10px, 1vw, 16px); margin-inline: calc(50% - 50vw); overflow: hidden; }
.gal__track { display: flex; width: max-content; gap: var(--gap); animation: gal-run calc(var(--n) * 6s) linear infinite; }
.gal__set { display: flex; gap: var(--gap); }
.gal__grid:hover .gal__track, .gal__grid:focus-within .gal__track, .gal__grid.is-paused .gal__track, .lb-open .gal__track { animation-play-state: paused; }
@keyframes gal-run { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.gal__tile { flex: 0 0 var(--tile); width: var(--tile); height: auto; aspect-ratio: 4 / 5; }
@media (max-width: 899px) {
  .gal__grid { --tile: 62vw; --gap: 10px; }
  .gal__ctrl { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gal__track { animation: none; }
  .gal__grid { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .gal__track { padding-inline: var(--gutter); }
  .gal__set[aria-hidden="true"] { display: none; }
  .gal__tile { scroll-snap-align: start; }
}

/* ==========================================================================
   Round 20: Studio Maiyam Design System styling
   Colours, type, eyebrows, buttons, links, nav, tags, fields, cards, frames,
   icons and footer from the design system. Page layouts and the logo are
   unchanged (they stay as built above).
   ========================================================================== */
:root {
  /* design system tokens (light theme) */
  --surface: #FBF3E4; --surface-raised: #FFFAF1; --surface-tint: #F4D79F; --surface-sunken: #F3E6CC; --surface-inverse: #7F2400;
  --ink: #421603; --ink-soft: #6B4A3A; --ink-mute: #6B4A3A; --ink-inverse: #F4D79F; --ink-inverse-muted: #E6C993;
  --line: #E9D9BD; --line-strong: #8C6A55; --line-dark: #9A3A14;
  --action: #7F2400; --action-hover: #421603; --on-action: #FBF3E4;
  --accent-ink: #C84C19; --link: #7F2400; --focus-ring: #C84C19; --danger: #A1311F; --success: #2F6B3A;
  --overlay-umber: #421603BF; --overlay-paper: #FBF3E480;
  --shadow-sm: 0 1px 2px #4216030F; --shadow-md: 0 12px 28px -12px #42160329; --shadow-lg: 0 28px 56px -24px #42160338;
  --radius-sm: 2px; --radius-md: 4px; --radius-arch: 480px; --radius: var(--radius-sm);
  --raised: var(--surface-raised); --sunken: var(--surface-sunken);
  --sand: var(--surface-tint);
  /* type scale */
  --t-xs: 12px; --t-sm: 14px; --t-base: 16px; --t-lead: 20px;
  --t-h4: 24px; --t-h3: 32px; --t-h2: 44px; --t-h1: 60px; --t-display: 76px;
  /* section padding: space-9, compact space-8 */
  --sec: clamp(64px, 8vw, 96px); --sec-sm: clamp(48px, 6vw, 64px);
  --header-h: 88px;
}
@media (max-width: 899px) { :root { --t-h1: 44px; --t-display: 52px; --header-h: 72px; } }

/* ---------- Type ---------- */
body { font-size: 16px; line-height: 26px; font-weight: 400; }
h1, h2, h3, h4, .display { font-feature-settings: "lnum" 1; }
h1 { font-weight: 300; line-height: 1.07; letter-spacing: .01em; }
.display { font-weight: 300; line-height: 1.05; letter-spacing: .01em; }
h2 { font-weight: 400; line-height: 1.14; letter-spacing: .015em; }
h3 { font-weight: 400; line-height: 1.19; letter-spacing: .02em; }
h4 { font-weight: 500; line-height: 1.25; letter-spacing: .02em; }
.lead, .svc__main .lead, .pj-lede, .pj-block p, .pj-notes__text { font-size: 20px; line-height: 32px; font-weight: 300; color: var(--ink-muted, #6B4A3A); }
.lead { color: var(--ink-soft); }
.body-copy, .body-copy p { font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.small, .figcap { font-size: 14px; line-height: 22px; }
.section--rust .lead, .section--umber .lead, .section--rust .body-copy, .section--umber .body-copy { color: var(--ink-inverse-muted); }
/* statements and client words: display 300 at 40px */
.quote, .founder__text .quote, .tq3__quote p { font-family: var(--f-display); font-size: 40px; line-height: 48px; font-weight: 300; letter-spacing: .01em; color: var(--ink); }
@media (max-width: 640px) { .quote, .founder__text .quote, .tq3__quote p { font-size: 30px; line-height: 38px; } }
.pj-quote p, .tf__quote p { font-family: var(--f-body); font-size: 20px; line-height: 32px; font-weight: 300; color: var(--ink); }
.ty__title { font-size: var(--t-display); line-height: 1.05; }
.panel__tab { font-size: 24px; }
.visit3__addr { font-size: 24px; line-height: 30px; }
/* numerals: the stat style in accent-ink */
.hw__n, .hs-card__n, .hs.is-pinned .hs-card__n { font-family: var(--f-display); font-size: 56px; line-height: 56px; font-weight: 300; color: var(--accent-ink); font-feature-settings: "lnum" 1; }
.section--rust .hw__n, .hw .hw__n { color: var(--beige); }
.ty__steps span, .next3__n { color: var(--accent-ink); }

/* ---------- Eyebrow: tracked caps with a short Terracotta rule ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .2em; color: var(--ink-muted, #6B4A3A); }
.kicker::before { content: ""; flex: none; width: 32px; height: 1px; background: var(--accent-ink); }
.section--rust .kicker, .section--umber .kicker, .on-dark .kicker, .hero .kicker, .hero__text .kicker, .faq__card .kicker, .tdisc__panel .kicker, .hs-card--end .kicker, .ow .kicker, .next3 .kicker, .ty .kicker, .cta3__inner .kicker { color: var(--ink-inverse-muted); }
.section--rust .kicker::before, .section--umber .kicker::before, .on-dark .kicker::before, .hero .kicker::before, .faq__card .kicker::before, .tdisc__panel .kicker::before, .ow .kicker::before, .next3 .kicker::before, .ty .kicker::before { background: var(--beige); }

/* ---------- Buttons: crisp 2px corners, tracked caps, colour transitions only ---------- */
.btn { --btn-bg: var(--action); --btn-fg: var(--on-action); --btn-bd: var(--action); --btn-hover: var(--action-hover); min-height: 48px; padding: 0 32px; gap: 12px; border-radius: var(--radius-sm); font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; overflow: visible; isolation: auto; transition: background-color .2s, border-color .2s, color .2s; }
.btn::before { display: none; }
.btn .icon { width: 18px; height: 18px; transition: none; }
.btn:active { transform: none; }
.btn--light { --btn-bg: var(--beige); --btn-fg: var(--umber); --btn-bd: var(--beige); --btn-hover: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); --btn-hover: transparent; }
.on-dark .btn--ghost, .section--rust .btn--ghost, .section--umber .btn--ghost, .hero .btn--ghost { --btn-fg: var(--beige); --btn-bd: var(--ink-inverse-muted); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn:not(.btn--light):not(.btn--ghost):hover { transform: none; background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
  .btn:not(.btn--light):not(.btn--ghost):hover { color: var(--on-action); }
  .btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--umber); }
  .btn--ghost:hover { background: transparent; border-color: currentColor; }
  .btn:hover .icon { transform: none; }
}
.hero .btn, .pghero .btn, .cta3 .btn { min-height: 56px; }
.header-cta { min-height: 40px; padding: 0 24px; font-size: 12px; letter-spacing: .14em; }
@media (max-width: 899px) { .btn { font-size: 12px; letter-spacing: .1em; padding: 0 20px; } }

/* ---------- Links: Deep Rust text, Terracotta underline ---------- */
.link { --link-c: var(--link); --line-c: var(--accent-ink); color: var(--link-c); padding: 4px 0 6px; background: linear-gradient(var(--line-c), var(--line-c)) left bottom / 100% 1px no-repeat; transition: background-size .15s; }
.link, .link:hover, .link:focus-visible { background-image: linear-gradient(var(--line-c), var(--line-c)); background-position: left bottom; background-repeat: no-repeat; }
.link .icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 2px; color: var(--link-c); } .link:hover .icon { transform: translateX(4px); } }
.on-dark .link, .section--rust .link, .section--umber .link, .panel .link, .hw .link, .faq__card .link, .hs-card--end .link, .mcard .link, .ow .link, .ow__info > .link, .cta3 .link, .tdisc__panel .link, .site-footer .link { --link-c: var(--beige); --line-c: var(--beige); }
@media (hover: hover) and (pointer: fine) { .on-dark .link:hover, .panel .link:hover, .hw .link:hover, .faq__card .link:hover, .hs-card--end .link:hover, .mcard .link:hover, .ow__info > .link:hover { color: var(--beige); } }

/* ---------- Nav: tracked caps, current page underlined in Terracotta ---------- */
.site-header::before { background: var(--surface-raised); border-bottom-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-solid::before { box-shadow: var(--shadow-sm); }
.nav a { font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav a::after { display: block; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a[aria-current="page"] { color: inherit; font-weight: 500; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.has-hero .site-header:not(.is-solid) .nav a::after { background: var(--beige); }
.has-hero .site-header:not(.is-solid) .nav a[aria-current="page"] { color: var(--beige); }
.has-hero .site-header:not(.is-solid) .header-cta { --btn-bg: var(--beige); --btn-fg: var(--umber); --btn-bd: var(--beige); --btn-hover: var(--paper); }
.menu ul a { font-weight: 400; letter-spacing: .02em; }

/* ---------- Tags: 28px, radius-sm, 11px tracked caps ---------- */
.cr__tags span, .tq3__tag, .ct__promise { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: var(--radius-sm); font-family: var(--f-body); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.cr__tags span { background: var(--beige); color: var(--umber); }
.tq3__tag { background: var(--paper); color: var(--umber); }
.ct__promise { border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.pfilter button { min-height: 28px; height: 28px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pfilter button::before { display: none; }
.pfilter button[aria-pressed="true"] { background: var(--rust); color: var(--beige); box-shadow: none; }
.pfilter__items { gap: 8px; }
.pfilter__count { font-size: 12px; letter-spacing: .2em; }

/* ---------- Fields: raised, line-strong border, 48px ---------- */
.field input, .field select { min-height: 48px; padding: 0 16px; }
.field textarea { padding: 12px 16px; }
.ct .field input, .ct .field select { min-height: 48px; padding-block: 0; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.field .error { font-size: 14px; line-height: 20px; color: var(--danger); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }

/* ---------- Cards and panels: radius-md; raised cards get a hairline and a hover shadow ---------- */
.tile, .st3__list a, .tf__card, .next3__card, .enquiry__form, .visit3__info, .faq__card, .tdisc__panel, .hs-card--end, .cta3__inner { border-radius: var(--radius-md); }
.tile, .st3__list a, .enquiry__form { background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, border-color .2s; }
.tf__card { background: var(--surface-raised); border-color: var(--line); }
.visit3__info { background: var(--surface-tint); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, .st3__list a:hover { background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-md); }
  .st3__list a:hover .st2__icon { background: var(--rust); }
  .st3__list a:hover .st3__name { color: var(--ink); }
  .st3__list a:hover .st3__text { color: var(--ink-soft); }
  .tile:hover .tile__icon { background: var(--paper); color: var(--rust); }
  .tile:hover .tile__k, .tile:hover .tile__v { color: inherit; }
}
/* cards on a Dark Umber band turn Paper */
.next3__card { background: var(--paper); }
.next3__card h3 { color: var(--ink); }
.next3__card p { color: var(--ink-soft); }
.next3__card:not(:last-child)::after { border-color: var(--beige); }

/* ---------- Image frames: surface-sunken wells, radius-md; arched frames for feature photographs ---------- */
.ph, .ph--beige, .ph--paper, .ph--rust, .ph--umber, .ph--terra { --ph-bg: var(--surface-sunken); --ph-fg: var(--ink-soft); }
.ph { border-radius: var(--radius-md); }
.ph__inner { background-image: none; }
.ph__label { font-size: 14px; line-height: 22px; letter-spacing: 0; color: var(--ink-soft); }
.hero__slide .ph, .pj-hero .ph, .pj-full .ph, .panel .ph, .mcard .ph, .ow__slide .ph { border-radius: 0; }
.panel, .mcard, .ow__slide { border-radius: var(--radius-md); overflow: hidden; }
/* text over a photograph: the Dark Umber 75% veil (multiply) */
.hero__shade { background: var(--overlay-umber); mix-blend-mode: multiply; }
.panel::after { background: var(--overlay-umber); mix-blend-mode: multiply; }
.panel .ph__label, .hero__slide .ph__label { color: var(--ink-inverse-muted); z-index: 4; }
.mcard__shade { background: var(--overlay-umber); }

/* ---------- Closing invitation: a Deep Rust CtaBand inside a compact Paper section ---------- */
.cta3 { padding-block: var(--sec-sm); background: var(--surface); color: var(--ink); }
.cta3__inner { padding: var(--space-8, 64px) clamp(24px, 6vw, 64px); background: var(--surface-inverse); color: var(--ink-inverse); }
.cta3__title { font-size: 32px; line-height: 38px; font-weight: 400; letter-spacing: .02em; color: var(--ink-inverse); }
.cta3__text { font-size: 20px; line-height: 32px; font-weight: 300; color: var(--ink-inverse-muted); }

/* ---------- Questions ---------- */
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { font-family: var(--f-display); font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: .03em; }
.faq .answer { font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.faq details[open] summary { color: var(--link); }
.faq__icon { border-color: var(--line-strong); }
.faq details[open] .faq__icon { background: var(--action); border-color: var(--action); color: var(--on-action); }

/* ---------- Footer: eyebrow column titles, Warm Beige links underlined on hover ---------- */
.footer-col h2 { font-size: 12px; line-height: 16px; letter-spacing: .2em; color: var(--ink-inverse-muted); }
.footer-col a, .footer-col address { font-size: 15px; line-height: 22px; color: var(--ink-inverse); }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--ink-inverse); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; } }
.footer-brand p { color: var(--ink-inverse-muted); }
.footer-bottom { border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 20px; color: var(--ink-inverse-muted); }

/* ---------- Floating buttons: the floating-layer shadow ---------- */
.fab { box-shadow: var(--shadow-lg); }

/* ---------- Icons drawn on the design system grid (24px, 1.5px stroke) ---------- */
.icon { stroke-width: 1.5; }
.tile__icon svg, .next3__icon svg { width: 24px; height: 24px; }


/* ---------- Round 21: frames, collage, process scroll ---------- */
.cr__media, .gal__tile { border-radius: var(--radius-md); }
/* Inside the studio: every column runs the full height */
.collage__b { grid-row: 1 / 6; }
.collage__e { grid-row: 8 / 13; }
@media (max-width: 899px) { .collage__b, .collage__e { grid-row: auto; } }
/* How a project runs: a whole step fits on shorter windows while the section is pinned */
.hs.is-pinned .hs-card:not(.hs-card--end) .ph { height: clamp(110px, 100svh - 470px, 330px); }
.hs.is-pinned .hs-card__n { font-size: clamp(36px, 7svh, 56px); line-height: 1; }
.hs.is-pinned .hs__head { margin-bottom: clamp(16px, 3vh, 48px); }
@media (max-height: 700px) { .hs.is-pinned .hs-card { gap: 8px; } .hs.is-pinned .hs__pin { padding-bottom: 16px; } }

/* ---------- Round 24: no label lines, black overlays, questions ---------- */
/* 1. labels without the short line in front */
.kicker::before { display: none; }
.ow__info > .kicker::before { display: block; }

/* 2. black overlay over the home hero and the What we design panels */
.hero__shade { background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .38) 55%, rgba(0, 0, 0, .5) 100%); mix-blend-mode: normal; }
.panel::after { background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .28) 60%, rgba(0, 0, 0, .18) 100%); mix-blend-mode: normal; }

/* 4. questions: separate cards, each opens on its own with a slide; a plus that turns into a minus */
.faq__list { display: grid; gap: 10px; border-top: 0; }
.faq details { border: 0; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px 18px 24px; color: var(--ink); }
.faq details[open] summary { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--rust); } .faq details:hover { box-shadow: inset 0 0 0 1px var(--line-strong); } }
.faq summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-md); }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--rust); transition: background-color .3s, border-color .3s, color .3s, transform .4s cubic-bezier(.22, 1, .36, 1); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; border: 0; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { background: var(--rust); border-color: var(--rust); color: var(--beige); transform: rotate(180deg); }
.faq details[open] .faq__icon::before { transform: translate(-50%, -50%); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 72px 22px 24px; max-width: none; }
.faq .answer p { max-width: 64ch; }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s cubic-bezier(.22, 1, .36, 1), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 640px) { .faq summary { padding: 16px 14px 16px 18px; } .faq .answer { padding: 0 18px 18px; } .faq__icon { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } .faq__icon, .faq__icon::before, .faq__icon::after { transition: none; } }

/* ---------- Round 25: questions, heading row and a numbered list, one open at a time ---------- */
.faq2 { display: block; }
.faq2__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); align-items: end; gap: 24px clamp(32px, 5vw, 96px); margin-bottom: clamp(32px, 4vw, 56px); }
.faq2__title .kicker { margin-bottom: 14px; color: var(--ink-mute); }
.faq2__title h2 { max-width: 16ch; }
.faq2__ask { display: grid; gap: 18px; }
.faq2__ask p { margin: 0; color: var(--ink-soft); }
.faq2__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.faq2 .faq__list { counter-reset: faq; gap: 8px; }
.faq2 details { counter-increment: faq; }
.faq2 summary { gap: clamp(16px, 2.4vw, 32px); padding: 20px 20px 20px clamp(20px, 2.4vw, 32px); font-size: 22px; line-height: 28px; }
.faq2 summary::before { content: counter(faq, decimal-leading-zero); flex: none; width: 2ch; font-family: var(--f-display); font-size: 24px; font-weight: 300; line-height: 1; color: var(--accent-ink); font-feature-settings: "lnum" 1; }
.faq2 summary > .faq__q { flex: 1; }
.faq2 details[open] { background: var(--surface-tint); box-shadow: none; }
.faq2 details[open] summary { color: var(--ink); }
.faq2 .answer { padding: 0 clamp(20px, 6vw, 120px) 24px calc(clamp(20px, 2.4vw, 32px) + 2ch + clamp(16px, 2.4vw, 32px) + 6px); color: var(--ink); }
.faq2 details[open] .answer p { color: var(--ink-soft); }
@media (max-width: 899px) {
  .faq2__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .faq2 summary { font-size: 18px; line-height: 24px; padding: 16px 14px 16px 16px; gap: 14px; }
  .faq2 summary::before { font-size: 20px; }
  .faq2 .answer { padding: 0 16px 18px 16px; }
}

/* ---------- Round 26: questions, sticky intro beside grouped questions ---------- */
.faq3 { --rule: color-mix(in srgb, var(--umber) 14%, transparent); --tint: color-mix(in srgb, var(--beige) 42%, var(--paper)); --ease3: cubic-bezier(.2, .7, .2, 1); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq3__aside { display: grid; justify-items: start; gap: 20px; }
@media (min-width: 900px) { .faq3__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq3__aside .kicker { color: var(--ink-mute); }
.faq3__aside h2 { max-width: 14ch; }
.faq3__note { margin: 4px 0 0; max-width: 46ch; color: var(--ink-soft); }
.faq3__note a { color: var(--rust); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .faq3__note a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.faq3__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.faq3__group + .faq3__group { margin-top: clamp(40px, 5vw, 64px); }
.faq3__gtitle { margin: 0 0 16px; font-size: var(--t-h3); }
.faq3__list { border-top: 1px solid var(--rule); }
.faq3__item { border-bottom: 1px solid var(--rule); transition: background-color .45s, border-color .45s; }
.faq3__item.is-open { background: var(--tint); border-bottom-color: transparent; }
.faq3__q { margin: 0; font: inherit; letter-spacing: 0; }
.faq3__q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--f-body); font-size: 17px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--ink); transition: color .3s; }
@media (hover: hover) and (pointer: fine) { .faq3__q button:hover { color: var(--rust); } }
.faq3__item.is-open .faq3__q button { color: var(--rust); }
.faq3__q button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.faq3__icon { flex: none; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: translateY(-3px) rotate(45deg); transition: transform .45s var(--ease3); }
.faq3__item.is-open .faq3__icon { transform: translateY(3px) rotate(-135deg); }
.faq3__panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .48s var(--ease3), opacity .32s, visibility 0s linear .48s; }
.faq3__item.is-open .faq3__panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .48s var(--ease3), opacity .4s .08s, visibility 0s; }
.faq3__inner { min-height: 0; overflow: hidden; }
.faq3__a { padding: 0 64px 24px 22px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); transform: translateY(-8px); transition: transform .48s var(--ease3); }
.faq3__item.is-open .faq3__a { transform: none; }
.faq3__a p { margin: 0; max-width: 70ch; }
@media (max-width: 899px) { .faq3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .faq3__q button { padding: 18px 16px; font-size: 16px; } .faq3__a { padding: 0 16px 20px; } }
@media (prefers-reduced-motion: reduce) { .faq3__panel, .faq3__icon, .faq3__a, .faq3__item { transition: none !important; } }

/* ---------- Round 27: questions, one list; the left column runs the list's full height ---------- */
.faq3 { align-items: stretch; }
.faq3__aside { position: static; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.faq3__intro { display: grid; justify-items: start; gap: 20px; }
.faq3__intro h2 { max-width: 13ch; }
.faq3__note { margin: 0; max-width: 44ch; }
.faq3__help { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-md); background: var(--rust); color: var(--beige); }
.faq3__help h3 { margin: 0; font-size: var(--t-h4); line-height: 1.25; color: var(--beige); }
.faq3__help p { margin: 0; max-width: 40ch; color: var(--ink-inverse-muted); }
.faq3__help .faq3__btns { margin-top: 6px; }
.faq3__help .btn--ghost { --btn-fg: var(--beige); --btn-bd: var(--ink-inverse-muted); }
.faq3__list { align-self: start; }
@media (max-width: 899px) {
  .faq3 { display: flex; flex-direction: column; gap: 28px; }
  .faq3__aside { display: contents; }
  .faq3__intro { order: 1; }
  .faq3__list { order: 2; }
  .faq3__help { order: 3; }
}

/* ---------- Round 29: Featured In, as in the reference (no rules) ---------- */
.fi2 { --mag: #7F2400; --sheet: #FFFDF8; --drop: color-mix(in srgb, var(--umber) 14%, transparent); }
.fi2__bar, .fi2__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.fi2__bar p, .fi2__foot p { margin: 0; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.fi2__count { letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.fi2__heading { margin: clamp(20px, 3vw, 40px) 0 0; font-size: var(--t-h1); line-height: 1.02; color: var(--rust); }
.fi2__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: center; margin-top: clamp(16px, 2vw, 28px); }

/* the drawn cover and feature page, overlapping and slightly turned */
.fi2__art { grid-column: 1 / span 6; position: relative; aspect-ratio: 1.34 / 1; }
.fi2__mag { position: absolute; left: 2%; top: 3%; width: 45%; z-index: 1; }
.fi2__page { position: absolute; left: 35%; top: 9%; width: 42%; z-index: 2; }
.fi2__magbody, .fi2__pagebody { position: relative; transition: transform .2s linear; }
.fi2__magbody { aspect-ratio: 3 / 4.1; display: grid; grid-template-rows: auto 1fr; gap: 6%; padding: 9% 9% 11%; background: var(--mag); color: var(--beige); box-shadow: 12px 12px 0 var(--drop); transform: rotate(-4deg) translate3d(0, calc(var(--fi-p, 0) * 18px), 0); }
.fi2__magimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fi2__magtitle { margin: 0; display: grid; justify-items: center; text-align: center; font-family: var(--f-display); line-height: 1; color: var(--beige); }
.fi2__magtitle span { font-size: clamp(10px, 1vw, 14px); letter-spacing: .24em; text-transform: uppercase; }
.fi2__magtitle strong { margin: 4px 0; font-weight: 400; font-size: clamp(16px, 2.1vw, 30px); letter-spacing: .02em; }
.fi2__magframe { position: relative; padding: 7%; background: color-mix(in srgb, var(--beige) 70%, var(--terra)); }
.fi2__magframe img, .fi2__magframe .fi2__blank { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; outline: clamp(4px, .6vw, 8px) solid var(--umber); outline-offset: -1px; }
.fi2__pagebody { aspect-ratio: 3 / 4; display: grid; grid-template-rows: auto 1fr auto auto; gap: 5%; padding: 7% 7% 9%; background: var(--sheet); box-shadow: 12px 12px 0 var(--drop), 0 0 0 1px color-mix(in srgb, var(--umber) 8%, transparent); transform: rotate(3deg) translate3d(0, calc(var(--fi-p, 0) * -24px), 0); }
.fi2__pagehead { margin: 0; font-family: var(--f-display); font-size: clamp(11px, 1.3vw, 18px); letter-spacing: .04em; color: var(--umber); }
.fi2__pagegrid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; min-height: 0; }
.fi2__pagegrid img, .fi2__pagegrid .fi2__blank { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; background: var(--surface-sunken); }
.fi2__p1 { grid-row: 1 / 3; }
.fi2__pagename { margin: 0; font-size: clamp(8px, .85vw, 12px); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--umber); }
.fi2__textlines { display: grid; gap: 5px; }
.fi2__textlines i { display: block; height: 2px; background: color-mix(in srgb, var(--umber) 30%, transparent); }
.fi2__textlines i:last-child { width: 60%; }

/* the details */
.fi2__text { grid-column: 8 / -1; display: grid; justify-items: start; gap: 14px; }
.fi2__issue { margin: 0; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rust); }
.fi2__pub { margin: 0; font-size: var(--t-h2); line-height: 1.08; color: var(--umber); }
.fi2__title { margin: 14px 0 0; max-width: 18ch; font-family: var(--f-display); font-size: 26px; line-height: 34px; font-weight: 400; letter-spacing: .01em; color: var(--umber); }
.fi2__proj { margin: 4px 0 0; font-size: 15px; line-height: 24px; color: var(--ink-soft); }
.fi2__proj em { font-family: var(--f-display); font-size: 20px; letter-spacing: .01em; }
.fi2__proj a { color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .fi2__proj a:hover em { color: var(--rust); } }
.fi2__read { margin-top: 10px; }
.fi2__foot { margin-top: clamp(24px, 3vw, 40px); }
.fi2__foot p { color: var(--ink-mute); }
.fi2__also { margin-left: 16px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.fi2__also a { color: var(--rust); }
.fi2__all { font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
@media (hover: hover) and (pointer: fine) { .fi2__all:hover { text-decoration: underline; text-underline-offset: 5px; } }

@media (max-width: 899px) {
  .fi2__art, .fi2__text { grid-column: 1 / -1; }
  .fi2__art { width: min(100%, 520px); }
  .fi2__magtitle strong { font-size: clamp(15px, 4.6vw, 24px); }
  .fi2__pagehead { font-size: clamp(10px, 3vw, 15px); }
  .fi2__pagename { font-size: clamp(7px, 2vw, 10px); }
}
@media (prefers-reduced-motion: reduce) { .fi2__magbody { transform: rotate(-4deg); } .fi2__pagebody { transform: rotate(3deg); } }

/* ---------- Round 30: Featured In, heading and details beside the drawing ---------- */
.fi2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: clamp(16px, 2vw, 32px); row-gap: 0; align-items: center; }
.fi2__art { grid-column: 1 / span 6; grid-row: 1 / 3; align-self: center; }
.fi2__head { grid-column: 8 / -1; grid-row: 1; align-self: end; display: grid; gap: 16px; justify-items: start; }
.fi2__head .kicker { color: var(--rust); }
.fi2 .fi2__heading { margin: 0; font-size: var(--t-h2); line-height: 1.08; color: var(--umber); }
.fi2 .fi2__heading .line:first-child { color: var(--rust); }
.fi2__body { grid-column: 8 / -1; grid-row: 2; align-self: start; display: grid; gap: 12px; justify-items: start; padding-top: 28px; }
.fi2 .fi2__issue { margin: 0; }
.fi2__title { margin: 0; max-width: 22ch; font-size: 28px; line-height: 36px; font-weight: 400; letter-spacing: .01em; color: var(--umber); }
.fi2__summary { margin: 4px 0 0; max-width: 46ch; font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.fi2__summary a { color: var(--rust); }
.fi2__summary em { font-style: italic; }
@media (hover: hover) and (pointer: fine) { .fi2__summary a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.fi2__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 14px; }
.fi2 .fi2__also { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 1100px) and (min-width: 900px) { .fi2__head, .fi2__body { grid-column: 7 / -1; } }
@media (max-width: 899px) {
  .fi2 { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .fi2__head { order: 1; }
  .fi2__art { order: 2; }
  .fi2__body { order: 3; padding-top: 0; }
}

/* ---------- Utilities ---------- */
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.span-full { grid-column: 1 / -1; }
.on-dark { color: var(--beige); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-reveal="media"], .js [data-reveal="wipe"], .js [data-enter] .line > span, .js [data-enter] .enter-fade { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="wipe"] .ph__inner, .ow__slide .ph__inner { transform: none !important; }
  [data-ow-pause] { display: none; }
  .js [data-reveal="media"] .ph__inner, .hero__media .ph__inner { transform: none !important; }
  .fab, .cta-bar { transform: none !important; }
  .plx > .ph, .js [data-reveal="lines"] .line > span { transform: none !important; }
  .js .phero__media { clip-path: none !important; }
  .js .pj-hero { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}
