/* ==========================================================================
   ROTA BUILD INC. — Building Envelope & Restoration
   Shared stylesheet for index / services / projects / thank-you
   ========================================================================== */

@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

:root {
  --ink: #121110;
  --ink-2: #1a1917;
  --ink-3: #23211e;
  --ink-4: #2e2b27;
  --bone: #f2ede5;
  --bone-2: #e8e1d6;
  --bone-3: #d8cfc1;
  --stone: #a59e93;
  --stone-2: #6f695f;
  --copper: #c4633a;
  --copper-2: #de7b4f;
  --copper-3: #93472a;
  --line-d: rgba(242, 237, 229, .12);
  --line-l: rgba(18, 17, 16, .12);

  --f-display: 'Archivo', 'Arial Black', Impact, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1480px;
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --intro: .15s;
}
html.is-loading { --intro: 1.55s; }
html.is-entering { --intro: .55s; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: -80px; left: 16px; z-index: 3000;
  background: var(--copper); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(90px, 12vw, 180px); }
.theme-light { background: var(--bone); color: var(--ink); }
.theme-ink2 { background: var(--ink-2); }

.gridlines {
  position: absolute; inset: 0 var(--pad); pointer-events: none; z-index: 0;
  border-inline: 1px solid var(--line-d);
  background-image: linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 25% 100%;
  opacity: .55;
}
.theme-light .gridlines { border-color: var(--line-l); background-image: linear-gradient(90deg, var(--line-l) 1px, transparent 1px); }

/* grain — gives every surface a subtle stucco-like tooth */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .92;
}
.h2 { font-size: clamp(2.3rem, 5.4vw, 5.6rem); text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.02; letter-spacing: -.01em; }
.h1 em, .h2 em, .h3 em, .display em, .hero-title em, .page-title em, .ty-title em, .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -.01em;
  color: var(--copper);
}
.h2 em { font-size: 1.08em; line-height: .8; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--stone); max-width: 38em; }
.theme-light .lead { color: var(--stone-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--stone);
}
.theme-light .eyebrow { color: var(--stone-2); }
.eyebrow .idx { color: var(--copper); }
.eyebrow .idx::before { content: '['; opacity: .6; margin-right: .15em; }
.eyebrow .idx::after { content: ']'; opacity: .6; margin-left: .15em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px rgba(196, 99, 58, .25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(196, 99, 58, 0); } }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }

.sec-head { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: clamp(48px, 7vw, 96px); position: relative; z-index: 1; }
.sec-head--split { grid-template-columns: 1.35fr 1fr; align-items: end; column-gap: 60px; }
.sec-head--split .eyebrow { grid-column: 1 / -1; }
.sec-head-side { display: grid; gap: 22px; justify-items: start; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  --btn-fg: #fff; --btn-bg: var(--copper); --btn-hover-fg: var(--ink); --btn-hover-bg: var(--bone);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  padding: 1.05em 1.1em 1.05em 1.6em;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .95rem/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .25s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-hover-bg);
  transform: translateY(102%); transition: transform .55s var(--ease);
}
.btn:hover { color: var(--btn-hover-fg); }
.btn:hover::before { transform: none; }
.btn .btn-ico {
  display: grid; place-items: center; width: 2.1em; height: 2.1em; margin: -.55em 0;
  border-radius: 50%; background: rgba(255, 255, 255, .16); overflow: hidden; position: relative;
}
.btn .btn-ico .i { font-size: 1.05em; transition: transform .5s var(--ease); }
.btn:hover .btn-ico .i { transform: rotate(-45deg); }
.btn-dark { --btn-fg: var(--bone); --btn-bg: var(--ink); --btn-hover-fg: #fff; --btn-hover-bg: var(--copper); }
.btn-ghost {
  --btn-fg: var(--bone); --btn-bg: transparent; --btn-hover-fg: var(--ink); --btn-hover-bg: var(--bone);
  border-color: rgba(242, 237, 229, .35); padding-right: 1.6em;
}
.theme-light .btn-ghost { --btn-fg: var(--ink); --btn-hover-fg: var(--bone); --btn-hover-bg: var(--ink); border-color: rgba(18, 17, 16, .3); }
.btn-sm { font-size: .86rem; padding: .95em 1.3em; }
.btn-lg { font-size: 1.05rem; padding: 1.25em 1.3em 1.25em 1.9em; }
.btn-block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 700;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: gap .4s var(--ease), color .3s;
}
.link-arrow:hover { gap: 1em; color: var(--copper); }

/* ---------- reveal on scroll ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(46px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1s);
}
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal].is-in, html.no-reveal [data-reveal] { opacity: 1; transform: none; }

.mask-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask-line > span { display: inline-block; }
html.js [data-reveal-lines] .mask-line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
html.js [data-reveal-lines] .mask-line:nth-child(2) > span { transition-delay: .08s; }
html.js [data-reveal-lines] .mask-line:nth-child(3) > span { transition-delay: .16s; }
html.js [data-reveal-lines] .mask-line:nth-child(4) > span { transition-delay: .24s; }
html.js [data-reveal-lines].is-in .mask-line > span, html.no-reveal [data-reveal-lines] .mask-line > span { transform: none; }

/* ==========================================================================
   Preloader & page curtain
   ========================================================================== */
.preloader { display: none; }
html.is-loading .preloader {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  animation: plOut .95s var(--ease-io) 1.3s forwards;
}
.pl-inner { width: min(360px, 76vw); display: grid; gap: 22px; }
.pl-mark { width: 150px; margin-inline: auto; clip-path: inset(100% 0 0 0); animation: plMark 1s var(--ease) .1s forwards; }
.pl-bar { height: 2px; background: var(--line-d); overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left; animation: plBar 1.15s var(--ease-io) .1s forwards; }
.pl-meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.pl-count { color: var(--bone); }
@keyframes plMark { to { clip-path: inset(0 0 0 0); } }
@keyframes plBar { to { transform: scaleX(1); } }
@keyframes plOut { 0% { clip-path: inset(0 0 0 0); } 99% { clip-path: inset(0 0 100% 0); visibility: visible; } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.curtain { position: fixed; inset: 0; z-index: 1900; pointer-events: none; }
.curtain > div { position: absolute; inset: 0; transform: translateY(101%); }
.curtain-a { background: var(--copper); }
.curtain-b { background: var(--ink); display: grid; place-items: center; }
.curtain-b img { width: 120px; opacity: 0; }
html.is-leaving .curtain { pointer-events: auto; }
html.is-leaving .curtain > div { transform: translateY(0); transition: transform .6s var(--ease-io); }
html.is-leaving .curtain-b { transition-delay: .07s !important; }
html.is-leaving .curtain-b img { opacity: 1; transition: opacity .3s .35s; }
html.is-entering .curtain > div { animation: curtainOut .8s var(--ease-io) .08s both; }
html.is-entering .curtain-a { animation-delay: .16s !important; }
html.is-entering .curtain-b img { opacity: 1; animation: fadeOut .35s ease both; }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes fadeOut { to { opacity: 0; } }

/* ==========================================================================
   Custom cursor (fine pointers only)
   ========================================================================== */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 1500; pointer-events: none; }
