/* =============================================================
   BRAND — Brand Experience Studio
   1. Tokens
   ============================================================= */
:root {
  --bg:         #F7F4EF;   /* warm white */
  --bg-2:       #EDE7DC;   /* beige / sand */
  --paper:      #FFFFFF;
  --stone:      #B9AF9F;   /* stone accent, replaces gold */
  --stone-deep: #8C8271;   /* deeper stone, for emphasis text */
  --nude:       #E3BE96;   /* warm nude accent — highlighted words on dark photo heroes */
  --nude-deep:  #C89A6A;
  --ink:        #1A1917;   /* elegant black */
  --ink-soft:   #2E2C28;
  --ink-mute:   #6B675F;
  --charcoal:   #1F1D1A;   /* dark ground, neutral not warm-brown */
  --charcoal-2: #2A2823;
  --cream:      #F2EEE6;   /* text on dark */
  --cream-mute: rgba(242,238,230,0.62);
  --line:       rgba(26,25,23,0.12);
  --line-dark:  rgba(242,238,230,0.15);

  --serif: "Prata", "Iowan Old Style", Georgia, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1400px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --nav-h: 88px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.005em; font-weight: 400; }

::selection { background: var(--stone); color: var(--paper); }
:focus-visible { outline: 2px solid var(--stone-deep); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 2px; font-weight: 500; font-size: .85rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex-shrink: 0;
  background:
    linear-gradient(var(--stone-deep), var(--stone-deep)) center / 100% 1.4px no-repeat,
    linear-gradient(var(--stone-deep), var(--stone-deep)) center / 1.4px 100% no-repeat;
}
.on-dark .eyebrow { color: var(--cream-mute); }
.on-dark .eyebrow::before {
  background:
    linear-gradient(var(--stone), var(--stone)) center / 100% 1.4px no-repeat,
    linear-gradient(var(--stone), var(--stone)) center / 1.4px 100% no-repeat;
}
.italic { font-style: italic; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }
.reveal-left { transform: translate3d(-38px, 0, 0); }
.reveal-left.is-visible { transform: none; }
.reveal-right { transform: translate3d(38px, 0, 0); }
.reveal-right.is-visible { transform: none; }
.reveal-scale { transform: scale(.95); }
.reveal-scale.is-visible { transform: scale(1); }

.hairline { border-top: 1px solid var(--line); }
.on-dark .hairline { border-top-color: var(--line-dark); }

/* =============================================================
   4. Typography
   ============================================================= */
.display-1 { font-family: var(--serif); font-size: clamp(2.6rem, 6.2vw, 6.2rem); line-height: .98; letter-spacing: -0.01em; }
.display-2 { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; }
.display-3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.18; }
.lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--ink-mute); line-height: 1.7; max-width: 46ch; }
.on-dark .lede { color: var(--cream-mute); }
.on-dark { color: var(--cream); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1.05rem 2.2rem; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 2px;
  transition: background .45s var(--ease-out), color .45s var(--ease-out), border-color .45s var(--ease-out), transform .2s var(--ease-out), box-shadow .45s var(--ease-out);
  white-space: nowrap;
}
/* Expanding ring on hover — reads as an intentional micro-interaction, not a static box */
.btn::after {
  content: ""; position: absolute; inset: 0; border: 1px solid currentColor; border-radius: 2px;
  opacity: 0; transform: scale(1.05);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { opacity: .45; transform: scale(1.16); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--stone-deep); color: var(--paper); box-shadow: 0 16px 30px -14px rgba(26,25,23,.4); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.on-dark .btn-ghost { border-color: var(--line-dark); color: var(--cream); }
.on-dark .btn-ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--charcoal); }

/* --- Invite button: the one true conversion CTA on a dark photo hero ---
   Neutral cream outline instead of a fill colour — reads as elegant on any
   photo, and calls attention through a slow idle glow rather than a hue. */
