/* =========================================================
   PBU FURNISHING — "Atelier Noir" theme
   Fonts: Bodoni Moda (display) · Hanken Grotesk (body) · Space Mono (specs)
   Palette: espresso, oat, walnut, brass, olive
   ========================================================= */

:root {
  --esp: #17130F;
  --esp-2: #221C16;
  --esp-3: #2E261E;
  --oat: #EDE5D8;
  --oat-dim: rgba(237, 229, 216, .62);
  --walnut: #A0673B;
  --brass: #C9A46A;
  --olive: #7A7D4F;
  --line: rgba(237, 229, 216, .14);
  --wood: #C49A6C;
  --fab: #E8E0D2;
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --out: cubic-bezier(.19, 1, .22, 1);
  --pad: max(28px, calc((100vw - 1320px) / 2));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-weight: 400; background: var(--esp); color: var(--oat); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.loading { overflow: hidden; }
body::after { /* film grain */
  content: ""; position: fixed; inset: -50%; z-index: 500; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, blockquote { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
em { font-style: italic; color: var(--brass); }
.label { font: 400 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--oat-dim); margin-bottom: 22px; }

/* ---------- Image placeholders ---------- */
.img-ph { position: relative; overflow: hidden; background: linear-gradient(150deg, #3A3027, #261F19); }
.img-ph::before { /* wood-grain lines */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: repeating-radial-gradient(ellipse at 20% 120%, transparent 0 14px, rgba(201,164,106,.08) 15px 16px);
}
.img-ph::after {
  content: "images/" attr(data-file); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font: 400 .68rem var(--mono); color: var(--brass); border: 1px solid rgba(201,164,106,.4); padding: 6px 12px; white-space: nowrap; z-index: 0; pointer-events: none;
}
.img-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.img-ph.has-img::before, .img-ph.has-img::after { display: none; }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: none; }
.loader-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--esp-2); transition: transform 1.1s var(--ease); }
.loader-panel.top { top: 0; }
.loader-panel.bottom { bottom: 0; }
.loader.done .top { transform: translateY(-100%); }
.loader.done .bottom { transform: translateY(100%); }
.loader-core { position: relative; z-index: 2; text-align: center; transition: opacity .5s, transform .8s var(--ease); }
.loader.done .loader-core { opacity: 0; transform: scale(.94); }
.bp-chair { width: 180px; height: 180px; }
.bp-chair path { fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 1.8s var(--ease) forwards; }
.bp-chair path:nth-child(2) { animation-delay: .15s; } .bp-chair path:nth-child(3) { animation-delay: .3s; }
.bp-chair path:nth-child(4) { animation-delay: .45s; } .bp-chair path:nth-child(5) { animation-delay: .55s; }
.bp-chair path:nth-child(6) { animation-delay: .7s; }
.bp-chair .dim { stroke: var(--oat-dim); stroke-width: 1; animation-delay: .9s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.loader-meta { display: flex; justify-content: space-between; gap: 40px; width: 260px; margin: 18px auto 10px; font: 400 .66rem var(--mono); color: var(--oat-dim); border-top: 1px solid var(--line); padding-top: 10px; }
.loader-meta b { color: var(--oat); font-weight: 400; }
.loader-name { font: 400 2rem var(--display); }
.loader-name i { color: var(--brass); }

/* ---------- cursor + floating preview ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 900; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); pointer-events: none; transform: translate(-50%, -50%);
  display: grid; place-items: center; transition: width .4s var(--out), height .4s var(--out), background .3s; mix-blend-mode: normal; }
.cursor span { font: 400 .62rem var(--mono); color: var(--esp); text-transform: uppercase; letter-spacing: .06em; opacity: 0; transition: opacity .2s; }
.cursor.link { width: 46px; height: 46px; background: rgba(201,164,106,.25); }
.cursor.label { width: 84px; height: 84px; background: var(--brass); }
.cursor.label span { opacity: 1; }
@media (hover: none) { .cursor, .float-img { display: none !important; } }
.float-img { position: fixed; top: 0; left: 0; z-index: 40; width: 300px; height: 380px; pointer-events: none; overflow: hidden;
  clip-path: inset(50% 50% 50% 50%); transition: clip-path .6s var(--out); background: var(--esp-3); }
.float-img.on { clip-path: inset(0 0 0 0); }
.float-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform .8s var(--out); }
.float-img.on img { transform: scale(1); }

/* =========================================================
   HEADER
   ========================================================= */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 40px; padding: 24px var(--pad); transition: padding .5s var(--out), background .5s, transform .6s var(--ease); }
.header.solid { padding-top: 14px; padding-bottom: 14px; background: rgba(23,19,15,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header.hide { transform: translateY(-100%); }
.logo { font: 500 1.7rem var(--display); letter-spacing: .02em; display: flex; align-items: baseline; gap: 2px; }
.logo i { color: var(--brass); }
.logo small { font: 400 .62rem var(--mono); color: var(--oat-dim); letter-spacing: .14em; text-transform: uppercase; margin-left: 10px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; height: 1.4em; overflow: hidden; display: block; font-size: .92rem; }
.nav a span { display: block; transition: transform .5s var(--out); }
.nav a span:last-child { color: var(--brass); font-style: italic; font-family: var(--display); }
.nav a:hover span { transform: translateY(-100%); }
.h-cta { padding: 11px 20px; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; transition: background .4s, color .4s, border-color .4s; }
.h-cta em { display: inline-block; transition: transform .4s var(--out); color: inherit; font-style: normal; }
.h-cta:hover { background: var(--oat); color: var(--esp); border-color: var(--oat); }
.h-cta:hover em { transform: rotate(45deg); }
.menu { display: none; height: 1.4em; overflow: hidden; font: 400 .8rem var(--mono); text-transform: uppercase; margin-left: auto; }
.menu span { display: block; transition: transform .5s var(--out); }
.menu.open span { transform: translateY(-100%); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 140px var(--pad) 60px; min-height: 100vh; }
.hero-idx { font: 400 .72rem var(--mono); color: var(--oat-dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 26px; }
.hero-title { font-size: clamp(3.4rem, 10.4vw, 10.5rem); line-height: .9; letter-spacing: -.035em; font-weight: 400; }
.hero-title .w { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%) skewY(6deg); transform-origin: left; transition: transform 1.3s var(--out); }
.hero-title .w:nth-child(2) > span { transition-delay: .1s; }
.hero-title .w:nth-child(3) > span { transition-delay: .2s; }
.ready .hero-title .w > span { transform: none; }
.hero-title .indent { padding-left: 18vw; }
.hero-title em { font-weight: 400; }

.hero-stage { position: relative; display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 30px; margin-top: 50px; align-items: end; }
.hero-main { grid-column: 2; aspect-ratio: 16 / 10; clip-path: inset(100% 0 0 0); transition: clip-path 1.6s .4s var(--ease); z-index: 1; }
.ready .hero-main { clip-path: inset(0 0 0 0); }
.hero-main img { transform: scale(1.25); transition: transform 2.4s .4s var(--out); }
.ready .hero-main img { transform: scale(1.04); }
.hero-detail { position: absolute; z-index: 2; right: 6%; top: -12%; width: 17%; aspect-ratio: 3 / 4; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s 1.2s var(--ease); border: 6px solid var(--esp); }
.ready .hero-detail { clip-path: inset(0 0 0 0); }
.hero-note { grid-column: 1; grid-row: 1; align-self: end; max-width: 260px; font-size: .95rem; color: var(--oat-dim); }
.hero-note p { margin-bottom: 18px; }
.hero-spec { grid-column: 3; grid-row: 1; align-self: end; display: grid; gap: 2px; font: 400 .7rem var(--mono); color: var(--oat-dim); }
.hero-spec b { font-weight: 400; color: var(--oat); margin-bottom: 12px; }
.link-line { position: relative; color: var(--oat); padding-bottom: 4px; }
.link-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--brass); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); }
.link-line:hover { color: var(--brass); }
.up { opacity: 0; transform: translateY(24px); transition: opacity 1s 1.3s var(--out), transform 1s 1.3s var(--out); }
.ready .up { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: -40px; width: 1px; height: 50px; background: var(--line); overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--brass); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* =========================================================
   RULER MARQUEE (accent)
   ========================================================= */
