/* ==========================================================================
   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: Google Sans.
   ========================================================================== */

/* ---------- 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: "Google Sans", "Google Sans Text", 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.0625rem;
  --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(88px, 6rem + 5vw, 176px);
  --sec-sm: clamp(64px, 4rem + 3vw, 120px);
  --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); }

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: 400;
  -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; }
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; }
.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: 480 / 255;
  -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: 480 / 255;
  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 {
  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: 18px; }
  .header-cta { display: none; }
}
@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; }
  .cta-bar__call { background: var(--rust); color: var(--beige); }
  .cta-bar__wa { background: var(--umber); color: var(--beige); }
  .cta-bar__wa svg { animation: wa-nudge 5s var(--ease) infinite 2s; }
  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) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--beige);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
.hero__media .ph__inner { transform: scale(1.08); transition: transform 2.4s var(--ease-enter); }
.hero__media .ph__inner::after { left: 76%; top: 40%; width: clamp(80px, 10vw, 150px); }
@media (max-width: 899px) { .hero__media .ph__inner::after { left: 50%; top: 26%; } }
.is-loaded .hero__media .ph__inner, .is-loaded .hero__media > img { transform: scale(1); }
.hero__media > img { transform: scale(1.08); transition: transform 2.4s var(--ease-enter); }
.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-bottom: clamp(48px, 7vw, 112px);
  padding-top: calc(var(--header-h) + 48px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  align-items: end; row-gap: 32px;
}
.hero__text { grid-column: 1 / span 8; }
.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); }
.hero__aside { grid-column: 10 / -1; justify-self: end; text-align: right; font-size: var(--t-xs); color: color-mix(in srgb, var(--beige) 78%, transparent); }
.hero__aside a { display: inline-block; }
@media (max-width: 899px) {
  .hero__text { grid-column: 1 / -1; }
  .hero__aside { display: none; }
  .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: 340px) { .hero .btn-row { flex-wrap: wrap; } }
.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); }
}

/* ---------- Home: statement ---------- */
.statement { row-gap: 48px; grid-template-rows: auto 1fr; align-items: start; }
.statement h2 { grid-column: 1 / span 6; grid-row: 1; max-width: 15ch; }
.statement__media { grid-column: 8 / -1; grid-row: 1 / span 2; }
.statement__text { grid-column: 1 / span 5; grid-row: 2; align-self: end; }
.statement__text .body-copy { font-size: var(--t-lead); line-height: 1.6; margin-bottom: 28px; }
@media (max-width: 899px) {
  .statement { grid-template-rows: none; }
  .statement h2, .statement__media, .statement__text { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Project tiles ---------- */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 7vw, 112px); }
