@font-face{font-family:Jakarta;src:url(plus-jakarta-sans.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:Inter;src:url(inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{
  --limestone:#EAE2D3;--sand:#DFD5C3;--alabaster:#F4EFE6;--espresso:#1C1917;--ink-2:#57514B;--rule:#C4B6A2;--brass:#8C7355;
  --edge:clamp(18px,5vw,84px);--gap:clamp(16px,2.4vw,32px);--section:clamp(64px,9vw,136px);
  --logo-w:clamp(132px,13vw,188px);--radius:10px;--ease:cubic-bezier(.22,1,.36,1);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
button,a{-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-padding-top:84px}
body{margin:0;background:var(--limestone);color:var(--espresso);font:400 clamp(16px,.35vw + 14.6px,18px)/1.6 Inter,Arial,sans-serif;font-feature-settings:"cv11"}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,h4,h5{font-family:Jakarta,Arial,sans-serif;font-weight:500;letter-spacing:-.035em;line-height:1.1;margin:0;text-wrap:balance}
h2{font-size:clamp(30px,3.6vw,56px)}
h3{font-size:clamp(18px,1.3vw,21px);letter-spacing:-.015em;line-height:1.25}
p{margin:0}
button,input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--brass);outline-offset:3px;border-radius:4px}
.sr-only{position:absolute;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(--alabaster);padding:10px 14px;border-radius:var(--radius)}
.skip:focus{top:12px}
.eyebrow{display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brass);margin-bottom:14px}
.section{padding:var(--section) var(--edge)}

/* Buttons: soft corners, quiet tonal fills, visible focus. */
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:var(--radius);font-weight:500;font-size:15px;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}
.button.primary{background:var(--alabaster);color:var(--espresso)}
.button.primary:hover{background:#fff}
.button.quiet{background:rgb(28 25 23 / .62);color:#fff;border-color:rgb(255 255 255 / .28)}
.button.quiet:hover{background:rgb(28 25 23 / .8)}
.button.primary.dark{background:var(--espresso);color:var(--alabaster)}
.button.primary.dark:hover{background:#000}
.button.quiet.line{background:transparent;color:var(--espresso);border-color:var(--rule)}
.button.quiet.line:hover{background:var(--sand)}
.actions{display:flex;flex-wrap:wrap;gap:10px}

/* Header: one logo, four links, three languages. It floats over the photograph (no strip, no tint) and
   turns to limestone once the hero has scrolled away. Without JavaScript it stays solid. */
.site-header{position:fixed;inset:0 0 auto;z-index:20;display:flex;align-items:center;gap:clamp(12px,3vw,48px);padding:16px var(--edge);background:rgb(234 226 211 / .94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgb(196 182 162 / .45);transition:background-color .35s ease,border-color .35s ease,backdrop-filter .35s ease}
.brand{flex:none;display:block;width:var(--logo-w);line-height:0}
.brand img{width:100%;transition:filter .35s ease}
.site-header nav{display:flex;gap:clamp(14px,2.2vw,34px);margin-left:auto}
.site-header nav a,.switcher a{text-decoration:none;font-size:14px;font-weight:500;color:var(--espresso);transition:color .35s ease}
.site-header nav a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.switcher{display:flex;gap:2px;padding:3px;border:1px solid rgb(28 25 23 / .22);border-radius:999px;transition:border-color .35s ease,background-color .35s ease}
.switcher a{display:grid;place-items:center;min-width:34px;min-height:30px;padding:0 6px;border-radius:999px;font-size:12px;letter-spacing:.06em}
.switcher a[aria-current]{background:var(--espresso);color:var(--alabaster)}
html.js .site-header.over-hero{background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
/* Over the photo the logo sits on the dark slatted ceiling, so it is drawn in alabaster. */
html.js .site-header.over-hero .brand img{filter:brightness(0) invert(.96) sepia(.08)}
/* Controls over the photo get their own translucent surface so the wall and ceiling still show through. */
html.js .site-header.over-hero :is(nav,.switcher){background:rgb(244 239 230 / .5);border:1px solid rgb(255 255 255 / .45);backdrop-filter:blur(12px) saturate(1.05);-webkit-backdrop-filter:blur(12px) saturate(1.05)}
html.js .site-header.over-hero nav{padding:8px 18px;border-radius:999px}
@media(max-width:760px){
  .site-header{flex-wrap:wrap;row-gap:6px;padding:12px 16px 8px}
  .switcher{margin-left:auto}
  .site-header nav{order:3;width:100%;margin:0;justify-content:space-between;gap:8px}
  .site-header nav a{font-size:13px;padding:6px 0}
}
/* When the frame is narrower than 13:10 the image is anchored on the arch and the header row lies on the
   dark slatted ceiling. */
@media(max-aspect-ratio:13/10){
  html.js .site-header.over-hero :is(nav,.switcher){background:rgb(28 25 23 / .34);border-color:rgb(255 255 255 / .2)}
  html.js .site-header.over-hero :is(nav a,.switcher a:not([aria-current])){color:#F4EFE6}
  html.js .site-header.over-hero .switcher a[aria-current]{background:#F4EFE6;color:var(--espresso)}
}

/* Hero: one uninterrupted photograph from edge to edge, at full opacity and natural light. Only control
   surfaces are translucent. Wide screens keep the 3:2 frame with the copy on the calm plaster wall; square
   and tall screens show the door (our work) above and set the copy low over a localised scrim (no opaque card). */
.hero{position:relative;height:100vh;height:100svh;min-height:520px;overflow:hidden;isolation:isolate;background:#CDBFA8}
.hero-photo,.hero-photo img{position:absolute;inset:0;width:100%;height:100%}
.hero-photo img{object-fit:cover;object-position:50% 40%}
.hero-copy{position:absolute;z-index:1;display:grid;gap:16px;justify-items:start;color:var(--espresso);
  left:61%;right:var(--edge);top:clamp(96px,19%,220px)}
.hero .origin{font-size:14px;font-weight:500;color:var(--espresso);letter-spacing:.01em}
.hero h1{font-size:clamp(30px,3vw,52px);line-height:1.06;max-width:14ch;color:var(--espresso)}
.hero .sub{font-size:clamp(16px,1.15vw,19px);line-height:1.5;max-width:34ch;color:var(--espresso)}
.hero .actions{margin-top:6px}
.button.glass-dark{border-radius:999px;padding:12px 22px;background:rgb(28 25 23 / .74);color:#FBF8F2;border:1px solid rgb(255 255 255 / .18);backdrop-filter:blur(12px) saturate(1.1);-webkit-backdrop-filter:blur(12px) saturate(1.1)}
.button.glass-dark:hover{background:rgb(28 25 23 / .88)}
@media(max-aspect-ratio:13/10){
  .hero-photo img{object-position:51% 50%}
  .hero-copy{left:0;right:0;top:auto;bottom:0;gap:10px;padding:72px 20px max(64px,calc(env(safe-area-inset-bottom) + 56px));color:#FBF8F2;
    background:linear-gradient(to top,rgb(18 14 10 / .86) 0%,rgb(18 14 10 / .8) 66%,rgb(18 14 10 / .66) 86%,rgb(18 14 10 / 0) 100%)}
  .hero .origin,.hero h1,.hero .sub{color:#FBF8F2}
  .hero .origin{font-size:13px}
  .hero h1{font-size:clamp(28px,5vw,44px);max-width:18ch}
  .hero .sub{font-size:15px;max-width:44ch}
  .button.glass-dark{background:rgb(244 239 230 / .9);color:var(--espresso);border-color:rgb(255 255 255 / .6)}
  .button.glass-dark:hover{background:#F4EFE6}
}
@media(max-aspect-ratio:13/10) and (min-width:700px){.hero-copy{padding:140px var(--edge) 72px}}
@media(max-aspect-ratio:5/8){
  .hero-photo img{object-position:50% 70%}
  .hero h1{font-size:clamp(26px,7.4vw,34px)}
  .hero-copy{padding-top:40px}
}
/* Short phones (e.g. 375 x 667): the whole door stays visible below the menu; the copy keeps only the title
   and the button, set low beside the replay control, so neither covers the door or its handle. */
@media(max-aspect-ratio:5/8) and (max-height:740px){
  .hero-photo img{object-position:50% 0}
  .hero .origin,.hero .sub{display:none}
  .hero-copy{padding-bottom:max(14px,env(safe-area-inset-bottom));background:linear-gradient(to top,rgb(18 14 10 / .82) 0%,rgb(18 14 10 / .6) 60%,rgb(18 14 10 / 0) 100%)}
}
/* Replay intro: small and discreet, bottom-right of the hero, away from the header. */
.intro-replay{position:absolute;z-index:2;right:var(--edge);bottom:max(16px,env(safe-area-inset-bottom));min-height:36px;padding:6px 14px;border-radius:999px;border:1px solid rgb(255 255 255 / .4);background:rgb(28 25 23 / .5);color:#FBF8F2;font-size:13px;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:opacity .2s ease}
.intro-replay:hover{background:rgb(28 25 23 / .7)}
@media(max-aspect-ratio:13/10){.intro-replay{right:16px;bottom:max(14px,env(safe-area-inset-bottom))}}

/* Trade partners. */
.partners{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(36px,5vw,72px) var(--gap)}
.partners-intro{grid-column:1/8;display:grid;gap:22px}
.lead{font-size:clamp(17px,1.2vw,20px);color:var(--ink-2);max-width:56ch}
.steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);margin:0;padding:0;list-style:none;counter-reset:none}
.steps li{display:grid;gap:10px;align-content:start;padding-top:20px;border-top:1px solid var(--rule)}
.steps .num{font-size:13px;font-weight:600;color:var(--brass);font-variant-numeric:tabular-nums;letter-spacing:.06em}
.steps p{color:var(--ink-2);font-size:15px}
.lines{grid-column:1/-1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px var(--gap);padding:clamp(24px,3vw,40px);background:var(--sand);border-radius:16px}
.lines h3{grid-column:1/5;font-size:13px;font-family:Inter,Arial,sans-serif;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brass)}
.lines ul{grid-column:5/-1;margin:0;padding:0;list-style:none}
.lines li{padding:12px 0;border-bottom:1px solid var(--rule);font-family:Jakarta,Arial,sans-serif;font-size:clamp(20px,1.8vw,28px);letter-spacing:-.025em}
.lines li:first-child{padding-top:0}
.lines p{grid-column:5/-1;color:var(--ink-2);font-size:15px;max-width:60ch}
@media(max-width:860px){.partners-intro,.lines h3,.lines ul,.lines p{grid-column:1/-1}.steps{grid-template-columns:1fr}}

/* History: the first scroll after the hero meets the makers. One passage beside the 1993 archive photo,
   the documented milestones, then the Mramor timber workshop. */
.history{padding:clamp(72px,10vw,150px) var(--edge) var(--section);background:var(--limestone)}
.history-lead{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(32px,6vw,110px);align-items:center}
.history-copy{display:grid;gap:18px;max-width:46ch}
.history-copy h2{font-size:clamp(40px,5vw,80px);letter-spacing:-.045em}
.history-copy p{color:var(--ink-2);font-size:clamp(17px,1.15vw,19px);line-height:1.65}
.history-copy p:first-of-type{color:var(--espresso);font-size:clamp(19px,1.45vw,23px);line-height:1.5}
.history figure{margin:0}
.history figure img{width:100%;border-radius:14px}
.history figcaption{padding-top:10px;font-size:13px;color:var(--ink-2)}
.milestones{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--gap);margin:clamp(56px,8vw,112px) 0;padding:0;list-style:none}
.milestones li{display:grid;gap:8px;align-content:start;padding-top:16px;border-top:1px solid var(--rule)}
.milestones b{font-family:Jakarta,Arial,sans-serif;font-weight:400;font-size:clamp(30px,3vw,48px);letter-spacing:-.04em;line-height:1;color:var(--brass);font-variant-numeric:tabular-nums}
.milestones span{font-size:15px;color:var(--ink-2)}
.history-workshop{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,5fr);gap:clamp(32px,6vw,110px);align-items:end}
.history-workshop h3{font-size:clamp(24px,2.4vw,36px);margin-bottom:14px}
.history-workshop p{color:var(--ink-2);max-width:48ch}
@media(max-width:860px){.history-lead,.history-workshop{grid-template-columns:1fr}.milestones{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.milestones{grid-template-columns:1fr}}

/* Collection, in catalogue order. Each chapter opens with a full-height photograph; inside, every work
   shows the whole piece first and then details from the same work. */
.collection{background:var(--alabaster)}
.collection>.section-head{padding:var(--section) var(--edge) clamp(32px,4vw,56px);margin:0;max-width:none;display:grid;gap:12px}
.collection>.section-head p{color:var(--ink-2);max-width:60ch}
.chapter-index{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.chapter-index a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid var(--rule);border-radius:999px;font-size:14px;text-decoration:none}
.chapter-index a:hover{background:var(--limestone)}
.opener{position:relative;height:calc(100svh - 84px);min-height:420px;overflow:hidden;background:var(--sand)}
.opener-photo{width:100%;height:100%;object-fit:cover}
.opener-title{position:absolute;left:var(--edge);bottom:clamp(20px,5vh,56px);max-width:min(560px,calc(100% - 2 * var(--edge)));padding:18px 22px;border-radius:16px;background:rgb(240 233 222 / .78);border:1px solid rgb(255 255 255 / .5);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.opener-title h3{font-size:clamp(40px,5.4vw,86px);letter-spacing:-.045em;line-height:1}
.opener-title p{margin-top:8px;font-size:14px;color:var(--ink-2)}
.chapter-body{padding:clamp(48px,7vw,104px) var(--edge) var(--section)}
.part{max-width:62ch;margin:clamp(40px,6vw,88px) 0 clamp(28px,4vw,48px)}
.part:first-child{margin-top:0}
.part h4{font-size:clamp(26px,2.6vw,40px);margin-bottom:12px}
.part p{color:var(--ink-2)}
.work{display:grid;gap:clamp(14px,2vw,24px);padding:clamp(28px,4vw,56px) 0;border-top:1px solid rgb(196 182 162 / .55)}
.work-copy{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,5fr);gap:6px var(--gap);align-items:baseline}
.work-copy h5{font-family:Jakarta,Arial,sans-serif;font-weight:500;font-size:clamp(20px,1.6vw,26px);letter-spacing:-.02em;margin:0}
.work-copy p{color:var(--ink-2);max-width:60ch}
.work-tall{grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:clamp(24px,5vw,80px);align-items:start}
.work-tall .work-copy{grid-template-columns:1fr;align-self:center}
.work-tall .details{grid-column:1/-1}
.shot{margin:0}
.photo-open{display:block;width:100%;padding:0;border:0;background:var(--sand);border-radius:12px;overflow:hidden;cursor:zoom-in}
.photo-open img{width:100%;transition:transform .9s var(--ease)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.photo-open:hover img{transform:scale(1.02)}}
.shot figcaption{padding-top:10px;font-size:13px;line-height:1.45;color:var(--ink-2)}
.details{display:grid;gap:var(--gap);align-items:start}
.details.n1,.details.n2{grid-template-columns:1fr 1fr}
.details.n3{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:760px){
  .opener{height:calc(100svh - 110px)}
  .work-copy,.work-tall{grid-template-columns:1fr}
  .details.n2,.details.n3{grid-template-columns:1fr 1fr;gap:12px}
  .details.n3 .shot:first-child{grid-column:1/-1}
}

/* Scrolling: gentle proximity snapping at chapter starts on desktop pointers only; phones scroll freely. */
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
  html{scroll-snap-type:y proximity}
  .hero,.history,.opener{scroll-snap-align:start}
}

.viewer{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:rgb(20 17 14 / .94);color:#fff}
.viewer::backdrop{background:transparent}
.viewer[open]{display:grid;grid-template-rows:1fr auto}
.viewer figure{margin:0;display:grid;place-items:center;min-height:0;padding:56px clamp(8px,6vw,96px) 8px}
.viewer img{max-width:100%;max-height:calc(100dvh - 140px);width:auto;height:auto;object-fit:contain;border-radius:6px}
.viewer .bar{display:flex;align-items:center;gap:12px;padding:14px var(--edge) max(14px,env(safe-area-inset-bottom))}
.viewer .bar p{flex:1;font-size:14px;color:#E9E2D6}
.viewer .count{font-variant-numeric:tabular-nums;color:#C4B6A2;font-size:13px}
.viewer button{min-width:48px;min-height:48px;border:1px solid rgb(255 255 255 / .28);border-radius:var(--radius);background:rgb(255 255 255 / .08);color:#fff;font-size:20px;cursor:pointer}
.viewer button:hover{background:rgb(255 255 255 / .18)}
.viewer .close{position:absolute;top:12px;right:12px}

/* CAD to reality (enabled only with a verified matched pair). */
.comparison{position:relative;overflow:hidden;border-radius:16px;--split:50%;margin-top:28px}
.comparison img{width:100%;height:100%;object-fit:cover}
.comparison .cad-layer{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.comparison input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize}
.comparison .label{position:absolute;bottom:12px;padding:4px 10px;border-radius:999px;background:var(--alabaster);font-size:12px}
.comparison .label.left{left:12px}.comparison .label.right{right:12px}

/* Technical strip, then factory and Tezga. */
.tech{padding-bottom:0}
.specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin:28px 0 0}
.specs div{display:grid;gap:8px;align-content:start;padding-top:18px;border-top:2px solid var(--espresso)}
.specs dt{font-family:Jakarta,Arial,sans-serif;font-weight:500;font-size:clamp(18px,1.4vw,22px);letter-spacing:-.02em;line-height:1.2;font-variant-numeric:tabular-nums}
.specs dd{margin:0;color:var(--ink-2);font-size:14px}
@media(max-width:960px){.specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.specs{grid-template-columns:1fr}}
.factory{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,80px);align-items:center}
.factory-copy{display:grid;gap:16px;justify-items:start}
.factory-copy p{color:var(--ink-2);max-width:52ch}
.factory img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:16px}
.text-link{font-weight:500;text-decoration:none;border-bottom:1px solid var(--brass);padding-bottom:2px}
.text-link:hover{color:var(--brass)}
@media(max-width:860px){.factory{grid-template-columns:1fr}.factory img{order:-1}}

/* Contact and footer. */
.contact{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(28px,5vw,80px);align-items:end;background:var(--sand)}
.contact h2{margin-bottom:14px}
.contact p{color:var(--ink-2);margin-bottom:24px;max-width:46ch}
.contact address{display:grid;gap:8px;font-style:normal}
.contact address a{font-size:clamp(17px,1.3vw,20px);text-decoration:none;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.contact address a:hover{color:var(--brass)}
.contact address span{margin-top:10px;color:var(--ink-2);font-size:15px}
@media(max-width:860px){.contact{grid-template-columns:1fr}.contact .actions{display:grid}}
.site-footer{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,4fr);align-items:start;gap:16px 32px;padding:28px var(--edge) max(28px,env(safe-area-inset-bottom));font-size:13px;color:var(--ink-2);border-top:1px solid var(--rule)}
.site-footer div{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center}
.site-footer strong{color:var(--espresso);letter-spacing:.06em}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--espresso)}

/* Project-quote drawer. */
.quote-drawer{width:min(520px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;background:var(--alabaster);color:var(--espresso);box-shadow:-24px 0 60px rgb(28 25 23 / .18);overflow-y:auto;overscroll-behavior:contain}
.quote-drawer::backdrop{background:rgb(28 25 23 / .42)}
.quote-drawer form{display:grid;gap:18px;align-content:start;min-height:100%;padding:clamp(24px,4vw,40px) clamp(20px,4vw,40px) max(28px,env(safe-area-inset-bottom))}
.quote-drawer .drawer-note{margin-top:-8px;color:var(--ink-2);font-size:15px}
.quote-drawer h2{font-size:clamp(26px,3vw,34px);padding-right:48px}
.quote-drawer .dismiss{position:absolute;top:16px;right:16px;width:44px;height:44px;border:1px solid var(--rule);border-radius:var(--radius);background:transparent;font-size:22px;cursor:pointer}
.field{display:grid;gap:6px;font-size:14px;font-weight:500}
.field small{font-weight:400;color:var(--ink-2)}
.field input{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--rule);border-radius:var(--radius);background:#fff;font-size:16px}
.field input[type=file]{padding:10px}
.field input[aria-invalid=true]{border-color:#9B2C1F}
.field .error{color:#8A2418;font-size:13px;font-weight:500}
.field .error:empty{display:none}
.form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.feedback{font-size:15px}
.feedback:empty{display:none}
.feedback.error{padding:12px 14px;border-radius:var(--radius);background:#F5DDD5;color:#6E1C12}
.feedback.ok{padding:14px;border-radius:var(--radius);background:var(--sand);font-weight:500;overflow-wrap:anywhere}
@media(max-width:520px){.quote-drawer{width:100vw;box-shadow:none}}

/* Logo entrance: limestone veil and a single travelling mark (top-left origin, so the glide is a plain
   translate + scale into the measured header slot). The veil never blocks links or buttons. */
.entrance-veil{display:none}
html.entrance{overflow:hidden}
html.entrance .entrance-veil{display:block;position:fixed;inset:0;z-index:60;pointer-events:none}
html.entrance .site-header .brand img{opacity:0}
.site-header :is(nav,.switcher){transition:opacity .22s ease}
html.entrance :is(.site-header nav,.site-header .switcher,.intro-replay){opacity:0;pointer-events:none}
.entrance-backdrop{position:absolute;inset:0;background:var(--limestone)}
.entrance-mark{--mw:clamp(200px,30vw,380px);position:absolute;left:calc(50% - var(--mw) / 2);top:calc(50% - var(--mw) * 215 / 1159 / 2);width:var(--mw);aspect-ratio:1159/215;opacity:0;transform-origin:0 0;will-change:transform,opacity}
.entrance-mark img{position:absolute;inset:0;width:100%;height:100%}
.entrance-mark-light{opacity:0;filter:brightness(0) invert(.96) sepia(.08)}


/* Footer: business details and persistent legal links. */
.site-footer .footer-id,.site-footer .footer-contact,.site-footer .footer-legal{display:grid;gap:4px;justify-items:start}
.site-footer .footer-legal{justify-items:end;text-align:right}
.site-footer .social{display:flex;gap:14px}
.site-footer a,.privacy-settings{color:var(--ink-2);text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:3px}
.privacy-settings{padding:0;border:0;background:none;font:inherit;font-size:13px;cursor:pointer}
.site-footer a:hover,.privacy-settings:hover{color:var(--espresso)}
@media(max-width:860px){.site-footer{grid-template-columns:1fr}.site-footer .footer-legal{justify-items:start;text-align:left}}
.settings-dialog{width:min(480px,calc(100vw - 32px));padding:28px;border:0;border-radius:18px;background:var(--alabaster);color:var(--espresso);box-shadow:0 24px 60px rgb(28 25 23 / .2)}
.settings-dialog::backdrop{background:rgb(28 25 23 / .4)}
.settings-dialog form{display:grid;gap:16px;justify-items:start}
.settings-dialog h2{font-size:24px}
.settings-dialog p{color:var(--ink-2);font-size:15px}
.settings-dialog .switch{display:flex;gap:10px;align-items:center;font-size:15px}
.settings-dialog input{width:20px;height:20px;accent-color:var(--espresso)}
.form-privacy{flex-basis:100%;font-size:13px;color:var(--ink-2)}
.form-privacy a{color:var(--espresso)}
/* Factory map: alabaster card, locally drawn placeholder until the visitor loads Google Maps. */
.contact{align-items:start}
.map-card{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:0;border-radius:18px;overflow:hidden;background:var(--alabaster);border:1px solid rgb(196 182 162 / .6)}
.map-frame{position:relative;min-height:280px;background:#EFE8DC}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-placeholder{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:12px;padding:20px;text-align:center}
.map-placeholder svg{width:min(240px,80%);height:auto}
.map-placeholder p{font-size:13px;color:var(--ink-2);max-width:36ch}
.map-info{display:grid;gap:8px;align-content:start;justify-items:start;padding:22px}
.map-info h3{font-size:20px}
.map-info address{font-style:normal;color:var(--ink-2);font-size:15px}
.map-info a{font-size:15px}
.map-tel{font-variant-numeric:tabular-nums}
.map-unload{padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--ink-2);text-decoration:underline;cursor:pointer}
@media(max-width:1100px){.map-card{grid-template-columns:1fr}}
/* Legal pages. */
.legal-page .site-header{position:sticky}
.legal{max-width:760px;margin:0 auto;padding:clamp(40px,6vw,88px) var(--edge) var(--section)}
.legal h1{font-size:clamp(34px,4vw,56px);margin:24px 0 8px}
.legal h2{font-size:clamp(20px,1.6vw,24px);margin:32px 0 8px}
.legal p{color:var(--ink-2);margin-bottom:12px}
.legal .draft-note{display:inline-block;padding:6px 12px;border-radius:999px;background:var(--sand);font-size:13px;color:var(--espresso)}
/* Narrow phones: keep each navigation label on one line. */
.site-header nav a{white-space:nowrap}
@media(max-width:400px){.site-header nav{gap:4px}.site-header nav a{font-size:12px;letter-spacing:-.01em}html.js .site-header.over-hero nav{padding:8px 12px}}

/* Compact catalogue: per work one main view (height-capped) beside its copy, at most two small details;
   further photographs of the same work open in the lightbox ("View project"). */
.work{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);grid-template-areas:"copy lead" "details lead";grid-template-rows:auto 1fr;column-gap:clamp(24px,4vw,64px);row-gap:18px;align-items:start;padding:clamp(28px,3.5vw,48px) 0}
.work .work-copy{grid-area:copy;display:grid;grid-template-columns:1fr;gap:10px;justify-items:start}
.work .shot-lead{grid-area:lead}
.work .shot-lead .photo-open{width:min(100%,calc(min(68vh,600px) * var(--ar)))}
.work .shot-lead img{width:100%;height:auto}
.work .details{grid-area:details;display:grid;grid-template-columns:1fr 1fr;gap:10px;align-self:end}
.work .details .shot figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.work .details img{aspect-ratio:1;object-fit:cover}
.project-open,.more-toggle{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid var(--rule);border-radius:999px;background:transparent;font-size:14px;cursor:pointer}
.project-open:hover,.more-toggle:hover{background:var(--limestone)}
.more-toggle{margin:8px 0 12px}
.opener{height:72svh;min-height:380px}
.chapter{scroll-margin-top:128px}
.chapter-index{position:sticky;top:69px;z-index:15;margin:0;padding:10px var(--edge);background:rgb(244 239 230 / .94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid rgb(196 182 162 / .5)}
@media(max-width:760px){
  .work{grid-template-columns:1fr;grid-template-areas:"copy" "lead" "details";grid-template-rows:none}
  .work .shot-lead .photo-open{width:min(100%,calc(60vh * var(--ar)))}
  .work .details{align-self:start}
  .opener{height:56svh;min-height:320px}
  .chapter-index{top:97px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:8px 16px}
  .chapter-index a{flex:none}
  .chapter{scroll-margin-top:156px}
}
/* Replay stays clearly quieter than the project CTA. */
.intro-replay{min-height:30px;padding:4px 11px;font-size:12px;background:rgb(28 25 23 / .26);border-color:rgb(255 255 255 / .28);color:rgb(251 248 242 / .9)}
/* Legal links: a readable group in the footer and in the contact section. */
.site-footer .footer-legal h2,.contact-legal h3{font-family:Inter,Arial,sans-serif;font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--espresso);margin:0 0 4px}
.site-footer .footer-legal{gap:8px}
.site-footer .footer-legal a,.site-footer .footer-legal .privacy-settings{font-size:15px;color:var(--espresso)}
.site-footer .footer-legal .copy,.site-footer .footer-legal .top{font-size:13px;color:var(--ink-2)}
.contact-legal{display:grid;justify-items:start;gap:8px;margin-top:28px;padding-top:18px;border-top:1px solid var(--rule)}
.contact-legal a,.contact-legal .privacy-settings{font-size:15px;color:var(--espresso);text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:3px}
.contact-legal .privacy-settings{padding:0;border:0;background:none;font:inherit;font-size:15px;cursor:pointer}
/* Settings dialog: services with a clear on/off state. */
.settings-dialog .service{display:grid;gap:6px;width:100%;padding:14px 0;border-top:1px solid var(--rule)}
.settings-dialog .service h3{font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:600}
.settings-dialog .switch{justify-content:space-between;width:100%}
.settings-dialog .state{min-width:3.5em;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