.btn-invite {
  background: transparent; color: var(--cream); border: 1.5px solid var(--cream);
  padding: .85rem 1.9rem; font-size: .76rem;
  overflow: hidden;
  animation: inviteGlow 3.4s ease-in-out infinite;
}
.btn-invite:hover {
  background: var(--cream); color: var(--charcoal); border-color: var(--cream);
  box-shadow: 0 16px 32px -14px rgba(0,0,0,.5);
  animation-play-state: paused;
}
.btn-invite::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); pointer-events: none; transition: left .85s var(--ease-out);
}
.btn-invite:hover::before { left: 130%; }
@keyframes inviteGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,238,230,.28); }
  50% { box-shadow: 0 0 20px 3px rgba(242,238,230,.24); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-invite { animation: none; }
  .btn-invite::before { transition: none; left: 130%; opacity: 0; }
}

/* --- Invite button, light-background variant: same idle-glow + shimmer
   language as .btn-invite, but ink-on-cream so it reads on a light section --- */
.btn-invite-dark {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
  padding: .85rem 1.9rem; font-size: .76rem;
  overflow: hidden;
  animation: inviteGlowDark 3.4s ease-in-out infinite;
}
.btn-invite-dark:hover {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
  box-shadow: 0 16px 32px -14px rgba(26,25,23,.35);
  animation-play-state: paused;
}
.btn-invite-dark::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(26,25,23,.3), transparent);
  transform: skewX(-18deg); pointer-events: none; transition: left .85s var(--ease-out);
}
.btn-invite-dark:hover::before { left: 130%; }
@keyframes inviteGlowDark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,25,23,.16); }
  50% { box-shadow: 0 0 18px 2px rgba(26,25,23,.14); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-invite-dark { animation: none; }
  .btn-invite-dark::before { transition: none; left: 130%; opacity: 0; }
}

.btn-arrow { transition: transform .45s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
/* JS applies a subtle magnetic pull via --mx/--my on fine-pointer devices */
.btn { transform: translate(var(--mx, 0), var(--my, 0)); }

/* --- Highlighted words in headlines: marker-sweep behind the word --- */
.display-1 em, .display-2 em, .display-3 em, .about-quote em {
  position: relative; font-style: italic; color: var(--ink); z-index: 1;
}
.on-dark .display-1 em, .on-dark .display-2 em, .on-dark .display-3 em { color: var(--cream); }
.display-1 em::after, .display-2 em::after, .display-3 em::after, .about-quote em::after {
  content: ""; position: absolute; left: -.12em; right: -.1em; bottom: .08em; height: .32em;
  background: var(--stone); opacity: .55; z-index: -1;
  transform: scaleX(0); transform-origin: left;
}
/* Headlines driven by the scroll-reveal system (inside .reveal) — sweep in on scroll */
.reveal .display-1 em::after, .reveal.is-visible em::after, .reveal .display-2 em::after,
.reveal .display-3 em::after, .reveal .about-quote em::after {
  transition: transform .9s var(--ease-out) .15s;
}
.reveal.is-visible em::after { transform: scaleX(1); }

/* Hero titles sit on a photo, not a solid ground — a background bar there can
   read as a dark smudge. Use a warm nude ink colour + soft glow instead. */
.hero-title em {
  position: relative; font-style: italic; z-index: 1;
  color: var(--nude);
  text-shadow: 0 4px 26px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.45), 0 0 30px rgba(227,190,150,.4);
}
/* CTA banners on the dark charcoal ground get the same nude treatment —
   they set their own background rather than using .on-dark, so the
   shared em colour rule above never reached them and defaulted to ink. */
.cta-banner:not(.is-light) .display-2 em,
.cta-banner:not(.is-light) .display-1 em {
  color: var(--nude);
  text-shadow: 0 2px 14px rgba(0,0,0,.45), 0 0 24px rgba(227,190,150,.35);
}
.cta-banner:not(.is-light) .display-2 em::after,
.cta-banner:not(.is-light) .display-1 em::after {
  content: none;
}