.cursor-ring {
  position: absolute; top: 0; left: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; border: 1px solid rgba(242, 237, 229, .55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s, opacity .3s;
  mix-blend-mode: difference;
}
.cursor-label { font: 700 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(242, 237, 229, .08); }
.cursor.is-label .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--copper); border-color: var(--copper); mix-blend-mode: normal; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hidden .cursor-ring { opacity: 0; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 1000;
  width: min(calc(100% - 24px), 1440px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(18, 17, 16, .42);
  border: 1px solid rgba(242, 237, 229, .1);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
  animation: navIn 1s var(--ease) calc(var(--intro) + .2s) both;
}
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -30px); } }
.nav.is-solid { background: rgba(18, 17, 16, .82); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.nav.is-hidden { transform: translate(-50%, calc(-100% - 30px)); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-drop > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 16px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: rgba(242, 237, 229, .78);
  transition: color .25s, background .25s;
}
.nav-links > a:hover, .nav-drop > a:hover, .nav-links [aria-current="page"] { color: var(--bone); background: rgba(242, 237, 229, .08); }
.nav-links [aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(242, 237, 229, .12); }
.nav-drop { position: relative; }
.nav-drop > a .i { font-size: .8em; transition: transform .35s var(--ease); }
.nav-drop:hover > a .i, .nav-drop:focus-within > a .i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%;
  width: 640px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: rgba(26, 25, 23, .97); border: 1px solid var(--line-d); border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; transition: background .25s; }
.mega-item:hover { background: rgba(242, 237, 229, .06); }
.mega-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.mega-item b { display: block; font-family: var(--f-mono); font-size: .68rem; color: var(--copper); letter-spacing: .12em; font-weight: 500; }
.mega-item strong { display: block; font-size: .95rem; line-height: 1.25; }
.mega-item em { display: block; font-style: normal; font-size: .8rem; color: var(--stone); line-height: 1.35; margin-top: 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: .88rem; font-weight: 700; color: var(--bone); border-radius: 999px; transition: background .25s; }
.nav-phone:hover { background: rgba(242, 237, 229, .08); }
.nav-phone .i { color: var(--copper); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bone); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
@media (max-width: 1280px) { .nav-phone span { display: none; } }
@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .nav { padding-left: 18px; }
}
@media (max-width: 480px) { .nav .btn-sm { display: none; } .nav-logo img { height: 34px; } }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 990;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: 110px var(--pad) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .85s var(--ease-io), visibility 0s .85s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu-links { display: grid; gap: 4px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.3rem, 10vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em;
  transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease), color .25s;
}
.menu-links a small { font-family: var(--f-mono); font-size: .75rem; color: var(--copper); letter-spacing: .1em; font-weight: 500; }
.menu-links a:hover { color: var(--copper); }
.menu.is-open .menu-links a { transform: none; opacity: 1; }
.menu.is-open .menu-links a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu-links a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu-links a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu-links a:nth-child(5) { transition-delay: .45s; }
.menu-sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.menu-sub a { font-size: .85rem; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line-d); border-radius: 999px; }
.menu-foot { display: grid; gap: 14px; border-top: 1px solid var(--line-d); padding-top: 22px; }
.menu-foot a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.menu-foot .i { color: var(--copper); }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: scale(1.2);
  animation: heroZoom 2.8s var(--ease) var(--intro) forwards;
}
@keyframes heroZoom { to { transform: scale(1.04); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 16, .62) 0%, rgba(18, 17, 16, .2) 32%, rgba(18, 17, 16, .72) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(18, 17, 16, .8) 0%, rgba(18, 17, 16, .15) 70%);
}
.hero-coats span {
  position: absolute; left: 0; right: 0; height: 33.4%; z-index: 1;
  background: var(--ink); border-left: 5px solid var(--copper);
  animation: coat 1.25s var(--ease-io) forwards;
}
.hero-coats span:nth-child(1) { top: 0; animation-delay: calc(var(--intro) + 0s); }
.hero-coats span:nth-child(2) { top: 33.3%; animation-delay: calc(var(--intro) + .12s); }
.hero-coats span:nth-child(3) { top: 66.6%; animation-delay: calc(var(--intro) + .24s); }
@keyframes coat { from { transform: translateX(-5px); } to { transform: translateX(101%); } }