.work { grid-column: 1 / -1; display: block; }
.work .ph { --ar: 16 / 9; }
.work__meta { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: baseline; margin-top: 22px; }
.work__meta h3 { font-size: var(--t-h3); }
.work__cap { font-size: var(--t-sm); color: var(--ink-mute); grid-column: 1; }
.work__more { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.works--2 .work:nth-child(1), .works--3 .work:nth-child(2) { grid-column: 1 / span 7; }
.works--2 .work:nth-child(2), .works--3 .work:nth-child(3) { grid-column: 9 / -1; margin-top: clamp(80px, 12vw, 200px); }
.works--2 .work:nth-child(2) .ph, .works--3 .work:nth-child(3) .ph { --ar: 4 / 5; }
.works--2 .work:nth-child(1) .ph, .works--3 .work:nth-child(2) .ph { --ar: 5 / 4; }
/* Listing page: rhythm repeats every three (large, then a staggered pair) */
.works--list .work:nth-child(3n+1) { grid-column: 1 / -1; }
.works--list .work:nth-child(3n+1) .ph { --ar: 16 / 9; }
.works--list .work:nth-child(3n+2) { grid-column: 1 / span 7; }
.works--list .work:nth-child(3n+2) .ph { --ar: 5 / 4; }
.works--list .work:nth-child(3n+3) { grid-column: 9 / -1; margin-top: clamp(80px, 12vw, 200px); }
.works--list .work:nth-child(3n+3) .ph { --ar: 4 / 5; }
.works--list .work.is-hidden { display: none; }
/* narrow tiles stack their meta: title, caption, then the link */
.works--list .work:not(:nth-child(3n+1)) .work__meta,
.works--2 .work .work__meta,
.works--3 .work:not(:first-child) .work__meta { grid-template-columns: 1fr; }
.works--list .work:not(:nth-child(3n+1)) .work__more,
.works--2 .work .work__more,
.works--3 .work:not(:first-child) .work__more { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
@media (max-width: 899px) {
  .works .work { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .works .work .ph { --ar: 4 / 5 !important; }
  .work__meta { grid-template-columns: 1fr; }
  .work__more { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (hover: hover) and (pointer: fine) {
  .work:hover h3 { color: var(--rust); }
}
.work h3 { transition: color var(--t-in) var(--ease); }

/* ---------- Home: what we design (rust band) ---------- */
.design-list { align-items: start; }
.design-list__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
.design-list__head h2 { color: var(--beige); margin-bottom: 24px; }
.design-list__head p { color: color-mix(in srgb, var(--beige) 76%, transparent); max-width: 30ch; }
.design-list__rows { grid-column: 5 / span 5; border-top: 1px solid color-mix(in srgb, var(--beige) 26%, transparent); }
.design-list__preview { grid-column: 10 / -1; position: sticky; top: calc(var(--header-h) + 40px); }
.d-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: start;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--beige) 26%, transparent);
  position: relative;
}
.d-row h3 { font-size: var(--t-h3); color: var(--beige); transition: transform 500ms var(--ease-enter), color var(--t-in); }
.d-row p { grid-column: 1; margin: 0; font-size: var(--t-sm); color: color-mix(in srgb, var(--beige) 72%, transparent); max-width: 44ch; }
.d-row .icon { grid-column: 2; grid-row: 1; width: 22px; height: 22px; margin-top: 10px; color: var(--beige); opacity: .5; transition: transform 500ms var(--ease-enter), opacity var(--t-in); }
.d-row .ph { display: none; }
@media (hover: hover) and (pointer: fine) {
  .d-row:hover h3, .d-row.is-active h3 { transform: translateX(10px); }
  .d-row:hover .icon, .d-row.is-active .icon { opacity: 1; transform: translateX(4px); }
}
.preview { position: relative; aspect-ratio: 4 / 5; }
.preview .ph { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 600ms var(--ease), transform 900ms var(--ease-enter); }
.preview .ph.is-active { opacity: 1; transform: none; }
@media (max-width: 1080px) {
  .design-list__head { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .design-list__rows { grid-column: 1 / span 7; }
  .design-list__preview { grid-column: 9 / -1; }
}
@media (max-width: 899px) {
  .design-list__rows { grid-column: 1 / -1; }
  .design-list__preview { display: none; }
  .d-row .ph { display: block; grid-column: 1 / -1; grid-row: 1; --ar: 3 / 2; margin-bottom: 8px; }
  .d-row .icon { grid-row: 2; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); counter-reset: none; }
.step { border-top: 1px solid var(--line-strong); padding-top: clamp(20px, 2vw, 28px); }
.step__n { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.75rem, 2rem + 2.4vw, 4.5rem); line-height: 1; color: var(--terra); margin-bottom: clamp(24px, 3vw, 48px); }
.step h3 { font-size: var(--t-h4); font-weight: 400; margin-bottom: 12px; }
.step p { color: var(--ink-soft); max-width: 34ch; font-size: var(--t-sm); }
@media (max-width: 1080px) { .steps[style*="--cols: 4"] { --cols: 2 !important; } }
@media (max-width: 760px) { .steps { --cols: 1 !important; } .step__n { margin-bottom: 16px; } }

/* ---------- Press + quote ---------- */
.press-quote { align-items: center; row-gap: 64px; }
.press-quote__press { grid-column: 1 / span 4; }
.press-quote__press .pub { font-family: var(--f-display); font-weight: 300; font-size: var(--t-h2); line-height: 1; margin: 14px 0 24px; display: block; }
.press-quote__quote { grid-column: 6 / -1; margin: 0; padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line-strong); }
.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); }
@media (max-width: 899px) {
  .press-quote__press, .press-quote__quote { grid-column: 1 / -1; }
}

/* ---------- 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; }
.faq summary .plus { position: relative; width: 18px; height: 18px; justify-self: end; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 400ms var(--ease-enter); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--rust); } }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 500ms var(--ease-enter), content-visibility 500ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.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; }
}

/* ---------- Closing call to action ---------- */
.closing { text-align: left; }
.closing__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; row-gap: 32px; }
.closing h2 { grid-column: 1 / span 8; font-size: var(--t-h1); color: var(--beige); }
.closing__side { grid-column: 9 / -1; }
.closing__side p { color: color-mix(in srgb, var(--beige) 80%, transparent); margin-bottom: 28px; max-width: 34ch; }
@media (max-width: 899px) { .closing h2, .closing__side { grid-column: 1 / -1; } .closing .btn { width: 100%; } }

