
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');
:root{--ink:#0b0c0b;--ink2:#111311;--paper:#f1eee7;--sand:#d9c9a8;--sage:#8c9787;--line:rgba(255,255,255,.15);--max:1500px;--ease:cubic-bezier(.2,.75,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--ink)}body{margin:0;background:var(--ink);color:#f5f2eb;font-family:'DM Sans',Arial,sans-serif;font-weight:300;overflow-x:hidden}body.light{background:var(--paper);color:#141512}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}img,video{display:block;width:100%;object-fit:cover}.shell{width:min(calc(100% - 48px),var(--max));margin:auto}.header{position:fixed;z-index:80;left:0;right:0;top:0;padding:22px 0;transition:.5s var(--ease);mix-blend-mode:difference}.header.scrolled{background:rgba(8,9,8,.86);backdrop-filter:blur(18px);padding:14px 0;mix-blend-mode:normal;border-bottom:1px solid rgba(255,255,255,.07)}.nav{display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:13px;font-weight:600;letter-spacing:.24em;font-size:13px}.brand-mark{width:28px;height:28px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;font-family:'Playfair Display';font-size:13px}.nav-links{display:flex;gap:28px;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:.14em}.nav-links a{opacity:.8;position:relative}.nav-links a:after{content:'';position:absolute;height:1px;background:currentColor;left:0;right:100%;bottom:-6px;transition:.35s}.nav-links a:hover:after,.nav-links a.active:after{right:0}.menu-btn{display:none;background:none;border:0;color:inherit;font-size:20px}.progress{position:fixed;z-index:100;top:0;left:0;width:0;height:2px;background:var(--sand)}
.hero{min-height:100svh;position:relative;display:flex;align-items:flex-end;overflow:hidden}.hero-media{position:absolute;inset:0}.hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.1) 35%,rgba(0,0,0,.82))}.hero-media img,.hero-media video{height:100%}.hero-content{position:relative;z-index:2;width:100%;padding-bottom:64px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.25em;display:flex;align-items:center;gap:14px;opacity:.78}.eyebrow:before{content:'';width:45px;height:1px;background:currentColor}.display{font-family:'Manrope';font-weight:300;letter-spacing:-.055em;font-size:clamp(62px,9vw,148px);line-height:.82;margin:26px 0 24px;max-width:1250px}.display em{font-family:'Playfair Display';font-weight:500}.hero-foot{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end}.hero-copy{font-size:15px;line-height:1.7;max-width:540px;color:rgba(255,255,255,.75)}.scroll-cue{justify-self:end;text-transform:uppercase;letter-spacing:.18em;font-size:10px;display:flex;align-items:center;gap:12px}.scroll-cue i{width:42px;height:42px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;font-style:normal}
.section{padding:130px 0}.section.tight{padding:90px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:54px}.kicker{text-transform:uppercase;letter-spacing:.22em;font-size:10px;opacity:.55}.h2{font-family:'Manrope';font-weight:300;letter-spacing:-.045em;font-size:clamp(42px,5vw,78px);line-height:.98;margin:12px 0}.lede{font-size:18px;line-height:1.7;max-width:650px;color:rgba(255,255,255,.62)}.light .lede{color:rgba(0,0,0,.55)}.btn{display:inline-flex;align-items:center;gap:18px;border:1px solid rgba(255,255,255,.28);padding:15px 19px;text-transform:uppercase;font-size:10px;letter-spacing:.16em;transition:.35s var(--ease);background:transparent;color:inherit}.btn:hover{background:#fff;color:#111}.btn.dark{border-color:rgba(0,0,0,.2)}.btn.dark:hover{background:#111;color:#fff}.btn .arrow{font-size:15px}
.split-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:9vw;align-items:start}.manifesto{font-family:'Manrope';font-size:clamp(36px,4vw,68px);letter-spacing:-.045em;line-height:1.05;font-weight:300}.manifesto em{font-family:'Playfair Display'}.split-copy{padding-top:10px;font-size:15px;line-height:1.9;color:rgba(255,255,255,.62)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:90px}.metric{padding:34px 20px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric strong{font-size:42px;font-weight:300;letter-spacing:-.05em}.metric span{display:block;margin-top:10px;font-size:10px;letter-spacing:.15em;text-transform:uppercase;opacity:.55}
.featured{display:grid;grid-template-columns:repeat(12,1fr);gap:22px}.project-card{position:relative;overflow:hidden;min-height:590px;grid-column:span 6;background:#222}.project-card:nth-child(3n){grid-column:span 12;min-height:720px}.project-card img{position:absolute;inset:0;height:100%;transition:1.1s var(--ease);transform:scale(1.02)}.project-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.82))}.project-card:hover img{transform:scale(1.08)}.card-copy{position:absolute;z-index:2;left:30px;right:30px;bottom:30px;display:flex;justify-content:space-between;align-items:end;gap:30px}.card-title{font-size:35px;line-height:1;margin:8px 0 0;font-weight:300;letter-spacing:-.04em}.card-meta{font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:.75}.card-circle{width:55px;height:55px;border:1px solid rgba(255,255,255,.45);border-radius:50%;display:grid;place-items:center;flex:none;transition:.35s}.project-card:hover .card-circle{background:#fff;color:#111;transform:rotate(-35deg)}
.band{background:var(--sand);color:#141511}.band .section{padding:115px 0}.editorial-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:7vw;align-items:center}.editorial-img{aspect-ratio:4/5;overflow:hidden}.editorial-img img{height:100%;transition:transform 1.2s var(--ease)}.editorial-img:hover img{transform:scale(1.04)}.quote{font-family:'Manrope';font-size:clamp(42px,4.8vw,82px);line-height:.98;letter-spacing:-.055em}.quote em{font-family:'Playfair Display'}.mini-copy{margin-top:28px;max-width:560px;line-height:1.8;opacity:.68}
.marquee{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}.marquee-track{white-space:nowrap;display:flex;width:max-content;animation:marq 25s linear infinite}.marquee span{font-size:13px;text-transform:uppercase;letter-spacing:.2em;margin-right:45px;opacity:.75}@keyframes marq{to{transform:translateX(-50%)}}
.cta{min-height:76vh;display:grid;place-items:center;text-align:center;position:relative;overflow:hidden}.cta:before{content:'';position:absolute;inset:0;background:url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=88') center/cover}.cta:after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.68)}.cta-inner{position:relative;z-index:2}.cta h2{font-size:clamp(58px,8vw,130px);letter-spacing:-.06em;line-height:.88;font-weight:300;margin:0 0 35px}.cta h2 em{font-family:'Playfair Display'}
.footer{padding:70px 0 35px;background:#080908}.footer-top{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:60px;padding-bottom:70px}.footer-title{font-size:38px;letter-spacing:-.04em;margin:0 0 20px}.footer p,.footer a{font-size:13px;line-height:1.8;color:rgba(255,255,255,.57)}.footer-links{display:grid;gap:8px}.footer-label{font-size:10px;letter-spacing:.18em;text-transform:uppercase;opacity:.45;margin-bottom:15px}.footer-bottom{padding-top:25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;text-transform:uppercase;letter-spacing:.13em;opacity:.45}
.page-hero{padding:180px 0 75px}.page-title{font-size:clamp(72px,10vw,160px);letter-spacing:-.07em;font-weight:300;line-height:.82;margin:24px 0 35px}.page-title em{font-family:'Playfair Display'}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 42px}.filter{border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;padding:11px 16px;font-size:10px;text-transform:uppercase;letter-spacing:.13em;cursor:pointer}.filter.active,.filter:hover{background:#fff;color:#111}.portfolio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.portfolio-grid .project-card{grid-column:auto!important;min-height:620px!important}.portfolio-grid .project-card.hidden{display:none}
.project-hero{min-height:100svh;position:relative;display:flex;align-items:flex-end}.project-hero img{position:absolute;inset:0;height:100%}.project-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.82))}.project-hero .content{position:relative;z-index:2;width:100%;padding-bottom:62px}.project-name{font-size:clamp(72px,11vw,170px);line-height:.8;letter-spacing:-.065em;font-weight:300;margin:20px 0}.project-meta{display:flex;gap:22px;flex-wrap:wrap;font-size:10px;text-transform:uppercase;letter-spacing:.16em;opacity:.75}.project-intro{display:grid;grid-template-columns:1fr 1fr;gap:9vw}.project-statement{font-size:clamp(42px,5vw,79px);line-height:1;letter-spacing:-.05em;font-weight:300}.project-body{font-size:16px;line-height:1.9;color:rgba(255,255,255,.65)}.details{margin-top:65px;border-top:1px solid var(--line)}.detail-row{display:grid;grid-template-columns:1fr 2fr;padding:19px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-row span:first-child{text-transform:uppercase;letter-spacing:.12em;opacity:.45}.gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.gallery figure{margin:0;overflow:hidden;cursor:zoom-in}.gallery figure:nth-child(1),.gallery figure:nth-child(4){grid-column:span 8;aspect-ratio:16/10}.gallery figure:nth-child(2),.gallery figure:nth-child(3),.gallery figure:nth-child(5),.gallery figure:nth-child(6){grid-column:span 4;aspect-ratio:4/5}.gallery img{height:100%;transition:.9s var(--ease)}.gallery figure:hover img{transform:scale(1.04)}.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.96);z-index:120;display:none;place-items:center;padding:4vw}.lightbox.open{display:grid}.lightbox img{max-width:90vw;max-height:85vh;width:auto}.lightbox-close{position:absolute;right:30px;top:30px;border:1px solid rgba(255,255,255,.35);background:none;color:white;width:48px;height:48px;border-radius:50%;cursor:pointer}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.25);padding:16px 0;color:#fff;outline:none}.field::placeholder{color:rgba(255,255,255,.35)}textarea.field{grid-column:1/-1;min-height:110px;resize:vertical}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw}.contact-big{font-size:clamp(42px,5vw,78px);letter-spacing:-.05em;line-height:1}.contact-list{margin-top:40px;display:grid;gap:18px;font-size:14px;color:rgba(255,255,255,.68)}
.reveal{opacity:0;transform:translateY(45px);transition:opacity .9s var(--ease),transform .9s var(--ease)}.reveal.visible{opacity:1;transform:none}.reveal.delay1{transition-delay:.1s}.reveal.delay2{transition-delay:.2s}.image-reveal{clip-path:inset(0 0 100% 0);transition:clip-path 1.2s var(--ease)}.image-reveal.visible{clip-path:inset(0 0 0 0)}
.cursor{position:fixed;left:0;top:0;width:18px;height:18px;border:1px solid #fff;border-radius:50%;pointer-events:none;z-index:999;transform:translate(-50%,-50%);transition:width .2s,height .2s,background .2s;mix-blend-mode:difference}.cursor.hot{width:48px;height:48px;background:#fff}@media(max-width:900px){.shell{width:min(calc(100% - 30px),var(--max))}.nav-links{display:none}.menu-btn{display:block}.display{font-size:clamp(58px,17vw,100px)}.hero-foot,.split-intro,.editorial-grid,.project-intro,.contact-grid,.footer-top{grid-template-columns:1fr}.scroll-cue{justify-self:start}.section{padding:90px 0}.metrics{grid-template-columns:1fr 1fr}.metric:nth-child(2){border-right:0}.featured,.portfolio-grid{grid-template-columns:1fr}.project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{grid-column:auto;min-height:520px!important}.section-head{align-items:start;flex-direction:column}.gallery figure{grid-column:span 12!important;aspect-ratio:4/3!important}.page-hero{padding-top:145px}.project-name{font-size:17vw}.cursor{display:none}.form-grid{grid-template-columns:1fr}.field,textarea.field{grid-column:1}.footer-bottom{gap:18px;flex-direction:column}.header.open .nav-links{display:flex;position:absolute;left:0;right:0;top:65px;background:#0b0c0b;padding:28px;flex-direction:column;align-items:flex-start}.header.open{background:#0b0c0b;mix-blend-mode:normal}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal,.image-reveal{opacity:1;transform:none;clip-path:none}}

/* =========================================================
   V2 — Warm Architectural Luxury
   Cream-led surfaces, rounded imagery, 3-column project grid,
   layered depth, and brighter photographic hero treatment.
   ========================================================= */
:root{
  --paper:#f3efe6;
  --paper-2:#ebe4d6;
  --paper-3:#ded2be;
  --ink:#171812;
  --ink2:#24251d;
  --sand:#d9c9a8;
  --line-dark:rgba(23,24,18,.15);
  --line:rgba(23,24,18,.15);
  --radius:26px;
  --radius-lg:34px;
  --shadow:0 24px 70px rgba(53,43,28,.14);
  --shadow-lg:0 38px 110px rgba(53,43,28,.19);
}
html{background:var(--paper)}
body,body.light{background:var(--paper);color:var(--ink)}
main{background:var(--paper)}

/* Navigation becomes light after scroll; initial blend still works over imagery. */
.header{color:#fff}
.header.scrolled{background:rgba(243,239,230,.9);color:var(--ink);border-bottom:1px solid rgba(23,24,18,.08);box-shadow:0 10px 40px rgba(40,33,22,.05)}
.header.scrolled .btn{border-color:rgba(23,24,18,.24)}
.header.scrolled .btn:hover{background:var(--ink);color:var(--paper)}

/* Home hero: framed photographic banner on the warm brand canvas. */
.hero{min-height:100svh;background:var(--paper);padding:104px 24px 24px;align-items:flex-end}
.hero-media{inset:104px 24px 24px;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.hero-media:after{background:linear-gradient(180deg,rgba(11,12,10,.06) 0%,rgba(11,12,10,.05) 36%,rgba(11,12,10,.66) 100%)}
.hero-media img,.hero-media video{height:100%;border-radius:inherit}
.hero-content{padding:0 0 58px;color:#fff}
.hero-copy{color:rgba(255,255,255,.86)}
.hero .scroll-cue i{background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}

/* Light content canvas. */
.section{background:var(--paper)}
.section .split-copy,.split-copy{color:rgba(23,24,18,.66)}
.lede,.light .lede{color:rgba(23,24,18,.62)}
.metrics{border-color:var(--line-dark)}
.metric{border-color:var(--line-dark)}
.marquee{background:var(--paper-2);border-color:rgba(23,24,18,.12)}
.marquee span{color:rgba(23,24,18,.72)}
.btn{border-color:rgba(23,24,18,.26);color:var(--ink);border-radius:999px}
.btn:hover{background:var(--ink);color:#fff}
.kicker{color:rgba(23,24,18,.62)}

/* Three-up project system + rounded image cards + dimensional lift. */
.featured,.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{
  grid-column:auto!important;
  min-height:500px!important;
  border-radius:var(--radius);
  overflow:hidden;
  background:#b8b1a5;
  box-shadow:var(--shadow);
  isolation:isolate;
  transform:translateZ(0);
  transition:transform .55s var(--ease),box-shadow .55s var(--ease);
}
.featured .project-card{min-height:540px!important}
.project-card:before{content:'';position:absolute;inset:0;border:1px solid rgba(255,255,255,.24);border-radius:inherit;z-index:3;pointer-events:none}
.project-card:after{background:linear-gradient(180deg,rgba(0,0,0,.03) 15%,rgba(0,0,0,.10) 48%,rgba(8,9,7,.78) 100%)}
.project-card img{border-radius:inherit;transform:scale(1.025);filter:saturate(.94) contrast(.98)}
.project-card:hover{transform:translateY(-10px);box-shadow:0 34px 85px rgba(53,43,28,.23)}
.project-card:hover img{transform:scale(1.075)}
.card-copy{left:26px;right:26px;bottom:25px}
.card-title{font-size:clamp(25px,2.2vw,34px)}
.card-circle{background:rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.filters{margin-bottom:48px}
.filter{border:1px solid rgba(23,24,18,.20);background:rgba(255,255,255,.26);color:var(--ink);border-radius:999px;padding:12px 18px;transition:.3s var(--ease)}
.filter.active,.filter:hover{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Rounded editorial and gallery imagery. */
.band{background:var(--paper-2);color:var(--ink)}
.editorial-img{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.editorial-img img{border-radius:inherit}
.gallery{gap:22px}
.gallery figure{border-radius:22px;box-shadow:0 18px 48px rgba(53,43,28,.12);background:#d8d1c7}
.gallery figure img{border-radius:inherit}
.gallery figure:hover{box-shadow:0 28px 65px rgba(53,43,28,.18)}

/* Project detail hero also reads as a premium image banner, not a black wall. */
.project-hero{min-height:94svh;background:var(--paper);margin:0;padding:104px 24px 24px;overflow:hidden}
.project-hero>img{inset:104px 24px 24px;width:calc(100% - 48px);height:calc(100% - 128px);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.project-hero:after{inset:104px 24px 24px;border-radius:var(--radius-lg);background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.08) 40%,rgba(0,0,0,.65))}
.project-hero .content{padding:0 24px 58px;color:#fff}
.project-body{color:rgba(23,24,18,.66)}
.details{border-color:var(--line-dark)}
.detail-row{border-color:var(--line-dark)}

/* Listing / About / Contact hero surfaces are bright and airy. */
.page-hero{background:linear-gradient(180deg,var(--paper-2) 0%,var(--paper) 88%);padding-top:190px;padding-bottom:85px}
.page-title{color:var(--ink)}
.page-hero .eyebrow{color:rgba(23,24,18,.72)}
.contact-list{color:rgba(23,24,18,.68)}
.field{border-bottom-color:rgba(23,24,18,.26);color:var(--ink)}
.field::placeholder{color:rgba(23,24,18,.42)}
select.field{background:transparent}

/* Image-backed CTA remains a dark contrast moment, framed rather than full-bleed. */
.cta{min-height:72vh;margin:24px;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);color:#fff}
.cta:after{background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.58))}
.cta .kicker{color:rgba(255,255,255,.76)}
.cta .btn{border-color:rgba(255,255,255,.45);color:#fff}
.cta .btn:hover{background:#fff;color:var(--ink)}

/* Footer remains the deliberate dark anchor. */
.footer{background:#151610;color:#f5f2eb}
.footer .footer-title,.footer .footer-label{color:#f5f2eb}

/* Cursor works on both cream and photography. */
.cursor{border-color:#fff;mix-blend-mode:difference}

@media(max-width:1180px){
  .featured,.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{min-height:520px!important}
}
@media(max-width:900px){
  .hero{padding:82px 15px 15px}
  .hero-media{inset:82px 15px 15px;border-radius:24px}
  .hero-content{padding-bottom:38px}
  .featured,.portfolio-grid{grid-template-columns:1fr}
  .project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{min-height:510px!important}
  .project-hero{padding:82px 15px 15px}
  .project-hero>img{inset:82px 15px 15px;width:calc(100% - 30px);height:calc(100% - 97px);border-radius:24px}
  .project-hero:after{inset:82px 15px 15px;border-radius:24px}
  .project-hero .content{padding:0 15px 38px}
  .cta{margin:15px;border-radius:24px}
  .header.open{background:rgba(243,239,230,.98);color:var(--ink);mix-blend-mode:normal}
  .header.open .nav-links{background:var(--paper);color:var(--ink)}
}

/* =========================================================
   V3 — Dark Architectural Luxury
   Restores the deeper E'Sorae mood while retaining the V2
   three-column grid, dimensional cards and softened imagery.
   Interior pages use image-backed banner heroes with a dark
   graded film and white typography.
   ========================================================= */
:root{
  --ink:#0b0c0b;
  --ink2:#111311;
  --paper:#0b0c0b;
  --paper-2:#10110f;
  --paper-3:#171915;
  --sand:#d9c9a8;
  --line:rgba(255,255,255,.14);
  --line-dark:rgba(255,255,255,.14);
  --radius:12px;
  --radius-lg:14px;
  --shadow:0 24px 70px rgba(0,0,0,.30);
  --shadow-lg:0 38px 110px rgba(0,0,0,.42);
}
html{background:var(--ink)}
body,body.light,main{background:var(--ink);color:#f5f2eb}
.section{background:var(--ink)}
.section .split-copy,.split-copy,.project-body{color:rgba(255,255,255,.64)}
.lede,.light .lede{color:rgba(255,255,255,.72)}
.kicker{color:rgba(255,255,255,.58)}
.metrics,.metric,.details,.detail-row{border-color:var(--line)}

/* Header always lives comfortably over the dark / image system. */
.header{color:#fff}
.header.scrolled{background:rgba(8,9,8,.88);color:#fff;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 12px 40px rgba(0,0,0,.22)}
.header.scrolled .btn{border-color:rgba(255,255,255,.28);color:#fff}
.header.scrolled .btn:hover{background:#fff;color:#111}

/* Home hero remains photographic, framed against the dark canvas. */
.hero{background:var(--ink);padding:98px 18px 18px}
.hero-media{inset:98px 18px 18px;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.hero-media:after{background:linear-gradient(180deg,rgba(4,5,4,.28) 0%,rgba(4,5,4,.16) 35%,rgba(4,5,4,.84) 100%)}
.hero-content{color:#fff}
.hero-copy{color:rgba(255,255,255,.80)}

/* Buttons lose the pill treatment. */
.btn{border-color:rgba(255,255,255,.28);color:#fff;border-radius:6px}
.btn:hover{background:#fff;color:#111}
.btn.dark{border-color:rgba(255,255,255,.26);color:#fff}
.btn.dark:hover{background:#fff;color:#111}

/* Three-column project system retained; corners are only gently softened. */
.featured,.portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{
  border-radius:var(--radius);
  background:#181a17;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.06);
}
.project-card:before{border:1px solid rgba(255,255,255,.10)}
.project-card:after{background:linear-gradient(180deg,rgba(0,0,0,.04) 18%,rgba(0,0,0,.16) 48%,rgba(3,4,3,.88) 100%)}
.project-card img{filter:saturate(.92) contrast(1.02)}
.project-card:hover{box-shadow:0 34px 86px rgba(0,0,0,.46)}

/* Dark filter controls, architectural rather than pill-like. */
.filter{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.025);color:#fff;border-radius:6px;padding:12px 17px}
.filter.active,.filter:hover{background:#fff;color:#111;border-color:#fff}

/* Supporting light/sand moment remains as one deliberate contrast section. */
.band{background:var(--sand);color:#141511}
.band .kicker{color:rgba(20,21,17,.58)}
.band .mini-copy{color:rgba(20,21,17,.70)}
.band .btn.dark{border-color:rgba(20,21,17,.24);color:#141511}
.band .btn.dark:hover{background:#141511;color:#fff}

/* Subtle rounding and depth for editorial/gallery photography. */
.editorial-img{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.gallery figure{border-radius:var(--radius);box-shadow:0 18px 48px rgba(0,0,0,.26);background:#171815;border:1px solid rgba(255,255,255,.06)}
.gallery figure:hover{box-shadow:0 28px 70px rgba(0,0,0,.42)}

/* Universal image-backed inner-page hero. */
.page-hero{
  --page-hero-image:url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2400&q=92');
  position:relative;
  min-height:70svh;
  margin:0 18px;
  padding:190px 0 72px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
  background-image:var(--page-hero-image);
  background-position:center;
  background-size:cover;
  box-shadow:var(--shadow-lg);
  isolation:isolate;
}
.page-hero:before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(5,6,5,.48) 0%,rgba(5,6,5,.52) 38%,rgba(5,6,5,.84) 100%);
}
.page-hero:after{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(0,0,0,.22),transparent 62%);
}
.page-hero-content{position:relative;z-index:2;color:#fff}
.page-title{color:#fff;margin-bottom:24px}
.page-hero .eyebrow{color:rgba(255,255,255,.78)}
.page-hero .lede{color:rgba(255,255,255,.78);max-width:720px}

/* Project detail pages use the same banner grammar. */
.project-hero{min-height:94svh;background:var(--ink);padding:98px 18px 18px}
.project-hero>img{inset:98px 18px 18px;width:calc(100% - 36px);height:calc(100% - 116px);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.project-hero:after{inset:98px 18px 18px;border-radius:var(--radius-lg);background:linear-gradient(180deg,rgba(4,5,4,.28),rgba(4,5,4,.20) 38%,rgba(4,5,4,.86))}
.project-hero .content{color:#fff;padding:0 18px 54px}

/* Dark content surfaces / contact controls. */
.contact-list{color:rgba(255,255,255,.68)}
.field{border-bottom-color:rgba(255,255,255,.24);color:#fff;background:transparent}
.field::placeholder{color:rgba(255,255,255,.42)}
select.field{background:#0b0c0b;color:#fff}
.marquee{background:#0f100e;border-color:rgba(255,255,255,.10)}
.marquee span{color:rgba(255,255,255,.68)}

/* CTA keeps the image + dark film treatment, with restrained corners. */
.cta{margin:18px;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.cta:after{background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.72))}
.footer{background:#070807;color:#f5f2eb}

@media(max-width:1180px){
  .featured,.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .hero{padding:80px 10px 10px}
  .hero-media{inset:80px 10px 10px;border-radius:10px}
  .page-hero{margin:0 10px;min-height:64svh;padding:150px 0 54px;border-radius:0 0 10px 10px}
  .featured,.portfolio-grid{grid-template-columns:1fr}
  .project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{border-radius:10px}
  .project-hero{padding:80px 10px 10px}
  .project-hero>img{inset:80px 10px 10px;width:calc(100% - 20px);height:calc(100% - 90px);border-radius:10px}
  .project-hero:after{inset:80px 10px 10px;border-radius:10px}
  .project-hero .content{padding:0 10px 38px}
  .editorial-img,.gallery figure,.cta{border-radius:10px}
  .cta{margin:10px}
  .header.open{background:rgba(8,9,8,.98);color:#fff;mix-blend-mode:normal}
  .header.open .nav-links{background:#0b0c0b;color:#fff}
}

/* V3 finishing corrections */
.band .section{background:transparent}
.page-hero:before,.page-hero:after{z-index:0}
.page-hero-content{z-index:2}

/* =========================================================
   V4 — Gallery resilience and centred editorial rhythm
   ========================================================= */
:root{
  --max:1320px;
  --copy:720px;
  --focus:#e6d4aa;
  --scroll-track:#0b0c0b;
  --scroll-thumb:#6f725f;
}

html{
  scrollbar-color:var(--scroll-thumb) var(--scroll-track);
  scrollbar-width:thin;
}
html::-webkit-scrollbar{width:12px;height:12px}
html::-webkit-scrollbar-track{background:var(--scroll-track)}
html::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid var(--scroll-track);border-radius:999px}
html::-webkit-scrollbar-thumb:hover{background:#95967e}

.shell{width:min(calc(100% - clamp(32px,7vw,96px)),var(--max))}
.section{padding:clamp(88px,10vw,144px) 0}
.section.tight{padding:clamp(72px,8vw,112px) 0}
.section-head{max-width:1180px;margin-left:auto;margin-right:auto}
.split-intro,.project-intro,.contact-grid{max-width:1180px;margin-left:auto;margin-right:auto}
.split-copy,.project-body,.mini-copy,.hero-copy,.lede{max-width:var(--copy)}

.page-hero-content{
  display:grid;
  justify-items:center;
  text-align:center;
  max-width:1120px;
}
.page-hero .eyebrow{justify-content:center}
.page-hero .lede{margin-left:auto;margin-right:auto}
.page-title{max-width:1050px}

.filters{justify-content:center}
.portfolio-grid{max-width:1240px;margin:0 auto}
.project-overview{padding-bottom:clamp(70px,8vw,105px)}
.project-gallery-section{padding-top:clamp(55px,6vw,84px)}
.gallery-heading{align-items:end}

/* Content remains visible without JavaScript; motion is opt-in per element. */
.reveal{opacity:1;transform:none}
.reveal.motion-pending{opacity:0;transform:translateY(36px)}
.image-reveal{clip-path:none}
/* Observe the full image box; clipping it to zero prevents intersection. */
.image-reveal.motion-pending{clip-path:none}
.image-reveal.motion-pending img{transform:scale(1.025)}
.image-reveal.visible img{transform:none}
.reveal.visible{opacity:1;transform:none}
.image-reveal.visible{clip-path:none}
.gallery .gallery-item{clip-path:none;opacity:1}

/* Repeat the gallery composition for galleries longer than six images. */
.gallery{grid-auto-flow:row dense;align-items:stretch}
.gallery figure{grid-column:span 6;aspect-ratio:4/3;min-width:0}
.gallery figure:nth-child(6n + 1),
.gallery figure:nth-child(6n + 4){grid-column:span 8;aspect-ratio:16/10}
.gallery figure:nth-child(6n + 2),
.gallery figure:nth-child(6n + 3){grid-column:span 4;aspect-ratio:4/5}
.gallery figure:nth-child(6n + 5),
.gallery figure:nth-child(6n + 6){grid-column:span 6;aspect-ratio:4/3}
.gallery figure:only-child,
.gallery figure:last-child:nth-child(6n + 1){grid-column:1/-1;aspect-ratio:16/9}
.gallery-button{width:100%;height:100%;display:block;padding:0;border:0;background:#171815;color:inherit;cursor:zoom-in;overflow:hidden}
.gallery-button img{width:100%;height:100%;object-fit:cover}

.editorial-motion{
  position:relative;
  min-height:clamp(460px,60vw,720px);
  overflow:hidden;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  background:#171815;
}
.editorial-motion:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(5,6,5,.36))}
.editorial-motion video{height:100%;position:absolute;inset:0;filter:saturate(.86) contrast(1.04)}

.form-status{grid-column:1/-1;min-height:1.6em;margin:8px 0 0;color:var(--focus);font-size:13px;line-height:1.6}
.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}
textarea.field{resize:none;min-height:150px}

:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid var(--focus);
  outline-offset:4px;
}
.lightbox-close:focus-visible{outline-color:#fff}

@media(max-width:900px){
  .shell{width:min(calc(100% - 30px),var(--max))}
  .page-hero-content{text-align:left;justify-items:start}
  .page-hero .eyebrow{justify-content:flex-start}
  .page-hero .lede{margin-left:0}
  .gallery figure,
  .gallery figure:nth-child(n){grid-column:1/-1!important;aspect-ratio:4/3!important}
  .editorial-motion{min-height:440px;order:-1}
  .nav-cta{display:none}
}

@media(prefers-reduced-motion:reduce){
  .reveal.motion-pending,.image-reveal.motion-pending{opacity:1;transform:none;clip-path:none}
  .image-reveal.motion-pending img{transform:none!important}
  .editorial-motion video{transform:none!important}
}

@media(forced-colors:active){
  html{scrollbar-color:auto}
  :where(a,button,input,select,textarea):focus-visible{outline-color:Highlight}
}

/* V5: centred architectural composition, shared across all five pages. */
:root{
  --copy:680px;
  --heading:1000px;
  --accent:var(--sand);
  --editorial-gap:clamp(32px,4vw,56px);
}
body{line-height:1.6;-webkit-font-smoothing:antialiased}
.header{mix-blend-mode:normal;background:linear-gradient(180deg,rgba(7,8,7,.85),rgba(7,8,7,.2));padding:24px 0}
.nav{display:grid;grid-template-columns:1fr auto 1fr;gap:24px}
.brand{justify-self:start;font-size:12px;letter-spacing:.2em}
.nav-cta{justify-self:end}
.nav-links{gap:32px;font-size:11px;letter-spacing:.17em}
.nav-links a{opacity:.85}
.btn{min-height:48px;padding:15px 24px;font-size:11px;letter-spacing:.15em;border-radius:3px}
.btn:hover{border-color:var(--accent);background:var(--accent);color:#141511}
.section{padding:clamp(80px,8.5vw,128px) 0}
.section.tight{padding:clamp(64px,7vw,104px) 0}
.eyebrow{justify-content:center;gap:18px;letter-spacing:.22em;font-size:10px;line-height:1.7;opacity:1}
.eyebrow:before,.eyebrow:after{content:'';height:1px;width:34px;flex:none;background:var(--accent);opacity:.8}
.display,.page-title,.project-name,.h2,.manifesto,.quote,.contact-big,.cta h2{font-family:'Manrope',Arial,sans-serif;line-height:1.08;letter-spacing:-.045em;font-weight:300;text-wrap:balance}
.display em,.page-title em,.h2 em,.manifesto em,.quote em,.cta h2 em,.footer-title em{font-family:'Playfair Display',Georgia,serif;font-weight:500}
.hero{align-items:center;min-height:100svh}
.hero-content{padding:clamp(100px,12vw,180px) 0 72px;text-align:center}
.hero-content>.shell{display:grid;justify-items:center}
.hero-media:after{background:linear-gradient(180deg,rgba(4,5,4,.25),rgba(4,5,4,.38) 42%,rgba(4,5,4,.72))}
.display{max-width:var(--heading);font-size:clamp(54px,7.8vw,112px);margin:28px auto}
.hero-foot{display:flex;flex-direction:column;align-items:center;gap:28px}
.hero-copy{max-width:620px;margin:0 auto;font-size:16px;line-height:1.85;color:rgba(255,255,255,.88);text-wrap:pretty}
.scroll-cue{justify-self:center;letter-spacing:.16em;gap:14px}
.scroll-cue i{width:38px;height:38px}
.page-hero{min-height:72svh;align-items:center;padding:156px 0 92px}
.page-hero-content{text-align:center;justify-items:center}
.page-hero .eyebrow{justify-content:center}
.page-title{font-size:clamp(56px,7.3vw,104px);max-width:var(--heading);margin:26px auto}
.page-hero .lede{max-width:620px;margin:0 auto;font-size:17px;line-height:1.85}
.section-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px;margin:0 auto 56px;max-width:var(--heading)}
.section-head>div{width:100%}
.section-head .lede{margin:0 auto}
.kicker{font-size:10px;letter-spacing:.24em;color:var(--accent);opacity:1;line-height:1.8}
.h2{font-size:clamp(36px,4.3vw,62px);max-width:900px;margin:16px auto 0}
.lede,.mini-copy,.split-copy,.project-body{font-size:16px;line-height:1.9;text-wrap:pretty}
.split-intro,.project-intro{display:flex;flex-direction:column;align-items:center;text-align:center;gap:32px;max-width:var(--heading)}
.manifesto{font-size:clamp(35px,4.1vw,58px);max-width:900px;margin:0 auto}
.split-copy{padding:0;max-width:var(--copy);margin:0 auto;color:rgba(255,255,255,.74)}
.metrics{margin:64px auto 0;max-width:1080px}
.metric{text-align:center;padding:30px 20px}
.metric strong{font-size:44px;font-weight:300;color:var(--accent)}
.metric span{opacity:.75;line-height:1.7;font-size:10px}
.editorial-grid{display:flex;flex-direction:column;gap:var(--editorial-gap);align-items:center;text-align:center;max-width:1180px}
.editorial-grid>.reveal{order:0;max-width:760px}
.editorial-img,.editorial-motion{order:1;width:100%;max-width:1180px}
.editorial-img{aspect-ratio:16/9}
.editorial-motion{min-height:clamp(300px,48vw,610px)}
.quote{font-size:clamp(36px,4.6vw,66px);margin:16px auto 0;max-width:760px}
.mini-copy{max-width:var(--copy);margin:24px auto 0;opacity:.85}
.band .kicker{color:#55482d}
.band .mini-copy{color:#39392e;opacity:1}
.band .section{padding:clamp(76px,8vw,120px) 0}
.details{max-width:1040px;margin:48px auto 0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.detail-row{display:flex;flex-direction:column;gap:12px;text-align:center;padding:30px 20px;font-size:15px;line-height:1.8;min-width:0}
.detail-row span:first-child{font-size:10px;color:var(--accent);opacity:1;letter-spacing:.18em}
.detail-row span:last-child{color:rgba(255,255,255,.78)}
.detail-row a{border-bottom:1px solid rgba(217,201,168,.45);padding-bottom:3px}
.project-hero{min-height:86svh;align-items:center}
.project-hero .content{padding:126px 18px 64px;text-align:center}
.project-hero .content .shell{display:grid;justify-items:center}
.project-hero:after{background:linear-gradient(180deg,rgba(4,5,4,.22),rgba(4,5,4,.42) 50%,rgba(4,5,4,.66))}
.project-name{font-size:clamp(52px,7.6vw,108px);max-width:1100px;margin:26px auto}
.project-meta{justify-content:center;align-items:center;gap:14px 26px;font-size:10px;letter-spacing:.16em;opacity:.9;line-height:1.9;max-width:850px}
.project-overview{padding:clamp(64px,7vw,104px) 0 48px}
.project-statement{font-family:'Manrope',Arial,sans-serif;font-size:clamp(32px,3.7vw,52px);line-height:1.2;letter-spacing:-.04em;font-weight:300;text-wrap:balance;max-width:940px}
.project-body{max-width:100%;width:100%;color:rgba(255,255,255,.76)}
.project-body>p{max-width:var(--copy);margin:0 auto}
.project-body .details{max-width:1080px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:40px}
.project-body .detail-row{padding:26px 16px;gap:10px;font-size:13px;line-height:1.75}
.project-gallery-section{padding-top:44px}
.gallery-heading{align-items:center}
.gallery-heading .lede{max-width:600px}
.gallery{gap:24px}
.project-card,.project-card:nth-child(3n),.portfolio-grid .project-card{box-shadow:0 16px 40px rgba(0,0,0,.24)}
.card-copy{left:24px;right:24px;bottom:28px;flex-direction:column;align-items:center;gap:18px;text-align:center}
.card-copy>div:first-child{width:100%}
.card-meta{font-size:9px;line-height:1.8;letter-spacing:.13em;opacity:.88;text-wrap:balance}
.card-title{font-family:'Manrope',Arial,sans-serif;font-size:clamp(24px,2.15vw,32px);line-height:1.2;letter-spacing:-.03em;margin-top:10px;text-wrap:balance}
.card-circle{width:38px;height:38px;font-size:16px}
.filters{justify-content:center;gap:10px;margin-bottom:48px}
.filter{font-size:10px;padding:12px 20px;min-height:44px;border-radius:3px;letter-spacing:.15em}
.filter.active{background:var(--accent);border-color:var(--accent);color:#141511}
.contact-grid{display:flex;flex-direction:column;align-items:center;gap:48px;text-align:center}
.contact-grid>.reveal{max-width:780px}
.contact-big{font-size:clamp(32px,3.6vw,50px);max-width:780px;margin:0 auto}
.contact-list{margin-top:30px;gap:12px;font-size:15px;line-height:1.8}
.form-grid{width:100%;max-width:760px;text-align:left;gap:20px 28px}
.field{padding:18px 0;font-size:15px;line-height:1.5;min-width:0}
.field::placeholder{color:rgba(255,255,255,.65)}
.form-grid>div{grid-column:1/-1;text-align:center;margin-top:12px}
.form-status{text-align:center}
.cta{min-height:65svh}
.cta-inner{max-width:1000px;padding:84px 0}
.cta h2{font-size:clamp(48px,6.8vw,96px);margin:24px auto 36px;max-width:960px}
.footer{padding:80px 0 30px}
.footer-top{grid-template-columns:1fr 1fr;gap:42px 72px;max-width:900px;margin:0 auto;text-align:center;padding-bottom:56px}
.footer-top>div:first-child{grid-column:1/-1}
.footer-title{font-family:'Manrope',Arial,sans-serif;line-height:1.2;font-size:clamp(28px,3.3vw,44px);font-weight:300}
.footer-top p{max-width:540px;margin:0 auto;font-size:14px;line-height:1.85;color:rgba(255,255,255,.7)}
.footer-label{color:var(--accent);opacity:1;letter-spacing:.2em}
.footer-links{justify-items:center;gap:9px}
.footer-links a,.footer-links span{font-size:13px;line-height:1.8;color:rgba(255,255,255,.73)}
.footer-bottom{justify-content:center;text-align:center;gap:24px;line-height:1.8;opacity:.68}
section[id]{scroll-margin-top:100px}
@media(max-width:1180px){
  .nav-links{gap:22px}
  .brand{font-size:11px;letter-spacing:.15em}
  .nav-cta{padding:13px 16px;font-size:10px}
}
@media(max-width:900px){
  .nav{grid-template-columns:1fr auto}
  .menu-btn{justify-self:end;min-width:44px;min-height:44px;cursor:pointer}
  .header{padding:14px 0}
  .header.open .nav-links{align-items:center;text-align:center;gap:24px;top:72px}
  .hero-content{padding:118px 0 66px}
  .page-hero{min-height:62svh;padding:138px 0 66px}
  .page-hero-content{text-align:center;justify-items:center}
  .page-hero .eyebrow{justify-content:center}
  .page-hero .lede{margin:0 auto;font-size:16px}
  .display{font-size:clamp(43px,9vw,76px)}
  .page-title{font-size:clamp(42px,8.5vw,74px)}
  .hero-copy{font-size:15px;max-width:570px}
  .project-hero{min-height:74svh}
  .project-hero .content{padding:124px 4px 62px}
  .project-name{font-size:clamp(44px,9.2vw,78px)}
  .project-meta{font-size:9px;gap:10px 18px}
  .section-head{gap:22px;margin-bottom:40px}
  .split-intro,.project-intro{gap:26px}
  .project-body .details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery{gap:20px}
  .editorial-motion{min-height:360px;order:1}
  .editorial-img{aspect-ratio:4/3}
  .footer-top{gap:38px 24px}
  .footer-bottom{flex-direction:column;gap:10px}
}
@media(max-width:560px){
  .eyebrow{font-size:9px;gap:12px;letter-spacing:.15em}
  .eyebrow:before,.eyebrow:after{width:20px}
  .hero-foot{gap:24px}
  .details{grid-template-columns:1fr;gap:0;margin-top:36px}
  .detail-row{padding:26px 10px}
  .project-body .details{grid-template-columns:1fr 1fr;margin-top:32px}
  .project-body .detail-row{font-size:12px;padding:22px 10px}
  .project-body .detail-row span:first-child{font-size:9px}
  .metrics{margin-top:42px}
  .metric{padding:26px 12px}
  .metric strong{font-size:36px}
  .metric span{font-size:9px;letter-spacing:.12em}
  .editorial-motion{min-height:300px}
  .form-grid{grid-template-columns:1fr;gap:12px}
  .footer-top{grid-template-columns:1fr}
  .footer{padding-top:64px}
  .footer-top>div:first-child{grid-column:auto}
}

/* ===== Production: skip link, focus visibility, print ===== */
.sr-only:focus,.sr-only:focus-visible{position:fixed;top:12px;left:12px;width:auto;height:auto;padding:12px 18px;background:#111;color:#fff;clip:auto;clip-path:none;z-index:9999;border-radius:4px;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #d9c9a8;outline-offset:3px}
img{max-width:100%}

/* Brand lockup: image-based logo in header and footer. */
.brand{display:inline-flex;align-items:center;line-height:0;text-decoration:none}
.brand-logo{display:block;height:28px;width:auto;object-fit:contain}
.footer-brand{display:flex;align-items:center;margin:0 0 18px}
.footer-brand .brand-logo{height:30px}
@media(max-width:900px){.brand-logo{height:24px}}
@media(max-width:620px){.brand-logo{height:22px}}
@media print{.brand-logo{filter:invert(1)}}

@media print{.header,.footer,.marquee,.cursor,.progress,.lightbox,.scroll-cue,.menu-btn,.nav-cta,video{display:none!important}body{background:#fff;color:#000}.hero,.page-hero{min-height:auto;padding:40px 0}}

/* =========================================================
   V6 — Theme toggle (light / dark)
   Dark is the default. Light is a layered override anchored
   on html[data-theme="light"]. First visit follows OS via
   prefers-color-scheme when no manual choice is stored.
   ========================================================= */
:root{
  color-scheme: dark light;
  --paper-50:#faf7f0;
  --paper-100:#f3efe6;
  --paper-200:#ebe4d4;
  --paper-300:#ded2be;
  --ink-900:#141511;
  --ink-800:#1d1e18;
}

/* Toggle button: brand-mark sized disc with cross-fading sun / moon */
.theme-toggle{position:relative;width:40px;height:40px;display:inline-grid;place-items:center;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:999px;color:inherit;cursor:pointer;padding:0;transition:transform .5s var(--ease),border-color .35s var(--ease),background .35s var(--ease);overflow:hidden;flex:none}
.theme-toggle:hover{border-color:var(--accent);background:rgba(217,201,168,.1);transform:rotate(18deg)}
.theme-toggle:active{transform:rotate(14deg) scale(.96)}
.theme-toggle svg{position:absolute;width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:opacity .45s var(--ease),transform .55s var(--ease);transform-origin:center}
.theme-toggle .icon-sun{opacity:0;transform:rotate(-90deg) scale(.4)}
.theme-toggle .icon-moon{opacity:1;transform:rotate(0) scale(1)}
html[data-theme="light"] .theme-toggle .icon-sun{opacity:1;transform:rotate(0) scale(1)}
html[data-theme="light"] .theme-toggle .icon-moon{opacity:0;transform:rotate(90deg) scale(.4)}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html[data-theme="light"] .theme-toggle{border-color:rgba(20,21,17,.25)}
html[data-theme="light"] .theme-toggle:hover{background:rgba(20,21,17,.06);border-color:var(--ink-900)}

/* Keep the nav grid balanced when we add the toggle before the CTA */
.nav-utility{display:flex;align-items:center;gap:14px;justify-self:end}
@media(max-width:900px){.nav-utility{gap:10px}.theme-toggle{width:38px;height:38px}}

/* Dual-logo brand mark: shows the correct logo per theme */
.brand{position:relative;display:inline-flex;align-items:center;line-height:0}
.brand .brand-logo{display:block;height:28px;width:auto;object-fit:contain;transition:opacity .35s var(--ease)}
.brand .brand-logo.brand-logo-dark{position:absolute;inset:0 auto 0 0;opacity:0;pointer-events:none}
html[data-theme="light"] .brand .brand-logo.brand-logo-light{opacity:0;position:absolute;inset:0 auto 0 0;pointer-events:none}
html[data-theme="light"] .brand .brand-logo.brand-logo-dark{opacity:1;position:relative;inset:auto}
@media (prefers-color-scheme: light){
  html:not([data-theme]) .brand .brand-logo.brand-logo-light{opacity:0;position:absolute;inset:0 auto 0 0;pointer-events:none}
  html:not([data-theme]) .brand .brand-logo.brand-logo-dark{opacity:1;position:relative;inset:auto}
}
@media(max-width:900px){.brand .brand-logo{height:24px}}
@media(max-width:620px){.brand .brand-logo{height:22px}}

/* Smooth cross-fade when the user flips theme */
html,body,.header,.header.scrolled,.footer,.band,.section,.marquee,.project-card,.gallery figure,.editorial-motion,.editorial-img,.btn,.filter,.field,select.field,.page-hero,.hero-media,.project-hero,.cta,.theme-toggle,.card-circle,.scroll-cue i,.metric,.detail-row,.footer-links a,.nav-links a,.contact-list,.contact-list a,.hero-copy,.lede,.split-copy,.mini-copy,.project-body,.kicker,.card-title,.card-meta{transition:background-color .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease),box-shadow .4s var(--ease)}

/* ========== LIGHT THEME OVERRIDES ========== */
html[data-theme="light"]{--ink:var(--paper-100);--line:rgba(20,21,17,.14);--line-dark:rgba(20,21,17,.14);--scroll-track:var(--paper-100);--scroll-thumb:#b2a988;background:var(--paper-50)}
html[data-theme="light"]::-webkit-scrollbar-track{background:var(--paper-100)}
html[data-theme="light"]::-webkit-scrollbar-thumb{background:#b2a988;border-color:var(--paper-100)}
html[data-theme="light"] body,html[data-theme="light"] main,html[data-theme="light"] .section{background:var(--paper-50);color:var(--ink-900)}
html[data-theme="light"] ::selection{background:var(--sand);color:var(--ink-900)}

/* Header */
html[data-theme="light"] .header{color:var(--ink-900);background:linear-gradient(180deg,rgba(250,247,240,.88),rgba(250,247,240,.2));mix-blend-mode:normal}
html[data-theme="light"] .header.scrolled{background:rgba(250,247,240,.92);color:var(--ink-900);border-bottom:1px solid rgba(20,21,17,.08);box-shadow:0 12px 36px rgba(53,43,28,.08)}
html[data-theme="light"] .nav-links a{opacity:.85;color:var(--ink-900)}
html[data-theme="light"] .nav-links a:after{background:var(--ink-900)}
html[data-theme="light"] .brand{color:var(--ink-900)}

/* Buttons */
html[data-theme="light"] .btn,html[data-theme="light"] .header.scrolled .btn{border-color:rgba(20,21,17,.28);color:var(--ink-900);background:transparent}
html[data-theme="light"] .btn:hover,html[data-theme="light"] .header.scrolled .btn:hover{background:var(--ink-900);border-color:var(--ink-900);color:var(--paper-50)}
html[data-theme="light"] .btn.dark{border-color:rgba(20,21,17,.22);color:var(--ink-900)}
html[data-theme="light"] .btn.dark:hover{background:var(--ink-900);color:var(--paper-50)}

/* Hero stays photographic; overlay is slightly softer */
html[data-theme="light"] .hero{background:var(--paper-50)}
html[data-theme="light"] .hero-media:after{background:linear-gradient(180deg,rgba(245,240,228,.10),rgba(245,240,228,.18) 42%,rgba(10,10,8,.58))}
html[data-theme="light"] .hero-content{color:#fff}
html[data-theme="light"] .hero-copy{color:rgba(255,255,255,.92)}

/* Typography */
html[data-theme="light"] .lede,html[data-theme="light"] .split-copy,html[data-theme="light"] .project-body,html[data-theme="light"] .mini-copy{color:rgba(20,21,17,.72)}
html[data-theme="light"] .kicker{color:#6a5a2f}
html[data-theme="light"] .eyebrow{color:rgba(20,21,17,.75)}
html[data-theme="light"] .eyebrow:before,html[data-theme="light"] .eyebrow:after{background:#8a7a4a;opacity:.9}

/* Marquee */
html[data-theme="light"] .marquee{background:var(--paper-100);border-color:rgba(20,21,17,.1)}
html[data-theme="light"] .marquee span{color:rgba(20,21,17,.72)}

/* Metrics + details */
html[data-theme="light"] .metrics,html[data-theme="light"] .metric,html[data-theme="light"] .details,html[data-theme="light"] .detail-row{border-color:rgba(20,21,17,.14)}
html[data-theme="light"] .metric strong{color:#6a5a2f}
html[data-theme="light"] .metric span{color:rgba(20,21,17,.6)}
html[data-theme="light"] .detail-row span:last-child{color:rgba(20,21,17,.75)}
html[data-theme="light"] .detail-row a{border-bottom-color:rgba(106,90,47,.55)}

/* Project cards */
html[data-theme="light"] .project-card,html[data-theme="light"] .project-card:nth-child(3n),html[data-theme="light"] .portfolio-grid .project-card{background:var(--paper-200);border:1px solid rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}
html[data-theme="light"] .project-card:hover{box-shadow:0 28px 76px rgba(53,43,28,.22)}
html[data-theme="light"] .project-card:after{background:linear-gradient(180deg,rgba(0,0,0,0) 25%,rgba(0,0,0,.18) 55%,rgba(0,0,0,.72) 100%)}
html[data-theme="light"] .project-card img{filter:saturate(1) contrast(1)}
html[data-theme="light"] .card-circle{border-color:rgba(255,255,255,.6)}

/* Filters */
html[data-theme="light"] .filter{background:transparent;color:var(--ink-900);border-color:rgba(20,21,17,.2)}
html[data-theme="light"] .filter:hover{background:var(--ink-900);border-color:var(--ink-900);color:var(--paper-50)}
html[data-theme="light"] .filter.active{background:var(--sand);border-color:var(--sand);color:var(--ink-900)}

/* Band */
html[data-theme="light"] .band{background:var(--paper-300);color:var(--ink-900)}
html[data-theme="light"] .band .kicker{color:#4a3e23}
html[data-theme="light"] .band .mini-copy{color:rgba(20,21,17,.75)}

/* Page hero overlays, slightly softer */
html[data-theme="light"] .page-hero:before{background:linear-gradient(180deg,rgba(5,6,5,.32) 0%,rgba(5,6,5,.4) 38%,rgba(5,6,5,.78) 100%)}
html[data-theme="light"] .page-hero:after{background:linear-gradient(90deg,rgba(0,0,0,.14),transparent 62%)}

/* Editorial / gallery frames */
html[data-theme="light"] .editorial-img,html[data-theme="light"] .editorial-motion,html[data-theme="light"] .gallery figure{background:var(--paper-200);border:1px solid rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}
html[data-theme="light"] .gallery figure:hover{box-shadow:0 28px 72px rgba(53,43,28,.2)}
html[data-theme="light"] .gallery-button{background:var(--paper-200)}
html[data-theme="light"] .editorial-motion:after{background:linear-gradient(180deg,transparent 55%,rgba(5,6,5,.22))}

/* Project detail hero */
html[data-theme="light"] .project-hero{background:var(--paper-50)}
html[data-theme="light"] .project-hero:after{background:linear-gradient(180deg,rgba(4,5,4,.22),rgba(4,5,4,.38) 50%,rgba(4,5,4,.6))}

/* Forms */
html[data-theme="light"] .field{border-bottom-color:rgba(20,21,17,.28);color:var(--ink-900);background:transparent}
html[data-theme="light"] .field::placeholder{color:rgba(20,21,17,.45)}
html[data-theme="light"] select.field{background:var(--paper-100);color:var(--ink-900)}
html[data-theme="light"] .contact-list{color:rgba(20,21,17,.72)}
html[data-theme="light"] .contact-list a{color:var(--ink-900)}
html[data-theme="light"] .form-status{color:#6a5a2f}

/* CTA keeps photographic film */
html[data-theme="light"] .cta{background:var(--paper-50)}
html[data-theme="light"] .cta:after{background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.68))}

/* Footer */
html[data-theme="light"] .footer{background:var(--paper-100);color:var(--ink-900);border-top:1px solid rgba(20,21,17,.08)}
html[data-theme="light"] .footer p,html[data-theme="light"] .footer a,html[data-theme="light"] .footer-top p,html[data-theme="light"] .footer-links a,html[data-theme="light"] .footer-links span{color:rgba(20,21,17,.72)}
html[data-theme="light"] .footer-title{color:var(--ink-900)}
html[data-theme="light"] .footer-label{color:#6a5a2f}
html[data-theme="light"] .footer-bottom{border-top-color:rgba(20,21,17,.1);color:rgba(20,21,17,.55)}

/* Cursor + skip link */
html[data-theme="light"] .cursor{border-color:var(--ink-900);mix-blend-mode:multiply}
html[data-theme="light"] .cursor.hot{background:var(--ink-900)}
html[data-theme="light"] .sr-only:focus{background:var(--ink-900);color:var(--paper-50)}

/* Focus ring */
html[data-theme="light"] :where(a,button,input,select,textarea):focus-visible{outline-color:#6a5a2f}

/* Mobile menu drawer */
@media(max-width:900px){
  html[data-theme="light"] .header.open,html[data-theme="light"] .header.open .nav-links{background:var(--paper-50);color:var(--ink-900);mix-blend-mode:normal}
  html[data-theme="light"] .header.open .nav-links a{color:var(--ink-900)}
}

/* First-visit: follow OS when no stored choice (data-theme absent) */
@media (prefers-color-scheme: light){
  html:not([data-theme]){--ink:var(--paper-100);--line:rgba(20,21,17,.14);--line-dark:rgba(20,21,17,.14);--scroll-track:var(--paper-100);--scroll-thumb:#b2a988;background:var(--paper-50);color-scheme:light}
  html:not([data-theme])::-webkit-scrollbar-track{background:var(--paper-100)}
  html:not([data-theme])::-webkit-scrollbar-thumb{background:#b2a988;border-color:var(--paper-100)}
  html:not([data-theme]) body,html:not([data-theme]) main,html:not([data-theme]) .section{background:var(--paper-50);color:var(--ink-900)}
  html:not([data-theme]) ::selection{background:var(--sand);color:var(--ink-900)}
  html:not([data-theme]) .header{color:var(--ink-900);background:linear-gradient(180deg,rgba(250,247,240,.88),rgba(250,247,240,.2));mix-blend-mode:normal}
  html:not([data-theme]) .header.scrolled{background:rgba(250,247,240,.92);color:var(--ink-900);border-bottom:1px solid rgba(20,21,17,.08);box-shadow:0 12px 36px rgba(53,43,28,.08)}
  html:not([data-theme]) .nav-links a{color:var(--ink-900)}
  html:not([data-theme]) .btn,html:not([data-theme]) .header.scrolled .btn{border-color:rgba(20,21,17,.28);color:var(--ink-900);background:transparent}
  html:not([data-theme]) .btn:hover,html:not([data-theme]) .header.scrolled .btn:hover{background:var(--ink-900);border-color:var(--ink-900);color:var(--paper-50)}
  html:not([data-theme]) .lede,html:not([data-theme]) .split-copy,html:not([data-theme]) .project-body,html:not([data-theme]) .mini-copy{color:rgba(20,21,17,.72)}
  html:not([data-theme]) .marquee{background:var(--paper-100);border-color:rgba(20,21,17,.1)}
  html:not([data-theme]) .marquee span{color:rgba(20,21,17,.72)}
  html:not([data-theme]) .metrics,html:not([data-theme]) .metric,html:not([data-theme]) .details,html:not([data-theme]) .detail-row{border-color:rgba(20,21,17,.14)}
  html:not([data-theme]) .project-card{background:var(--paper-200);border:1px solid rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}
  html:not([data-theme]) .project-card:after{background:linear-gradient(180deg,rgba(0,0,0,0) 25%,rgba(0,0,0,.18) 55%,rgba(0,0,0,.72) 100%)}
  html:not([data-theme]) .filter{color:var(--ink-900);border-color:rgba(20,21,17,.2)}
  html:not([data-theme]) .filter:hover{background:var(--ink-900);color:var(--paper-50)}
  html:not([data-theme]) .band{background:var(--paper-300);color:var(--ink-900)}
  html:not([data-theme]) .editorial-img,html:not([data-theme]) .editorial-motion,html:not([data-theme]) .gallery figure{background:var(--paper-200);border:1px solid rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}
  html:not([data-theme]) .field{border-bottom-color:rgba(20,21,17,.28);color:var(--ink-900)}
  html:not([data-theme]) .field::placeholder{color:rgba(20,21,17,.45)}
  html:not([data-theme]) select.field{background:var(--paper-100);color:var(--ink-900)}
  html:not([data-theme]) .contact-list{color:rgba(20,21,17,.72)}
  html:not([data-theme]) .contact-list a{color:var(--ink-900)}
  html:not([data-theme]) .footer{background:var(--paper-100);color:var(--ink-900);border-top:1px solid rgba(20,21,17,.08)}
  html:not([data-theme]) .footer p,html:not([data-theme]) .footer a,html:not([data-theme]) .footer-links a,html:not([data-theme]) .footer-links span{color:rgba(20,21,17,.72)}
  html:not([data-theme]) .footer-title{color:var(--ink-900)}
  html:not([data-theme]) .theme-toggle{border-color:rgba(20,21,17,.25)}
  html:not([data-theme]) .theme-toggle .icon-sun{opacity:1;transform:rotate(0) scale(1)}
  html:not([data-theme]) .theme-toggle .icon-moon{opacity:0;transform:rotate(90deg) scale(.4)}
}

@media (prefers-reduced-motion: reduce){
  .theme-toggle,.theme-toggle:hover,.theme-toggle:active{transform:none}
  .theme-toggle svg{transition:opacity .2s linear}
}

/* =========================================================
   V6b — Shared muted color tokens (per theme)
   Replaces scattered rgba(x,y,z,.6x) values with one voice.
   ========================================================= */
:root{
  --muted:rgba(255,255,255,.80);
  --muted-strong:rgba(255,255,255,.92);
  --muted-soft:rgba(255,255,255,.62);
  --accent-ink:#e8d9b2;
}
html[data-theme="light"]{
  --muted:rgba(20,21,17,.82);
  --muted-strong:rgba(20,21,17,.94);
  --muted-soft:rgba(20,21,17,.6);
  --accent-ink:#6a5a2f;
}
@media (prefers-color-scheme: light){
  html:not([data-theme]){
    --muted:rgba(20,21,17,.82);
    --muted-strong:rgba(20,21,17,.94);
    --muted-soft:rgba(20,21,17,.6);
    --accent-ink:#6a5a2f;
  }
}

/* Apply muted token across subtitle/body voices (light + dark) */
html[data-theme="light"] .lede,
html[data-theme="light"] .split-copy,
html[data-theme="light"] .project-body,
html[data-theme="light"] .mini-copy,
html[data-theme="light"] .pillar p,
html[data-theme="light"] .ecosystem-copy .block p,
html[data-theme="light"] .signature-intro p,
html[data-theme="light"] .editorial-dual .copy p,
html[data-theme="light"] .partner-copy p,
html[data-theme="light"] .project-pitch p{color:var(--muted);font-weight:400}

html[data-theme="light"] .kicker,
html[data-theme="light"] .footer-label,
html[data-theme="light"] .marquee span,
html[data-theme="light"] .ecosystem-metric .ecosystem-sub,
html[data-theme="light"] .stat-tile .stat-label,
html[data-theme="light"] .card-meta,
html[data-theme="light"] .detail-row span:first-child,
html[data-theme="light"] .pillar .kicker{color:var(--accent-ink);opacity:1}

html[data-theme="light"] .metric strong{color:var(--accent-ink)}
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer-top p,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-links span,
html[data-theme="light"] .contact-list,
html[data-theme="light"] .contact-list a{color:var(--muted)}

/* Partner tagline (the "Furnishing dreams..." line) */
.partner-copy .sub{font-size:19px;font-weight:500;line-height:1.45;opacity:1;color:var(--muted-strong);margin:0 0 22px;max-width:540px}

/* =========================================================
   V6c — Font bump for text over image backgrounds
   Only elements that sit over hero media / project cards /
   signature cards / CTA / project-hero. Body-background
   text is unchanged.
   ========================================================= */

/* Homepage hero */
.hero .eyebrow{font-size:12px;letter-spacing:.22em;font-weight:500;opacity:1}
.hero .display{font-weight:400}
.hero-copy{font-size:18px;line-height:1.75;font-weight:400;color:rgba(255,255,255,.94)}
.hero .scroll-cue{font-size:11px;letter-spacing:.18em;font-weight:500}

/* Universal page hero (About, Projects, Contact, History) */
.page-hero .eyebrow{font-size:12px;letter-spacing:.22em;font-weight:500;color:rgba(255,255,255,.92)}
.page-hero .lede{font-size:19px;line-height:1.75;font-weight:400;color:rgba(255,255,255,.92);max-width:720px}
.page-hero-content{color:#fff}

/* Project detail hero */
.project-hero .eyebrow{font-size:12px;letter-spacing:.22em;font-weight:500;color:rgba(255,255,255,.92)}
.project-hero .project-meta{font-size:12px;letter-spacing:.18em;font-weight:500;color:rgba(255,255,255,.92);opacity:1}

/* Project cards (text sitting over the image) */
.project-card .card-title{font-size:clamp(26px,2.3vw,34px);font-weight:400}
.project-card .card-meta{font-size:11px;letter-spacing:.14em;font-weight:500;color:rgba(255,255,255,.94);opacity:1}

/* Signature cards (image-backed) */
.signature-card .label .kicker{font-size:11px;letter-spacing:.18em;font-weight:500;color:var(--accent);opacity:1}
.signature-card .label h3{font-size:clamp(23px,2.1vw,30px)}

/* CTA (background image) */
.cta .kicker{font-size:12px;letter-spacing:.22em;font-weight:500;color:#fff;opacity:1}
.cta h2{font-weight:400}

/* Editorial motion (video block) overlays */
.editorial-motion:after{background:linear-gradient(180deg,transparent 44%,rgba(5,6,5,.44))}

/* Band section (sand background) */
.band .kicker{font-size:11px;letter-spacing:.2em;font-weight:500;color:#4a3e23}
.band .quote,.band .manifesto{font-weight:400}
.band .mini-copy{font-size:16px;font-weight:400}
html[data-theme="light"] .band .kicker{color:#4a3e23}
html[data-theme="light"] .band .mini-copy{color:rgba(20,21,17,.82)}

@media(max-width:900px){
  .hero-copy{font-size:16.5px}
  .page-hero .lede{font-size:17px}
  .partner-copy .sub{font-size:17.5px}
}

/* =========================================================
   V7b — Partners page: video hero + logo-first identity
   ========================================================= */
.page-hero-video{background:#0a0b0a}
.page-hero-video>.page-hero-media{
  position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;
}
.page-hero-video>.page-hero-media video{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(.95) contrast(1.02);
}
.page-hero-video:before{z-index:1;background:linear-gradient(180deg,rgba(5,6,5,.44) 0%,rgba(5,6,5,.5) 38%,rgba(5,6,5,.82) 100%)}
.page-hero-video:after{z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.18),transparent 62%)}
.page-hero-video .page-hero-content{z-index:2;position:relative}

/* =========================================================
   V7c — Universal over-image white lock
   Any element sitting on top of an image or video renders
   white in BOTH themes. Light-mode body text rules do not
   apply inside hero/card/CTA image containers.
   ========================================================= */
.hero,
.hero *,
.page-hero,
.page-hero *,
.project-hero,
.project-hero *,
.project-card,
.project-card *,
.signature-card,
.signature-card *,
.cta,
.cta *,
.editorial-motion,
.editorial-motion *{color:#fff}

/* Hero / page-hero / project-hero */
html[data-theme="light"] .hero .eyebrow,
html[data-theme="light"] .hero .display,
html[data-theme="light"] .hero-copy,
html[data-theme="light"] .hero .scroll-cue,
html[data-theme="light"] .page-hero .eyebrow,
html[data-theme="light"] .page-hero .page-title,
html[data-theme="light"] .page-hero .lede,
html[data-theme="light"] .page-hero-content,
html[data-theme="light"] .project-hero .eyebrow,
html[data-theme="light"] .project-hero .project-name,
html[data-theme="light"] .project-hero .project-meta,
html[data-theme="light"] .project-hero .project-meta span{color:#fff}

html[data-theme="light"] .hero-copy{color:rgba(255,255,255,.94)}
html[data-theme="light"] .page-hero .lede{color:rgba(255,255,255,.92)}
html[data-theme="light"] .page-hero .eyebrow,
html[data-theme="light"] .project-hero .eyebrow{color:rgba(255,255,255,.92)}
html[data-theme="light"] .project-hero .project-meta{color:rgba(255,255,255,.92);opacity:1}

/* Project cards (grid + featured) */
html[data-theme="light"] .project-card,
html[data-theme="light"] .project-card .card-title,
html[data-theme="light"] .project-card .card-meta,
html[data-theme="light"] .project-card .card-circle{color:#fff}
html[data-theme="light"] .project-card .card-meta{color:rgba(255,255,255,.94)}
html[data-theme="light"] .project-card .card-circle{border-color:rgba(255,255,255,.5)}

/* Signature cards (3-up on History page) */
html[data-theme="light"] .signature-card,
html[data-theme="light"] .signature-card .label,
html[data-theme="light"] .signature-card .label h3,
html[data-theme="light"] .signature-card .label .kicker{color:#fff}
html[data-theme="light"] .signature-card .label .kicker{color:var(--accent)}

/* CTA (bottom of pages, has photographic background) */
html[data-theme="light"] .cta,
html[data-theme="light"] .cta .kicker,
html[data-theme="light"] .cta h2,
html[data-theme="light"] .cta h2 em{color:#fff}
html[data-theme="light"] .cta .btn{color:#fff;border-color:rgba(255,255,255,.42);background:transparent}
html[data-theme="light"] .cta .btn:hover{background:#fff;color:var(--ink-900);border-color:#fff}

/* Editorial-motion video block (homepage band) */
html[data-theme="light"] .editorial-motion,
html[data-theme="light"] .editorial-motion *{color:#fff}

/* Scroll cue circle outline stays bright */
html[data-theme="light"] .scroll-cue i{border-color:rgba(255,255,255,.45)}

/* =========================================================
   V8 — Brochure in-page viewer
   Full-screen overlay with embedded PDF, download + close.
   ========================================================= */
.brochure-viewer{
  position:fixed;inset:0;z-index:140;display:none;
  background:rgba(5,6,5,.92);
  backdrop-filter:blur(8px);
  padding:clamp(14px,2vw,32px);
  opacity:0;transition:opacity .3s var(--ease);
}
.brochure-viewer.open{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:1}
.brochure-viewer-shell{
  width:min(1180px,100%);height:min(96vh,100%);
  background:#0f100e;border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg);box-shadow:0 60px 160px rgba(0,0,0,.6);
  display:flex;flex-direction:column;overflow:hidden;color:#fff;
}
.brochure-viewer-head{
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.08);flex:none;
}
.brochure-viewer-title{display:flex;flex-direction:column;gap:4px;min-width:0}
.brochure-viewer-title .eyebrow{font-size:10px;letter-spacing:.22em;color:var(--accent);opacity:1;text-transform:uppercase;line-height:1.6}
.brochure-viewer-title .eyebrow:before,.brochure-viewer-title .eyebrow:after{display:none}
.brochure-viewer-name{
  font-family:'Playfair Display',Georgia,serif;font-weight:500;
  font-size:clamp(20px,2vw,28px);line-height:1.2;margin:0;color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62vw;
}
.brochure-viewer-actions{display:flex;align-items:center;gap:10px;flex:none}
.brochure-viewer-actions .btn{
  padding:10px 16px;min-height:40px;color:#fff;border-color:rgba(255,255,255,.3);
  background:transparent;display:inline-flex;align-items:center;gap:8px;
}
.brochure-viewer-actions .btn:hover{background:#fff;color:#111;border-color:#fff}
.brochure-close{
  width:40px;height:40px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;
  border-radius:999px;cursor:pointer;flex:none;transition:all .35s var(--ease);
}
.brochure-close:hover{background:#fff;color:#111;border-color:#fff;transform:rotate(90deg)}
.brochure-viewer-body{flex:1 1 auto;position:relative;min-height:0;background:#1a1b17}
.brochure-frame{width:100%;height:100%;border:0;display:block;background:#1a1b17}
.brochure-fallback{
  position:absolute;inset:0;display:none;flex-direction:column;align-items:center;
  justify-content:center;gap:20px;padding:30px;text-align:center;color:#fff;
}
.brochure-fallback[hidden]{display:none}
.brochure-fallback:not([hidden]){display:flex}
body.brochure-open{overflow:hidden}
html[data-theme="light"] .brochure-viewer{background:rgba(5,6,5,.88)}
html[data-theme="light"] .brochure-viewer-shell{background:#0f100e;color:#fff}
html[data-theme="light"] .brochure-viewer-name,
html[data-theme="light"] .brochure-close,
html[data-theme="light"] .brochure-viewer-actions .btn{color:#fff}

@media(max-width:720px){
  .brochure-viewer{padding:0}
  .brochure-viewer-shell{height:100vh;max-height:100vh;border-radius:0;border:0}
  .brochure-viewer-head{padding:14px 16px;gap:10px}
  .brochure-viewer-name{font-size:16px;max-width:50vw}
  .brochure-viewer-actions .btn{padding:8px 12px;font-size:10px;letter-spacing:.1em}
  .brochure-viewer-actions .btn svg{width:14px;height:14px}
  .brochure-close{width:36px;height:36px}
}

/* Partner logo lockup (now the sole identity) */
.partner-copy .logo{
  display:block;height:52px;width:auto;object-fit:contain;object-position:left center;
  margin:0 0 20px;max-width:220px;
}
html[data-theme="light"] .partner-copy .logo{filter:brightness(.14) invert(.08)}
@media(max-width:1180px){
  .partner-copy .logo{margin-left:auto;margin-right:auto;object-position:center;height:44px}
}
@media(max-width:900px){
  .partner-copy .logo{height:40px}
}

/* =========================================================
   V7 — History + Partners pages
   ========================================================= */

/* Ecosystem split (big metric + image + copy) */
.ecosystem{display:grid;grid-template-columns:.65fr 1.1fr .95fr;gap:clamp(28px,5vw,80px);align-items:center;max-width:1240px;margin:0 auto}
.ecosystem-metric{text-align:center}
.ecosystem-metric .ecosystem-num{font-family:'Playfair Display',Georgia,serif;font-size:clamp(84px,10vw,160px);line-height:1;color:var(--accent);font-weight:500}
.ecosystem-metric .ecosystem-sub{font-size:10px;letter-spacing:.22em;text-transform:uppercase;opacity:.65;margin-top:12px;display:block}
.ecosystem-image{aspect-ratio:4/5;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);background:#171815;border:1px solid rgba(255,255,255,.06)}
.ecosystem-image img{width:100%;height:100%;object-fit:cover}
.ecosystem-copy{display:grid;gap:36px;text-align:left}
.ecosystem-copy .block .kicker{text-align:left}
.ecosystem-copy .block h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(26px,2.6vw,38px);line-height:1.15;margin:8px 0 14px;color:inherit}
.ecosystem-copy .block p{font-size:15px;line-height:1.85;color:rgba(255,255,255,.72);max-width:none}
html[data-theme="light"] .ecosystem-copy .block p{color:rgba(20,21,17,.72)}
html[data-theme="light"] .ecosystem-image{background:var(--paper-200);border-color:rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}

/* Three-pillar grid (Curated / Quality / Innovation) */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(32px,4vw,60px);max-width:1240px;margin:0 auto;text-align:center}
.pillar .kicker{display:block;margin-bottom:14px}
.pillar h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(26px,2.4vw,36px);line-height:1.2;margin:0 0 16px}
.pillar p{font-size:14.5px;line-height:1.9;color:rgba(255,255,255,.72);max-width:360px;margin:0 auto}
html[data-theme="light"] .pillar p{color:rgba(20,21,17,.72)}

/* "Masterful Blend" editorial section with two CTAs */
.editorial-dual{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,5vw,80px);align-items:center;max-width:1240px;margin:0 auto}
.editorial-dual .editorial-img{aspect-ratio:4/5;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.editorial-dual .copy h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(36px,4vw,58px);line-height:1.15;letter-spacing:-.015em;margin:14px 0 20px;max-width:520px}
.editorial-dual .copy p{font-size:15.5px;line-height:1.9;color:rgba(255,255,255,.72);max-width:540px;margin-bottom:28px}
html[data-theme="light"] .editorial-dual .copy p{color:rgba(20,21,17,.72)}
.editorial-dual .cta-row{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.editorial-dual .text-link{font-size:11px;letter-spacing:.18em;text-transform:uppercase;border-bottom:1px solid currentColor;padding-bottom:4px;color:var(--accent)}

/* Signature grid: 2-up intro, 3-up image row below */
.signature-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,5vw,80px);max-width:1240px;margin:0 auto 60px;align-items:end;text-align:left}
.signature-intro h2{font-family:'Manrope',Arial,sans-serif;font-weight:300;font-size:clamp(40px,4.6vw,64px);line-height:1.08;letter-spacing:-.03em;margin:14px 0 0;max-width:560px;text-wrap:balance}
.signature-intro p{font-size:15.5px;line-height:1.9;color:rgba(255,255,255,.72);max-width:520px;margin:0 0 18px}
html[data-theme="light"] .signature-intro p{color:rgba(20,21,17,.72)}
.signature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1240px;margin:0 auto}
.signature-card{position:relative;overflow:hidden;border-radius:var(--radius);min-height:430px;box-shadow:var(--shadow);background:#171815;border:1px solid rgba(255,255,255,.06)}
.signature-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.signature-card:hover img{transform:scale(1.06)}
.signature-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.78))}
.signature-card .label{position:absolute;z-index:2;left:26px;right:26px;bottom:28px;color:#fff;text-align:center}
.signature-card .label .kicker{color:var(--accent);display:block;margin-bottom:10px;font-size:10px}
.signature-card .label h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(22px,2.1vw,30px);margin:0;line-height:1.15}
html[data-theme="light"] .signature-card{background:var(--paper-200);border-color:rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}
html[data-theme="light"] .signature-card:after{background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.72))}

/* Partner logo marquee strip */
.partner-strip{padding:48px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden;background:transparent}
.partner-track{display:flex;align-items:center;gap:clamp(60px,8vw,120px);animation:marq 28s linear infinite;width:max-content}
.partner-track img{height:38px;width:auto;opacity:.85;filter:brightness(1.1);transition:opacity .3s var(--ease),filter .3s var(--ease)}
.partner-track img:hover{opacity:1;filter:brightness(1.2)}
html[data-theme="light"] .partner-track img{filter:brightness(.1) invert(.1);opacity:.75}
html[data-theme="light"] .partner-track img:hover{opacity:1}

/* Partner detail cards (alternating image/copy) */
.partners-grid{display:grid;gap:clamp(60px,8vw,120px);max-width:1240px;margin:0 auto}
.partner-row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,80px);align-items:center}
.partner-row.reverse{grid-template-columns:1fr 1fr;direction:rtl}
.partner-row.reverse>*{direction:ltr}
.partner-image{aspect-ratio:4/5;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);background:#171815;border:1px solid rgba(255,255,255,.06)}
.partner-image img{width:100%;height:100%;object-fit:cover}
.partner-copy{padding:20px 0}
.partner-copy .logo{display:block;height:36px;width:auto;margin-bottom:24px;object-fit:contain;object-position:left center}
html[data-theme="light"] .partner-copy .logo{filter:brightness(.15) invert(.1)}
.partner-copy h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(32px,3.6vw,48px);line-height:1.15;margin:0 0 10px;color:var(--accent);letter-spacing:.01em}
.partner-copy .sub{font-size:16px;line-height:1.5;font-weight:400;margin:0 0 20px;opacity:.9;max-width:520px}
.partner-copy p{font-size:15px;line-height:1.9;color:rgba(255,255,255,.74);max-width:540px;margin:0 0 28px}
html[data-theme="light"] .partner-copy p{color:rgba(20,21,17,.72)}
html[data-theme="light"] .partner-image{background:var(--paper-200);border-color:rgba(20,21,17,.08);box-shadow:0 20px 56px rgba(53,43,28,.14)}

@media(max-width:1180px){
  .ecosystem{grid-template-columns:1fr}
  .ecosystem-metric{text-align:center}
  .ecosystem-image{max-width:560px;margin:0 auto;width:100%}
  .ecosystem-copy{max-width:720px;margin:0 auto;text-align:center}
  .ecosystem-copy .block .kicker{text-align:center}
  .ecosystem-copy .block p{margin:0 auto}
  .editorial-dual{grid-template-columns:1fr;text-align:center}
  .editorial-dual .copy h2,.editorial-dual .copy p{margin-left:auto;margin-right:auto}
  .editorial-dual .cta-row{justify-content:center}
  .editorial-dual .editorial-img{max-width:560px;margin:0 auto;width:100%}
  .signature-intro{grid-template-columns:1fr;text-align:center}
  .signature-intro p,.signature-intro h2{margin-left:auto;margin-right:auto}
  .partner-row,.partner-row.reverse{grid-template-columns:1fr;direction:ltr;text-align:center}
  .partner-image{max-width:560px;margin:0 auto;width:100%}
  .partner-copy .logo{margin-left:auto;margin-right:auto;object-position:center}
  .partner-copy p,.partner-copy .sub{margin-left:auto;margin-right:auto}
}
@media(max-width:900px){
  .pillars{grid-template-columns:1fr;gap:48px}
  .signature-grid{grid-template-columns:1fr;gap:18px}
  .signature-card{min-height:360px}
  .ecosystem-metric .ecosystem-num{font-size:clamp(72px,16vw,110px)}
  .partner-track{gap:60px}
  .partner-track img{height:30px}
}

/* =========================================================
   V8 — Project stats block (editable per-project tiles)
   ========================================================= */
.project-stats-section{padding:clamp(56px,6vw,96px) 0;background:transparent}
.project-stats-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,5vw,80px);align-items:start;max-width:1240px;margin:0 auto;text-align:left}
.project-stats{display:grid;grid-template-columns:repeat(3,max-content);justify-content:start;gap:32px clamp(40px,5vw,72px);padding:4px 0}
.stat-tile{display:flex;flex-direction:column;gap:4px;min-width:0}
.stat-tile .stat-value{font-family:'Manrope',Arial,sans-serif;font-weight:300;font-size:clamp(26px,2.4vw,38px);line-height:1.15;letter-spacing:-.02em;color:inherit;overflow-wrap:normal;word-break:keep-all;hyphens:none;white-space:normal}
.stat-tile .stat-label{font-size:10px;letter-spacing:.2em;text-transform:uppercase;opacity:.55;line-height:1.6}
.project-pitch{display:grid;gap:20px;align-content:start;padding-top:6px}
.project-pitch h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(26px,2.6vw,38px);line-height:1.2;margin:0;color:var(--accent);letter-spacing:.005em;text-wrap:balance}
.project-pitch p{font-size:15.5px;line-height:1.85;color:rgba(255,255,255,.74);margin:0;max-width:none}
html[data-theme="light"] .project-pitch p{color:rgba(20,21,17,.74)}
.project-pitch .pitch-cta{margin-top:8px;display:inline-flex;align-items:center;gap:10px}
.project-pitch .pitch-cta .icon{width:16px;height:16px;flex:none}

/* Separate the stats section from preceding overview with a soft rule */
.project-stats-section:before{content:'';display:block;height:1px;background:var(--line);max-width:1240px;margin:0 auto clamp(48px,5vw,80px)}

@media(max-width:1180px){
  .project-stats-wrap{grid-template-columns:1fr;gap:48px;text-align:left}
}
@media(max-width:720px){
  .project-stats{grid-template-columns:repeat(2,max-content);gap:28px 32px}
  .stat-tile .stat-value{font-size:clamp(22px,7vw,30px)}
}
@media(max-width:420px){
  .project-stats{grid-template-columns:max-content;gap:24px}
}