.ruler { position: relative; margin-top: 70px; border-block: 1px solid var(--line); padding: 30px 0 22px; overflow: hidden; background: var(--esp-2); }
.ruler-ticks { position: absolute; top: 0; left: 0; width: 200%; height: 14px; animation: tick 40s linear infinite;
  background: repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 100px);
  background-size: auto 6px, auto 14px; background-repeat: repeat-x; opacity: .55; }
.ruler-track { display: flex; gap: 40px; width: max-content; align-items: center; animation: tick 50s linear infinite; }
.ruler-track span { font: italic 400 clamp(1.6rem, 3vw, 2.6rem) var(--display); white-space: nowrap; }
.ruler-track b { color: var(--brass); font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro { padding: 140px var(--pad); }
.intro-text { font: 400 clamp(1.8rem, 3.6vw, 3.3rem) var(--display); line-height: 1.18; max-width: 1100px; }
.split .wd { display: inline-block; opacity: .14; transition: opacity .5s; }
.split .wd.lit { opacity: 1; }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.intro-stats div { padding: 26px 26px 0 0; }
.intro-stats b { display: block; font: 400 3.6rem var(--display); color: var(--brass); line-height: 1; }
.intro-stats span { font: 400 .72rem var(--mono); text-transform: uppercase; color: var(--oat-dim); letter-spacing: .06em; }

/* =========================================================
   SERVICES list
   ========================================================= */
.services { padding: 40px var(--pad) 140px; }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.sec-top .label { margin-bottom: 0; order: 2; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 60px 120px 1.3fr 1fr 40px; gap: 30px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); cursor: pointer; overflow: hidden; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--oat); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.svc-n { font: 400 .72rem var(--mono); color: var(--brass); transition: color .4s; }
.svc-thumb { aspect-ratio: 4 / 3; width: 120px; transition: transform .6s var(--out); }
.svc-thumb::after { font-size: .5rem; padding: 3px 6px; }
.svc h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); transition: transform .6s var(--out), color .4s; }
.svc p { font-size: .92rem; color: var(--oat-dim); transition: color .4s; }
.svc-arrow { font-size: 1.4rem; transition: transform .5s var(--out), color .4s; justify-self: end; }
.svc:hover::before { transform: scaleY(1); }
.svc:hover h3 { transform: translateX(14px); color: var(--esp); font-style: italic; }
.svc:hover p, .svc:hover .svc-arrow { color: var(--esp); }
.svc:hover .svc-n { color: var(--walnut); }
.svc:hover .svc-arrow { transform: rotate(45deg); }
.svc:hover .svc-thumb { transform: scale(.9) rotate(-3deg); }