/* --- Nav --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h); display: flex; align-items: center; border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background .5s var(--ease-out); }
.nav.is-solid { border-bottom: 1px solid var(--line); }
.nav.is-solid::before { background: rgba(247,244,239,0.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
@supports not (backdrop-filter: blur(1px)) { .nav.is-solid::before { background: rgba(247,244,239,0.98); } }
.nav-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; }
/* Logo: two colour variants stacked and cross-faded by CSS, so the right
   one shows against whatever the nav is currently sitting on — a dark photo
   hero, a light page, or the solid bar once the user scrolls. */
.brand-mark { position: relative; display: block; height: 56px; width: 102px; transition: opacity .3s var(--ease-out); }
.brand-mark:hover { opacity: .8; }
.brand-logo { position: absolute; top: 0; left: 0; height: 56px; width: auto; transition: opacity .35s var(--ease-out); }
.brand-logo--dark { opacity: 0; }
.brand-logo--white { opacity: 1; }
/* Pages whose nav starts on a light ground (no photo hero behind it) */
.nav-theme-light .brand-logo--dark { opacity: 1; }
.nav-theme-light .brand-logo--white { opacity: 0; }
/* Once the nav goes solid (light bar), the dark mark always wins */
.nav.is-solid .brand-logo--dark { opacity: 1; }
.nav.is-solid .brand-logo--white { opacity: 0; }
.nav-theme-light .nav-link { color: var(--ink); }
.nav-theme-dark .nav-link { color: var(--cream); }
.nav.is-solid .nav-link { color: var(--ink); }
.nav.is-solid .nav-cta.btn-primary { color: var(--cream); }

.nav-links {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 199;
  background: var(--bg); display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 1.6rem; overflow: hidden;
  transform: translateY(-100%);
  visibility: hidden; opacity: 0;
  transition: transform .6s var(--ease-out), opacity .3s var(--ease-out), visibility 0s linear .6s;
}
.nav-links.is-open {
  transform: translateY(0);
  visibility: visible; opacity: 1;
  transition: transform .6s var(--ease-out), opacity .3s var(--ease-out), visibility 0s linear 0s;
}
.nav-links .nav-link {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--ink); text-transform: none;
}
.nav-links .nav-cta { color: var(--cream); margin-top: 1.2rem; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta-fixed { padding: .68rem 1.15rem; font-size: .68rem; z-index: 201; }
@media (max-width: 479px) { .nav-cta-fixed { padding: .6rem .85rem; font-size: .62rem; } }
.nav-menu-btn {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; z-index: 201;
}
.nav-menu-btn .box { position: relative; width: 20px; height: 14px; }
.nav-menu-btn .box span {
  position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-menu-btn .box span:nth-child(1) { top: 0; }
.nav-menu-btn .box span:nth-child(2) { top: 6px; }
.nav-menu-btn .box span:nth-child(3) { top: 12px; }
.nav-menu-btn.is-open .box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-menu-btn.is-open .box span:nth-child(2) { opacity: 0; }
.nav-menu-btn.is-open .box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-menu-btn .label-open { display: inline; }
.nav-menu-btn .label-close { display: none; }
.nav-menu-btn.is-open .label-open { display: none; }
.nav-menu-btn.is-open .label-close { display: inline; }
.nav-link { position: relative; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; padding-block: .3rem; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .75rem 1.4rem; font-size: .74rem; }

/* --- Photo placeholder / image slots --- */
.photo { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--bg-2) 0%, #DCD3C2 45%, var(--charcoal-2) 100%); isolation: isolate; }
.photo::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%25" height="100%25" filter="url(%23n)" opacity="0.35"/></svg>');
  opacity: .16; mix-blend-mode: overlay; pointer-events: none;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out); position: relative; z-index: 1; }