.hero .gridlines { z-index: -1; opacity: .5; }
.hero-inner { position: relative; padding-top: 150px; }
.hero-eyebrow { margin-bottom: 28px; color: rgba(242, 237, 229, .8); animation: rise 1s var(--ease) calc(var(--intro) + .5s) both; }
.hero-title {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.8rem, 8.6vw, 10rem); line-height: .86; letter-spacing: -.035em;
}
.hero-title .mask-line > span { transform: translateY(112%); animation: lineUp 1.3s var(--ease) calc(var(--intro) + .45s + var(--i, 0) * .1s) forwards; }
.hero-title em { font-size: 1.12em; line-height: .7; padding-right: .06em; }
@keyframes lineUp { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 60px; flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 54px); padding-bottom: clamp(34px, 4vw, 54px);
}
.hero-lead { max-width: 33em; font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: rgba(242, 237, 229, .78); animation: rise 1s var(--ease) calc(var(--intro) + .8s) both; }
.hero-lead strong { color: var(--bone); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: rise 1s var(--ease) calc(var(--intro) + .9s) both; }
.hero-foot {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: end; gap: 20px;
  border-top: 1px solid var(--line-d); padding-top: 22px; padding-bottom: 28px;
  animation: rise 1s var(--ease) calc(var(--intro) + 1s) both;
}
.stat { display: grid; gap: 2px; }
.stat strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 2.3vw, 2.3rem); line-height: 1; letter-spacing: -.02em; }
.stat strong sup { font-size: .55em; color: var(--copper); vertical-align: top; margin-left: 2px; position: relative; top: .1em; }
.stat > span { font-size: .8rem; color: var(--stone); line-height: 1.35; }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.scroll-cue i { width: 1px; height: 46px; background: var(--line-d); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--copper); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.hero-card {
  position: absolute; z-index: 2; right: var(--pad); top: clamp(130px, 18vh, 200px);
  width: clamp(230px, 17vw, 290px);
  padding: 10px; border-radius: 24px;
  background: rgba(26, 25, 23, .55); border: 1px solid rgba(242, 237, 229, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: cardIn 1.3s var(--ease) calc(var(--intro) + 1.05s) both;
  transition: transform .6s var(--ease), border-color .3s;
}
.hero-card:hover { transform: translateY(-6px) rotate(-1deg); border-color: rgba(196, 99, 58, .6); }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) rotate(4deg); } }
.hero-card .compare { aspect-ratio: 4 / 5; border-radius: 16px; }
.hero-card .compare-before { animation: autoWipe 6s var(--ease-io) infinite alternate; }
@keyframes autoWipe { 0%, 18% { --pos: 88%; } 82%, 100% { --pos: 12%; } }
.hero-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px 4px; }
.hero-card-meta strong { display: block; font-size: .92rem; line-height: 1.25; margin-top: 3px; }
.hero-card-meta .mono { display: block; color: var(--copper); font-size: .62rem; }
.hero-card-meta .i { color: var(--stone); }
@media (max-width: 1279px) { .hero-card { display: none; } }
@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { position: relative; z-index: 2; background: var(--copper); color: var(--ink); overflow: hidden; padding-block: clamp(16px, 2vw, 26px); --skew: 0deg; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-group { display: flex; align-items: center; flex: none; transform: skewX(var(--skew)); }
.ticker-group span {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap;
  padding-inline: clamp(18px, 2.2vw, 36px);
}
.ticker-group span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ticker-group .i { font-size: clamp(1.4rem, 2.6vw, 2.4rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Statement / about
   ========================================================================== */
.statement .container { position: relative; z-index: 1; }
.statement-text {
  font-family: var(--f-display); font-stretch: 105%; font-weight: 600;
  font-size: clamp(1.75rem, 3.9vw, 4rem); line-height: 1.08; letter-spacing: -.025em;
  margin-top: 34px; max-width: 22em;
}
.statement-text .w { transition: opacity .2s linear; }
.statement-text em { font-family: var(--f-serif); font-weight: 400; color: var(--copper); }
.statement-aside { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-top: clamp(50px, 7vw, 100px); margin-left: auto; max-width: 980px; }
.statement-fig { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.statement-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.statement-fig figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(18, 17, 16, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.statement-copy { display: grid; gap: 26px; justify-items: start; color: var(--stone); font-size: 1.08rem; }
.statement-copy strong { color: var(--bone); }
@media (max-width: 760px) { .statement-aside { grid-template-columns: 1fr; } .statement-fig { max-width: 320px; } }

/* ==========================================================================
   Service panels (home)
   ========================================================================== */
.svc-panels { display: flex; gap: 12px; height: clamp(560px, 70vh, 720px); position: relative; z-index: 1; }
.svc-panel {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 0; min-width: 0;
  border-radius: var(--r);
  background: var(--ink-3);
  transition: flex-grow .9s var(--ease);
}
.svc-panel.is-active { flex-grow: 3.4; }
.svc-panel > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: grayscale(.85) brightness(.55);
  transform: scale(1.08);
  transition: filter .9s var(--ease), transform 1.4s var(--ease);
}
.svc-panel.is-active > img { filter: none; transform: scale(1); }
.svc-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 17, 16, .1) 20%, rgba(18, 17, 16, .88) 100%); }
.svc-num { position: absolute; top: 22px; left: 24px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; color: var(--copper); }
.svc-vtitle {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; white-space: nowrap;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: -.01em;
  transition: opacity .4s var(--ease);
}
.svc-panel.is-active .svc-vtitle { opacity: 0; }
.svc-content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 40px);
  display: grid; gap: 16px; justify-items: start;
  width: min(100%, 620px);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.svc-panel.is-active .svc-content { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.svc-content h3 { font-size: clamp(1.8rem, 2.8vw, 2.9rem); }
.svc-content h3 span { color: var(--copper); }
.svc-content p { color: rgba(242, 237, 229, .8); max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(242, 237, 229, .1); border: 1px solid rgba(242, 237, 229, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.svc-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 4px; }
.svc-go .i { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--copper); color: #fff; transition: transform .5s var(--ease); }
.svc-panel:hover .svc-go .i { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .svc-panels { flex-direction: column; height: auto; }
  .svc-panel, .svc-panel.is-active { flex: none; min-height: 460px; }
  .svc-panel > img { filter: none; transform: none; }
  .svc-vtitle { display: none; }
  .svc-content { opacity: 1; transform: none; pointer-events: auto; }
}

/* ==========================================================================
   Before / after compare
   ========================================================================== */
.compare {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r); background: var(--ink-3);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px;
  background: var(--bone); box-shadow: 0 0 24px rgba(0, 0, 0, .35);
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--bone); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.compare-handle .i { font-size: 1.3rem; stroke-width: 2; }
.compare:hover .compare-handle span, .compare.is-dragging .compare-handle span { transform: scale(1.1); background: var(--copper); color: #fff; }
.compare:has(.compare-range:focus-visible) .compare-handle span { outline: 3px solid var(--copper); outline-offset: 3px; }
.compare-tag {
  position: absolute; top: 16px; z-index: 3; pointer-events: none;
  padding: 7px 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(18, 17, 16, .72); color: var(--bone);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .3s;
}
.compare-tag.before { left: 16px; }
.compare-tag.after { right: 16px; background: var(--copper); color: #fff; }
.compare-range { position: absolute; inset: auto 0 0 0; opacity: 0; width: 100%; height: 1px; pointer-events: none; }
.hero-card .compare-tag { top: 10px; padding: 5px 9px; font-size: .58rem; }
.hero-card .compare-tag.before { left: 10px; }
.hero-card .compare-tag.after { right: 10px; }
.hero-card .compare-handle span { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.hero-card .compare-handle .i { font-size: .95rem; }
.hero-card .compare { cursor: pointer; }

/* home before/after section */
.ba-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 110px); align-items: center; position: relative; z-index: 1; }
.ba-copy { display: grid; gap: 26px; justify-items: start; }
.ba-copy .lead { max-width: 30em; }
.ba-list { width: 100%; border-top: 1px solid var(--line-l); counter-reset: ba; }
.ba-list button {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; text-align: left;
  padding: 16px 4px; border-bottom: 1px solid var(--line-l);
  font-weight: 700; font-size: 1.02rem; color: var(--stone-2);
  transition: color .3s, padding .5s var(--ease), background .3s;
}
.ba-list button .n { font-family: var(--f-mono); font-size: .74rem; font-weight: 500; }
.ba-list button .c { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-l); }
.ba-list button:hover { color: var(--ink); padding-left: 12px; }
.ba-list button[aria-selected="true"] { color: var(--ink); padding-left: 16px; background: linear-gradient(90deg, rgba(196, 99, 58, .1), transparent 70%); box-shadow: inset 3px 0 0 var(--copper); }
.ba-list button[aria-selected="true"] .n, .ba-list button[aria-selected="true"] .c { color: var(--copper); border-color: rgba(196, 99, 58, .4); }
.ba-stage { position: relative; }
.ba-stage .compare { aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; box-shadow: 0 60px 90px -50px rgba(18, 17, 16, .6); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.ba-stage .compare.is-swapping { opacity: 0; transform: scale(.97); }
.ba-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.ba-caption strong { font-size: 1rem; }
.ba-caption .mono { color: var(--stone-2); font-size: .68rem; }
.ba-stamp {
  position: absolute; bottom: 110px; left: -52px; z-index: 4; width: 118px; height: 118px;
  display: grid; place-items: center; border-radius: 50%; background: var(--copper); color: #fff;
  pointer-events: none; box-shadow: 0 20px 40px -14px rgba(147, 71, 42, .6);
}
.ba-stamp .ba-stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.ba-stamp text { font-family: var(--f-mono); font-size: 9.6px; letter-spacing: 2.6px; text-transform: uppercase; fill: #fff; }
.ba-stamp .i { font-size: 1.6rem; stroke-width: 2; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; gap: 24px; }
  .ba-copy { display: contents; }
  .ba-stage { order: 4; max-width: 460px; width: 100%; margin: 14px auto; }
  .ba-list { order: 5; }
  .ba-copy > .btn { order: 6; justify-self: start; }
  .ba-stamp { width: 92px; height: 92px; bottom: auto; top: -26px; left: auto; right: -10px; }
}

/* ==========================================================================
   Work reel (two opposing marquees of recent jobs)
   ========================================================================== */
.reel { position: relative; overflow: hidden; background: var(--ink-2); padding-block: clamp(70px, 8vw, 120px); display: grid; gap: clamp(10px, 1.2vw, 18px); }
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(18px, 3vw, 36px); }
.reel-head .h3 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); margin-top: 16px; }
.reel-row { overflow: hidden; }
.reel-track { display: flex; width: max-content; animation: marquee 75s linear infinite; }
.reel-row--rev .reel-track { animation-direction: reverse; animation-duration: 85s; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-group { display: flex; justify-content: space-around; gap: clamp(10px, 1.2vw, 18px); padding-right: clamp(10px, 1.2vw, 18px); min-width: 100vw; }
.reel-item { position: relative; flex: none; height: clamp(210px, 22vw, 340px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: var(--ink-3); }
.reel-item:nth-child(3n + 2) { aspect-ratio: 4 / 5; }
.reel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel-item:hover img { transform: scale(1.07); }
.reel-item figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 11px; border-radius: 999px; background: rgba(18, 17, 16, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 50px; }
.process-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-d); }
.process-line span { position: absolute; inset: 0; background: var(--copper); transform-origin: left; transform: scaleX(var(--p, 0)); }
html:not(.js) .process-line span, html.no-reveal .process-line span { --p: 1; }
.step { position: relative; display: grid; gap: 16px; align-content: start; }
.step::before { content: ''; position: absolute; top: -56px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--copper); }
.step-n { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(3.4rem, 5.6vw, 6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.2px rgba(242, 237, 229, .35); letter-spacing: -.03em; }
.step h3 { font-size: 1.35rem; font-weight: 700; font-family: var(--f-body); letter-spacing: -.01em; line-height: 1.25; }
.step p { color: var(--stone); font-size: .98rem; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 60px; }
  .process-line { display: none; }
  .step::before { display: none; }
}
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; row-gap: 44px; } }