/* =========================================================
   ATELIER configurator
   ========================================================= */
.atelier { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; padding: 140px var(--pad); background: var(--oat); color: var(--esp); }
.atelier .label { color: rgba(23,19,15,.55); }
.atelier em { color: var(--walnut); }
.at-copy h2 { margin-bottom: 18px; }
.at-copy > p { color: rgba(23,19,15,.65); max-width: 440px; margin-bottom: 40px; }
.opt { margin-bottom: 28px; }
.opt-label { display: block; font: 400 .7rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; color: rgba(23,19,15,.55); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatches button { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .5s var(--out); }
.swatches button::after { content: attr(data-name); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); white-space: nowrap; font: 400 .62rem var(--mono); background: var(--esp); color: var(--oat); padding: 4px 8px; opacity: 0; pointer-events: none; transition: .3s var(--out); }
.swatches button:hover { transform: translateY(-4px) scale(1.06); }
.swatches button:hover::after { opacity: 1; transform: translate(-50%, 0); }
.swatches button.on { box-shadow: 0 0 0 3px var(--oat), 0 0 0 4.5px var(--esp); }
.spec-sheet { margin-top: 40px; border-top: 1px solid rgba(23,19,15,.2); }
.spec-sheet div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(23,19,15,.12); }
.spec-sheet dt { font: 400 .7rem var(--mono); text-transform: uppercase; color: rgba(23,19,15,.55); }
.spec-sheet dd { font: italic 400 1.1rem var(--display); transition: opacity .3s; }

.at-stage { position: relative; background: #E2D8C8; min-height: 560px; display: grid; place-items: center; overflow: hidden; cursor: grab; user-select: none; }
.at-stage:active { cursor: grabbing; }
.stage-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(23,19,15,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(23,19,15,.06) 1px, transparent 1px); background-size: 40px 40px; }
.chair { position: relative; width: min(420px, 80%); transition: transform .6s var(--out); }
.chair .wood { fill: var(--wood); transition: fill .7s var(--ease); }
.chair .wood.dark { filter: brightness(.78); }
.chair .fab { fill: var(--fab); transition: fill .7s var(--ease); }
.chair .fab-line { fill: none; stroke: rgba(0,0,0,.12); stroke-width: 2; stroke-linecap: round; }
.chair .shadow { fill: rgba(23,19,15,.14); }
.chair.pop { animation: pop .7s var(--out); }
@keyframes pop { 30% { transform: translateY(-10px) scale(1.03); } }
.dim-h, .dim-v { position: absolute; font: 400 .66rem var(--mono); color: rgba(23,19,15,.55); }
.dim-h { left: 18%; right: 18%; bottom: 40px; border-top: 1px solid rgba(23,19,15,.35); text-align: center; padding-top: 6px; }
.dim-h::before, .dim-h::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: rgba(23,19,15,.35); }
.dim-h::before { left: 0; } .dim-h::after { right: 0; }
.dim-v { top: 16%; bottom: 16%; right: 40px; border-left: 1px solid rgba(23,19,15,.35); display: flex; align-items: center; padding-left: 8px; writing-mode: vertical-rl; }
.stage-tag { position: absolute; top: 20px; left: 22px; font: 400 .66rem var(--mono); text-transform: uppercase; color: rgba(23,19,15,.5); }