/* ---------- 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; }
}

/* ---------- Inner page openings ---------- */
.opening { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; align-items: end; padding-bottom: clamp(48px, 6vw, 96px); }
.opening h1 { grid-column: 1 / span 7; }
.opening .lead { grid-column: 8 / -1; max-width: 42ch; justify-self: start; }
@media (max-width: 899px) { .opening h1, .opening .lead { grid-column: 1 / -1; } }

/* ---------- About ---------- */
.name-moment { align-items: center; row-gap: 40px; }
.name-moment__word { grid-column: 1 / span 6; font-family: var(--f-tamil); font-weight: 300; font-size: clamp(3.75rem, 1rem + 7vw, 8.75rem); white-space: nowrap; line-height: 1.1; color: var(--rust); margin: 0; letter-spacing: -.01em; }
.name-moment__text { grid-column: 8 / -1; }
.name-moment__text h2 { margin-bottom: 20px; }
.name-moment__text .body-copy { font-size: var(--t-lead); line-height: 1.6; }
@media (max-width: 899px) { .name-moment__word, .name-moment__text { grid-column: 1 / -1; } }

.beliefs { display: grid; gap: clamp(56px, 7vw, 112px); }
.belief { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 16px; align-items: baseline; }
.belief h3 { grid-column: 1 / span 6; font-size: var(--t-h2); }
.belief p { grid-column: 8 / -1; font-size: var(--t-lead); color: var(--ink-soft); max-width: 40ch; }
.belief:nth-child(2) h3 { grid-column: 2 / span 6; }
.belief:nth-child(3) h3 { grid-column: 3 / span 6; }
@media (max-width: 899px) { .belief h3, .belief p, .belief:nth-child(n) h3 { grid-column: 1 / -1; } }

.founder { align-items: center; row-gap: 48px; }
.founder__media { grid-column: 1 / span 5; }
.founder__text { grid-column: 7 / -1; }
.founder__text h2 { margin-bottom: 18px; }
.founder__role { font-size: var(--t-lead); color: var(--rust); margin-bottom: 28px; }
.founder__text .quote { margin-top: 40px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); color: var(--rust); }
@media (max-width: 899px) { .founder__media, .founder__text { grid-column: 1 / -1; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line-strong); padding-top: 32px; margin: 0; }
.facts dt { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; font-weight: 500; }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: var(--t-h4); line-height: 1.2; }
@media (max-width: 899px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; align-items: center; }
.service + .service { margin-top: clamp(88px, 10vw, 168px); }
.service__media { grid-column: 1 / span 6; }
.service__text { grid-column: 8 / -1; }
.service:nth-child(even) .service__media { grid-column: 7 / -1; order: 2; }
.service:nth-child(even) .service__text { grid-column: 1 / span 5; order: 1; }
.service__n { font-family: var(--f-display); font-size: var(--t-h4); color: var(--terra); display: block; margin-bottom: 18px; }
.service h2 { font-size: var(--t-h2); margin-bottom: 24px; }
.service .body-copy { margin-bottom: 28px; }
.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); }
@media (max-width: 899px) {
  .service__media, .service__text, .service:nth-child(even) .service__media, .service:nth-child(even) .service__text { grid-column: 1 / -1; order: initial; }
}