/* ==========================================================================
   Commercial horizontal gallery
   ========================================================================== */
.commercial { position: relative; overflow: hidden; padding-block: clamp(90px, 10vw, 150px); }
.com-track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); align-items: stretch;
  padding-inline: var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.com-track::-webkit-scrollbar { display: none; }
.com-intro { flex: none; width: min(78vw, 470px); display: grid; align-content: space-between; gap: 30px; scroll-snap-align: start; padding-right: 20px; }
.com-intro .h2 { font-size: clamp(2.3rem, 4.4vw, 4.6rem); }
.com-card { flex: none; width: min(82vw, 560px); scroll-snap-align: start; display: grid; gap: 14px; }
.com-card figure { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3.2; background: var(--ink-3); }
.com-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.com-card:hover img { transform: scale(1); }
.com-card figcaption { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.com-card strong { font-size: 1.1rem; }
.com-card span { color: var(--stone); font-size: .9rem; }
.com-card .mono { color: var(--copper); }
.com-progress { margin: 36px var(--pad) 0; height: 1px; background: var(--line-d); position: relative; }
.com-progress span { position: absolute; inset: 0; background: var(--copper); transform-origin: left; transform: scaleX(var(--p, 0)); }
.commercial.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
.commercial.is-pinned .com-track { overflow: visible; scroll-snap-type: none; width: max-content; }
.commercial.is-pinned .com-card { width: clamp(380px, 36vw, 620px); }
.commercial.is-pinned .com-card figure { aspect-ratio: auto; height: 58vh; }

/* ==========================================================================
   Why us — bento
   ========================================================================== */
.bento { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(24px, 2.6vw, 38px); background: #fff; border: 1px solid var(--line-l); display: grid; align-content: space-between; gap: 30px; }
.tile .i { font-size: 1.9rem; color: var(--copper); stroke-width: 1.5; }
.tile h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.tile p { color: var(--stone-2); font-size: .98rem; margin-top: 10px; }
.tile-photo { grid-column: span 5; grid-row: span 2; padding: 0; background: var(--ink); color: var(--bone); min-height: 520px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tile-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18, 17, 16, .9)); }
.tile-photo .tile-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 2.6vw, 38px); display: grid; gap: 8px; }
.tile-photo .tile-cap strong { font-family: var(--f-display); font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: .95; letter-spacing: -.02em; }
.tile-photo .tile-cap strong em { font-family: var(--f-serif); text-transform: none; font-weight: 400; color: var(--copper); }
.tile-a { grid-column: span 4; }
.tile-b { grid-column: span 3; }
.tile-c { grid-column: span 3; }
.tile-d { grid-column: span 4; }
.tile-copper { background: var(--copper); color: #fff; border-color: transparent; }
.tile-copper .i, .tile-copper p { color: rgba(255, 255, 255, .88); }
.tile-dark { background: var(--ink); color: var(--bone); border-color: transparent; }
.tile-dark p { color: var(--stone); }
.tile-big { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 5vw, 5rem); line-height: .85; letter-spacing: -.03em; }
@media (max-width: 1100px) {
  .tile-photo { grid-column: span 12; grid-row: auto; min-height: 460px; }
  .tile-a, .tile-b, .tile-c, .tile-d { grid-column: span 6; }
}
@media (max-width: 620px) { .tile-a, .tile-b, .tile-c, .tile-d { grid-column: span 12; } }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 6vw, 100px); align-items: end; }
.reviews-stage { display: grid; }
.review { grid-area: 1 / 1; display: grid; gap: 34px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .7s; }
.review.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.stars { display: flex; gap: 4px; color: var(--copper); font-size: 1.15rem; }
.review blockquote {
  font-family: var(--f-serif); font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.015em;
}
.review blockquote::before { content: '“'; color: var(--copper); }
.review blockquote::after { content: '”'; color: var(--copper); }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-4); color: var(--bone); font-weight: 800; font-size: .95rem; border: 1px solid var(--line-d); }
.review figcaption strong { display: block; }
.review figcaption em { display: block; font-style: normal; color: var(--stone); font-size: .9rem; }
.reviews-side { display: grid; gap: 24px; }
.reviews-nav { display: flex; align-items: center; gap: 12px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background .3s, border-color .3s, color .3s; }
.round-btn:hover { background: var(--copper); border-color: var(--copper); color: #fff; }
.round-btn .i { font-size: 1.2rem; }
.reviews-count { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; margin-left: auto; }
.reviews-progress { height: 2px; background: var(--line-d); overflow: hidden; }
.reviews-progress span { display: block; height: 100%; background: var(--copper); transform-origin: left; transform: scaleX(0); }
.reviews-progress span.is-running { animation: prog var(--dur, 7s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.reviews-people { display: flex; }
.reviews-people button { width: 44px; height: 44px; margin-right: -8px; border-radius: 50%; background: var(--ink-3); border: 2px solid var(--ink); font-size: .72rem; font-weight: 800; color: var(--stone); transition: transform .3s var(--ease), background .3s, color .3s; }
.reviews-people button:hover { transform: translateY(-4px); }
.reviews-people button[aria-current="true"] { background: var(--copper); color: #fff; transform: translateY(-4px); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ==========================================================================
   Service areas
   ========================================================================== */
.areas-list { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 0; }
.areas-list li {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.3vw, 3.2rem); line-height: 1.12; letter-spacing: -.02em;
  color: rgba(18, 17, 16, .2); transition: color .35s;
}
.areas-list li::after { content: '/'; font-weight: 300; margin-inline: .35em; color: rgba(18, 17, 16, .14); }
.areas-list li:last-child::after { content: ''; }
.areas-list li:hover, .areas-list li.hl { color: var(--ink); }
.areas-list li.hl:hover { color: var(--copper); }
.areas-foot { position: relative; z-index: 1; margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line-l); padding-top: 28px; }
.areas-foot p { color: var(--stone-2); max-width: 36em; }

/* ==========================================================================
   Quote / form
   ========================================================================== */
.quote { position: relative; overflow: hidden; background: var(--ink-2); }
.quote::before {
  content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 99, 58, .28), transparent 65%); pointer-events: none;
}
.quote-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: clamp(40px, 6vw, 110px); align-items: start; }
.quote-copy { display: grid; gap: 28px; justify-items: start; }
.contact-cards { display: grid; gap: 10px; width: 100%; max-width: 460px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px;
  border: 1px solid var(--line-d); border-radius: 18px; background: rgba(242, 237, 229, .03);
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.contact-card:hover { border-color: rgba(196, 99, 58, .6); background: rgba(196, 99, 58, .08); transform: translateX(6px); }
.contact-card > .i { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--ink-4); color: var(--copper); }
.contact-card.wa > .i { background: #1f3b2a; color: #4ade80; }
.contact-card span { display: grid; line-height: 1.3; font-weight: 700; }
.contact-card em { font-style: normal; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.contact-card .arr { margin-left: auto; color: var(--stone); }
.next-steps { display: grid; gap: 0; width: 100%; max-width: 460px; border-top: 1px solid var(--line-d); }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-d); color: var(--stone); font-size: .96rem; }
.next-steps b { font-family: var(--f-mono); font-weight: 500; color: var(--copper); font-size: .78rem; padding-top: 3px; }

