/* Prime Building Solutions */
@font-face{font-family:"DM Sans";src:url("/assets/fonts/dm-sans.woff2") format("woff2");font-weight:300 600;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("/assets/fonts/instrument-serif.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans Fallback";src:local("Arial");size-adjust:104%;ascent-override:95%;descent-override:25%}

:root{
  --charcoal:#171815;--charcoal-2:#23241f;--paper:#F5F3EE;--concrete:#D7D5CD;--gold:#A18E68;--gold-deep:#6B5D3F;
  --white:#FBFAF7;--ink-soft:#4A4B45;--error:#9B2C1F;--ok:#2F5B3A;
  --sans:"DM Sans","DM Sans Fallback",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --gutter:clamp(16px,4vw,56px);--gap:16px;--header-h:64px;--radius:28px;
  --ease:cubic-bezier(.2,.7,.1,1);
}
@media (min-width:900px){:root{--gap:24px;--header-h:76px;--radius:40px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--charcoal);font-family:var(--sans);font-size:17px;line-height:1.55;font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,picture,video,canvas{display:block;max-width:100%}
img{height:auto}
h1,h2,h3,h4,p,figure,dl,dd,ol,ul{margin:0}
ol,ul{padding:0;list-style:none}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px}
.on-dark :focus-visible,.site-header :focus-visible{outline-color:#E9D9A8}
[hidden]{display:none!important}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--paper);color:var(--charcoal);padding:10px 16px;border-radius:999px;font-weight:500}
.skip:focus{top:12px}

.wrap{width:100%;max-width:1520px;margin-inline:auto;padding-inline:var(--gutter)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--gap)}
@media (min-width:900px){.grid{grid-template-columns:repeat(12,minmax(0,1fr))}}
.section{padding-block:clamp(64px,10vw,144px)}
.on-dark{background:var(--charcoal);color:var(--white)}
.rule{height:1px;background:currentColor;opacity:.22;border:0;margin:0}

.label{font-size:12px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--gold-deep)}
.on-dark .label,.hero .label,.chapter .label,.capgrid .label,.closing .label,.case-hero .label{color:#D8C9A3}
.display{font-weight:300;font-size:clamp(2.1rem,5.3vw,4.75rem);line-height:1.03;letter-spacing:-.025em}
.h2{font-weight:300;font-size:clamp(1.9rem,4vw,3.4rem);line-height:1.08;letter-spacing:-.02em}
.h3{font-weight:400;font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.2;letter-spacing:-.01em}
.serif{font-family:var(--serif);font-weight:400;letter-spacing:-.01em}
.lede{font-size:clamp(1.1rem,1.6vw,1.35rem);line-height:1.45}
.muted{color:var(--ink-soft)}
.on-dark .muted{color:#C9C7BE}
.prose p+p{margin-top:1em}
/* Privacy page: plain reading column */
.legal{grid-column:1/-1;max-width:68ch;font-size:clamp(1rem,1.2vw,1.08rem);line-height:1.65}
.legal h2{color:var(--ink);margin:2.2em 0 .6em}
.legal p+p,.legal p+ul,.legal ul+p{margin-top:1em}
.legal ul{list-style:disc;padding-left:1.25em}
.legal li+li{margin-top:.6em}
.legal b{color:var(--ink);font-weight:500}
.legal a{color:var(--ink);text-decoration:underline;text-underline-offset:.18em;overflow-wrap:anywhere}
.legal__date{font-size:13px;letter-spacing:.06em}
@media (min-width:900px){.legal{grid-column:1/9}}
.foot__base a{color:inherit;text-decoration:underline;text-underline-offset:.18em}
.caption{font-size:13px;line-height:1.4;color:var(--ink-soft);margin-top:10px}
.on-dark .caption{color:#C9C7BE}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6em;min-height:48px;padding:12px 22px;border-radius:999px;border:1px solid transparent;font-size:15px;font-weight:500;line-height:1.1;text-decoration:none;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s,transform .16s;white-space:nowrap;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn:active,.roundbtn:active{transform:scale(.97)}
.btn .arrow{transition:transform .18s}
.btn:hover .arrow{transform:translate(2px,-2px)}
.btn--light{background:var(--paper);color:var(--charcoal)}
.btn--light:hover{background:#fff}
.btn--dark{background:var(--charcoal);color:var(--white)}
.btn--dark:hover{background:#000}
.btn--ghost{border-color:currentColor;background:transparent;color:inherit}
.btn--ghost:hover{background:rgba(127,127,120,.16)}
.btn[disabled]{opacity:.6;cursor:progress}
.arrow{display:inline-block;width:.9em;height:.9em;flex:none}
.textlink{display:inline-flex;align-items:center;gap:.5em;font-weight:500;text-decoration:underline;min-height:44px}

/* Header */
.site-header{position:fixed;inset:0 0 auto 0;z-index:50;height:var(--header-h);color:var(--white);background:rgba(23,24,21,.94);transition:background-color .25s}
.site-header.is-top{background:linear-gradient(rgba(23,24,21,.55),rgba(23,24,21,0))}
.site-header__in{height:100%;display:flex;align-items:center;gap:12px}
.site-header::after{content:"";position:absolute;left:var(--gutter);right:var(--gutter);bottom:0;height:1px;background:rgba(251,250,247,.28)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-right:auto;min-height:44px}
.brand img{width:26px;height:auto}
.brand__name{display:flex;flex-direction:column;font-size:11px;line-height:1.15;letter-spacing:.16em;text-transform:uppercase;font-weight:500}
.brand__name b{font-weight:500;font-size:15px;letter-spacing:.28em}
.nav{display:none}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;text-decoration:none;font-size:15px}
.nav a:hover,.nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:.45em}
.header-cta{min-height:40px;padding:8px 14px;font-size:13px}
.menu-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:inherit;cursor:pointer;border-radius:999px}
.menu-btn svg{width:22px;height:22px}
.mobile-nav{position:fixed;inset:var(--header-h) 0 auto 0;z-index:49;background:var(--charcoal);color:var(--white);padding:8px var(--gutter) 24px;border-bottom:1px solid rgba(251,250,247,.2)}
.mobile-nav a{display:flex;align-items:center;justify-content:space-between;min-height:56px;font-size:20px;font-weight:300;text-decoration:none;border-bottom:1px solid rgba(251,250,247,.16)}
.mobile-nav .contact-row{font-size:15px;font-weight:400}
@media (min-width:400px){.brand img{width:30px}.brand__name{font-size:11.5px}.header-cta{font-size:14px;padding:8px 16px}}
@media (min-width:900px){
  .nav{display:flex;margin-right:12px}.menu-btn,.mobile-nav{display:none!important}
  .header-cta{min-height:44px;padding:10px 20px;font-size:15px}.brand img{width:34px}
}

/* Hero: on phones the photograph sits above the words; from 701px it fills the screen */
.hero{position:relative;background:var(--charcoal);color:var(--white);overflow:hidden;isolation:isolate}
.hero__media{position:relative;height:min(42svh,100vw);min-height:240px;margin-top:var(--header-h);overflow:hidden}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:40% 50%}
.hero__in{padding-block:20px 28px;width:100%}
.hero__head{grid-column:1/-1}
.hero h1{margin-top:10px}
.hero__side{grid-column:1/-1;display:flex;flex-direction:column;gap:18px;margin-top:4px}
.hero__side p{max-width:38ch}
.hero__actions{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:420px){.hero__actions .btn{padding-inline:16px}}
@media (min-width:701px){
  .hero{min-height:max(620px,100svh);display:flex;align-items:flex-end}
  .hero__media{position:absolute;inset:0;height:auto;min-height:0;margin:0;z-index:-2}
  .hero__media img{object-position:38% 62%}
  .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,13,11,.46) 0,rgba(12,13,11,0) 18%,rgba(12,13,11,0) 44%,rgba(12,13,11,.6) 68%,rgba(12,13,11,.92) 100%)}
  .hero__in{padding-top:calc(var(--header-h) + 32px);padding-bottom:clamp(32px,5vw,60px)}
  .hero__side{margin-top:12px}
}
@media (min-width:900px){
  .hero__head{grid-column:1/9}
  .hero__side{grid-column:9/13;align-self:end;margin:0}
}
@media (prefers-reduced-motion:no-preference){
  .hero__media{animation:aperture 1.2s var(--ease) both}
  @keyframes aperture{from{clip-path:inset(14% 20% 14% 20% round 6px)}to{clip-path:inset(0 0 0 0 round 0)}}
}
@media (prefers-reduced-motion:no-preference) and (min-width:701px){
  @keyframes aperture{from{clip-path:inset(12% 26% 40% 26% round 6px)}to{clip-path:inset(0 0 0 0 round 0)}}
}

/* Intro */
.intro__text{grid-column:1/-1}
.intro__fig{grid-column:1/-1}
.intro__fig img{border-radius:12px;width:100%}
.intro__actions{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;margin-top:28px}
.facts{display:grid;grid-template-columns:1fr;gap:0;margin-top:36px;border-top:1px solid rgba(23,24,21,.2)}
.facts div{padding:16px 0;border-bottom:1px solid rgba(23,24,21,.2);display:grid;grid-template-columns:9em 1fr;gap:16px}
.facts dt{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);font-weight:500;padding-top:4px}
@media (min-width:900px){.intro__text{grid-column:1/7}.intro__fig{grid-column:8/13;align-self:center}}

.roundbtn{width:48px;height:48px;border-radius:50%;border:1px solid rgba(23,24,21,.35);background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--charcoal);transition:background-color .18s,color .18s,transform .16s;touch-action:manipulation}
.roundbtn:hover{background:var(--charcoal);color:var(--white)}
.roundbtn svg{width:18px;height:18px}