.photo.is-loaded img { opacity: 1; }
.photo video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .8s var(--ease-out); position: relative; z-index: 1; background: #000; display: block; }
.photo.is-loaded video { opacity: 1; }
.case-video { aspect-ratio: 16/9; }
.case-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.case-video-grid .photo { aspect-ratio: 9/16; }
.photo-caption { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 2; font-family: var(--serif); color: var(--cream); font-size: .95rem; opacity: 0; transition: opacity .4s var(--ease-out); text-shadow: 0 2px 18px rgba(0,0,0,.5); max-width: calc(100% - 2.8rem); }
.photo.is-empty .photo-caption { opacity: .85; }
.photo.is-empty::after {
  content: "Replace: " attr(data-file); position: absolute; right: 1.2rem; top: 1.2rem; z-index: 2;
  font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-mute);
  background: rgba(26,25,23,.45); padding: .4rem .7rem; border-radius: 2px; font-family: var(--sans);
}

/* --- Pillar cards: Brand / Commercial / Living Experience --- */
.pillar-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.pillar-card {
  display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line);
  position: relative;
}
.pillar-figure { aspect-ratio: 16/10; }
.pillar-body { padding-block: clamp(1.8rem, 4vw, 3rem); }
.pillar-num { font-family: var(--serif); color: var(--stone-deep); font-size: 1rem; display: block; margin-bottom: 1.2rem; }
.pillar-body h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.pillar-body p { color: var(--ink-mute); max-width: 46ch; margin-bottom: 1.3rem; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 1.6rem; }
.pillar-tags span { font-size: .74rem; letter-spacing: .05em; color: var(--ink-mute); position: relative; padding-left: 1rem; }
.pillar-tags span::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 1px; background: var(--stone-deep); }
.pillar-link { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .6em; border-bottom: 1px solid var(--ink); padding-bottom: .2rem; transition: gap .4s var(--ease-out); }
.pillar-card:hover .pillar-link { gap: 1em; }
.pillar-card:hover .pillar-figure img { transform: scale(1.04); }
.pillar-figure img { transition: transform 1.4s var(--ease-out); }

/* --- CTA banner (recurring, appears between sections) --- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--charcoal); color: var(--cream); text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.cta-banner-media { position: absolute; inset: 0; z-index: 0; opacity: .32; }
.cta-banner-media .photo { width: 100%; height: 100%; background: linear-gradient(155deg, #3a352c 0%, #211d18 100%); }
.cta-banner-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.cta-banner-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(31,29,26,.35) 0%, rgba(31,29,26,.75) 100%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner .display-2 { color: var(--cream); max-width: 22ch; margin-inline: auto; }
.cta-banner .eyebrow { justify-content: center; margin-bottom: 1.2rem; color: var(--cream-mute); }
.cta-banner .hero-actions { justify-content: center; margin-top: 2.2rem; }
.cta-banner.is-light { background: var(--bg-2); color: var(--ink); }
.cta-banner.is-light .cta-banner-media { opacity: .22; }
.cta-banner.is-light .cta-banner-scrim { background: linear-gradient(180deg, rgba(237,231,220,.5) 0%, rgba(237,231,220,.82) 100%); }
.cta-banner.is-light .display-2 { color: var(--ink); }
.cta-banner.is-light .eyebrow { color: var(--ink-mute); }

/* --- CTA split (home final) --- */
.cta-split { position: relative; background: var(--charcoal); overflow: hidden; padding-block: clamp(5rem, 11vw, 8.5rem); }
.cta-split-media { position: absolute; inset: 0; z-index: 0; opacity: .24; }
.cta-split-media .photo { width: 100%; height: 100%; background: linear-gradient(155deg, #3a352c 0%, #211d18 100%); }
.cta-split-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.cta-split::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 42% at 20% 24%, rgba(185,175,159,.16), transparent 70%),
    radial-gradient(38% 38% at 84% 80%, rgba(185,175,159,.1), transparent 70%);
  filter: blur(70px); animation: ctaGlow 20s ease-in-out infinite alternate;
}
@keyframes ctaGlow { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(3%, -4%) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .cta-split::before { animation: none; } }
.cta-split-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.cta-split-text .display-1 { color: var(--cream); max-width: 13ch; }
.cta-split-card { background: rgba(242,238,230,.04); border: 1px solid var(--line-dark); border-top: 2px solid var(--stone); padding: clamp(2rem, 4vw, 2.8rem); }
.cta-split-card .lede { color: var(--cream-mute); margin-bottom: 1.8rem; }
.cta-split-meta { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: .5rem; }
.cta-split-meta a { color: var(--cream-mute); font-size: .86rem; transition: color .3s var(--ease-out); }
.cta-split-meta a:hover { color: var(--stone); }