/* ---------- Project page (editorial) ---------- */
.pj-head { padding-top: calc(var(--header-h) + clamp(48px, 6vw, 96px)); padding-bottom: clamp(40px, 5vw, 72px); }
.pj-head .crumb { margin-bottom: clamp(24px, 3vw, 40px); display: inline-flex; }
.pj-title { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 24px; align-items: end; }
.pj-title h1 { grid-column: 1 / span 8; font-size: var(--t-display); line-height: .94; }
.pj-title .kicker { grid-column: 9 / -1; justify-self: end; text-align: right; color: var(--ink-mute); }
.pj-cover .ph { --ar: 21 / 9; }
.pj-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; align-items: start; }
.factfile { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.factfile div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.factfile div:first-child { border-top: 1px solid var(--line-strong); }
.factfile dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: 2px; }
.factfile dd { margin: 0; font-size: var(--t-sm); }
.factfile a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.pj-article { grid-column: 5 / -1; }
.standfirst { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.2; margin: 0 0 clamp(56px, 6vw, 96px); text-wrap: pretty; }
.pj-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 32px; margin-bottom: clamp(56px, 6vw, 96px); }
.pj-section h2 { font-size: var(--t-h4); font-weight: 400; line-height: 1.2; }
.pj-section .body-copy { font-size: 1.125rem; line-height: 1.75; }
.pj-figure { margin: 0 0 clamp(56px, 6vw, 96px); }
.pj-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); margin-bottom: clamp(56px, 6vw, 96px); }
.pj-pair .pj-figure { margin: 0; }
.pj-pair .pj-figure:nth-child(2) { margin-top: clamp(48px, 8vw, 140px); }
.pullquote { margin: clamp(32px, 4vw, 64px) 0 clamp(72px, 8vw, 128px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.pullquote .quote { color: var(--rust); font-size: clamp(2rem, 1.3rem + 2.2vw, 3.5rem); }
.pj-next { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding-block: clamp(64px, 7vw, 112px); border-top: 1px solid var(--line-strong); }
.pj-next .kicker { color: var(--ink-mute); margin-bottom: 12px; }
.pj-next a.pj-next__link h2 { transition: color var(--t-in) var(--ease), transform 500ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) { .pj-next a.pj-next__link:hover h2 { color: var(--rust); transform: translateX(10px); } }
@media (max-width: 899px) {
  .pj-title h1, .pj-title .kicker { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .pj-cover .ph { --ar: 4 / 5; }
  .factfile { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .factfile div:nth-child(2) { border-top: 1px solid var(--line-strong); }
  .pj-article { grid-column: 1 / -1; }
  .pj-section { grid-template-columns: 1fr; }
  .pj-pair { grid-template-columns: 1fr; }
  .pj-pair .pj-figure:nth-child(2) { margin-top: 0; }
  .pj-next { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: clamp(64px, 8vw, 128px); }
.testimonial { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.testimonial .quote { grid-column: 1 / span 9; font-size: clamp(1.75rem, 1.2rem + 1.9vw, 3.25rem); }
.testimonial footer { grid-column: 1 / span 9; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.testimonial:nth-child(even) .quote, .testimonial:nth-child(even) footer { grid-column: 4 / -1; }
@media (max-width: 899px) { .testimonial .quote, .testimonial footer, .testimonial:nth-child(even) .quote, .testimonial:nth-child(even) footer { grid-column: 1 / -1; } }

/* ---------- Press list ---------- */
.press-list { border-top: 1px solid var(--line-strong); }
.press-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 12px; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line-strong); align-items: baseline; }
.press-item__date { grid-column: 1 / span 2; font-size: var(--t-sm); color: var(--ink-mute); }
.press-item__pub { grid-column: 3 / span 5; font-family: var(--f-display); font-weight: 300; font-size: var(--t-h2); line-height: 1; transition: color var(--t-in) var(--ease); }
.press-item__info { grid-column: 8 / span 3; font-size: var(--t-sm); color: var(--ink-soft); }
.press-item__info strong { display: block; color: var(--ink); font-weight: 500; font-size: var(--t-base); margin-bottom: 4px; }
.press-item__link { grid-column: 11 / -1; justify-self: end; }
@media (hover: hover) and (pointer: fine) { .press-item:hover .press-item__pub { color: var(--rust); } }
@media (max-width: 899px) {
  .press-item__date, .press-item__pub, .press-item__info, .press-item__link { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Contact ---------- */
.contact-grid { align-items: start; row-gap: 72px; }
.contact-form { grid-column: 1 / span 7; }
.contact-side { grid-column: 9 / -1; display: grid; gap: 56px; }
.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-mix(in srgb, var(--beige) 22%, 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(--sand); border-left: 2px solid var(--rust); font-size: var(--t-sm); display: none; }
.form-status.is-shown { display: block; }
.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; }
.map { aspect-ratio: 21 / 8; background: var(--sand); overflow: hidden; }
@media (max-width: 899px) { .map { aspect-ratio: 4 / 3; } }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.8); }
.next-steps { display: grid; gap: 20px; }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.next-steps span { font-family: var(--f-display); font-size: 1.75rem; color: var(--terra); line-height: 1; }
@media (max-width: 899px) {
  .contact-form, .contact-side { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.filters[hidden] { display: none; }
.filters button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--t-sm); transition: background-color var(--t-in), color var(--t-in), border-color var(--t-in); }
.filters button[aria-pressed="true"] { background: var(--umber); color: var(--paper); border-color: var(--umber); }
@media (hover: hover) and (pointer: fine) { .filters button:hover { border-color: var(--umber); } }

.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; }

/* ---------- 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-enter] .line > span, .js [data-enter] .enter-fade { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="media"] .ph__inner, .hero__media .ph__inner { transform: none !important; }
  .fab, .cta-bar { transform: none !important; }
}