/* =========================================================
   PROJECTS horizontal scroll
   ========================================================= */
.projects { position: relative; height: 420vh; }
.h-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 44px; }
.h-head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.h-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.h-progress { width: 200px; height: 1px; background: var(--line); margin-bottom: 18px; }
.h-progress span { display: block; height: 100%; width: 0; background: var(--brass); }
.h-track { display: flex; gap: 30px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.proj { width: 40vw; max-width: 620px; flex: none; }
.proj.tall { width: 28vw; max-width: 430px; }
.proj figure { height: 52vh; transition: transform .8s var(--out); }
.proj figure img { transition: transform 1.2s var(--out); }
.proj:hover figure img { transform: scale(1.07); }
.proj-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.proj-cap span { font: 400 .68rem var(--mono); color: var(--oat-dim); text-transform: uppercase; order: 2; }
.proj-cap h3 { font-size: 1.5rem; }
.proj.end { width: 30vw; display: flex; }
.end-card { height: 52vh; width: 100%; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 34px; }
.end-card p { font: 400 clamp(2rem, 3vw, 2.8rem) var(--display); line-height: 1.1; }
.pill { align-self: flex-start; padding: 13px 22px; border-radius: 99px; background: var(--brass); color: var(--esp); font-weight: 500; transition: background .4s, transform .4s var(--out); }
.pill:hover { background: var(--oat); transform: translateY(-3px); }

/* =========================================================
   PROCESS accordion with image
   ========================================================= */
.process { padding: 140px var(--pad); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; height: 560px; border-top: 1px solid var(--line); }
.step { position: relative; border-right: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; overflow: hidden; transition: flex .8s var(--ease); }
.steps { display: flex; }
.step { flex: 1; }
.step.active { flex: 2.6; }
.step:first-child { border-left: 1px solid var(--line); }
.step-h { text-align: left; font: 400 1.5rem var(--display); display: flex; flex-direction: column; gap: 10px; }
.step-h span { font: 400 .7rem var(--mono); color: var(--brass); }
.step-b { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s; }
.step.active .step-b { max-height: 140px; opacity: 1; transition-delay: .2s; }
.step-b p { color: var(--oat-dim); font-size: .94rem; padding-top: 14px; max-width: 380px; }
.step-img { margin-top: auto; height: 0; opacity: 0; transition: height .8s var(--ease), opacity .6s; }
.step.active .step-img { height: 300px; opacity: 1; }
.step:not(.active):hover { background: var(--esp-2); }

/* =========================================================
   STUDIO
   ========================================================= */
.studio { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 40px var(--pad) 140px; }
.studio-img { aspect-ratio: 4 / 5; }
.studio-img img { transition: transform 1.4s var(--out); }
.studio-img:hover img { transform: scale(1.05); }
blockquote { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.12; font-style: italic; margin-bottom: 50px; }
.values { list-style: none; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--out); }
.values li:hover { padding-left: 14px; }
.values b { font-weight: 500; }
.values span { color: var(--oat-dim); font-size: .94rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 140px var(--pad); background: var(--esp-2); }
.big { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .95; margin-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.c-row { display: block; padding: 22px 0; border-top: 1px solid var(--line); }
.c-row small { display: block; font: 400 .66rem var(--mono); text-transform: uppercase; color: var(--oat-dim); letter-spacing: .08em; margin-bottom: 6px; }
.c-row span { font: 400 1.5rem var(--display); line-height: 1.35; transition: color .3s; }
a.c-row:hover span { color: var(--brass); font-style: italic; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.full { grid-column: 1 / -1; }
.fl { position: relative; }
.fl input, .fl textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 26px 0 10px; color: var(--oat); font: 400 1.05rem var(--body); outline: none; resize: vertical; transition: border-color .4s; }
.fl label { position: absolute; left: 0; top: 26px; color: var(--oat-dim); pointer-events: none; transition: .4s var(--out); }
.fl::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.fl:focus-within::after { transform: scaleX(1); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { top: 0; font: 400 .66rem var(--mono); text-transform: uppercase; color: var(--brass); letter-spacing: .06em; }
.chips-label { display: block; font: 400 .66rem var(--mono); text-transform: uppercase; color: var(--oat-dim); letter-spacing: .06em; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; transition: .35s var(--out); }
.chips button:hover { border-color: var(--brass); }
.chips button.on { background: var(--brass); color: var(--esp); border-color: var(--brass); }
.submit { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 18px; padding: 8px 8px 8px 28px; border-radius: 99px; background: var(--oat); color: var(--esp); font-weight: 500; font-size: 1rem; transition: background .4s; }
.submit i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--esp); color: var(--oat); font-style: normal; transition: transform .5s var(--out), background .4s; }
.submit:hover { background: var(--brass); }
.submit:hover i { transform: rotate(45deg); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px var(--pad) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.f-brand { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.f-brand p { max-width: 380px; margin-top: 14px; font-size: .95rem; color: var(--oat-dim); line-height: 1.7; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 30px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.f-grid ul { list-style: none; padding: 0; margin: 0; }
.f-grid li, .f-grid address { font-size: .9rem; font-style: normal; color: var(--oat-dim); line-height: 1.9; }
.f-grid h4 { font: 400 .66rem var(--mono); text-transform: uppercase; color: var(--brass); letter-spacing: .1em; margin-bottom: 12px; font-weight: 400; }
.f-grid p { font-size: .9rem; color: var(--oat-dim); line-height: 1.8; }
.f-grid a:hover { color: var(--oat); }
.f-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: .8rem; color: var(--oat-dim); }
.f-bottom a:hover { color: var(--brass); }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--brass); display: grid; place-items: center; transition: transform .5s var(--out), background .3s; }
.wa svg { width: 26px; fill: var(--esp); }
.wa:hover { transform: scale(1.1); background: #25D366; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--out), transform 1.1s var(--out); }
.reveal.in { opacity: 1; transform: none; }
.svc.reveal { transform: translateY(30px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .svc { grid-template-columns: 40px 100px 1fr 30px; }
  .svc p { grid-column: 3; grid-row: 2; }
  .svc-arrow { grid-row: 1; grid-column: 4; }
  .svc-thumb { width: 100px; grid-row: span 2; }
  .atelier, .studio, .contact-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; height: auto; }
  .step { border-right: 0; border-left: 0 !important; border-bottom: 1px solid var(--line); flex: none !important; }
  .step.active .step-img { height: 260px; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 22px; background: var(--esp-2);
    clip-path: circle(0 at calc(100% - 50px) 40px); transition: clip-path .8s var(--ease); }
  .nav.open { clip-path: circle(150% at calc(100% - 50px) 40px); }
  .nav a { font: 400 2.4rem var(--display); height: 1.2em; }
  .menu { display: block; }
  .header .h-cta { display: none; }
  .hero-stage { grid-template-columns: 1fr; margin-top: 30px; }
  .hero-main { grid-column: 1; }
  .hero-note, .hero-spec { grid-column: 1; grid-row: auto; }
  .hero-detail { width: 30%; top: -8%; }
  .hero-title .indent { padding-left: 10vw; }
  .projects { height: auto; }
  .h-sticky { position: relative; height: auto; padding: 120px 0; }
  .h-track { overflow-x: auto; width: 100%; scroll-snap-type: x mandatory; padding-bottom: 10px; transform: none !important; }
  .proj, .proj.tall, .proj.end { width: 78vw; scroll-snap-align: start; }
  .proj figure, .end-card { height: 56vh; }
  .h-progress { display: none; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .intro, .services, .atelier, .process, .contact { padding-top: 100px; padding-bottom: 100px; }
  .intro-stats { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr 30px; gap: 12px; }
  .svc-n { display: none; }
  .svc-thumb { width: 100%; grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .svc h3 { grid-column: 1; } .svc-arrow { grid-row: auto; grid-column: 2; }
  .svc p { grid-column: 1 / -1; grid-row: auto; }
  .at-stage { min-height: 400px; }
  .form { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: 4px; }
  .f-grid { grid-template-columns: 1fr; }
  .f-brand { flex-direction: column; align-items: flex-start; }
  .f-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