/* --- Process grid --- */
.process-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.8rem, 3.5vw, 2.6rem); transition: background .4s var(--ease-out); }
.process-cell:hover { background: var(--paper); }
.process-cell .num { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--stone-deep); display: block; margin-bottom: 1.4rem; }
.process-cell h3 { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin-bottom: .7rem; }
.process-cell p { color: var(--ink-mute); font-size: .92rem; max-width: 32ch; }

/* --- Portfolio grid (uniform, gallery-frame) --- */
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 2.6rem); }
.portfolio-card { display: block; border: 1px solid var(--line); transition: border-color .4s var(--ease-out); }
.portfolio-card:hover { border-color: var(--ink); }
.portfolio-figure { aspect-ratio: 4/3; }
.portfolio-figure img { transition: transform 1.4s var(--ease-out); }
.portfolio-card:hover .portfolio-figure img { transform: scale(1.04); }
.portfolio-meta { padding: clamp(1.2rem, 2.5vw, 1.8rem); }
.portfolio-meta .cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.portfolio-meta h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); margin-block: .5rem .5rem; }
.portfolio-meta p { color: var(--ink-mute); font-size: .9rem; }
.portfolio-result { display: inline-block; margin-top: .8rem; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--stone-deep); padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 2px; }

/* --- Result list (qualitative outcomes, no fabricated stats) --- */
.result-list { display: grid; grid-template-columns: 1fr; gap: .9rem 2.4rem; list-style: none; padding: 0; }
.result-list li { position: relative; padding-left: 1.4rem; color: var(--cream-mute); font-size: .95rem; line-height: 1.5; }
.result-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--stone); }

/* --- Filter bar --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-tag { padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 2px; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-mute); transition: all .35s var(--ease-out); }
.filter-tag:hover { border-color: var(--ink); color: var(--ink); }
.filter-tag.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* --- Compact project tiles (opens ficha técnica pop-up) --- */
/* .project-tile now shares .portfolio-card's exact figure/meta styling
   (same classes reused in markup) so both card types sit unified in one
   .portfolio-grid — the only difference is <button> vs <a>. */
.project-tile { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: none; padding: 0; cursor: pointer; transition: border-color .4s var(--ease-out); }
.project-tile:hover { border-color: var(--ink); }
.project-tile:hover .portfolio-figure img { transform: scale(1.04); }
.project-tile .portfolio-meta::after { content: "Ver ficha técnica"; display: block; margin-top: .8rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-deep); }