/* Capabilities grid over one photograph */
.capgrid{position:relative;color:var(--white);background:var(--charcoal);isolation:isolate;overflow:hidden}
.capgrid__bg{position:absolute;inset:0;z-index:-2}
.capgrid__bg img{width:100%;height:100%;object-fit:cover}
.capgrid::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(18,19,16,.62)}
.capgrid__head{padding-block:clamp(56px,8vw,112px) clamp(28px,4vw,48px);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px 32px}
.capgrid__cells{display:grid;grid-template-columns:1fr;border-top:1px solid rgba(251,250,247,.35)}
.cell{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-height:132px;padding:22px var(--gutter);text-decoration:none;color:inherit;border-bottom:1px solid rgba(251,250,247,.35);transition:background-color .2s,color .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.cell:active{background:rgba(245,243,238,.14)}
.cell__n{font-size:12px;letter-spacing:.14em;color:#D8C9A3}
.cell__t{font-size:clamp(1.3rem,2vw,1.75rem);font-weight:300;line-height:1.15;letter-spacing:-.01em;padding-right:60px}
.cell__d{font-size:15px;line-height:1.4;max-width:34ch;padding-right:60px;color:#DAD8CF}
.cell__go{position:absolute;right:var(--gutter);bottom:22px;width:44px;height:44px;border-radius:50%;background:var(--paper);color:var(--charcoal);display:flex;align-items:center;justify-content:center}
.cell__go svg{width:16px;height:16px}
@media (min-width:640px){.capgrid__cells{grid-template-columns:1fr 1fr}.cell{min-height:220px;padding:24px}.cell:nth-child(odd){border-right:1px solid rgba(251,250,247,.35)}.cell__go{right:24px}}
@media (min-width:1000px){
  .capgrid__cells{grid-template-columns:repeat(3,1fr)}
  .cell{min-height:clamp(240px,24vw,340px);padding:28px}
  .cell:nth-child(odd){border-right:0}.cell:not(:nth-child(3n)){border-right:1px solid rgba(251,250,247,.35)}
}
@media (hover:hover) and (min-width:1000px){
  .cell__d{opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s}
  .cell__go{opacity:0;transform:scale(.8);transition:opacity .25s,transform .25s;background:var(--charcoal);color:var(--paper)}
  .cell:hover,.cell:focus-visible{background:var(--paper);color:var(--charcoal)}
  .cell:hover .cell__d,.cell:focus-visible .cell__d{opacity:1;transform:none;color:var(--ink-soft)}
  .cell:hover .cell__go,.cell:focus-visible .cell__go{opacity:1;transform:none}
  .cell:hover .cell__n,.cell:focus-visible .cell__n{color:var(--gold-deep)}
}
.cell:focus-visible{outline-offset:-4px}

/* Film player (loads on request) */
.film{position:relative;border-radius:12px;overflow:hidden;background:#000;aspect-ratio:16/9}
.film img{width:100%;height:100%;object-fit:cover}
.film iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.film__play{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;padding:clamp(14px,3vw,28px);text-decoration:none;color:var(--white);background:linear-gradient(0deg,rgba(12,13,11,.75),rgba(12,13,11,0) 55%);border:0;width:100%;cursor:pointer;text-align:left}
.film__play span{display:inline-flex;align-items:center;gap:12px;font-size:clamp(15px,1.6vw,18px);font-weight:500}
.film__play i{width:56px;height:56px;border-radius:50%;background:var(--paper);color:var(--charcoal);display:inline-flex;align-items:center;justify-content:center;flex:none}
.film__play i svg{width:18px;height:18px;margin-left:3px}
.story__film{grid-column:1/-1}
.story__text{grid-column:1/-1}
@media (min-width:900px){.story__film{grid-column:1/8}.story__text{grid-column:9/13;align-self:center}}

/* Closing panel */
.closing__in{padding-block:clamp(64px,10vw,144px);align-items:center}
.closing__text{grid-column:1/-1}
.closing__fig{grid-column:1/-1;order:-1}
.closing__fig img{border-radius:12px;width:100%}
.closing h2{max-width:13ch;font-size:clamp(2.1rem,5vw,4.4rem)}
.closing__contacts{display:flex;flex-wrap:wrap;gap:8px 28px;font-size:17px}
.closing__contacts a{display:inline-flex;align-items:center;min-height:44px}
@media (min-width:900px){.closing__text{grid-column:1/7}.closing__fig{grid-column:7/13;order:0}}

/* Footer */
.site-footer{background:var(--charcoal);color:var(--white);padding-block:56px 32px;border-top:1px solid rgba(251,250,247,.16)}
.site-footer .logo{width:132px;height:auto}
.foot__brand{grid-column:1/-1}
.foot__col{grid-column:span 2}
.foot__col h2{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:#D8C9A3;margin-bottom:10px}
.foot__col a{display:flex;align-items:center;min-height:40px;text-decoration:none}
.foot__col a:hover{text-decoration:underline}
.foot__base{grid-column:1/-1;margin-top:32px;padding-top:20px;border-top:1px solid rgba(251,250,247,.2);font-size:13px;color:#C9C7BE;display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between}
@media (min-width:900px){.foot__brand{grid-column:1/6}.foot__col{grid-column:span 2}.foot__col--wide{grid-column:span 3}}

/* Page heads */
.pagehead{padding-top:calc(var(--header-h) + clamp(48px,8vw,112px));padding-bottom:clamp(32px,5vw,64px)}
.pagehead h1{grid-column:1/-1;margin-top:14px}
.pagehead p.lede{grid-column:1/-1;margin-top:20px;max-width:46ch}
@media (min-width:900px){.pagehead h1{grid-column:1/10}.pagehead p.lede{grid-column:1/8}}

/* Work index */
.casecard{display:block;position:relative;border-radius:16px;overflow:hidden;text-decoration:none;color:var(--white);background:var(--charcoal);isolation:isolate}
.casecard img{width:100%;aspect-ratio:16/9;object-fit:cover}
.casecard__body{position:absolute;inset:auto 0 0 0;padding:clamp(18px,3vw,36px);background:linear-gradient(0deg,rgba(12,13,11,.88),rgba(12,13,11,0))}
.casecard h2{font-size:clamp(1.7rem,4vw,3.2rem);line-height:1.05;margin:8px 0 14px;max-width:18ch}
@media (max-width:640px){.casecard img{aspect-ratio:4/5}}
.gallery{display:grid;grid-template-columns:1fr;gap:var(--gap)}
.gallery img{border-radius:10px;width:100%}
@media (min-width:640px){.gallery{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.gallery{grid-template-columns:repeat(3,1fr)}}
.ba{display:grid;grid-template-columns:1fr;gap:var(--gap)}.ba img{border-radius:10px;width:100%;aspect-ratio:4/5;object-fit:cover}
@media (min-width:640px){.ba{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.gallery--2{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.gallery--4{grid-template-columns:repeat(4,1fr)}}

/* Case study */
.case-hero{position:relative;min-height:max(560px,92svh);color:var(--white);background:#0c0d0b;display:flex;align-items:flex-end;isolation:isolate;overflow:hidden}
.case-hero__media{position:absolute;inset:0;z-index:-2}
.case-hero__media img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.case-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,13,11,.5),rgba(12,13,11,.1) 35%,rgba(12,13,11,.82))}
.case-hero__in{padding-bottom:calc(var(--radius) + clamp(28px,5vw,64px));padding-top:calc(var(--header-h) + 32px);width:100%}
.case-hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(2.6rem,7vw,6rem);line-height:.98;letter-spacing:-.015em;max-width:13ch;margin-top:14px;text-wrap:balance}
.sheet{position:relative;z-index:2;background:var(--paper);border-radius:var(--radius) var(--radius) 0 0;margin-top:calc(var(--radius) * -1);padding-block:clamp(48px,8vw,112px)}
.sheet__text{grid-column:1/-1}
.sheet__fig{grid-column:1/-1}
.sheet__fig img{border-radius:12px}
@media (min-width:900px){.sheet__text{grid-column:1/7}.sheet__fig{grid-column:8/13;align-self:center}}
.chapters{position:relative;background:var(--charcoal)}
.chapter{position:relative;min-height:max(560px,100svh);color:var(--white);display:flex;align-items:center;isolation:isolate;overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;background:var(--charcoal)}
.chapter+.chapter{margin-top:calc(var(--radius) * -1)}
.chapter__media{position:absolute;inset:0;z-index:-2}
.chapter__media img{width:100%;height:100%;object-fit:cover}
.chapter::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,13,11,.82) 0%,rgba(12,13,11,.5) 40%,rgba(12,13,11,.04) 72%,rgba(12,13,11,0) 100%)}
.chapter__in{width:100%;padding-block:calc(var(--radius) + 40px) calc(var(--radius) + 56px)}
.chapter__text{grid-column:1/-1;max-width:34em}
.chapter h2{font-family:var(--serif);font-size:clamp(2.1rem,4.6vw,3.8rem);line-height:1.02;margin:12px 0 16px}
.chapter__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.chapter__credit{position:absolute;right:var(--gutter);bottom:calc(var(--radius) + 14px);font-size:12px;color:#DAD8CF;max-width:50%;text-align:right}
@media (min-width:900px){.chapter__text{grid-column:1/7}}
@media (min-width:900px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
  .chapter{position:sticky;top:0}
}
@media (max-width:899px){.chapter::after{background:linear-gradient(180deg,rgba(12,13,11,.45),rgba(12,13,11,.84) 60%)}.chapter{align-items:flex-end}.chapter__credit{position:static;max-width:none;text-align:left;margin-top:18px}}
.after-chapters{position:relative;z-index:3;background:var(--paper);border-radius:var(--radius) var(--radius) 0 0;margin-top:calc(var(--radius) * -1)}
.spec{border-top:1px solid rgba(23,24,21,.2)}
.spec div{display:grid;grid-template-columns:1fr;gap:4px;padding:16px 0;border-bottom:1px solid rgba(23,24,21,.2)}
.spec dt{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);font-weight:500}
@media (min-width:640px){.spec div{grid-template-columns:12em 1fr;gap:24px}.spec dt{padding-top:4px}}

/* Capabilities page */
.famnav{position:sticky;top:var(--header-h);z-index:20;background:var(--paper);border-block:1px solid rgba(23,24,21,.2)}
.famnav ul{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding-block:4px}
.famnav ul::-webkit-scrollbar{display:none}
.famnav a{display:inline-flex;align-items:center;min-height:48px;padding:0 14px;white-space:nowrap;text-decoration:none;font-size:15px;border-radius:999px}
.famnav a:hover{background:rgba(23,24,21,.08)}
.family{padding-block:clamp(56px,8vw,112px);border-bottom:1px solid rgba(23,24,21,.2)}
.family__head{grid-column:1/-1;margin-bottom:clamp(20px,3vw,40px)}
.family__head p{max-width:52ch;margin-top:14px}
.service{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:16px;padding:24px 0;border-top:1px solid rgba(23,24,21,.2)}
.service h3{font-size:clamp(1.3rem,2vw,1.6rem);font-weight:400;letter-spacing:-.01em}
.service p{max-width:46ch}
.service__links{display:flex;flex-wrap:wrap;gap:4px 22px;margin-top:10px}
.service img{border-radius:10px;width:100%;aspect-ratio:4/3;object-fit:cover}
@media (min-width:900px){.service{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}.service__n{grid-column:1/2}.service__body{grid-column:2/8}.service__fig{grid-column:9/13}}
.service__n{font-size:12px;letter-spacing:.14em;color:var(--gold-deep);padding-top:8px}
.plate{position:relative;border-radius:12px;overflow:hidden;background:var(--charcoal);aspect-ratio:4/5}
@media (min-width:701px){.plate{aspect-ratio:16/9}}
.family__lead{grid-column:1/-1;margin-bottom:clamp(8px,2vw,24px)}
.plate video,.plate img{width:100%;height:100%;object-fit:cover}
.plate video{position:absolute;inset:0}
.plate__btn{position:absolute;right:12px;bottom:12px;background:rgba(23,24,21,.8);color:var(--white);border:1px solid rgba(251,250,247,.5);border-radius:999px;min-height:44px;padding:0 16px;font-size:14px;cursor:pointer}
@media (min-width:1100px){.plate{aspect-ratio:2/1}}

/* About */
.about-open{position:relative;color:var(--white);background:var(--charcoal);isolation:isolate;overflow:hidden;min-height:min(86svh,820px);display:flex;align-items:flex-end}
.about-open__bg{position:absolute;inset:0;z-index:-2}
.about-open__bg img{width:100%;height:100%;object-fit:cover}
.about-open::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,13,11,.45),rgba(12,13,11,.05) 40%,rgba(12,13,11,.85))}
.about-open__in{width:100%;padding-top:calc(var(--header-h) + 40px);padding-bottom:clamp(28px,5vw,64px)}
.two{grid-column:1/-1}
@media (min-width:900px){.two--a{grid-column:1/6}.two--b{grid-column:7/13}}
.faq details{border-bottom:1px solid rgba(23,24,21,.2)}
.faq details:first-of-type{border-top:1px solid rgba(23,24,21,.2)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;font-size:clamp(1.05rem,1.6vw,1.25rem);font-weight:400}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;font-weight:300;flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq details p{padding:0 0 20px;max-width:56ch;color:var(--ink-soft)}
.pairfig img{border-radius:10px;width:100%}