.quote-form {
  position: relative; display: grid; gap: 14px;
  padding: clamp(24px, 3vw, 44px);
  background: var(--bone); color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9);
}
.quote-form .form-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; margin-bottom: 4px; }
.quote-form legend { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 999px; border: 1px solid rgba(18, 17, 16, .18);
  font-size: .86rem; font-weight: 700; background: #fff;
  transition: background .25s, color .25s, border-color .25s;
}
.chip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; transition: background .25s, opacity .25s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--copper); border-color: var(--copper); opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px;
  border: 1px solid rgba(18, 17, 16, .16); background: #fff; color: var(--ink);
  font: 500 1rem/1.4 var(--f-body);
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field label {
  position: absolute; left: 17px; top: 17px; pointer-events: none;
  color: var(--stone-2); font-size: 1rem; font-weight: 500;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(196, 99, 58, .14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--copper); }
.field input:user-invalid { border-color: #b3261e; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--stone-2); text-align: center; }
.form-note a { font-weight: 700; color: var(--ink); border-bottom: 1px solid; }
.form-error { padding: 12px 14px; border-radius: 12px; background: #fbe4df; color: #8c1d12; font-size: .9rem; font-weight: 600; }
.quote-form.is-sending .btn .btn-ico .i { animation: spin 1s linear infinite; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; background: #0b0a0a; padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: clamp(50px, 7vw, 90px); border-bottom: 1px solid var(--line-d); }
.footer-cta .h2 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 60px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--stone); max-width: 26em; font-size: .95rem; }
.footer h4 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: rgba(242, 237, 229, .85); font-weight: 500; transition: color .25s, transform .35s var(--ease); }
.footer-links a:hover { color: var(--copper); transform: translateX(4px); }
.footer-links .i { color: var(--copper); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--copper); border-color: var(--copper); }
.socials .i { font-size: 1.15rem; }
.footer-areas { border-top: 1px solid var(--line-d); padding-top: 34px; }
.footer-areas p { color: var(--stone); font-size: .9rem; line-height: 1.9; max-width: 1100px; }
.footer-word {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: min(11.8vw, 174px); line-height: .78; letter-spacing: -.045em; white-space: nowrap;
  text-align: center; margin-top: 50px; margin-inline: -1vw;
  background: linear-gradient(180deg, rgba(242, 237, 229, .14), rgba(242, 237, 229, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); font-size: .82rem; color: var(--stone); }
.footer-bottom a:hover { color: var(--copper); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer { padding-bottom: 76px; } }

/* ---------- floating contact ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .55);
  transition: transform .4s var(--ease);
}
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab:hover { transform: scale(1.08); }
.fab .i { font-size: 1.7rem; }
.mbar { display: none; }
@media (max-width: 767px) {
  .fab { display: none; }
  .mbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 800;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px;
    border-radius: 20px; background: rgba(18, 17, 16, .88); border: 1px solid var(--line-d);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: transform .5s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(150%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; border-radius: 14px; font-size: .86rem; font-weight: 700; background: rgba(242, 237, 229, .06); }
  .mbar a .i { font-size: 1.1rem; }
  .mbar .wa .i { color: #4ade80; }
  .mbar .call .i { color: var(--copper-2); }
  .mbar .mbar-cta { background: var(--copper); color: #fff; }
}

/* ==========================================================================
   Inner-page hero (services / projects)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 78vh; min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 150px; }
.page-hero .hero-media img { object-position: 50% 50%; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(18, 17, 16, .7), rgba(18, 17, 16, .55) 40%, var(--ink) 100%); }
.crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 26px; animation: rise 1s var(--ease) calc(var(--intro) + .4s) both; }
.crumbs a:hover { color: var(--copper); }
.crumbs span[aria-current] { color: var(--bone); }
.page-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 8.8rem); line-height: .88; letter-spacing: -.035em; }
.page-title .mask-line > span { transform: translateY(112%); animation: lineUp 1.3s var(--ease) calc(var(--intro) + .4s + var(--i, 0) * .1s) forwards; }
.page-hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 40px; padding-block: 26px 36px; border-top: 1px solid var(--line-d); animation: rise 1s var(--ease) calc(var(--intro) + .8s) both; }
.page-hero-foot .lead { color: rgba(242, 237, 229, .75); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 999px; border: 1px solid rgba(242, 237, 229, .22); font-size: .88rem; font-weight: 700; background: rgba(18, 17, 16, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, border-color .3s; }
.jump a b { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; color: var(--copper); }
.jump a:hover { background: var(--copper); border-color: var(--copper); }
.jump a:hover b { color: #fff; }

/* ==========================================================================
   SERVICES page
   ========================================================================== */
.subnav {
  position: sticky; top: 86px; z-index: 50; height: 0;
  display: flex; justify-content: center; padding: 0 12px;
  pointer-events: none;
  transition: top .6s var(--ease);
}
.nav.is-hidden ~ main .subnav { top: 14px; }
.subnav-inner {
  pointer-events: none; opacity: 0; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
  display: flex; gap: 4px; padding: 5px; max-width: 100%; height: max-content; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: rgba(35, 33, 30, .88); border: 1px solid var(--line-d);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.subnav.is-on .subnav-inner { opacity: 1; transform: none; pointer-events: auto; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: rgba(242, 237, 229, .7); transition: background .3s, color .3s; }
.subnav a b { font-family: var(--f-mono); font-weight: 500; font-size: .68rem; color: var(--copper); }
.subnav a:hover { color: var(--bone); }
.subnav a.is-active { background: var(--bone); color: var(--ink); }
@media (max-width: 1100px) { .subnav { top: 82px; } }

.svc { position: relative; }
.svc + .svc { border-top: 1px solid var(--line-d); }
.svc.theme-light + .svc, .svc + .svc.theme-light { border-top: 0; }
.svc-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.svc-media { position: relative; display: grid; gap: 14px; align-content: start; }
.svc-fig { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-3); }
.svc-fig img { width: 100%; height: 100%; object-fit: cover; }
.svc-fig.tall { aspect-ratio: 4 / 5; }
.svc-fig.wide { aspect-ratio: 16 / 10; }
.svc-fig figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(18, 17, 16, .72); color: var(--bone); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.svc-fig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-fig-row .svc-fig { aspect-ratio: 1; }
.svc-fig-row--3 { grid-template-columns: repeat(3, 1fr); }
.svc-fig-row--3 .svc-fig { aspect-ratio: 3 / 4; }
.svc-fig-row--3 figcaption { left: 8px; bottom: 8px; padding: 5px 9px; font-size: .56rem; }
.svc-media .compare { aspect-ratio: 4 / 5; }
.svc-body { display: grid; gap: 30px; justify-items: start; }
.svc-body .h2 { font-size: clamp(2.3rem, 4.6vw, 4.8rem); }
.svc-num-big { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(5rem, 11vw, 11rem); line-height: .75; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px rgba(242, 237, 229, .22); }
.theme-light .svc-num-big { -webkit-text-stroke-color: rgba(18, 17, 16, .18); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.h-mini { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.checks, .warns { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.theme-light .checks, .theme-light .warns { border-color: var(--line-l); }
.checks li, .warns li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: .97rem; line-height: 1.45; }
.theme-light .checks li, .theme-light .warns li { border-color: var(--line-l); }
.checks .i { color: var(--copper); margin-top: 3px; stroke-width: 2.2; }
.warns .i { color: var(--stone); margin-top: 3px; }
.svc-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-media { order: 2; }
  .svc-num-big { display: none; }
}
@media (max-width: 600px) { .svc-cols { grid-template-columns: 1fr; } }

/* EIFS exploded-layer explorer */
.eifs { position: relative; z-index: 1; margin-top: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 60px); border-radius: 32px; background: var(--ink-2); border: 1px solid var(--line-d); overflow: hidden; }
.eifs-copy { display: grid; gap: 22px; }
.eifs-copy .h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.eifs-list { display: grid; border-top: 1px solid var(--line-d); }
.eifs-list li { border-bottom: 1px solid var(--line-d); }
.eifs-list button { width: 100%; display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 10px; text-align: left; padding: 14px 0; font-weight: 700; color: var(--stone); transition: color .3s; }
.eifs-list button b { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; color: var(--copper); }
.eifs-list button .sw { width: 18px; height: 18px; border-radius: 5px; background: var(--sw); border: 1px solid rgba(255, 255, 255, .2); }
.eifs-list button:hover, .eifs-list button[aria-expanded="true"] { color: var(--bone); }
.eifs-list p { display: grid; grid-template-rows: 0fr; color: var(--stone); font-size: .95rem; transition: grid-template-rows .5s var(--ease), padding .5s var(--ease); padding-left: 48px; }
.eifs-list p > span { overflow: hidden; }
.eifs-list button[aria-expanded="true"] + p { grid-template-rows: 1fr; padding-bottom: 16px; }
.eifs-stage { position: relative; height: clamp(360px, 42vw, 540px); perspective: 1800px; display: grid; place-items: center; }
.eifs-stack { position: relative; width: clamp(200px, 22vw, 300px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(40deg); transition: transform 1s var(--ease); }
.eifs-stage:hover .eifs-stack { transform: rotateX(54deg) rotateZ(34deg); }
.eifs-layer {
  --t: 8px; --gap: 16px;
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateZ(calc(var(--i) * var(--gap)));
  background: var(--face);
  transition: transform .9s var(--ease), opacity .5s, filter .5s;
  cursor: pointer;
}
.eifs.is-exploded .eifs-layer { --gap: clamp(46px, 5vw, 70px); }
.eifs-layer::before { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: var(--t); background: var(--edge, #555); transform-origin: bottom; transform: rotateX(90deg); filter: brightness(.72); }
.eifs-layer::after { content: ''; position: absolute; right: 0; top: 0; width: var(--t); height: 100%; background: var(--edge, #555); transform-origin: right; transform: rotateY(-90deg); filter: brightness(.55); }
.eifs-layer.is-dim { opacity: .28; }
.eifs-layer.is-on { transform: translateZ(calc(var(--i) * var(--gap) + 34px)); box-shadow: 0 0 0 2px var(--copper); }
.l0 { --i: 0; --t: 18px; --face: repeating-linear-gradient(118deg, #b9966a 0 7px, #a5814f 7px 10px, #c7a679 10px 17px, #9c7847 17px 19px); --edge: #8c6a3e; }
.l1 { --i: 1; --t: 4px; --face: linear-gradient(135deg, #3d7f78, #2b625c 60%, #3a7a73); --edge: #2b625c; }
.l2 { --i: 2; --t: 30px; --face: radial-gradient(circle at 30% 30%, #fff 0 1.2px, transparent 2.2px) 0 0 / 9px 9px, radial-gradient(circle at 70% 60%, #dcd8d0 0 1.4px, transparent 2.4px) 0 0 / 11px 11px, #efece6; --edge: #d8d3ca; }
.l3 { --i: 3; --t: 6px; --face: linear-gradient(90deg, rgba(255, 255, 255, .35) 1.5px, transparent 1.5px) 0 0 / 14px 14px, linear-gradient(rgba(255, 255, 255, .35) 1.5px, transparent 1.5px) 0 0 / 14px 14px, #8f887e; --edge: #7a746b; }
.l4 { --i: 4; --t: 5px; --face: radial-gradient(circle at 40% 40%, rgba(0, 0, 0, .12) 0 1px, transparent 1.6px) 0 0 / 5px 5px, radial-gradient(circle at 60% 70%, rgba(255, 255, 255, .5) 0 .8px, transparent 1.4px) 0 0 / 7px 7px, linear-gradient(135deg, #d9795a, #c4633a); --edge: #a24f2c; }
.eifs-hint { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
@media (max-width: 900px) { .eifs { grid-template-columns: 1fr; } .eifs-stage { order: -1; height: 380px; } }

/* porch & stairs — 4-stage repair animation */
.stair-fig { position: relative; border-radius: var(--r); background: var(--ink); border: 1px solid var(--line-d); padding: clamp(16px, 2vw, 26px); display: grid; gap: 16px; }
.stair-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stair-head .mono { color: var(--stone); }
.stair-head strong { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--copper-2); }
.stair-fig svg { width: 100%; height: auto; border-radius: 14px; background: #151412; }
.stair-fig svg text { font-family: var(--f-mono); letter-spacing: .12em; }
.stair-fig [data-s] { opacity: 0; transition: opacity .8s var(--ease); }
.stair-fig[data-stage="1"] [data-s~="1"], .stair-fig[data-stage="2"] [data-s~="2"],
.stair-fig[data-stage="3"] [data-s~="3"], .stair-fig[data-stage="4"] [data-s~="4"] { opacity: 1; }
.stair-fig .dust circle { animation: dust 2.4s ease-in-out infinite; }
.stair-fig .dust circle:nth-child(2n) { animation-delay: .7s; }
.stair-fig .dust circle:nth-child(3n) { animation-delay: 1.3s; }
@keyframes dust { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
.stair-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stair-tabs button { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-d); font-size: .84rem; font-weight: 700; color: var(--stone); transition: background .3s, color .3s, border-color .3s; }
.stair-tabs button b { font-family: var(--f-mono); font-weight: 500; font-size: .66rem; color: var(--copper); }
.stair-tabs button:hover { color: var(--bone); border-color: rgba(242, 237, 229, .3); }
.stair-tabs button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.stair-desc { color: var(--stone); font-size: .95rem; min-height: 3.2em; }
.stair-bar { height: 2px; background: var(--line-d); overflow: hidden; }
.stair-bar span { display: block; height: 100%; background: var(--copper); transform-origin: left; transform: scaleX(.25); transition: transform .8s var(--ease); }
.stair-fig[data-stage="2"] .stair-bar span { transform: scaleX(.5); }
.stair-fig[data-stage="3"] .stair-bar span { transform: scaleX(.75); }
.stair-fig[data-stage="4"] .stair-bar span { transform: scaleX(1); }
@media (max-width: 480px) { .stair-tabs { grid-template-columns: 1fr 1fr; } }

/* colour visualiser */
.visual { border-radius: var(--r); background: var(--ink); color: var(--bone); border: 1px solid var(--line-d); padding: clamp(16px, 2vw, 26px); display: grid; gap: 16px; }
.visual-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.visual-head strong { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--copper-2); }
.visual svg { width: 100%; height: auto; border-radius: 14px; }
.visual svg .wall { fill: var(--wall, #8a857d); transition: fill .7s var(--ease); }
.visual svg .trim { fill: var(--trim, #f2ede5); transition: fill .7s var(--ease); }
.visual svg .band { fill: var(--band, #3a3835); transition: fill .7s var(--ease); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line-d); font-size: .8rem; font-weight: 700; transition: border-color .3s, background .3s; }
.swatch i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.swatch:hover { border-color: rgba(242, 237, 229, .4); }
.swatch[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.visual-note { font-size: .8rem; color: var(--stone); }

/* FAQ */
.faq-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); }
.faq-list { border-top: 1px solid var(--line-d); }
.faq-list details { border-bottom: 1px solid var(--line-d); }
.theme-light .faq-list, .theme-light .faq-list details, .theme-light .faq-list summary .pm { border-color: var(--line-l); }
.theme-light .faq-list details p { color: var(--stone-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-list summary:hover { color: var(--copper-2); }
.faq-list details[open] summary .pm { transform: rotate(45deg); background: var(--copper); color: #fff; border-color: var(--copper); }
.faq-list details p { padding: 0 60px 26px 0; color: var(--stone); }
@media (max-width: 600px) { .faq-list details p { padding-right: 0; } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROJECTS page
   ========================================================================== */
.filters { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-l); font-size: .9rem; font-weight: 700; background: #fff; transition: background .3s, color .3s, border-color .3s; }
.filter sup { font-family: var(--f-mono); font-size: .66rem; color: var(--copper); top: 0; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.filter[aria-pressed="true"] sup { color: var(--copper-2); }

.ba-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ba-card { display: grid; gap: 14px; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ba-card .compare { aspect-ratio: 9 / 15; }
.ba-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ba-card-meta strong { font-size: 1.02rem; line-height: 1.3; }
.ba-card-meta .mono { color: var(--copper); font-size: .64rem; white-space: nowrap; }
.is-filtered-out { display: none !important; }

.gallery { position: relative; z-index: 1; columns: 3 320px; column-gap: clamp(14px, 1.6vw, 22px); }
.g-item { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--r); background: var(--ink-3); text-align: left; }
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 17, 16, .85)); opacity: .9; transition: opacity .4s; }
.g-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; color: var(--bone); }
.g-cap strong { font-size: 1rem; line-height: 1.25; }
.g-cap .mono { color: var(--copper-2); font-size: .62rem; display: block; margin-bottom: 4px; }
.g-cap .i { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(242, 237, 229, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, transform .5s var(--ease); }
.g-item:hover .g-cap .i { background: var(--copper); transform: rotate(-45deg); }
.empty-note { display: none; padding: 40px; text-align: center; border: 1px dashed var(--line-l); border-radius: var(--r); color: var(--stone-2); }
.empty-note.show { display: block; }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(11, 10, 10, .96); color: var(--bone); }
.lightbox::backdrop { background: rgba(11, 10, 10, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); }
.lb-count { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 var(--pad); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; animation: lbImg .5s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom)); }
.lb-cap strong { display: block; }
.lb-cap span { color: var(--stone); font-size: .9rem; }
.lb-nav { display: flex; gap: 10px; }

/* ==========================================================================
   THANK-YOU page
   ========================================================================== */
.ty { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 130px var(--pad) 80px; position: relative; overflow: hidden; }
.ty::before { content: ''; position: absolute; width: 1100px; height: 1100px; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(196, 99, 58, .22), transparent 62%); pointer-events: none; }
.ty-card { position: relative; z-index: 1; width: min(100%, 860px); text-align: center; display: grid; gap: 28px; justify-items: center; }
.ty-check { width: 116px; height: 116px; }
.ty-check circle { stroke: var(--copper); stroke-width: 2; fill: none; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s var(--ease) calc(var(--intro) + .1s) forwards; }
.ty-check path { stroke: var(--bone); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s var(--ease) calc(var(--intro) + .8s) forwards; }
.ty-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.03em; }
.ty-title .mask-line > span { transform: translateY(112%); animation: lineUp 1.2s var(--ease) calc(var(--intro) + .5s + var(--i, 0) * .1s) forwards; }
.ty .lead { margin-inline: auto; text-align: center; animation: rise 1s var(--ease) calc(var(--intro) + .9s) both; }
.ty-steps { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; animation: rise 1s var(--ease) calc(var(--intro) + 1.05s) both; }
.ty-steps li { padding: 22px; border-radius: 18px; border: 1px solid var(--line-d); background: rgba(242, 237, 229, .03); display: grid; gap: 8px; }
.ty-steps b { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; color: var(--copper); letter-spacing: .1em; }
.ty-steps strong { font-size: 1.02rem; }
.ty-steps span { color: var(--stone); font-size: .9rem; }
.ty-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; animation: rise 1s var(--ease) calc(var(--intro) + 1.15s) both; }
.ty-help { color: var(--stone); font-size: .95rem; animation: rise 1s var(--ease) calc(var(--intro) + 1.25s) both; }
.ty-help a { color: var(--bone); font-weight: 700; border-bottom: 1px solid var(--copper); }
@media (max-width: 700px) { .ty-steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Lenis
   ========================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  :root, html.is-loading, html.is-entering { --intro: 0s; }
  html.is-loading .preloader, .curtain { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .ticker-track, .reel-track { animation: none; }
  .reel-row { overflow-x: auto; scrollbar-width: none; }
  .hero-card .compare-before { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal-lines] .mask-line > span { transform: none; }
}