/* --- Project modal (ficha técnica pop-up) --- */
/* --- Floating WhatsApp contact button --- */
.whatsapp-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 250;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.4);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out);
}
.whatsapp-float:hover { background: var(--stone-deep); transform: scale(1.08); box-shadow: 0 14px 32px -8px rgba(0,0,0,.5); }
.whatsapp-float svg { width: 28px; height: 28px; display: block; }
.whatsapp-float svg path { fill: var(--cream); }
@media (max-width: 539px) {
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

.project-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1.5rem; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out), visibility 0s linear .4s; }
.project-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .4s var(--ease-out), visibility 0s linear 0s; }
.project-modal-overlay { position: absolute; inset: 0; background: rgba(26,24,22,.72); backdrop-filter: blur(3px); border: none; }
.project-modal-panel { position: relative; z-index: 1; width: min(680px, 100%); max-height: calc(100svh - 3rem); overflow-y: auto; background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(16px); transition: transform .45s var(--ease-out); }
.project-modal.is-open .project-modal-panel { transform: translateY(0); }
.project-modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; line-height: 1; }
.project-modal-close::before { content: "\2715"; font-size: .85rem; }
.project-modal-gallery { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--stone); }
.project-modal-gallery .modal-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-out); }
.project-modal-gallery .modal-slide.is-active { opacity: 1; z-index: 1; }
.modal-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(242,238,230,.92); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; line-height: 1; color: var(--ink); transition: background .3s var(--ease-out), opacity .3s var(--ease-out); }
.modal-gallery-arrow:hover { background: var(--cream); }
.modal-gallery-arrow.prev { left: .7rem; }
.modal-gallery-arrow.next { right: .7rem; }
.modal-gallery-arrow[hidden] { display: none; }
.modal-gallery-dots { position: absolute; bottom: .8rem; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: .4rem; }
.modal-gallery-dots button { width: 6px; height: 6px; padding: 0; border-radius: 50%; background: rgba(242,238,230,.55); transition: background .3s var(--ease-out), transform .3s var(--ease-out); }
.modal-gallery-dots button.is-active { background: var(--cream); transform: scale(1.35); }
.project-modal-body { padding: clamp(1.6rem, 4vw, 2.4rem); }
.project-modal-cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.project-modal-title { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-block: .5rem 1rem; }
.project-modal-desc { color: var(--ink-mute); max-width: 56ch; margin-bottom: 1.4rem; }
.project-modal-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.project-modal-field .k { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: .3rem; }
.project-modal-field .v { font-family: var(--serif); font-size: .92rem; }

/* --- Lightbox: full-size view for individual gallery photos --- */
.case-gallery figure.is-zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 310; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out), visibility 0s linear .35s; }
.lightbox.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .35s var(--ease-out), visibility 0s linear 0s; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(14,13,11,.94); border: none; cursor: zoom-out; }
.lightbox-figure { position: relative; z-index: 1; margin: 0; max-width: min(94vw, 1500px); max-height: 88svh; }
.lightbox-figure img { display: block; max-width: 100%; max-height: 88svh; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: clamp(1rem, 3vw, 1.8rem); right: clamp(1rem, 3vw, 1.8rem); z-index: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--cream); }
.lightbox-close::before { content: "\2715"; font-size: 1.1rem; }
.lightbox-close:hover { opacity: .7; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(242,238,230,.16); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1; color: var(--cream); transition: background .3s var(--ease-out); }
.lightbox-arrow:hover { background: rgba(242,238,230,.3); }
.lightbox-arrow.prev { left: clamp(.6rem, 3vw, 1.6rem); }
.lightbox-arrow.next { right: clamp(.6rem, 3vw, 1.6rem); }
.lightbox-arrow[hidden] { display: none; }
.lightbox-count { position: absolute; bottom: clamp(.8rem, 3vw, 1.4rem); left: 50%; transform: translateX(-50%); z-index: 2; font-size: .68rem; letter-spacing: .12em; color: var(--cream-mute); }

/* --- Case study sections --- */
.case-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
.case-meta-item .k { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .4rem; display: block; }
.on-dark .case-meta-item .k { color: var(--cream-mute); }
.case-meta-item .v { font-family: var(--serif); font-size: 1.05rem; }
.case-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.case-section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* --- Case narrative, two beats side by side (reduces scroll before visuals) --- */
.case-duo-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 3rem); }
.case-duo-grid .lede { max-width: none; }
.case-gallery { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }

/* --- Journal --- */
.journal-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 3.5rem); }
.journal-card { display: block; }
.journal-figure { aspect-ratio: 3/2; }
.journal-figure img { transition: transform 1.4s var(--ease-out); }
.journal-card:hover .journal-figure img { transform: scale(1.04); }
.journal-meta { padding-top: 1.2rem; }
.journal-meta .cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-deep); }
.journal-meta h3 { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); margin-block: .5rem .4rem; }
.journal-meta .date { font-size: .8rem; color: var(--ink-mute); }