/* Contact */
.contact__info{grid-column:1/-1}
.contact__form{grid-column:1/-1}
@media (min-width:900px){.contact__info{grid-column:1/6}.contact__form{grid-column:7/13}}
.bigcontact a{display:flex;align-items:center;min-height:56px;font-size:clamp(1.05rem,1.5vw,1.35rem);font-weight:300;letter-spacing:-.01em;text-decoration:none;border-bottom:1px solid rgba(23,24,21,.2);overflow-wrap:anywhere}
.bigcontact a:hover{text-decoration:underline}
.field{margin-bottom:22px}
.field label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}
.field .hint{display:block;font-size:13px;color:var(--ink-soft);font-weight:400;margin-top:2px}
.field input,.field textarea,.field select{width:100%;font:inherit;font-size:16px;color:var(--charcoal);background:#fff;border:1px solid #8A8B83;border-radius:8px;padding:13px 14px;min-height:50px}
.field textarea{min-height:150px;resize:vertical}
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{outline:2px solid var(--charcoal);outline-offset:1px;border-color:var(--charcoal)}
.field [aria-invalid="true"]{border-color:var(--error);border-width:2px}
.field .err{color:var(--error);font-size:14px;margin-top:6px;font-weight:500}
.field-row{display:grid;grid-template-columns:1fr;gap:0 var(--gap)}
@media (min-width:640px){.field-row{grid-template-columns:1fr 1fr}}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.notice{border-radius:12px;padding:20px 22px;margin-bottom:24px;border:1px solid}
.notice--ok{background:#E8F0E6;border-color:#9DB9A2;color:#1F3D27}
.notice--bad{background:#F7E7E3;border-color:#D4A39B;color:#5E1A12}
.notice--wait{background:#EEECE4;border-color:#C9C7BE}
.notice h2{font-size:1.2rem;font-weight:500;margin-bottom:6px}
.notice .row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.reqnote{font-size:14px;color:var(--ink-soft);margin-bottom:22px}

.stack-s>*+*{margin-top:12px}.stack-m>*+*{margin-top:20px}.stack-l>*+*{margin-top:32px}
.mt-l{margin-top:clamp(32px,5vw,64px)}
.notfound{min-height:80svh;display:flex;align-items:center;padding-top:var(--header-h)}
@media print{.site-header,.mobile-nav{display:none}}

/* photographic backgrounds fill their box */
.hero__media picture,.capgrid__bg picture,.case-hero__media picture,.chapter__media picture,.about-open__bg picture,.plate picture,.film picture{position:absolute;inset:0;width:100%;height:100%}
.casecard picture{display:block}

/* line breaks */
.display,.h2,.h3,.case-hero h1,.chapter h2,.casecard h2{text-wrap:balance}
p,dd,figcaption,.cell__d{text-wrap:pretty}
.closing__fig img{aspect-ratio:auto}

/* Phones: film stills are shown whole and sharp above the words, never blown up behind them */
@media (max-width:700px){
  .case-hero{display:block;min-height:0;background:var(--charcoal)}
  .case-hero__media{position:relative;inset:auto;aspect-ratio:4/3;margin-top:var(--header-h);z-index:0}
  .case-hero::after{display:none}
  .case-hero__in{padding-top:22px;padding-bottom:calc(var(--radius) + 28px)}
  .chapter{display:block;min-height:0}
  .chapter__media{position:relative;inset:auto;aspect-ratio:16/10;z-index:0;border-radius:var(--radius) var(--radius) 0 0;overflow:hidden}
  .chapter::after{display:none}
  .chapter__in{padding-block:24px calc(var(--radius) + 36px)}
  .chapter h2{margin-top:10px}
}

/* Pat's portrait: shown no larger than the film frame can honestly support */
.intro__fig--portrait{max-width:440px}
.intro__fig--portrait img{aspect-ratio:4/5;object-fit:cover}
@media (min-width:900px){.intro__fig--portrait{grid-column:9/13;justify-self:end;width:100%}}
/* motion clip */
.plate video{transition:opacity .35s linear}
@media (max-width:700px){.plate--kerb video{object-position:84.5% 50%}}
.plate__btn{min-width:132px}

/* ============ Drawing to final design: one sticky scene driven by page scroll ============ */
.rv{position:relative;background:var(--paper);color:var(--charcoal)}
.rv__sticky{position:relative;height:100svh;min-height:620px;overflow:hidden;background:var(--paper)}
.rv.is-scroll{height:540vh}
.rv.is-scroll .rv__sticky{position:sticky;top:0}
.rv__plan,.rv__still,.rv__final{position:absolute;inset:0}
.rv__gl{position:absolute;inset:0;width:100%;height:100%;opacity:0}
.rv__still,.rv__final{opacity:0}
.rv__still img,.rv__final img,.rv__final video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rv__final picture{position:absolute;inset:0}
.rv__final video{transition:opacity .35s linear}
.rv.is-stills .rv__still,.rv.is-stills .rv__final,.rv.is-stills .rv__plan{transition:opacity .2s linear}
.rv__plan img{position:absolute;left:50%;bottom:var(--rv-plan-b,calc(138px + 2svh));height:var(--rv-plan-h,calc(100svh - var(--header-h) - 432px));min-height:150px;width:auto;aspect-ratio:0.6417/1;transform:translateX(-50%)}
.rv__ui{position:absolute;inset:0;pointer-events:none}
.rv__ui a,.rv__ui button{pointer-events:auto}
.rv__copy{position:absolute;left:var(--gutter);right:var(--gutter);top:calc(var(--header-h) + 18px)}
.rv__h1{font-weight:300;font-size:clamp(1.85rem,7.6vw,2.3rem);line-height:1.04;letter-spacing:-.025em;margin:8px 0 10px;text-wrap:balance}
.rv__lede{font-size:15px;line-height:1.4;color:var(--ink-soft);max-width:40ch;margin-bottom:14px}
.rv__panel{position:absolute;left:var(--gutter);right:var(--gutter);bottom:max(12px,env(safe-area-inset-bottom));display:grid;gap:8px}
.rv__caps{background:rgba(245,243,238,.94);border:1px solid rgba(23,24,21,.14);border-radius:14px;padding:12px 14px;pointer-events:auto;display:grid}
.rv__cap{grid-area:1/1;visibility:hidden;font-size:14px;line-height:1.38}
.rv__cap.is-active{visibility:visible}
.rv__cap .label{margin-bottom:4px}
.rv__name{font-weight:500;color:var(--charcoal)}
.rv__actions{display:flex;flex-wrap:wrap;gap:8px;opacity:0;visibility:hidden;position:absolute;left:0;right:0;bottom:calc(100% + 8px)}
.rv__actions .btn--light{border-color:rgba(23,24,21,.25)}
.rv__chapters{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;pointer-events:auto}
.rv__chapters button{width:100%;min-height:48px;padding:6px 4px;border-radius:12px;border:1px solid rgba(23,24,21,.25);background:rgba(245,243,238,.94);color:var(--ink-soft);font-size:12.5px;line-height:1.15;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:background-color .18s,color .18s,border-color .18s;touch-action:manipulation}
.rv__chapters b{font-weight:500;font-size:11px;letter-spacing:.1em;color:var(--gold-deep)}
.rv__chapters button[aria-current]{background:var(--charcoal);border-color:var(--charcoal);color:var(--white)}
.rv__chapters button[aria-current] b{color:#E3D3A6}
@media (min-width:701px) and (orientation:landscape),(min-width:1101px){
  .rv__plan img{left:auto;right:var(--gutter);top:calc(var(--header-h) + 4svh);bottom:auto;transform:none;height:auto;min-height:0;aspect-ratio:1.8299/1;width:min(55vw,calc((100svh - var(--header-h) - 22svh) * 1.8299))}
  .rv__copy{right:auto;top:calc(var(--header-h) + 9svh);width:min(31vw,450px)}
  .rv__h1{font-size:clamp(2rem,3.5vw,3.5rem)}
  .rv__lede{font-size:16px;margin-bottom:20px}
  .rv__panel{right:auto;width:min(36vw,500px);bottom:clamp(18px,4svh,36px);gap:10px}
  .rv__cap{font-size:15px}
  .rv__chapters button{flex-direction:row;gap:8px;font-size:13.5px;min-height:46px}
}
body.rv-shot .site-header,body.rv-shot .skip,.rv.is-shot .rv__still{display:none!important}
.rv.is-shot .rv__ui,.rv.is-shot .rv__plan{visibility:hidden!important}
.rv.is-shot,.rv.is-shot .rv__sticky{height:100vh;min-height:0}
.band{margin:0}
.band img{width:100%;height:min(72svh,56vw);min-height:260px;object-fit:cover;object-position:40% 60%}
.band picture{display:block}
.band figcaption{padding-block:10px 0}

/* entry detail and the design project */
.rvd__fig{grid-column:1/-1}
.rvd__fig img{border-radius:12px;width:100%}
.rvd__text{grid-column:1/-1;align-self:center}
@media (min-width:900px){.rvd__fig{grid-column:1/6}.rvd__text{grid-column:7/13}}
.plate--film{aspect-ratio:9/16}
@media (min-width:701px){.plate--film{aspect-ratio:16/9}}
@media (min-width:1100px){.plate--film{aspect-ratio:16/9}}
.four{display:grid;grid-template-columns:1fr;gap:clamp(20px,3vw,32px)}
@media (min-width:900px){.four{grid-template-columns:1fr 1fr}}
.four figure{margin:0}
.four img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:1px solid rgba(23,24,21,.12)}
.four__plan{aspect-ratio:16/9;border-radius:10px;border:1px solid rgba(23,24,21,.12);background:var(--paper);display:flex;align-items:center;justify-content:center;overflow:hidden}
.four__plan img{width:92%;height:auto;aspect-ratio:auto;border:0;border-radius:0;object-fit:contain}
.four figcaption{margin-top:10px;font-size:15px;color:var(--ink-soft);max-width:52ch}
.four figcaption .label{display:block;margin-bottom:4px}
.rv__actions .is-playing .arrow{display:none}
.rv__actions .is-playing::before{content:"";width:9px;height:11px;border-left:3px solid currentColor;border-right:3px solid currentColor;box-sizing:border-box;flex:none}
@media (min-width:701px) and (max-width:1100px) and (orientation:portrait){
  .rv__copy{max-width:620px}
  .rv__h1{font-size:2.7rem}
  .rv__lede{font-size:16px}
  .rv__panel{right:auto;width:min(72vw,580px)}
}
@media (max-width:700px) and (max-height:780px),(max-width:380px){
  .rv__lede{display:none}
  .rv__h1{font-size:1.62rem;margin:6px 0 12px}
  .rv__copy{top:calc(var(--header-h) + 12px)}
}
@media (max-width:700px) and (max-height:620px){
  .rv__cap p:last-child{display:none}
  .rv__copy .btn--ghost{display:none}
}
@media (max-width:345px){.header-cta{display:none}}
@media (max-width:700px) and (max-height:620px){.rv__caps{padding:9px 14px}.rv__cap .label{margin-bottom:0}}

/* ===================================================================== 2026-11 rework: opening, assembly, statement, Pat, capabilities */
.top{background:#fff;padding:calc(var(--header-h) + clamp(28px,6vw,72px)) 0 clamp(28px,4vw,56px)}
.top__in{display:grid;gap:24px}
.mega{font-weight:300;font-size:clamp(2.35rem,6.6vw,6.9rem);line-height:.98;letter-spacing:-.04em;text-wrap:balance}
.mega .serif,.mega2 .serif,.statement__text .serif{font-family:var(--serif);font-weight:400;letter-spacing:-.02em}
.pill{display:inline-flex;vertical-align:middle;height:.72em;margin:-.12em .08em 0;gap:0}
.pill svg{height:100%;width:auto;aspect-ratio:1;border-radius:50%;border:1.5px solid currentColor;padding:.12em;box-sizing:border-box;flex:none}
/* the mark sits whole inside its own circle: a rounded, padded <img> would have its corners clipped by the inner curve */
.pill__mark{height:100%;aspect-ratio:1;flex:none;border-radius:50%;background:var(--charcoal);margin-left:-.18em;display:flex;align-items:center;justify-content:center}
.pill__mark img{height:.4em;width:auto;max-width:none;display:block;flex:none}   /* the circle is .72em across: the mark's corners stay well inside it */
.top__side{max-width:38ch;color:var(--ink-soft);font-size:16px;line-height:1.5}
.top__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
@media (min-width:900px){.top__in{grid-template-columns:minmax(0,8.5fr) minmax(0,3.5fr);align-items:start;gap:clamp(24px,4vw,72px)}.top__side{padding-top:.9rem}}

.xs{position:relative;background:#fff}
.xs.is-scrub{height:380vh}
.xs__sticky{position:relative;height:calc(100svh - var(--header-h));min-height:560px;overflow:hidden;background:#fff}
.xs.is-scrub .xs__sticky{position:sticky;top:var(--header-h)}
.xs__stage{position:absolute;inset:0}
.xs__poster,.xs__poster img,.xs__gl{position:absolute;inset:0;width:100%;height:100%}
.xs__poster img{object-fit:cover;object-position:50% 40%}
.xs__poster{transition:opacity .25s linear}
.xs__ui{position:absolute;inset:0;pointer-events:none;display:flex;flex-direction:column;justify-content:space-between;padding-block:20px 18px}
.xs__head{background:linear-gradient(#fff 55%,rgba(255,255,255,0));padding-bottom:28px;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
.xs__layers{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:rgba(255,255,255,.9);border-radius:14px;padding:10px;border:1px solid rgba(23,24,21,.1)}
.xs__layers li{display:flex;gap:8px;align-items:baseline;opacity:.3;transition:opacity .35s var(--ease);font-size:13px;line-height:1.25}
.xs__layers li.is-on{opacity:1}
.xs__layers b{font-weight:500;font-size:11px;letter-spacing:.1em;color:var(--gold-deep)}
.xs__layers strong{font-weight:500;display:block}
.xs__layers em{display:none;font-style:normal;color:var(--ink-soft)}
.xs__rail{height:2px;background:rgba(23,24,21,.12);margin-top:10px;overflow:hidden}
.xs__rail i{display:block;height:100%;background:var(--gold);transform-origin:0 50%;transform:scaleX(0)}
.xs__note{font-size:11px;color:var(--ink-soft);margin-top:6px}
.xs.is-static{height:auto}
.xs.is-static .xs__sticky{height:auto;min-height:0;display:grid}
.xs.is-static .xs__stage{position:relative;aspect-ratio:9/12}
.xs.is-static .xs__gl,.xs.is-static .xs__rail{display:none}
.xs.is-static .xs__ui{position:relative;inset:auto}
.xs.is-static .xs__layers li{opacity:1}
@media (min-width:701px) and (orientation:landscape),(min-width:1101px){
  .xs__stage{left:auto;width:56%}
  .xs__poster img{object-fit:contain;object-position:50% 50%}
  .xs__ui{padding-block:clamp(28px,6svh,72px) clamp(24px,5svh,56px);max-width:none}
  .xs__head{background:none;padding:0;margin:0;width:40%}
  .xs__layers{grid-template-columns:1fr;width:min(40%,520px);gap:0;background:none;border:0;padding:0}
  .xs__layers li{padding:12px 0;border-top:1px solid rgba(23,24,21,.14);font-size:clamp(17px,1.5vw,22px);gap:16px}
  .xs__layers li:last-child{border-bottom:1px solid rgba(23,24,21,.14)}
  .xs__layers em{display:block;font-size:14px;margin-top:2px}
  .xs__rail,.xs__note{width:min(40%,520px)}
  .xs.is-static .xs__sticky{grid-template-columns:44% 56%}
  .xs.is-static .xs__stage{grid-column:2;grid-row:1;aspect-ratio:auto;min-height:80svh}
  .xs.is-static .xs__ui{grid-column:1;grid-row:1}
}

.statement{background:#fff}
.statement__text{font-weight:300;font-size:clamp(1.9rem,4.6vw,4.4rem);line-height:1.08;letter-spacing:-.03em;max-width:21ch;margin-top:18px;text-wrap:balance}
.statement__text .w{transition:opacity .25s linear}

.pat{position:relative;display:grid;overflow:hidden}
.pat__stage{position:relative;height:min(92svh,980px);min-height:520px;clip-path:inset(calc((1 - var(--px-open,1)) * 6%) calc((1 - var(--px-open,1)) * 4%) 0 round calc((1 - var(--px-open,1)) * 24px))}
.pat__word{position:absolute;inset:auto 0 18% 0;display:flex;flex-direction:column;align-items:center;font-weight:500;font-size:clamp(5.2rem,21vw,22rem);line-height:.8;letter-spacing:-.06em;text-transform:uppercase;color:transparent;-webkit-text-stroke:1.5px rgba(216,201,163,.55);pointer-events:none;user-select:none;white-space:nowrap}
.pat__word .serif{text-transform:none;-webkit-text-stroke:0;color:#D8C9A3;font-size:.62em;letter-spacing:-.02em;margin-top:.1em}
.pat__cut{position:absolute;bottom:0;left:50%;width:auto;height:94%;margin-left:-38%;width:76%}
.pat__cut img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 30px 60px rgba(0,0,0,.45))}
.pat__text{padding-block:clamp(36px,5vw,64px)}
.pat__copy{grid-column:1/-1}
.pat .facts{border-top-color:rgba(251,250,247,.2)}.pat .facts div{border-bottom-color:rgba(251,250,247,.2)}.pat .facts dt{color:#D8C9A3}
.pat__pour{width:100%;max-width:1520px;margin-inline:auto;padding:0 var(--gutter) clamp(64px,9vw,128px)}
.pat__pour img{width:100%;border-radius:12px}
@media (min-width:900px){
  .pat__stage{grid-area:1/1}
  .pat__text{grid-area:1/1;align-self:end;z-index:2;padding-block:0 clamp(48px,8svh,96px)}
  .pat__copy{grid-column:8/13;background:rgba(23,24,21,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:28px;border-radius:16px;border:1px solid rgba(251,250,247,.12)}
  .pat__cut{left:6%;margin-left:0;width:44%;height:96%}
  .pat__word{inset:auto 0 10% 0;align-items:flex-start;padding-left:4vw}
  .pat__pour{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
  .pat__pour img{grid-column:5/13}.pat__pour figcaption{grid-column:5/13}
}

.caps{background:#fff}
.caps__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px;margin-bottom:clamp(24px,4vw,48px)}
.caps__head .label{width:100%}
.mega2{font-weight:300;font-size:clamp(2.6rem,7vw,7rem);line-height:.95;letter-spacing:-.04em}
.hl{list-style:none;padding:0;border-bottom:1px solid rgba(23,24,21,.16)}
.hl li{border-top:1px solid rgba(23,24,21,.16)}
.hl a{display:grid;grid-template-columns:2.4em 1fr auto;gap:4px 16px;align-items:center;padding:20px 0;min-height:64px;color:inherit;text-decoration:none}
.hl__n{font-size:12px;letter-spacing:.12em;color:var(--gold-deep);font-weight:500}
.hl__t{font-weight:300;font-size:clamp(1.45rem,3.4vw,3.1rem);line-height:1.05;letter-spacing:-.025em;transition:transform .45s var(--ease),color .3s}
.hl__d{grid-column:2;font-size:14px;color:var(--ink-soft);max-width:44ch}
.hl__more{grid-row:1;grid-column:3;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft)}
.hl__thumb{display:none}
.hl a:hover .hl__t,.hl a:focus-visible .hl__t{transform:translateX(14px);color:var(--gold-deep)}
.hl.is-inline a{grid-template-columns:2.4em 1fr 84px}
.hl.is-inline .hl__thumb{display:block;grid-column:3;grid-row:1/3;width:84px;height:84px;border-radius:10px;overflow:hidden}
.hl.is-inline .hl__thumb img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05)}
.hl.is-inline .hl__more{display:none}
@media (min-width:900px){.hl a{grid-template-columns:4em minmax(0,1.2fr) minmax(0,1fr) auto;padding:30px 0}.hl__d{grid-column:3;grid-row:1}.hl__more{grid-column:4}.hl.is-inline a{grid-template-columns:4em minmax(0,1.2fr) minmax(0,1fr) 96px}.hl.is-inline .hl__thumb{grid-column:4;grid-row:1;width:96px;height:96px}}
.hl__gl{position:fixed;left:0;top:0;z-index:40;pointer-events:none;opacity:0;transition:opacity .15s linear;will-change:transform}

.foot__mark{grid-column:1/-1;margin-top:40px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 .3em;font-weight:500;font-size:clamp(3rem,10.4vw,11.5rem);line-height:.86;letter-spacing:-.05em;text-transform:uppercase;color:var(--white)}
.foot__mark .serif{text-transform:none;font-weight:400;letter-spacing:-.025em;color:#D8C9A3}
@media (prefers-reduced-motion:reduce){.pat__stage{clip-path:none}.hl__t{transition:none}}
/* rework fixes */
.pat__pour picture{display:block}
@media (min-width:900px){
  .pat__pour picture{grid-column:5/13}
  .pat__word{inset:6% 0 auto 0;flex-direction:row;justify-content:center;align-items:baseline;gap:.18em;padding-left:0;font-size:clamp(5rem,14.5vw,17rem)}
  .pat__word .serif{font-size:.78em;margin-top:0}
}
.xs.is-static .xs__layers,.xs.is-static .xs__rail,.xs.is-static .xs__note,.xs.is-static .xs__head{width:auto;max-width:520px}
@media (min-width:900px){
  .pat__stage{height:min(100svh,1020px)}
  .pat__cut{left:auto;right:2%;width:46%;height:97%}
  .pat__word{inset:7% auto auto 0;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;padding-left:var(--gutter);font-size:clamp(5rem,13vw,15.5rem)}
  .pat__word .serif{font-size:.74em;margin-top:.04em}
  .pat__copy{grid-column:1/7;padding:24px 26px}
  .pat__copy .facts{margin-top:20px}.pat__copy .facts div{padding:10px 0}.pat__copy .intro__actions{margin-top:18px}
}
@media (max-width:899px){
  .pat__stage{height:min(84svh,760px);min-height:480px}
  .pat__word{inset:9% 0 auto 0;font-size:clamp(4.6rem,25vw,9rem)}
}
/* assembly: the film is always shown whole; on phones it sits between the heading and the labels */
.xs__poster img{object-fit:contain;object-position:50% 50%}
.xs__ui{justify-content:flex-start}
.xs__layers{margin-top:auto}
@media (max-width:700px),(max-width:1100px) and (orientation:portrait){
  .xs.is-scrub .xs__stage{top:96px;bottom:150px}
  .xs__head{background:none;padding-bottom:0}
}
/* slim phones (a foldable's cover screen, a narrow Android: about 320 to 430 px wide): the six labels go two across,
   so "Reinforcement" no longer runs into its neighbour, and the picture gives up the height of the extra row */
@media (max-width:430px){
  .xs__layers{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}
  .xs__layers li,.xs__layers li span{min-width:0}
  .xs__layers li span{overflow-wrap:anywhere}
  .xs.is-scrub .xs__stage{bottom:186px}
}
@media (max-width:899px){.pat__cut{width:100%;margin-left:-50%;height:74%}}
@media (min-width:900px){
  .pat__word{inset:6% auto auto 0;font-size:clamp(4.5rem,10.5vw,12.5rem)}
  .pat__copy{grid-column:1/6}
}
/* scroll lengths are set from first paint, so far-down images are not mistaken for near ones while scripts load */
@media (prefers-reduced-motion:no-preference){
  .xs[data-n]:not(.is-static){height:380vh}
  .xs[data-n]:not(.is-static) .xs__sticky{position:sticky;top:var(--header-h)}
}
@media (prefers-reduced-motion:no-preference){
  .rv[data-rv]:not(.is-stills){height:540vh}
  .rv[data-rv]:not(.is-stills) .rv__sticky{position:sticky;top:0}
}
.about-pat{grid-column:1/-1;margin-top:clamp(24px,4vw,48px)}
.about-pat img{width:100%;border-radius:12px}
@media (min-width:900px){.about-pat{grid-column:7/13}}
/* capture mode (?rvshot=): only the design scene is laid out */
body.rv-shot main > :not(.rv),body.rv-shot .closing,body.rv-shot .site-footer{display:none!important}
.rv.is-shot .rv__cap,.rv.is-shot .rv__cap.is-active{visibility:hidden!important}

/* ---------------- Black Brick House chapter (home scroll): house film, schemes painted by the scroll, compare tabs, pool and rooms rail */
.reel{position:relative;overflow:hidden;background:#0c0d0b}
.reel picture,.reel img,.reel video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel picture{z-index:0}
.reel video{z-index:1;opacity:0;transition:opacity .7s var(--ease)}
.reel.is-playing video{opacity:1}
.reel::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(12,13,11,.5),rgba(12,13,11,0) 26%,rgba(12,13,11,.08) 52%,rgba(12,13,11,.84))}
.reel__btn{position:absolute;z-index:3;right:var(--gutter);top:16px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(251,250,247,.55);background:rgba(23,24,21,.6);color:var(--white);font:inherit;font-size:14px;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.reel__btn:hover{background:rgba(23,24,21,.85)}
.hband{position:relative;min-height:max(520px,90svh);display:flex;align-items:flex-end;color:var(--white);isolation:isolate;background:#0c0d0b}
.hband .reel{position:absolute;inset:0;z-index:0}
.hband__in{position:relative;z-index:1;pointer-events:none;padding-block:clamp(40px,7vw,96px)}
.hband__in a{pointer-events:auto}
.hband .label{color:#D8C9A3}
.hband__h{font-weight:300;font-size:clamp(2.2rem,6.2vw,5.8rem);line-height:.98;letter-spacing:-.03em;max-width:13ch;margin:14px 0 18px;text-wrap:balance}
.hband__lede{max-width:44ch;font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.45;color:#E9E7E0}
.hband__in .label,.hband__h,.hband__lede{text-shadow:0 1px 14px rgba(0,0,0,.55)}

/* schemes: a pinned stage that the scroll repaints */
.hs{position:relative;background:#0c0d0b;color:var(--white)}
.hs.is-scrub{height:calc(100svh + 6 * 62svh)}
.hs__sticky{position:relative;height:calc(100svh - var(--header-h));min-height:560px;overflow:hidden;background:#0c0d0b}
.hs.is-scrub .hs__sticky{position:sticky;top:var(--header-h)}
.hs__stage{position:absolute;inset:0;z-index:0}
.hs__stage picture{display:block;height:100%}
.hs__stage img,.hs__gl{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.hs__gl{opacity:0;transition:opacity .3s}
.hs.is-gl .hs__gl{opacity:1}
.hs__over{opacity:0}
.hs__stage::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(12,13,11,.66),rgba(12,13,11,0) 30%,rgba(12,13,11,0) 56%,rgba(12,13,11,.82))}
.hs__head,.hs__foot{position:absolute;left:0;right:0;z-index:3}
.hs__head{top:clamp(20px,4vh,48px)}
.hs__foot{bottom:clamp(20px,4vh,44px);display:grid;gap:14px}
.hs .label{color:#D8C9A3}
.hs__h{font-weight:300;font-size:clamp(2rem,4.6vw,4.4rem);line-height:1;letter-spacing:-.03em;max-width:14ch;margin-top:12px;text-wrap:balance}
.hs__head,.hs__now{text-shadow:0 1px 14px rgba(0,0,0,.5)}
.hs__now{display:flex;align-items:baseline;gap:12px;font-size:clamp(1.05rem,1.6vw,1.35rem)}
.hs__now b{font-weight:500;color:#D8C9A3;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.hs__list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.hs__list button{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px 0 6px;border-radius:999px;border:1px solid rgba(251,250,247,.3);background:rgba(12,13,11,.42);color:inherit;font:inherit;font-size:14px;cursor:pointer;transition:border-color .2s,background-color .2s;touch-action:manipulation;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hs__list button:hover{border-color:rgba(251,250,247,.75)}
.hs__list button[aria-current]{border-color:var(--paper);background:rgba(251,250,247,.18)}
.hs__list i{width:32px;height:32px;border-radius:50%;flex:none;background:linear-gradient(135deg,var(--a) 50%,var(--b) 50%);box-shadow:inset 0 0 0 1px rgba(251,250,247,.45)}
.hs__bar{height:2px;background:rgba(251,250,247,.22);border-radius:2px;overflow:hidden}
.hs__bar i{display:block;height:100%;background:var(--paper);transform-origin:0 50%;transform:scaleX(0)}
.hs.is-static .hs__bar{display:none}
@media (max-width:700px){
  /* phones: words above, the whole house in a square in the middle, the swatches below */
  .hs.is-scrub{height:calc(100svh + 6 * 50svh)}
  .hs__sticky{display:flex;flex-direction:column;justify-content:space-between;min-height:0;padding-block:18px 16px}
  .hs.is-static .hs__sticky{height:auto;gap:18px}
  .hs__head,.hs__foot{position:relative;top:auto;bottom:auto}
  .hs__stage{position:relative;inset:auto;flex:0 1 auto;aspect-ratio:1/1;max-height:52svh;width:100%}
  .hs__stage::after{display:none}
  .hs__stage img,.hs__gl{object-position:62% 30%}
  .hs__h{font-size:clamp(1.8rem,8.4vw,2.4rem)}
  .hs__head,.hs__now{text-shadow:none}
  .hs__list{gap:8px}
  .hs__list button{padding:4px;gap:0;background:transparent}
  .hs__list span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (max-width:700px) and (max-height:700px){.hs__stage{max-height:44svh}.hs__h{font-size:1.7rem}}

/* model and photograph */
.hcmp__head{margin-bottom:clamp(24px,4vw,40px)}
.tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:999px;border:1px solid rgba(23,24,21,.2);margin-bottom:18px}
.tabs[hidden]{display:none}
.tabs button{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);font:inherit;font-size:14px;cursor:pointer;touch-action:manipulation;transition:background-color .18s,color .18s}
.tabs button:hover{color:var(--charcoal)}
.tabs button[aria-selected="true"]{background:var(--charcoal);color:var(--white)}
.hcmp__pane:focus-visible{outline:2px solid var(--gold);outline-offset:6px;border-radius:14px}
.hcmp__pane + .hcmp__pane{margin-top:clamp(36px,6vw,80px)}
.tabs:not([hidden]) ~ .hcmp__panes .hcmp__pane + .hcmp__pane{margin-top:0}
@media (max-width:420px){.tabs button{padding:0 12px;font-size:13px}}
.cmp{margin:0}
.cmp__stage{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#1d1e1a;touch-action:pan-y;cursor:ew-resize;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
@media (max-width:700px){.cmp__stage{aspect-ratio:4/3}}
.cmp__stage picture,.cmp__stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
.cmp__a{z-index:1;clip-path:inset(0 calc(100% - var(--x,50%)) 0 0)}
.cmp__line{position:absolute;top:0;bottom:0;left:var(--x,50%);z-index:2;width:2px;margin-left:-1px;background:var(--paper);pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.cmp__line i{position:absolute;top:50%;left:50%;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;background:var(--paper);color:var(--charcoal);display:flex;align-items:center;justify-content:center;gap:1px;box-shadow:0 8px 28px rgba(0,0,0,.28);transition:transform .2s var(--ease)}
.cmp__line svg{width:15px;height:15px}
.cmp.is-drag .cmp__line i{transform:scale(.9)}
.cmp:focus-within .cmp__line i{outline:2px solid var(--gold);outline-offset:3px}
.cmp__tag{position:absolute;top:14px;z-index:3;padding:7px 12px;border-radius:999px;background:rgba(23,24,21,.72);color:var(--white);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;pointer-events:none}
.cmp__tag--a{left:14px}.cmp__tag--b{right:14px}
.cmp__range{position:absolute;inset:0;z-index:4;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}

/* pool, garden and rooms */
.hround{padding-top:0}
.hround__note{margin-top:18px}
.rail{position:relative}
.rail__track{display:flex;gap:var(--gap);margin:0;padding:0 var(--gutter) 6px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);scrollbar-width:none;cursor:grab;overscroll-behavior-x:contain}
.rail__track::-webkit-scrollbar{display:none}
.rail__track.is-drag{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
@media (min-width:1520px){.rail__track{padding-inline:calc((100vw - 1520px) / 2 + var(--gutter));scroll-padding-inline:calc((100vw - 1520px) / 2 + var(--gutter))}}
.rail__item{flex:0 0 min(84vw,1040px);scroll-snap-align:start}
.rail__item figure{margin:0}
.rail__frame{overflow:hidden;border-radius:12px;aspect-ratio:16/10;background:#e2ded5}
.rail__frame picture{display:block;height:100%}
.rail__frame img{width:100%;height:100%;object-fit:cover;transform:scale(1.18);will-change:transform;-webkit-user-drag:none}
@media (prefers-reduced-motion:reduce){.rail__frame img{transform:none!important}}
.rail__nav{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}
.rail__nav .roundbtn:disabled{opacity:.3;cursor:default}

@media (prefers-reduced-motion:no-preference){
  [data-reveal].is-armed{opacity:0;transform:translateY(36px);clip-path:inset(10% 0 0 0);transition:opacity .9s var(--ease),transform 1.1s var(--ease),clip-path 1.1s var(--ease)}
  [data-reveal].is-armed.is-in{opacity:1;transform:none;clip-path:inset(0 0 0 0)}
}

/* ---------------- 3D logo in the closing panel (src/logo3d.js); the flat vector logo shows until WebGL draws */
.logo3d{position:relative;margin:0;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;background:var(--charcoal)}
.logo3d .logo3d__flat{width:86%;height:auto;border-radius:0;transition:opacity .6s var(--ease)}
.logo3d canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .6s var(--ease)}
.logo3d.is-gl canvas{opacity:1}
.logo3d.is-gl .logo3d__flat{opacity:0}
@media (max-width:899px){.logo3d{aspect-ratio:16/9}}

/* ---------------- Photographs that form as the page scrolls (src/stages.js): the cover and the build stages.
   Every frame sits in the page and scrolls with it. The <img> is always there; with WebGL a canvas over it draws the same photograph. */
[data-form]{position:relative;overflow:hidden;background:var(--charcoal)}
[data-form] picture,[data-form] img{display:block;width:100%;height:100%}
[data-form] img{object-fit:cover}
.form__cv{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0}
[data-form].is-live .form__cv{opacity:1}
.form-on [data-form]:not(.is-plain) img{opacity:0}

/* ---------------- Cover (home): the page opens on a Prime job, which forms as the words arrive */
.cover{position:relative;min-height:100svh;display:grid;align-items:end;overflow:hidden;background:var(--charcoal);color:var(--paper);padding:calc(var(--header-h) + 28px) 0 clamp(26px,4.4vw,60px)}
.cover__media{position:absolute;inset:0}
.cover__media img{opacity:0;animation:coverImg .7s linear 2.6s forwards}          /* shows by itself if the script never runs */
.form-off .cover__media img,.form-fade .cover__media img,.cover__media.is-plain img{opacity:1;animation:none}
.form-on .cover__media:not(.is-plain) img{opacity:0;animation:none}
.cover__shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(23,24,21,.46) 0%,rgba(23,24,21,0) 24%,rgba(23,24,21,.04) 40%,rgba(23,24,21,.66) 74%,rgba(23,24,21,.92) 100%)}
.cover .top__in{position:relative;z-index:2;width:100%;align-items:end}
.cover .top__side{padding-top:0}
.cover__eyebrow{margin:0 0 clamp(12px,1.6vw,22px);display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#E3D3A8}
.cover__eyebrow::before{content:"";width:34px;height:1px;background:currentColor}
.cover .mega{color:var(--paper);text-shadow:0 2px 34px rgba(0,0,0,.28)}
.cover .pill__mark{box-shadow:0 0 0 1.5px currentColor}
.cover .top__side{color:rgba(245,243,238,.9)}
.cover__cap{position:absolute;z-index:2;right:var(--gutter);top:calc(var(--header-h) + 14px);margin:0;font-size:11px;letter-spacing:.03em;color:rgba(245,243,238,.72);text-align:right;max-width:30ch}
.cover__line{position:absolute;z-index:2;left:0;right:0;bottom:0;height:2px;background:var(--gold);transform-origin:0 50%;animation:coverLine 2.1s var(--ease) .15s both}
.cover__eyebrow{animation:coverRise .8s var(--ease) .15s both}
.cover .mega{animation:coverRise 1s var(--ease) .3s both}
.cover .top__side{animation:coverRise .9s var(--ease) .62s both}
.cover__cap{animation:coverFade .8s linear 1.5s both}
@keyframes coverRise{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@keyframes coverFade{from{opacity:0}to{opacity:1}}
@keyframes coverImg{to{opacity:1}}
@keyframes coverLine{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* desktop: the headline runs wide and low so the job stays in view above it; the summary and the buttons share one row */
@media (min-width:900px){
  .cover .top__in{grid-template-columns:1fr;gap:clamp(16px,1.8vw,26px)}
  .cover .mega{font-size:clamp(3rem,5.2vw,5.5rem);max-width:22ch}
  .cover .top__side{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:32px}
  .cover .top__side>p:first-child{max-width:54ch;margin:0}
  .cover .top__actions{margin-top:0;flex:none}
}
@media (max-width:899px){
  .cover .mega{font-size:clamp(2.15rem,9.6vw,3.4rem)}
  .cover .top__side{font-size:15px}
  .cover__cap{left:var(--gutter);right:auto;text-align:left;top:calc(var(--header-h) + 10px)}
}
/* phones: headline and buttons only, so the roller and the crew are not covered */
@media (max-width:699px){
  .cover .top__side>p:first-child{display:none}
  .cover .top__actions{margin-top:2px;flex-wrap:nowrap}
  .cover .top__actions .btn{padding-inline:16px;font-size:14px}
  .cover__shade{background:linear-gradient(180deg,rgba(23,24,21,.5) 0%,rgba(23,24,21,0) 22%,rgba(23,24,21,0) 52%,rgba(23,24,21,.72) 76%,rgba(23,24,21,.94) 100%)}
}
@media (prefers-reduced-motion:reduce){.cover__eyebrow,.cover .mega,.cover .top__side,.cover__cap,.cover__line{animation:none}.cover__media img{opacity:1;animation:none}}

/* ---------------- Build stages (home): a drafting sheet in Prime's colours. The page scrolls normally; one photograph stays in
   view beside the words and changes into the next as each stage scrolls past (src/stages.js) */
.stg{position:relative;color:var(--charcoal);background-color:var(--paper);
  background-image:linear-gradient(rgba(161,142,104,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(161,142,104,.2) 1px,transparent 1px),linear-gradient(rgba(161,142,104,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(161,142,104,.08) 1px,transparent 1px);
  background-size:120px 120px,120px 120px,24px 24px,24px 24px;background-position:-1px -1px;padding-bottom:clamp(72px,9vw,128px)}
.stg__coords{position:absolute;left:var(--gutter);top:18px;z-index:4;margin:0;display:grid;font-size:10px;line-height:1.3;letter-spacing:.08em;color:var(--gold-deep);font-variant-numeric:tabular-nums}
.stg__head{position:relative;text-align:center;padding-top:clamp(56px,8vw,112px);padding-bottom:clamp(36px,5vw,72px)}
.stg__h{font-weight:400;font-size:clamp(2.6rem,7.4vw,7.2rem);line-height:.94;letter-spacing:-.045em;max-width:12ch;margin:0 auto;text-wrap:balance}
.stg__h .serif{letter-spacing:-.02em}
.stg__note{position:absolute;margin:0;font-family:var(--serif);font-style:italic;color:var(--gold-deep);font-size:clamp(1rem,1.5vw,1.35rem);line-height:1;white-space:nowrap}
.stg__note--a{left:clamp(16px,12vw,220px);top:clamp(44px,7vw,96px);transform:rotate(-6deg);border-bottom:1px solid currentColor;padding-bottom:3px}
.stg__note--b{right:clamp(16px,9vw,170px);bottom:clamp(30px,4.4vw,64px);display:flex;align-items:center;gap:8px;transform:rotate(-3deg)}
.stg__note--b svg{width:52px;height:16px;flex:none}
.stg__body{max-width:min(1520px,165vh);margin:0 auto;padding:0 var(--gutter)}
/* plain version (no script, or reduced motion): each stage is a photograph with its words */
.stg__stage{display:none}
.stg__list{list-style:none;margin:0;padding:0;display:grid;gap:clamp(40px,6vw,88px)}
.stg__item{display:grid;gap:16px;align-items:center}
.stg__fig{margin:0;min-width:0}
.stg__fig img{display:block;width:100%;height:auto;border:1px solid rgba(23,24,21,.85)}
@media (min-width:600px){
  .stg__item{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(22px,4.5vw,76px)}
  .stg__item:nth-child(even) .stg__fig{order:2}
}
.stg__k{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:15px}
.stg__k b{width:30px;height:30px;border:1px solid var(--charcoal);display:inline-flex;align-items:center;justify-content:center;font-weight:500;font-size:13px;background:var(--paper)}
.stg__t{font-weight:400;font-size:clamp(2.2rem,4.6vw,4.8rem);line-height:.96;letter-spacing:-.04em;margin:0 0 16px;text-wrap:balance}
.stg__d{max-width:34ch;color:var(--ink-soft);font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.5;margin:0 0 20px}
.stg__cta{margin:0}
.stg__cap{margin:16px 0 0;max-width:38ch;font-size:12px;line-height:1.4;color:var(--ink-soft)}
/* moving version: the photograph holds its place while the words scroll past it */
.stg__frame{aspect-ratio:3/2;border:1px solid rgba(23,24,21,.85)}
.stg__frame picture{position:absolute;inset:0}
.stg__tag{position:absolute;z-index:2;left:12px;bottom:12px;margin:0;display:flex;align-items:center;gap:8px;padding:6px 12px;background:var(--paper);color:var(--charcoal);font-size:11px;letter-spacing:.08em;border:1px solid var(--charcoal)}
.stg__tag b{font-weight:600}.stg__tag span{color:var(--ink-soft)}.stg__tag em{font-style:normal;text-transform:uppercase;letter-spacing:.14em;padding-left:8px;border-left:1px solid rgba(23,24,21,.3)}
.form-on .stg__stage,.form-fade .stg__stage{display:block}
.form-on .stg__fig,.form-fade .stg__fig{display:none}
.form-on .stg__list,.form-fade .stg__list{gap:0}
.form-on .stg__item,.form-fade .stg__item{display:flex;align-items:center;min-height:52svh}
.form-fade .stg__frame picture{opacity:0;transition:opacity .7s var(--ease)}
.form-fade .stg__frame picture.is-on{opacity:1}
@media (min-width:900px){
  .form-on .stg__body,.form-fade .stg__body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(28px,5vw,88px);align-items:start}
  .form-on .stg__stage,.form-fade .stg__stage{position:sticky;top:calc(var(--header-h) + max(16px,(100svh - var(--header-h) - var(--fh,56svh)) / 2))}
}
@media (max-width:899px){
  .form-on .stg__stage,.form-fade .stg__stage{position:sticky;top:var(--header-h);z-index:3;margin:0 calc(-1 * var(--gutter));padding:10px var(--gutter) 12px;background:var(--paper);border-bottom:1px solid rgba(23,24,21,.14)}
  .form-on .stg__frame,.form-fade .stg__frame{width:min(100%,57svh);margin:0 auto}
  .form-on .stg__item,.form-fade .stg__item{min-height:44svh;align-items:flex-start;padding-top:5svh}
  .stg__t{font-size:clamp(1.9rem,7.4vw,2.8rem);margin-bottom:10px}
  .stg__d{font-size:15px;margin-bottom:14px}
  .stg__k{margin-bottom:6px}
  .stg__cap{margin-top:12px}
  .stg__tag em{display:none}
  .stg__note--a{left:16px;top:28px}
  .stg__note--b{position:relative;right:auto;bottom:auto;justify-content:center;margin-top:18px}
  .stg__coords{display:none}
}
/* the words rise as they arrive, and the title inks in */
.rise-on .stg__txt>*{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .75s var(--ease)}
.rise-on .stg__txt>*:nth-child(2){transition-delay:.07s}.rise-on .stg__txt>*:nth-child(3){transition-delay:.14s}.rise-on .stg__txt>*:nth-child(4){transition-delay:.21s}.rise-on .stg__txt>*:nth-child(5){transition-delay:.28s}
.rise-on .stg__item.is-in .stg__txt>*{opacity:1;transform:none}
.rise-on .stg__t{background:linear-gradient(90deg,var(--charcoal) 50%,#B9B5AA 50%) 100% 0/200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;transition:opacity .6s var(--ease) .07s,transform .75s var(--ease) .07s,background-position 1.15s var(--ease) .25s}
.rise-on .stg__item.is-in .stg__t{background-position:0 0}
/* a folder tab where the stages hand over to the founder */
.stg::after{content:"Founder";position:absolute;z-index:3;left:var(--gutter);bottom:0;height:38px;padding:0 40px;display:flex;align-items:center;background:var(--charcoal);color:#D8C9A3;font-size:11px;letter-spacing:.2em;text-transform:uppercase;clip-path:polygon(16px 0,calc(100% - 16px) 0,100% 100%,0 100%)}

/* ---------------- Start-your-project buttons, the project brief page and the design page (2026-11) */
.btn--lg{min-height:56px;padding:15px 28px;font-size:16px}
.btn--light.btn--lg{box-shadow:0 10px 30px -12px rgba(0,0,0,.55)}
.header-cta .arrow{width:12px;height:12px}
.closing__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px}
.closing__actions .textlink{color:inherit;opacity:.82}
.contact-row--start{display:flex;justify-content:space-between;align-items:center;font-weight:500;color:#E3D3A8}
.contact-row--start .arrow{width:14px;height:14px}
.contact-row--app{display:flex;justify-content:space-between;align-items:center}
.contact-row--app small{margin-left:12px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#D8C9A3}
.contact-row--app .arrow{width:14px;height:14px}
.foot__note{grid-column:1/-1;max-width:78ch;font-size:12px;line-height:1.5;color:rgba(245,243,238,.55);margin-top:8px}
/* phones: the start button stays in reach after the first screen */
.dock{display:none}
@media (max-width:899px){
  .dock{display:flex;position:fixed;z-index:45;left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-height:54px;font-size:16px;box-shadow:0 14px 34px -10px rgba(0,0,0,.6),0 0 0 1px rgba(23,24,21,.12);transform:translateY(160%);transition:transform .4s var(--ease);will-change:transform}
  .dock.is-on{transform:none}
}
@media (prefers-reduced-motion:reduce){.dock{transition:none}}

/* a second cover, for inside pages that open on a picture */
.cover--page{min-height:min(86svh,860px)}
.cover--page .mega{max-width:16ch}

/* contact page: the way to the full brief */
.briefcard{position:relative;display:grid;gap:6px;margin-bottom:28px;padding:22px 64px 22px 24px;border-radius:18px;background:var(--charcoal);color:var(--paper);text-decoration:none;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.briefcard .label{color:#D8C9A3}
.briefcard b{font-weight:400;font-size:clamp(1.3rem,2.2vw,1.7rem);letter-spacing:-.02em}
.briefcard span:not(.label){color:rgba(245,243,238,.78);font-size:15px;max-width:44ch}
.briefcard .arrow{position:absolute;right:24px;top:50%;width:18px;height:18px;margin-top:-9px;transition:transform .2s}
.briefcard:hover{transform:translateY(-2px);box-shadow:0 18px 40px -18px rgba(23,24,21,.6)}
.briefcard:hover .arrow{transform:translate(3px,-3px)}

/* the project brief */
.brief{display:grid;gap:clamp(28px,5vw,80px);padding-bottom:clamp(72px,10vw,144px)}
.brief__steps{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:0;border-top:1px solid rgba(23,24,21,.2)}
.brief__steps li{display:flex;gap:16px;align-items:baseline;padding:13px 0;border-bottom:1px solid rgba(23,24,21,.2);font-size:clamp(1.05rem,1.5vw,1.3rem);font-weight:300;letter-spacing:-.01em}
.brief__steps b,.brief__set legend b,.dsn__n{font-size:12px;font-weight:500;letter-spacing:.14em;color:var(--gold-deep);font-variant-numeric:tabular-nums}
.brief__next{margin-bottom:24px}
.brief__next ol{margin:10px 0 0;padding-left:1.2em;color:var(--ink-soft);display:grid;gap:6px;font-size:15px}
.brief__set{border:0;margin:0;padding:0 0 clamp(20px,3vw,36px);min-width:0}
.brief__set+.brief__set{border-top:1px solid rgba(23,24,21,.2);padding-top:clamp(24px,3vw,36px)}
.brief__set legend{display:flex;gap:14px;align-items:baseline;padding:0;margin-bottom:20px;font-weight:300;font-size:clamp(1.5rem,2.6vw,2.2rem);letter-spacing:-.02em}
.brief__err{margin:-12px 0 10px}
.brief__hint{font-size:13px;color:var(--ink-soft);margin:-10px 0 22px}
.field__q{display:block;font-size:14px;font-weight:500;margin-bottom:10px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative;display:inline-flex;margin:0!important}
.chip input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;opacity:0;cursor:pointer;padding:0;border:0}
.chip span{display:inline-flex;align-items:center;min-height:46px;padding:10px 18px;border:1px solid #8A8B83;border-radius:999px;background:#fff;font-size:15px;font-weight:400;transition:background-color .15s,color .15s,border-color .15s}
.chip:hover span{border-color:var(--charcoal)}
.chip input:checked+span{background:var(--charcoal);border-color:var(--charcoal);color:var(--white)}
.chip input:focus-visible+span{outline:2px solid var(--charcoal);outline-offset:2px}
.brief__send{display:grid;gap:14px;justify-items:start;border-top:1px solid rgba(23,24,21,.2);padding-top:clamp(24px,3vw,36px)}
.brief__send .hint{font-size:13px;color:var(--ink-soft);max-width:52ch}
@media (min-width:600px){.brief .field-row{grid-template-columns:1fr 1fr}}
@media (min-width:900px){
  .brief{grid-template-columns:minmax(0,4fr) minmax(0,7fr)}
  .brief__side{position:sticky;top:calc(var(--header-h) + 28px);align-self:start}
}

/* the design page */
.dsn__head{margin-bottom:clamp(28px,5vw,64px);display:grid;gap:14px}
.dsn__grid{list-style:none;margin:0;padding:0;display:grid;gap:0;border-top:1px solid rgba(23,24,21,.2)}
.dsn__card{display:grid;gap:10px;align-content:start;padding:clamp(22px,3vw,36px) 0;border-bottom:1px solid rgba(23,24,21,.2)}
.dsn__card p{max-width:42ch}
@media (min-width:700px){
  .dsn__grid{grid-template-columns:1fr 1fr;column-gap:clamp(28px,5vw,88px)}
}
@media (min-width:1100px){.dsn__grid{grid-template-columns:1fr 1fr 1fr}}
.dsn__run{list-style:none;margin:0;padding:0;display:grid;gap:0;counter-reset:run;border-top:1px solid rgba(23,24,21,.2)}
.dsn__run li{--run-fs:clamp(1.4rem,2.6vw,2.2rem);display:grid;grid-template-columns:44px calc(var(--run-fs)*6.2) minmax(0,1fr);gap:8px clamp(16px,2.4vw,40px);align-items:baseline;padding:18px 0;border-bottom:1px solid rgba(23,24,21,.2)}
.dsn__run b{font-weight:300;font-size:var(--run-fs);letter-spacing:-.02em;white-space:nowrap}
@media (max-width:599px){.dsn__run li{grid-template-columns:36px 1fr}.dsn__run li .muted{grid-column:2}}
.rise-on .dsn__card,.rise-on .dsn__run li{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease),transform .7s var(--ease)}
.rise-on .dsn__card.is-in,.rise-on .dsn__run li.is-in{opacity:1;transform:none}

/* ---------------- Social proof (2026-11): a band under the cover, and one line near the start buttons */
/* five stars, filled to 4.87 of 5 */
.stars{display:inline-block;letter-spacing:.12em;color:#D9B25A;background:linear-gradient(90deg,#D9B25A 97.4%,rgba(217,178,90,.32) 97.4%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.proof{padding-block:clamp(28px,4.4vw,60px);border-top:1px solid rgba(245,243,238,.12)}
.proof__in{display:grid;gap:clamp(18px,3vw,40px)}
.proof__item{margin:0;display:grid;gap:6px;align-content:start}
.proof__item+.proof__item{border-top:1px solid rgba(245,243,238,.14);padding-top:clamp(18px,3vw,40px)}
.proof__n{font-weight:300;font-size:clamp(2.6rem,6.4vw,5.6rem);line-height:.95;letter-spacing:-.04em;color:var(--paper);font-variant-numeric:tabular-nums}
.proof__n--stars{font-size:clamp(1.9rem,4.4vw,3.6rem);line-height:1.25}
.proof__item>span:last-child{font-size:clamp(.95rem,1.25vw,1.1rem);color:rgba(245,243,238,.72);max-width:26ch}
@media (min-width:700px){
  .proof__in{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
  .proof__item+.proof__item{border-top:0;padding-top:0;border-left:1px solid rgba(245,243,238,.14);padding-left:clamp(18px,3vw,40px)}
}
.proofline{display:flex;flex-wrap:wrap;gap:6px 22px;margin:18px 0 0;font-size:14px;opacity:.9}
.proofline b{font-weight:500}
.brief__side .proofline{margin:0 0 24px;color:var(--ink-soft)}
.brief__side .stars{background:linear-gradient(90deg,#A8842F 97.4%,rgba(168,132,47,.32) 97.4%);-webkit-background-clip:text;background-clip:text}

/* ---------------- Slim phones (about 320 to 430 px wide): things that only go wrong when the screen is this narrow */
.foot__col{min-width:0}
.foot__col a{overflow-wrap:anywhere}          /* last resort: an address can wrap, it can never push the page wider than the screen */
@media (max-width:660px){.foot__col--wide{grid-column:1/-1}}   /* half the screen is narrower than the email address until about 660 px */
/* tablets and small laptops: three of twelve columns are narrower than the email address, which made the whole page scroll
   sideways from 900 to about 1290 px wide. There the brand takes its own row and the contact column gets five columns */
@media (min-width:900px) and (max-width:1359px){
  .foot__brand{grid-column:1/-1}
  .foot__col{grid-column:span 3}
  .foot__col + .foot__col{grid-column:span 4}
  .foot__col.foot__col--wide{grid-column:span 5}
}
/* pinned scenes were given a floor of 560 to 620 px, taller than a short phone screen shows once the browser bars are up:
   the bottom row of controls then sat below the fold for as long as the scene was pinned */
@media (max-width:700px){
  .xs__sticky{min-height:440px}
  .rv__sticky{min-height:500px}
}
@media (max-width:700px) and (max-height:600px){
  .xs.is-scrub .xs__stage{top:84px}
  .xs__ui{padding-block:14px 12px}
}
/* the seven paint swatches stay on one row: an eighth of the screen each, not six and a stray */
@media (max-width:400px){
  .hs__list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px}
  .hs__list li{min-width:0}
  .hs__list button{width:100%;justify-content:center;padding:4px 0}
  .hs__list i{width:min(32px,100%);height:auto;aspect-ratio:1}
}

/* ---------------- Notes on the pour picture: a mark on each object, a leader, a numbered square; the words beside it (wide
   screens) or in one slot under it (phones). This plain state, with every mark and every note showing, is also what shows
   without script, with reduced motion, and when the picture and its words cannot share the screen. */
.pour__sheet{position:relative;container-type:inline-size}
.pour__lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.pour__lines path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.pour__lines .u{stroke:rgba(23,24,21,.5);stroke-width:3px}
.pour__lines .l{stroke:#E3D3A8;stroke-width:1px}
.pour__dot{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#E3D3A8;box-shadow:0 0 0 1.5px rgba(23,24,21,.6);pointer-events:none}
.pour__dot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid rgba(227,211,168,.85);box-shadow:0 0 0 1px rgba(23,24,21,.35)}
.pour__pin{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);transform:translate(-11px,-50%);display:flex;align-items:stretch;height:22px;padding:0;border:0;border-radius:0;background:none;color:var(--paper);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.pour__pin::after{content:"";position:absolute;left:-6px;top:-6px;width:34px;height:34px}   /* on a phone squares 1 and 2 are 34 px apart: their touch areas meet, they do not overlap */
.pour__pin b{flex:none;width:22px;display:flex;align-items:center;justify-content:center;background:var(--charcoal);border:1px solid #E3D3A8;font-weight:500;font-size:11px;line-height:1;font-variant-numeric:tabular-nums;transition:background-color .25s,color .25s}
.pour__pin span{display:none}
.pour__pin[aria-pressed="true"] b{background:#E3D3A8;color:var(--charcoal)}
.pour__pin:focus-visible{outline:2px solid #E3D3A8;outline-offset:3px}
@container (min-width:640px){
  /* the picture is wide enough to carry each title beside its number */
  .pour__pin::after{left:-10px;top:-10px;width:42px;height:42px}
  .pour__pin span{display:flex;align-items:center;padding:0 9px 0 8px;background:rgba(23,24,21,.9);border:1px solid rgba(227,211,168,.55);border-left:0;font-size:10px;line-height:1;letter-spacing:.14em;text-transform:uppercase;font-weight:500;white-space:nowrap}
}
.pat__pour .label{color:#D8C9A3}
.pour__notes{margin-top:14px}
.pour__notes ol{list-style:none;margin:10px 0 0;padding:0}
.pour__notes li{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:12px;padding:10px 0;border-top:1px solid rgba(251,250,247,.2)}
.pour__notes li>b{grid-row:1/3;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #D8C9A3;font-weight:500;font-size:13px;line-height:1;font-variant-numeric:tabular-nums;color:var(--paper);transition:background-color .25s,color .25s}
.pour__notes strong{display:block;font-size:12px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:#D8C9A3}
.pour__notes li>span{display:block;font-size:15px;line-height:1.45;color:rgba(245,243,238,.86)}
.pour__rail,.pour__foot{display:none}
/* the plain list goes to two columns once there is room, so the no-script version stays short on the open foldable */
@media (min-width:600px) and (max-width:1179px){
  .pat__pour:not(.is-notes) .pour__notes ol{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
}
/* phones, the open foldable and narrow windows, with script: one note at a time in a slot of fixed height, so nothing
   below it jumps, and a numbered rule to step through them by thumb */
@media (max-width:1179px){
  .is-notes .pour__notes{display:grid;grid-template-columns:minmax(0,1fr);margin-top:12px}
  .is-notes .pour__notes>.label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}   /* still read out, not shown */
  .is-notes .pour__notes ol{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1fr);margin:0}
  .is-notes .pour__notes li{grid-area:1/1;display:block;border-top:0;padding:0;opacity:0;transition:opacity .3s var(--ease);pointer-events:none}
  .is-notes .pour__notes li>b{display:none}
  .is-notes .pour__notes li strong{display:flex;align-items:center;min-height:24px;margin-bottom:6px}
  .is-notes .pour__notes li.is-cur{opacity:1;pointer-events:auto}
  .is-notes:not(.is-started) .pour__notes li:first-child{opacity:.5}   /* never an empty slot */
  .is-notes .pour__rail{grid-area:1/1;justify-self:end;align-self:start;display:flex;gap:clamp(8px,calc((100vw - 300px) / 5),30px);position:relative}
  .is-notes .pour__rail::before,.is-notes .pour__rail::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(251,250,247,.22)}
  .is-notes .pour__rail::after{background:#D8C9A3;transform-origin:0 50%;transform:scaleX(var(--p,0));transition:transform .45s var(--ease)}
  .pour__rail button{position:relative;z-index:1;width:24px;height:24px;padding:0;border:1px solid rgba(251,250,247,.32);border-radius:0;background:var(--charcoal);color:rgba(245,243,238,.6);font:500 12px/1 var(--sans);font-variant-numeric:tabular-nums;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background-color .25s,color .25s,border-color .25s}
  .pour__rail button::after{content:"";position:absolute;inset:-10px calc(clamp(8px,calc((100vw - 300px) / 5),30px) / -2)}   /* a thumb-sized area: 44 px tall, as wide as the spacing */
  .pour__rail button.is-on{border-color:#D8C9A3;color:var(--paper)}
  .pour__rail button.is-cur{background:#E3D3A8;border-color:#E3D3A8;color:var(--charcoal)}
}
@media (min-width:900px){
  .pour__sheet,.pour__notes{grid-column:5/13}
}
/* wide screens: the notes are a schedule in the empty margin beside the picture, so the page gets no longer. From 1180 px,
   where the list is shorter than the picture (at 1024 it measured 481 px beside a 416 px picture) */
@media (min-width:1180px){
  .pour__sheet{grid-row:1;align-self:start}
  .pour__notes{grid-column:1/5;grid-row:1;align-self:start;margin-top:0}
  .pour__notes ol{margin-top:14px;border-bottom:1px solid rgba(251,250,247,.2)}
  .pour__notes li{padding:clamp(9px,.9vw,13px) 0}
  .pour__notes li>span{font-size:clamp(14px,1.05vw,15px)}
  .pour__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
  .pour__foot .textlink{font-size:14px;white-space:nowrap;flex:none}
  .pour__hand{display:none;align-items:center;gap:8px;font-family:var(--serif);font-style:italic;color:#D8C9A3;font-size:clamp(1rem,1.4vw,1.25rem);line-height:1;transform:rotate(-3deg);transform-origin:100% 50%;white-space:nowrap}
  .pour__hand svg{width:46px;height:14px;flex:none}
  .is-notes .pour__notes li{opacity:.42;transition:opacity .45s var(--ease)}
  .is-notes .pour__notes li.is-on{opacity:1}
  .is-notes .pour__notes li.is-cur>b{background:#D8C9A3;color:var(--charcoal)}
}
@media (min-width:1520px){.pour__hand{display:flex}}   /* only where the margin has room for it beside the link (the link wrapped at 1440) */
/* drawing-in: only with script and without reduced motion */
.is-notes .pour__dot,.is-notes .pour__pin{opacity:0;transition:opacity .35s var(--ease) .25s}
.is-notes .pour__dot{transition:opacity .35s var(--ease),transform .45s var(--ease);transform:scale(.4)}
.is-notes .pour__dot.is-on{opacity:1;transform:none}
.is-notes .pour__dot.is-on::before{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid #E3D3A8;animation:pourPing .9s var(--ease) .2s both}
@keyframes pourPing{from{transform:scale(1);opacity:.9}to{transform:scale(2.6);opacity:0}}
.is-notes .pour__pin.is-on{opacity:1}
.is-notes .pour__pin:not(.is-on){pointer-events:none}
.is-notes .pour__lines g{transform:scale(0);opacity:0;transition:transform .5s var(--ease) .1s,opacity .2s linear .1s}
.is-notes .pour__lines g.is-on{transform:none;opacity:1}
@media print{.pour__dot,.pour__pin,.pour__lines g,.pour__notes li{opacity:1!important;transform:none!important}}

/* ---------------- From the phone sweep of 17 November 2026: faults found on slim screens that are not about width alone */
.brief__err{color:var(--error);font-size:14px;font-weight:500;margin:-16px 0 16px}   /* the Email/Phone warning is a child of the fieldset, not of a .field, so it never got the warning style */
.brief__set legend{padding-right:14px}     /* the rule across the top of each step no longer starts on the heading's last letter */
.about-open .label{color:#D8C9A3}          /* this label sits on a dark photograph */
.foot__col a{line-height:1.25;padding-block:9px}   /* a two-line footer link keeps a gap before the next link (links wrap on phones and again from 1360 to 1399 px) */
@media (max-width:389px){.film__play i{width:44px;height:44px}}   /* the play circle stays clear of the lettering in the picture */
@media (max-width:359px){.film__play span{gap:10px;font-size:14px}}   /* and "Watch the Prime company film" stays on one line */
.brief__next ol{list-style:decimal}        /* the three "what happens next" steps were indented for numbers they did not have */
.field textarea{display:block}             /* a warning sits 6 px under the big text box, as under every other box (it was 13 px) */
.menu-btn{flex:none}   /* the menu button keeps its 44 px at every width: it used to be the thing that gave way (34 px at 360) */
@media (max-width:519px){.header-cta .arrow{display:none}.header-cta{padding-inline:12px}}   /* on phones the start button gives up its arrow instead */
/* design page cover: both buttons stay on one row and inside the screen (the two labels need 361 px; a 344 px screen has 312,
   and .cover hides what overflows, so "See Limewash House" was cut off at the right edge) */
@media (max-width:393px){
  .cover--page .top__actions{gap:6px}
  .cover--page .top__actions .btn{padding-inline:clamp(11px,calc((100vw - 331px) / 4),16px)}   /* 375 to 393: the padding follows the screen */
  .cover--page .cover__eyebrow{text-wrap:balance}   /* the line above the headline keeps a tidy break */
}
@media (max-width:374px){
  .cover--page .top__actions{flex-wrap:wrap}
  .cover--page .top__actions .btn{padding-inline:12px;font-size:13px}
  .cover--page .top__actions .arrow{display:none}
}
@media (max-width:336px){.cover--page .top__actions .btn{padding-inline:10px;font-size:12px}}   /* 320 px phones keep one row too */
/* capability enquiry links: when one wraps, its arrow stays with the last word (it used to sit alone at the far edge, between the two lines) */
.nb{white-space:nowrap}
.service__links .textlink{display:block;min-height:0;padding-block:9px}
.service__links .textlink .arrow{vertical-align:-.08em;margin-left:.35em}
/* the upright design film is never taller than the room between the header and the floating start button
   (at 360 x 640 it was 583 px in 510, with its Play button under that bar) */
@media (max-width:700px) and (orientation:portrait){
  .plate--film{width:min(100%,calc((100svh - var(--header-h) - 78px) * 9 / 16));margin-inline:auto}
}
/* a phone on its side: the wide film, sized to the room under the header (the upright one was about three and a half screens tall there) */
@media (max-width:899px) and (orientation:landscape){
  .plate--film{aspect-ratio:16/9;width:min(100%,calc((100svh - var(--header-h) - 78px) * 16 / 9));margin-inline:auto}
}
/* 280 px cover screens of older folding phones: the email address and one long button no longer push the page sideways */
@media (max-width:330px){
  .closing a:not(.btn){overflow-wrap:anywhere}
  .intro__actions .btn{white-space:normal;text-align:center}
}
/* work cards: the line above each title was dark gold on the photograph (contrast about 1.7 to 1) */
.casecard .label{color:#D8C9A3}
/* the scrim is measured in px from the top of the words, so it is as strong behind the label on a wide card as on a phone */
.casecard__body{padding-top:calc(clamp(18px,3vw,36px) + 40px);background:linear-gradient(180deg,rgba(12,13,11,0),rgba(12,13,11,.66) 56px,rgba(12,13,11,.9))}
/* the three compare tabs stay on one row (they need 315 px; a 344 px screen has 312, and the third dropped to its own line) */
@media (max-width:359px){
  .tabs{display:flex;flex-wrap:nowrap}
  .tabs button{flex:1 1 auto;padding:0 6px;white-space:nowrap}
}
/* the four stage tabs under the drawing-to-design scene: "Final design" keeps to one line, so all four are the same height */
@media (max-width:365px){
  .rv__chapters{grid-template-columns:repeat(3,minmax(0,1fr)) max-content}
}

/* ================================================================== The wall (home, last section). Three rows of Prime's own
   pictures and films that drift, gear with the scroll, lean with their speed and can be dragged; a tile opens large.
   These first rules are the plain version: a tidy grid with every label, which is what shows with no script and with
   reduced motion. The script adds html.wall-on for the moving wall. */
.wall{background:var(--paper);padding-block:clamp(56px,9vw,128px) clamp(56px,8vw,112px);overflow-x:hidden;overflow-x:clip}
.wall__head{display:grid;gap:14px 24px;margin-bottom:clamp(20px,3vw,36px)}
.wall__intro{font-size:clamp(1.02rem,1.4vw,1.25rem);line-height:1.45;color:var(--ink-soft);max-width:40ch}
@media (min-width:900px){.wall__head{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:end}.wall__head .label{grid-column:1/-1}.wall__intro{justify-self:end}}
.rise-on .wall__head [data-rise]{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .75s var(--ease)}
.rise-on .wall__head [data-rise]:nth-child(2){transition-delay:.07s}.rise-on .wall__head [data-rise]:nth-child(3){transition-delay:.14s}
.rise-on .wall__head [data-rise].is-in{opacity:1;transform:none}
/* the channels: plain words, no platform logos. "Coming soon" until an address is put in build.js, then a real link */
.wall__channels{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 clamp(18px,2.6vw,30px);padding:0}
.wall__ch{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(23,24,21,.28);font-size:14px;font-weight:500;text-decoration:none;color:inherit;white-space:nowrap}
.wall__ch--soon{border-style:dashed;border-color:rgba(107,93,63,.6);color:var(--ink-soft)}
.wall__ch i{font-style:normal;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep)}
a.wall__ch:hover{background:var(--charcoal);color:var(--white);border-color:var(--charcoal)}
.rise-on .wall__channels[data-rise]{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease) .18s,transform .75s var(--ease) .18s}
.rise-on .wall__channels[data-rise].is-in{opacity:1;transform:none}
.wall__chlead{display:none;align-items:center;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--gold-deep);margin-right:2px}
/* phones: one "coming soon" in front of five small names (two rows), not five long pills (four rows) */
@media (max-width:599px){
  .wall__channels{gap:6px}
  .wall__chlead{display:inline-flex}
  .wall__chlead~li .wall__ch--soon{min-height:32px;padding:0 10px;font-size:12.5px}
  .wall__chlead~li .wall__ch--soon i{display:none}
  a.wall__ch{padding:0 12px;font-size:13px}
}
.wall__bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:clamp(16px,2.4vw,28px)}
.wall__bar[hidden]{display:none}
.wall__chip{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(23,24,21,.28);background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;touch-action:manipulation;transition:background-color .18s,color .18s,border-color .18s}
.wall__chip[aria-pressed="true"]{background:var(--charcoal);color:var(--white);border-color:var(--charcoal)}
.wall__count{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-left:6px;font-variant-numeric:tabular-nums}
.wall__ctl{display:flex;gap:8px;margin-left:auto}
.wall:not(.is-moving) .wall__ctl{display:none}      /* nothing to move or pause in the plain grid */
@media (max-width:719px){.wall__ctl [data-wall-nudge]{display:none}}
@media (max-width:899px){.wall__count{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
.wall__view{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;width:100%;max-width:1520px;margin-inline:auto;padding-inline:var(--gutter)}
@media (min-width:600px){.wall__view{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 16px}}
@media (min-width:1100px){.wall__view{grid-template-columns:repeat(4,minmax(0,1fr))}}
.wall__row{display:contents;list-style:none;margin:0;padding:0}
.wall__cell{min-width:0}
.wall__cell[hidden]{display:none}
.wall__tile{position:relative;display:block;text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
.wall__tile:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px}
.wall .wall__pic{position:relative;display:block;aspect-ratio:3/2;border-radius:12px;overflow:hidden;background:var(--charcoal-2)}
.wall__pic picture{position:absolute;inset:0}
.wall__pic picture+picture{display:none}
.wall__pic img{width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
.wall__meta{display:grid;gap:3px;margin-top:10px}
.wall__meta b{font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--gold-deep)}
.wall__title{font-size:15px;line-height:1.25;font-weight:500}
.wall__cap{display:block;font-size:13px;line-height:1.4;color:var(--ink-soft);margin-top:4px}
@media (max-width:599px){.wall__cap{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}   /* on a phone the full source line stays in the link's name, not on screen: the grid would be twice as long */
.wall__play{position:absolute;z-index:3;left:12px;top:12px;width:44px;height:44px;border-radius:50%;background:var(--paper);color:var(--charcoal);display:flex;align-items:center;justify-content:center}
.wall__play svg{width:14px;height:14px;margin-left:2px}
.wall__fact{display:flex;flex-direction:column;justify-content:space-between;gap:12px;aspect-ratio:3/2;border-radius:12px;background:var(--charcoal);color:var(--white);padding:16px}
.wall__fact b{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:#E3D3A8}
.wall__fact em{font-style:normal;font-family:var(--serif);font-size:clamp(1.25rem,5.4vw,1.7rem);line-height:1.08;letter-spacing:-.01em}
.wall__fact i{font-style:normal;font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:8px}
/* a placeholder: paper with a dashed gold edge, so it can never be mistaken for a post or a review */
.wall__fact--soon{background:var(--paper);color:var(--charcoal);border:1.5px dashed rgba(107,93,63,.7)}
.wall__fact--soon b{color:var(--gold-deep);display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.wall__fact--soon u{text-decoration:none;font-size:9.5px;letter-spacing:.14em;padding:3px 7px;border-radius:999px;background:var(--charcoal);color:#E3D3A8;white-space:nowrap}
.wall__foot{display:grid;gap:20px;margin-top:clamp(20px,3vw,36px)}
.wall__more{grid-column:1/-1}.wall__more[hidden]{display:none}.wall__more .btn{width:100%}
.wall__note{font-size:13px;line-height:1.45;color:var(--ink-soft);max-width:66ch}
.wall__links{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:599px){.wall__links{display:grid;grid-template-columns:1fr 1fr}.wall__links .btn{padding-inline:10px;font-size:14px}.wall__links .btn--dark{grid-column:1/-1}}
@media (min-width:900px){.wall__foot{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}.wall__links{justify-content:flex-end}}

/* the moving wall: three full-width rows. One rule sets every size: --b is the tall row, --s the two small ones */
.wall-on .wall__view{--b:clamp(184px,min(50vw,33vh),320px);--s:calc(var(--b)*.68);--g:clamp(10px,1.1vw,16px);display:grid;grid-template-columns:none;gap:var(--g);max-width:none;padding:0;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none}
.wall-on .wall__row{display:flex;gap:var(--g);height:calc(var(--s)*var(--k,1));width:max-content;cursor:grab;transform-origin:50vw 50%}
.wall-on .wall__row--b{height:calc(var(--b)*var(--k,1))}
.wall-on .wall__row.is-drag{cursor:grabbing}
.wall-on .wall__cell{flex:none;height:100%;width:calc(var(--s)*var(--k,1)*var(--ar));will-change:transform}
.wall-on .wall__row--b .wall__cell{width:calc(var(--b)*var(--k,1)*var(--ar))}
.wall-on .wall__tile{height:100%;border-radius:12px;overflow:hidden;color:var(--white);background:var(--charcoal-2)}
@supports (height:1svh){.wall-on .wall__view{--b:clamp(184px,min(50vw,33svh),320px)}}   /* a browser without svh would drop the whole value from the custom property and the wall would collapse */
.wall-on .wall__tile:focus-visible{outline:3px solid var(--gold-deep);outline-offset:2px}   /* in the gap round the tile: a ring inside it is painted over by the picture */
.wall-on .wall .wall__pic{position:absolute;inset:0;aspect-ratio:auto;border-radius:0;background:var(--charcoal-2);transition:transform .8s var(--ease)}
.wall-on .wall__pic picture+picture{display:block}
.wall-on .wall__pic[data-seq] picture{opacity:0;transition:opacity .7s var(--ease)}
.wall-on .wall__pic[data-seq] picture.is-on{opacity:1}
html:not(.form-on) .wall .form__cv{display:none}      /* no WebGL, or its context was lost: the real pictures show, never a stale canvas */
.wall-on .wall__tile::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(12,13,11,.8),rgba(12,13,11,0) 48%);pointer-events:none}
.wall-on .wall__meta{position:absolute;z-index:2;left:12px;right:12px;bottom:10px;margin:0;gap:2px;pointer-events:none;transition:opacity .5s}
.wall-on .wall__meta b{font-size:10.5px;color:#E3D3A8}
.wall-on .wall__title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;font-size:13px}   /* not shown in the small rows on a phone, but still part of the link's name */
.wall-on .wall__row--b .wall__title{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;font-size:14px}
.wall-on .wall__cap{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wall-on .wall__row--b .wall__play{width:56px;height:56px}.wall-on .wall__row--b .wall__play svg{width:18px;height:18px;margin-left:3px}
.wall-on .wall__fact{height:100%;aspect-ratio:auto;border-radius:0}
.wall-on .wall__fact--soon{border-radius:12px}
.wall-on .wall__cell--fact .wall__tile::after{display:none}      /* no photo scrim over a text tile */
.wall-on .wall__row:not(.wall__row--b) .wall__fact{padding:12px;gap:6px}.wall-on .wall__row:not(.wall__row--b) .wall__fact em{font-size:clamp(1rem,calc(var(--s)*.13),1.45rem)}.wall-on .wall__row:not(.wall__row--b) .wall__fact i{font-size:11.5px}
@media (max-width:719px){.wall-on .wall__row:not(.wall__row--b) .wall__fact i{display:none}}      /* the small rows are 125 px high on a phone: tag, badge and one line; the button is in the large view */
.wall-on .wall__fact em{font-size:clamp(1.25rem,calc(var(--b)*.105),2rem)}
.wall-on .wall__cell.is-off .wall__tile{pointer-events:none}
.wall-on .wall__cell.is-off .wall__meta,.wall-on .wall__cell.is-off .wall__play{opacity:.3}
html.wall-on:not(.form-on) .wall__cell.is-off .wall__pic,.wall-on .wall__cell.is-off .wall__pic.is-plain{opacity:.25;filter:grayscale(1)}
@media (min-width:720px){.wall-on .wall__meta{left:14px;right:14px;bottom:12px}.wall-on .wall__title{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.wall-on .wall__row--b .wall__title{font-size:16px}}
@media (hover:hover){
  .wall-on .wall__tile:hover .wall__pic{transform:scale(1.05)}
  .wall-on .wall__tile::before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(100deg,transparent 40%,rgba(227,211,168,.28) 50%,transparent 60%);transform:translateX(-110%);pointer-events:none}
  .wall-on .wall__tile:hover::before{transform:translateX(110%);transition:transform .7s var(--ease)}
}

/* a tile picked up: one at a time, on charcoal */
.wallv{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--charcoal);color:var(--white);overflow:auto;overscroll-behavior:contain}
.wallv:not([open]){display:none}
.wallv::backdrop{background:var(--charcoal)}
.wallv[open]{animation:wallvIn .24s var(--ease)}
@keyframes wallvIn{from{opacity:0}to{opacity:1}}
.wallv__in{min-height:100%;display:grid;grid-template-rows:auto 1fr;padding:8px var(--gutter) 0}
.wallv__top{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-bottom:10px}
.wallv__top .label{color:#D8C9A3;font-variant-numeric:tabular-nums}
.wallv .roundbtn{border-color:rgba(245,243,238,.4);color:var(--white)}
.wallv .roundbtn:hover{background:var(--paper);color:var(--charcoal)}
.wallv .roundbtn:focus-visible,.wallv .btn:focus-visible{outline:2px solid #E3D3A8;outline-offset:3px}
.wallv__body{display:grid;gap:16px;align-content:start}
.wallv__stage{position:relative;width:min(100% - 20px,calc(46svh*var(--arn,1.5)));aspect-ratio:var(--arn,1.5);max-height:46svh;margin:6px auto 0;touch-action:pinch-zoom}
.wallv.is-zoomed{overscroll-behavior:auto}.wallv.is-zoomed .wallv__stage{touch-action:auto}      /* pinched larger: the enlarged view can be moved about with one finger */
.wallv__stage i{position:absolute;inset:0;border-radius:12px;background:#2c2d27;transform:rotate(-3deg) translateY(4px)}
.wallv__stage i+i{background:#3a3b34;transform:rotate(2.5deg) translateY(2px)}
.wallv__media{position:absolute;inset:0;border-radius:12px;overflow:hidden;background:#000}
.wallv__media.is-in{animation:wallvCard .34s var(--ease)}
.wallv__media.is-back{animation:wallvCardB .34s var(--ease)}
@keyframes wallvCard{from{opacity:0;transform:translateX(7%) rotate(3deg) scale(.94)}to{opacity:1;transform:none}}
@keyframes wallvCardB{from{opacity:0;transform:translateX(-7%) rotate(-3deg) scale(.94)}to{opacity:1;transform:none}}
.wallv__media picture{position:absolute;inset:0;display:block}
.wallv__media img,.wallv__media video,.wallv__media iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.wallv__media video{object-fit:contain}      /* a film is never cropped, whatever its shape */
.wallv__media video,.wallv__media iframe{z-index:2;background:#000}
.wallv__media .wall__play{left:50%;top:50%;margin:-28px 0 0 -28px;width:56px;height:56px;border:0;cursor:pointer}
.wallv__media .wall__play svg{width:18px;height:18px;margin-left:3px}
.wallv__media--soon{border:1.5px dashed rgba(227,211,168,.7)}
.wallv__tools{display:flex;align-items:center;gap:8px}
.wallv__said{font-size:12px;letter-spacing:.06em;color:#D8C9A3;max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wallv__media--fact{background:var(--charcoal-2);display:flex;align-items:center;padding:8%;font-family:var(--serif);font-size:clamp(1.5rem,5.5vw,2.6rem);line-height:1.08}
.wallv__txt{display:grid;gap:8px;align-content:start}
.wallv__txt.is-in>*{animation:wallvRise .5s var(--ease) both}.wallv__txt.is-in>*:nth-child(2){animation-delay:.06s}.wallv__txt.is-in>*:nth-child(3){animation-delay:.12s}.wallv__txt.is-in>*:nth-child(4){animation-delay:.18s}
@keyframes wallvRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.wallv__txt .label{color:#D8C9A3}
.wallv__txt h3{font-family:var(--serif);font-weight:400;font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.08;margin:0}
.wallv__txt p{color:#C9C7BE;font-size:15px;line-height:1.45;max-width:46ch}
.wallv__act{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0 max(14px,env(safe-area-inset-bottom));margin-top:4px;background:linear-gradient(0deg,var(--charcoal) 78%,rgba(23,24,21,0))}
.wallv__act .btn{background:var(--paper);color:var(--charcoal);min-width:0;padding-inline:16px;white-space:normal;text-align:left}
.wallv__nav{display:flex;gap:8px;flex:none}
.wallv__media video:focus-visible{outline:3px solid #E3D3A8;outline-offset:-3px}      /* drawn inside the film: the frame clips anything outside */
/* a phone: the link and the arrows stay at the foot of the screen from one entry to the next, whatever the picture's shape */
@media (max-width:899px){.wallv__body{grid-template-rows:auto 1fr}.wallv__txt{grid-template-rows:auto auto 1fr auto}.wallv__txt.is-in>.wallv__act{animation:none}}
@media (min-width:900px){.wallv__in{padding-top:16px}.wallv__body{grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:48px;align-items:center}.wallv__stage{width:min(100% - 40px,calc(74svh*var(--arn,1.5)));max-height:74svh}.wallv__act{position:static;background:none;flex-wrap:wrap;margin-top:12px}}
@media (prefers-reduced-motion:reduce){.wallv[open],.wallv__media,.wallv__txt>*{animation:none!important}}
@media print{.wall__bar,.wall__more{display:none}}