/* --- FAQ accordion --- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; text-align: left; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.faq-q .plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--ink); transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
.faq-q .plus::before { left: 0; top: 50%; width: 100%; height: 1.4px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; left: 50%; height: 100%; width: 1.4px; transform: translateX(-50%); }
.faq-item.is-open .faq-q .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { color: var(--ink-mute); max-width: 62ch; padding-bottom: 1.6rem; }

/* --- Collaborators grid (About) --- */
.collab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
.collab-item { padding-block: 1rem; border-top: 1px solid var(--line); }
.collab-item .role { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: .4rem; }
.collab-item .name { font-family: var(--serif); font-size: 1.1rem; }

/* --- Team grid (named profiles with photo) --- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 2.8rem); }
.team-figure { aspect-ratio: 4/5; }
.team-body { padding-top: 1.2rem; }
.team-body .role { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-deep); display: block; margin-bottom: .4rem; }
.team-body .name { font-family: var(--serif); font-size: 1.3rem; display: block; margin-bottom: .6rem; }
.team-body p { color: var(--ink-mute); font-size: .92rem; }
.team-body a { display: inline-block; margin-top: .9rem; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: .15rem; transition: opacity .3s var(--ease-out); }
.team-body a:hover { opacity: .6; }

/* --- Footer --- */
.site-footer { background: var(--charcoal); color: var(--cream); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line-dark); }
.footer-statement { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.2rem); max-width: 16ch; line-height: 1.12; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-col h4 { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-mute); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; font-size: .9rem; padding-block: .3rem; color: var(--cream); opacity: .85; transition: opacity .3s var(--ease-out), color .3s var(--ease-out); }
.footer-col a:hover { opacity: 1; color: var(--stone); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .76rem; color: var(--cream-mute); }

/* --- Footer phone numbers: large, easy to spot for direct calls --- */
.footer-phones { display: flex; flex-wrap: wrap; gap: 1.8rem 3.2rem; padding-block: clamp(2rem, 4vw, 2.8rem); border-bottom: 1px solid var(--line-dark); }
.footer-phone { display: block; }
.footer-phone .k { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-mute); margin-bottom: .5rem; }
.footer-phone .v { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cream); transition: color .3s var(--ease-out); }
.footer-phone:hover .v { color: var(--stone); }

/* =============================================================
   6. Sections
   ============================================================= */
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section.on-dark { background: var(--charcoal); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* --- Hero --- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .photo { width: 100%; height: 100%; }
.hero-media img, .hero-media video { will-change: transform; width: 100%; height: 100%; object-fit: cover; }

/* Hero carousel: slides stack and cross-fade — no arrows, no dots, fully ambient */
.hero-media[data-hero-carousel] .hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-soft);
}
.hero-media[data-hero-carousel] .hero-slide.is-active { opacity: 1; z-index: 1; }
/* Layered scrim: vertical gradient for overall balance + a soft radial glow
   anchored where hero-content sits (bottom-left), so text stays legible
   regardless of what the underlying photo looks like. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 65% at 12% 100%, rgba(14,13,11,.88) 0%, rgba(14,13,11,.4) 45%, transparent 75%),
    linear-gradient(180deg, rgba(14,13,11,.5) 0%, rgba(14,13,11,.2) 28%, rgba(14,13,11,.32) 55%, rgba(14,13,11,.82) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--cream); padding-block: clamp(7rem, 14vw, 9rem) clamp(3rem, 6vw, 4.5rem); }
.hero-kicker { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 1.6rem; color: var(--cream); text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-kicker .brand-tag-inline { font-family: var(--sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-mute); display: block; margin-top: .5rem; }
.hero-title { font-family: var(--serif); color: var(--cream); font-size: clamp(2.3rem, 6.2vw, 5.4rem); line-height: 1.03; max-width: 20ch; text-shadow: 0 4px 26px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4); }
.hero-sub { margin-top: 1.8rem; max-width: 46ch; color: var(--cream-mute); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.65; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-content .eyebrow.on-dark { text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

/* --- Hero cross-nav: quick links to the other two category pages --- */
.hero-cross-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 1.6rem; }
.hero-cross-nav .k { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-mute); }
.hero-cross-nav a { font-size: .82rem; color: var(--cream); border-bottom: 1px solid rgba(242,238,230,.4); padding-bottom: 1px; transition: border-color .3s var(--ease-out), opacity .3s var(--ease-out); }
.hero-cross-nav a:hover { border-color: var(--cream); opacity: .85; }
.hero-cross-nav.on-light { justify-content: center; }
.hero-cross-nav.on-light .k { color: var(--ink-mute); }
.hero-cross-nav.on-light a { color: var(--ink); border-bottom-color: var(--line); }
.hero-cross-nav.on-light a:hover { border-color: var(--ink); }
/* Right-anchored (not centred) so it never collides with hero-actions,
   which grows rightward from the left-aligned hero text and can be wide
   once CTA labels get longer — a fixed centre point isn't safe there. */
.hero-scroll { position: absolute; right: var(--gutter); bottom: 2.4rem; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--cream-mute); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--cream-mute), transparent); animation: scrollLine 2.2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 539px) { .hero-scroll { display: none; } }

/* --- Hero carousel dots: manual navigation between hero slides --- */
.hero-carousel-dots { position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%); z-index: 3; display: flex; gap: .55rem; }
.hero-carousel-dots button { position: relative; width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(242,238,230,.5); transition: background .3s var(--ease-out), transform .3s var(--ease-out); cursor: pointer; }
.hero-carousel-dots button::before { content: ""; position: absolute; inset: -11px; }
.hero-carousel-dots button.is-active { background: var(--cream); transform: scale(1.35); }

/* --- Pillar card carousel: cycles real project thumbnails per category --- */
.pillar-figure[data-pillar-carousel] { position: relative; overflow: hidden; }
.pillar-figure[data-pillar-carousel] .pillar-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-soft); }
.pillar-figure[data-pillar-carousel] .pillar-slide.is-active { opacity: 1; z-index: 1; }
.pillar-figure[data-pillar-carousel] .pillar-slide img { width: 100%; height: 100%; object-fit: cover; }

/* --- Philosophy / manifesto --- */
.manifesto-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.manifesto-figure { aspect-ratio: 4/5; }
.manifesto-text .display-2 { margin-bottom: 1.6rem; }
.manifesto-text .display-2 em { color: var(--stone-deep); font-style: italic; }
.manifesto-list { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.manifesto-list span { font-size: .82rem; color: var(--ink-mute); position: relative; padding-left: 1rem; }
.manifesto-list span::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 1px; background: var(--stone-deep); }

/* --- Page header (interior pages) --- */
.page-header { padding-block: clamp(8.5rem, 14vw, 11rem) clamp(2.5rem, 5vw, 4rem); }

/* --- About --- */
.about-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 22ch; }

/* =============================================================
   7. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .case-meta-grid { grid-template-columns: repeat(3, 1fr); }
  .collab-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .manifesto-grid { grid-template-columns: .85fr 1.15fr; }
  .case-duo-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .case-gallery { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .result-list { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .project-modal-fields { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .pillar-card { grid-template-columns: 1.1fr .9fr; }
  .pillar-card:nth-child(even) { direction: rtl; }
  .pillar-card:nth-child(even) .pillar-body { direction: ltr; }
  .process-grid { grid-template-columns: repeat(6, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .case-meta-grid { grid-template-columns: repeat(5, 1fr); }
  .cta-split-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-top { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .journal-grid.is-featured { grid-template-columns: 1.4fr 1fr; }
}

/* =============================================================
   8. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll .line { animation: none; }
  [data-parallax] { transform: none !important; }
}

/* =============================================================
   9. View transitions
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fadeOutUp .5s var(--ease-out); }
::view-transition-new(root) { animation: fadeInUp .5s var(--ease-out); }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }
