/* Best Design Cabinets & Carpentry — site styles */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette taken from the logo: black, white and saw-blade red (the logo itself only goes on dark surfaces). */
  --ivory: #f5f4f1;
  --paper: #fcfcfb;
  --sand: #eae8e3;
  --ink: #111111;
  --ink-2: #4a4947;
  --muted: #7d7b77;
  --line: rgba(17, 17, 17, .14);
  --accent: #c00000;
  --accent-l: #ff4d4d;
  --night: #0e0e0e;
  --white: #fff;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 11vw, 160px);
  --header-h: 100px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- type ---------- */
.h1, .h2, .statement { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: 1; }
.h1--xl { font-size: clamp(2.9rem, 8.2vw, 7rem); line-height: .96; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); line-height: 1.04; }
.h1 em, .h2 em, .statement em { color: var(--accent); }
.section--dark .h2 em, .cta em { color: var(--accent-l); }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light, .section--dark .eyebrow, .cta .eyebrow { color: var(--accent-l); }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-2); max-width: 54ch; }
.statement { font-size: clamp(1.75rem, 3.9vw, 3.4rem); line-height: 1.14; max-width: 24ch; max-width: min(100%, 22em); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 28px; border: 1px solid transparent;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.btn .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .7rem; }
.btn--solid { background: var(--accent); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--ghost { border-color: var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.link { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid currentColor; }
.link .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
@media (hover: hover) {
  .btn--solid:hover { background: var(--ink); }
  .btn--dark:hover { background: var(--accent); }
  .btn--light:hover { background: var(--accent); color: #fff; }
  .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .btn--outline:hover { background: var(--ink); color: #fff; }
  .btn:hover .i, .link:hover .i { transform: translateX(5px); }
}
.btn:active { transform: scale(.985); }

/* ---------- language switch ---------- */
.lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.lang span { opacity: .55; transition: opacity .3s; }
.lang span.is-on { opacity: 1; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lang i { width: 1px; height: 12px; background: currentColor; opacity: .4; }
@media (hover: hover) { .lang:hover span { opacity: 1; } }
/* Spanish labels run longer: tighten the desktop bar so it never overflows. */
html[lang="es"] .nav ul { gap: clamp(12px, 1.3vw, 28px); }
html[lang="es"] .nav a { letter-spacing: .1em; }
html[lang="es"] .header__cta { gap: 16px; }
@media (max-width: 1720px) { html[lang="es"] .header__phone { display: none; } }
@media (max-width: 1660px) { .header__phone span { display: none; } }
.lang--mobile { display: none; position: relative; z-index: 2; margin-left: auto; }
@media (max-width: 1560px) { .lang--mobile { display: inline-flex; } .header__in { gap: 10px; } }
@media (max-width: 600px) { .lang--mobile { flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; padding: 0; font-size: .6rem; letter-spacing: .1em; } .lang--mobile i { display: none; } .lang--mobile span.is-on { padding-bottom: 1px; } }

/* ---------- app buttons (install / notifications) ---------- */
[hidden] { display: none !important; }
.header__app { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; opacity: .85; transition: opacity .3s, background-color .3s, color .3s; }
.header__app .i { width: 18px; height: 18px; }
@media (hover: hover) { .header__app:hover { opacity: 1; background: var(--accent); border-color: var(--accent); color: #fff; } }
.menu__app .btn.is-on, .footer__app button.is-on { opacity: .7; }
.menu__app:has(> [hidden]) { grid-template-columns: 1fr; }
.footer__app { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__app button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.footer__app .i { width: 16px; height: 16px; }
@media (hover: hover) { .footer__app button:hover { background: #fff; color: var(--ink); border-color: #fff; } }
.sheet { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(8, 8, 8, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.sheet.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.sheet__card { position: relative; width: min(440px, 100%); background: var(--paper); color: var(--ink); padding: clamp(28px, 6vw, 44px); transform: translateY(16px); transition: transform .45s var(--ease); }
.sheet.is-open .sheet__card { transform: none; }
.sheet__card img { width: 64px; height: 64px; border: 1px solid var(--line); margin-bottom: 20px; }
.sheet__card h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.1; margin-bottom: 16px; }
.sheet__card ol { margin: 0; padding: 0; list-style: none; counter-reset: n; border-top: 1px solid var(--line); }
.sheet__card li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.sheet__card li::before { content: "0" counter(n); font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--accent); padding-top: 4px; }
.sheet__x { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; display: grid; place-items: center; }

/* ---------- instant estimate (modal wizard) ---------- */
.est-open body { overflow: hidden; }
.est { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 20px; background: rgba(6, 6, 6, .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s; }
.est.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.est__card { position: relative; width: min(680px, 100%); height: min(660px, 100%); display: flex; flex-direction: column; overflow: hidden; color: #fff; background-color: var(--night); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 120px -20px #000, 0 0 60px -30px rgba(255, 77, 77, .7); transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); }
.est.is-open .est__card { transform: none; }
.est__card::before { content: ""; position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-l), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: est-sweep 2.4s linear infinite; }
.est__c { position: absolute; z-index: 4; width: 16px; height: 16px; margin: 10px; border: 0 solid rgba(255, 255, 255, .45); pointer-events: none; }
.est__c--tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.est__c--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.est__c--bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.est__c--br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.est__x { position: absolute; z-index: 5; top: 12px; right: 12px; width: 48px; height: 48px; display: grid; place-items: center; opacity: .75; transition: opacity .3s; }
.est__x:hover { opacity: 1; }
.est__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.est__head { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 14px 16px; padding: 22px clamp(22px, 5vw, 44px) 0; padding-right: 72px; }
.est__brand { grid-column: 1 / -1; margin-bottom: 4px; }
.est__brand .logo { --h: 48px; --f: 8px; vertical-align: top; }
.est__kicker { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-l); }
.est__count { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.est__count b { color: #fff; font-weight: 600; }
.est__meter { grid-column: 1 / -1; height: 2px; margin-right: -28px; background: rgba(255, 255, 255, .14); }
.est__meter i { display: block; height: 100%; width: 33.34%; background: var(--accent-l); box-shadow: 0 0 12px rgba(255, 77, 77, .9); transition: width .6s var(--ease); }
.est[data-step="1"] .est__meter i { width: 66.67%; }
.est[data-step="2"] .est__meter i { width: 100%; }
.est__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 4vw, 34px) clamp(22px, 5vw, 44px) 12px; }
.est__step { display: none; }
.est__step.is-on { display: block; }
.est__step.is-on > * { animation: est-in .5s var(--ease) both; }
.est__step.is-on > :nth-child(2) { animation-delay: .06s; }
.est__step.is-on > :nth-child(3) { animation-delay: .12s; }
.est__step.is-on > :nth-child(4) { animation-delay: .18s; }
.est__step.is-on > :nth-child(n + 5) { animation-delay: .24s; }
.est__q { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 5.4vw, 2.7rem); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 22px; }
.est__q em { color: var(--accent-l); }
.est__q:focus { outline: 0; }
.est__label, .est__field > span { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin: 20px 0 10px; }
.est__q + .est__label, .est__q + .est__field > span { margin-top: 0; }
.est__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.est__chips--city, .est__chips--timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.est__chip { min-height: 58px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .03); text-align: left; font-size: .88rem; font-weight: 500; line-height: 1.25; transition: background-color .25s, border-color .25s, box-shadow .25s; touch-action: manipulation; }
.est__chips--city .est__chip, .est__chips--timeline .est__chip { min-height: 48px; padding: 6px 10px; font-size: .8rem; text-align: center; }
.est__chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent-l); box-shadow: 0 0 22px -6px rgba(255, 77, 77, .9); }
@media (hover: hover) { .est__chip:hover { border-color: #fff; } }
.est__field { display: block; }
.est__field input, .est__field textarea { display: block; width: 100%; min-height: 54px; padding: 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 0; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .25s; }
.est__field textarea { resize: none; min-height: 84px; }
.est__field ::placeholder { color: rgba(255, 255, 255, .38); opacity: 1; }
.est__field input:focus, .est__field textarea:focus { outline: 0; border-color: var(--accent-l); box-shadow: 0 0 0 1px var(--accent-l); }
.est__field.has-error input { border-color: var(--accent-l); }
.est__field.has-error > span { color: var(--accent-l); }
.est__error { margin-top: 16px; color: #ff8a8a; font-size: .9rem; }
.est__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(22px, 5vw, 44px) calc(20px + var(--safe-b)); border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(14, 14, 14, .9); }
.est__back { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 6px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); transition: color .3s; }
.est__back[hidden] { display: none; }
.est__back:hover { color: #fff; }
.est__back .i { width: 16px; height: 16px; }
.est__next { margin-left: auto; }
.est__next-send, .est[data-step="2"] .est__next-go { display: none; }
.est[data-step="2"] .est__next-send { display: inline; }
.est__panel { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px clamp(22px, 6vw, 56px); text-align: center; background: inherit; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.est.is-boot .est__boot, .est.is-proc .est__proc, .est.is-done .est__done { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.est__boot p { font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.est__boot p::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; background: var(--accent-l); animation: pre-blink .9s steps(2) infinite; }
.est__spin { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); border-top-color: var(--accent-l); box-shadow: 0 0 30px -8px rgba(255, 77, 77, .9); animation: est-spin .8s linear infinite; }
.est__dial { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.est__dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 8px rgba(255, 77, 77, .7)); }
.est__dial circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.est__dial circle + circle { stroke: var(--accent-l); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; }
.est__dial span { font-family: var(--serif); font-size: 3rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.est__lines { display: grid; gap: 12px; text-align: left; }
.est__lines li { display: flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .32); transition: color .3s; }
.est__lines li::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid currentColor; transition: background-color .3s; }
.est__lines li.is-on { color: #fff; }
.est__lines li.is-on::before { background: var(--accent-l); border-color: var(--accent-l); animation: pre-blink .9s steps(2) infinite; }
.est__lines li.is-ok { color: rgba(255, 255, 255, .7); }
.est__lines li.is-ok::before { background: var(--accent-l); border-color: var(--accent-l); animation: none; }
.est__done { gap: 14px; }
.est__done .est__q { margin-bottom: 0; }
.est__done > p { color: rgba(255, 255, 255, .72); max-width: 42ch; }
.est__done:focus { outline: 0; }
.est__check { flex: none; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 34px -4px rgba(255, 77, 77, .9); margin-bottom: 6px; }
.est.is-done .est__check { animation: est-pop .6s var(--ease) both; }
.est__summary { font-size: .68rem !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e6b48c !important; }
.est__summary:empty { display: none; }
.est__done-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
@keyframes est-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes est-spin { to { transform: rotate(360deg); } }
@keyframes est-sweep { from { background-position: -100% 0; } to { background-position: 300% 0; } }
@keyframes est-pop { from { opacity: 0; transform: scale(.6); } }
@media (max-width: 640px) {
  /* a floating card, never the whole screen: the page stays visible around it */
  .est { padding: max(28px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom)); }
  .est__card { height: auto; min-height: min(430px, 100%); max-height: min(600px, 100%); }
  .est__head { padding-top: 18px; }
  .est__brand .logo { --h: 42px; --f: 7.5px; }
  .est__q { margin-bottom: 16px; }
  .est__chip { min-height: 50px; }
  .est__nav { padding-top: 12px; padding-bottom: 14px; }
  .est__chips { grid-template-columns: 1fr 1fr; }
  .est__chips--timeline { grid-template-columns: 1fr 1fr; }
  .est__next { flex: 1; }
}

/* ---------- app home (start screen of the installed app: one screen, no scroll) ---------- */
body.is-app { overflow: hidden; background: var(--night); }
.apphome { position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: #fff; background: var(--night); isolation: isolate; overflow: hidden; }
.apphome__media { position: absolute; inset: 0; z-index: -1; }
.apphome__media img { width: 100%; height: 100%; object-fit: cover; }
.apphome__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, .82) 0%, rgba(14, 14, 14, .5) 30%, rgba(14, 14, 14, .88) 68%, var(--night) 100%); }
.apphome__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 14px) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.apphome__top .logo { --h: clamp(54px, 9vh, 76px); --f: clamp(8px, 1.3vh, 11px); }
.apphome__tools { display: flex; align-items: center; gap: 10px; }
.apphome__tools .lang { display: inline-flex; }
.apphome__tools .header__app.is-on { color: var(--accent-l); }
.apphome__body { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; width: min(560px, 100%); margin: 0 auto; padding: 16px 20px clamp(16px, 3vh, 32px); }
.apphome__body > * { animation: est-in .7s var(--ease) both; }
.apphome__body > :nth-child(2) { animation-delay: .08s; }
.apphome__body > :nth-child(3) { animation-delay: .16s; }
.apphome__body > :nth-child(4) { animation-delay: .24s; }
.apphome__body > :nth-child(5) { animation-delay: .32s; }
.apphome__h { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 7.2vh, 4rem); line-height: 1; letter-spacing: -.01em; margin: clamp(10px, 2vh, 18px) 0; }
.apphome__h em { display: block; color: var(--accent-l); }
.apphome__lead { color: rgba(255, 255, 255, .78); font-size: clamp(.92rem, 2.1vh, 1.05rem); max-width: 36ch; }
.apphome__go { width: 100%; min-height: clamp(58px, 9vh, 72px); margin-top: clamp(16px, 3.4vh, 30px); font-size: .82rem; box-shadow: 0 0 40px -8px rgba(255, 77, 77, .75); }
.apphome__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.apphome__quick a, .apphome__quick button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 6px; color: #fff; min-height: clamp(48px, 7.4vh, 58px); border: 1px solid rgba(255, 255, 255, .3); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.apphome__quick .i { width: 18px; height: 18px; color: var(--accent-l); }
.apphome__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(14, 14, 14, .92); padding-bottom: var(--safe-b); }
.apphome__tabs a { display: grid; place-items: center; min-height: 58px; padding: 0 4px; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); text-align: center; transition: color .3s; }
.apphome__tabs a + a { border-left: 1px solid rgba(255, 255, 255, .1); }
@media (hover: hover) { .apphome__tabs a:hover, .apphome__quick a:hover { color: #fff; background: rgba(255, 255, 255, .08); } }
@media (max-height: 560px) { .apphome .eyebrow, .apphome__lead { display: none; } }

/* ---------- chat assistant ---------- */
.chat { --chat-gap: 24px; }
.chat__fab { position: fixed; right: 24px; bottom: 96px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--night); border: 1px solid #e6b48c; box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 26px -8px rgba(255, 77, 77, .9); transition: transform .4s var(--ease), background-color .3s; }
.chat__fab::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-l); border: 2px solid var(--night); }
.chat__fab .i { grid-area: 1 / 1; width: 26px; height: 26px; transition: opacity .25s, transform .35s var(--ease); }
.chat__fab .i + .i { opacity: 0; transform: rotate(-45deg); }
.chat.is-open .chat__fab .i { opacity: 0; transform: rotate(45deg); }
.chat.is-open .chat__fab .i + .i { opacity: 1; transform: none; }
.chat.is-open .chat__fab::after { display: none; }
@media (hover: hover) { .chat__fab:hover { transform: scale(1.07); } }
.chat__panel { position: fixed; z-index: 300; right: 24px; bottom: 166px; width: 384px; height: min(580px, calc(100vh - 190px)); height: min(580px, calc(100dvh - 190px)); display: flex; flex-direction: column; overflow: hidden; color: #fff; background: var(--night); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 90px -20px #000, 0 0 60px -34px rgba(255, 77, 77, .8); visibility: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.chat.is-open .chat__panel { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(90deg, rgba(255, 77, 77, .14), transparent 70%); }
.chat__head img { width: 40px; height: auto; flex: none; }
.chat__head div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.chat__head strong { font-size: .92rem; font-weight: 600; }
.chat__head span { display: flex; align-items: center; gap: 7px; font-size: .68rem; color: rgba(255, 255, 255, .62); letter-spacing: .04em; }
.chat__head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; flex: none; }
.chat__x { width: 44px; height: 44px; display: grid; place-items: center; flex: none; opacity: .75; }
.chat__x:hover { opacity: 1; }
.chat__x .i { width: 20px; height: 20px; }
.chat__log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 16px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.chat__msg { max-width: 86%; padding: 11px 14px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: est-in .35s var(--ease) both; }
.chat__msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 2px 14px 14px 14px; }
.chat__msg--user { align-self: flex-end; background: var(--accent); border-radius: 14px 2px 14px 14px; }
.chat__msg--note { align-self: center; max-width: 100%; padding: 4px 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #e6b48c; text-align: center; }
.chat__typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: chat-dot 1.1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat__quick[hidden] { display: none; }
.chat__quick button { min-height: 36px; padding: 6px 12px; border: 1px solid rgba(230, 180, 140, .55); border-radius: 999px; font-size: .78rem; color: #f1d2b8; text-align: left; transition: background-color .25s, color .25s; }
@media (hover: hover) { .chat__quick button:hover { background: rgba(230, 180, 140, .16); color: #fff; } }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.chat__form textarea { flex: 1; min-width: 0; max-height: 112px; min-height: 46px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 0; background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 16px; line-height: 1.35; resize: none; -webkit-appearance: none; appearance: none; }
.chat__form textarea::placeholder { color: rgba(255, 255, 255, .4); opacity: 1; }
.chat__form textarea:focus { outline: 0; border-color: var(--accent-l); }
.chat__form button { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: var(--accent); color: #fff; transition: opacity .25s; }
.chat__form button .i { width: 20px; height: 20px; }
.chat.is-busy .chat__form button { opacity: .45; pointer-events: none; }
.chat__note { padding: 0 16px calc(10px + var(--safe-b)); font-size: .68rem; color: rgba(255, 255, 255, .5); text-align: center; }
.chat__note a { color: rgba(255, 255, 255, .8); border-bottom: 1px solid currentColor; white-space: nowrap; }
.chat__go { align-self: flex-start; margin-top: -2px; min-height: 40px; padding: 0 16px; background: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; animation: est-in .35s var(--ease) both; }
.est-open .chat__fab, .menu-open .chat__fab { visibility: hidden; }
body.is-app .chat__fab { display: none; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 760px) {
  /* above the bottom bar (call / WhatsApp / estimate), which replaces the round WhatsApp button on phones */
  .chat__fab { right: 14px; bottom: calc(58px + var(--safe-b) + 14px); width: 54px; height: 54px; }
  /* a floating card, sized by js/site.js to the visible area so the keyboard never covers the input */
  .chat__panel { left: 10px; right: 10px; width: auto; top: var(--chat-top, max(16px, env(safe-area-inset-top))); bottom: auto; height: var(--chat-h, calc(100dvh - 32px)); max-height: 640px; transform-origin: bottom center; }
  .chat.is-open .chat__fab { visibility: hidden; }
  .chat__note { padding-bottom: 10px; }
}
@media print { .chat { display: none; } }

/* ---------- social ---------- */
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #fff; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.social .i { width: 19px; height: 19px; }
.social--center { justify-content: center; margin-top: 8px; }
@media (hover: hover) { .social a:hover { background: #fff; color: var(--ink); border-color: #fff; } }
.footer .social { margin-top: 24px; }

/* ---------- logo ---------- */
.logo { --h: 76px; --f: 15px; display: inline-flex; align-items: center; gap: calc(var(--h) * .15); flex: none; }
.logo--full { --h: 150px; --f: 12.5px; flex-direction: column; gap: 18px; text-align: center; }
.logo__mark { height: var(--h); width: auto; }
.logo__name { display: grid; gap: .55em; font: 600 var(--f) / 1 var(--sans); letter-spacing: .1em; white-space: nowrap; }
.logo__name::before, .logo__name::after { background: linear-gradient(90deg, #b9774a, #e6b48c 45%, #b9774a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__name::before { content: "BEST DESIGN KITCHEN"; font-weight: 700; }
.logo__name::after { content: "CABINETS & CARPENTRY"; }
.logo--full .logo__name { letter-spacing: .2em; padding-left: .2em; }
@media (max-width: 1320px) { .header .logo { --h: 70px; --f: 12.5px; } }
@media (max-width: 600px) { .header .logo { --h: 54px; --f: 10.5px; gap: 8px; } }
@media (max-width: 380px) { .header .logo { --h: 48px; --f: 9.5px; gap: 7px; } }
@media (max-width: 340px) { .header .logo { --h: 40px; --f: 8px; gap: 6px; } .lang--mobile { font-size: .54rem; } }

/* ---------- preloader ---------- */
.pre { display: none; }
.js.is-loading body { overflow: hidden; }
/* hero entrance waits for the doors: the animation is only attached once they start to open */
.js.is-loading:not(.pre-open) .hero__anim, .js.is-loading:not(.pre-open) .hero__media img { animation: none; }
.js.is-loading .pre { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: #fff; }
.pre__door { position: absolute; top: 0; bottom: 0; width: 50.2%; background-color: var(--night); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; transition: transform .9s cubic-bezier(.76, 0, .18, 1); will-change: transform; }
.pre__door--l { left: 0; border-right: 1px solid rgba(255, 77, 77, .0); background-position: right top; }
.pre__door--r { right: 0; background-position: left top; }
.pre__door--l::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: linear-gradient(transparent, var(--accent-l), transparent); opacity: 0; transition: opacity .3s; }
.pre__in { --w: min(180px, 42vw); --f: 12.5px; position: relative; width: min(440px, 78vw); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.pre__in > .logo__name { justify-items: center; letter-spacing: .2em; padding-left: .2em; margin: 20px 0 clamp(36px, 7vh, 64px); animation: pre-in 1s var(--ease) .15s both; }
.pre__logo { position: relative; overflow: hidden; width: var(--w); margin-inline: auto; }
.pre__logo img { width: 100%; height: auto; animation: pre-in 1s var(--ease) both; }
.pre__logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); background-size: 300% 100%; background-position: 150% 0; -webkit-mask: url("../img/logo-mark.png") center / 100% 100% no-repeat; mask: url("../img/logo-mark.png") center / 100% 100% no-repeat; mix-blend-mode: overlay; animation: pre-scan 2s cubic-bezier(.6, 0, .3, 1) .4s infinite; }
.pre__row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.pre__status { position: relative; height: 1.4em; flex: 1; font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.pre__status span { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease); white-space: nowrap; }
.pre__status span.is-on { opacity: 1; transform: none; }
.pre__status span.is-on::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; background: var(--accent-l); animation: pre-blink .9s steps(2) infinite; }
.pre__pct { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: .8; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.pre__pct b { font-weight: 400; }
.pre__bar { position: relative; height: 2px; background: rgba(255, 255, 255, .14); }
.pre__bar i { position: absolute; inset: 0; background: var(--accent-l); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px rgba(255, 77, 77, .9), 0 0 2px #fff; }
.pre__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: .58rem; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .34); font-variant-numeric: tabular-nums; }
.pre__ticks span { position: relative; padding-top: 8px; }
.pre__ticks span::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 5px; background: currentColor; }
.pre__ticks span:first-child::before { left: 0; }
.pre__ticks span:last-child::before { left: auto; right: 0; }
.pre__c { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, .4); margin: max(22px, env(safe-area-inset-top)) 22px; transition: opacity .3s; }
.pre__c--tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.pre__c--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.pre__c--bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.pre__c--br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
/* finished: content lifts away and the two panels open like cabinet doors */
.pre.is-done .pre__in { opacity: 0; transform: scale(.97); }
.pre.is-done .pre__c { opacity: 0; }
.pre.is-done .pre__door--l::after { opacity: 1; }
.pre.is-open .pre__door--l { transform: translateX(-101%); }
.pre.is-open .pre__door--r { transform: translateX(101%); }
@keyframes pre-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes pre-scan { to { background-position: -50% 0; } }
@keyframes pre-blink { 50% { opacity: 0; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
}
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1760px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.header.is-solid { background: rgba(14, 14, 14, .94); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.header__logo { position: relative; z-index: 2; flex: none; }
.nav ul { display: flex; gap: clamp(14px, 1.7vw, 34px); }
.nav a { position: relative; display: block; padding: 10px 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.header__cta { display: flex; align-items: center; gap: 22px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.header__phone .i { width: 18px; height: 18px; }
.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 28px; }
.menu-open .burger span:first-child { top: 23.500px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23.500px; transform: rotate(-45deg); }

/* The desktop bar (logo with its name, seven links, language, phone and button) needs about 1560px;
   below that the menu button takes over so nothing ever overlaps. */
@media (max-width: 1560px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  :root { --header-h: 88px; }
}

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(24px + var(--safe-b));
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.menu__nav li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .menu__nav li { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * .045s); }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.1; }
.menu__nav a em { font-family: var(--sans); font-style: normal; font-size: .68rem; letter-spacing: .14em; color: var(--accent-l); }
.menu__nav a[aria-current] { color: var(--accent-l); }
.menu__foot { display: grid; gap: 10px; }
.menu__foot .btn { width: 100%; }
.menu__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu__row .btn { padding: 0 12px; }
@media (min-width: 1561px) { .menu { display: none; } }
/* Tablets and computers: the panel unrolls from the top, links on the left, contact buttons on the right. */
@media (min-width: 900px) {
  .menu {
    flex-direction: row; justify-content: center; gap: clamp(48px, 9vw, 150px);
    clip-path: inset(0 0 100% 0); opacity: 1;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .menu-open .menu { clip-path: inset(0); transition: clip-path .8s var(--ease); }
  .menu__nav { flex: 0 1 600px; margin-block: auto; }
  .menu__nav li { transform: translateY(34px); }
  .menu-open .menu__nav li { transition-delay: calc(.3s + var(--i) * .06s); }
  .menu__nav a { padding: 14px 0; font-size: clamp(2.1rem, 3.2vw, 3rem); transition: padding-left .5s var(--ease), color .35s var(--ease); }
  .menu__foot { flex: 0 0 340px; margin-block: auto; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .menu-open .menu__foot { opacity: 1; transform: none; transition-delay: .55s; }
}
@media (min-width: 900px) and (hover: hover) { .menu__nav a:hover { padding-left: 16px; color: var(--accent-l); } }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero--home { min-height: 100vh; min-height: min(100svh, 1100px); }
.hero--page { min-height: 64vh; min-height: min(64svh, 720px); }
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .66) 0%, rgba(10, 10, 10, .34) 48%, rgba(10, 10, 10, 0) 82%), linear-gradient(180deg, rgba(10, 10, 10, .6) 0%, rgba(10, 10, 10, .1) 30%, rgba(10, 10, 10, .45) 66%, rgba(10, 10, 10, .88) 100%); }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent-l); }
.hero em { color: #fff; }
.hero__body { padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(40px, 7vw, 96px); }
.hero--home .hero__body { padding-bottom: clamp(28px, 4vw, 56px); }
.hero .h1 { max-width: 13em; text-wrap: balance; }
.hero__lead { margin-top: 24px; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(255, 255, 255, .86); }
.hero .btn-row { margin-top: 36px; }
.hero__strip { border-top: 1px solid rgba(255, 255, 255, .2); }
.hero__strip .wrap { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); min-height: 64px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .78); overflow: hidden; white-space: nowrap; }
.hero__social { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hero__social small { font-size: inherit; }
.hero__scroll { color: #fff; padding: 12px 0 12px 44px; position: relative; }
.hero__scroll::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: currentColor; transform-origin: left; animation: scroll-line 2.4s var(--ease) infinite; }
.js .hero__anim { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scroll-line { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 720px) {
  .hero .btn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero .btn__x { display: none; }
  .hero .btn-row .btn:first-child { grid-column: 1 / -1; }
  .hero .btn-row .btn { padding: 0 14px; letter-spacing: .12em; }
  .hero__strip span, .hero__scroll { display: none; }
  .hero__social { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--night); color: #fff; }
.section--dark .lead, .section--dark .section-head__side p { color: rgba(255, 255, 255, .72); }
.section--dark .section-head__side { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .h2 { max-width: 15em; text-wrap: balance; }
.section-head__side { display: grid; gap: 20px; justify-items: start; color: var(--ink-2); }
.section-head__side p { max-width: 46ch; }
.section-head__side--link { justify-items: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; align-items: start; } .section-head__side--link { justify-items: start; } }

/* reveal on scroll */
.js [data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* The wipe is applied to the picture, never to the observed box: browsers treat a box that is
   fully clipped as "not visible", so clipping the box itself would stop it from ever revealing. */
.js [data-reveal="img"] img { clip-path: inset(0 0 100% 0); transform: scale(1.14); transition: clip-path 1.3s var(--ease), transform 1.7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].in img { clip-path: inset(0); transform: none; }

/* intro + marquee */
.intro__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px clamp(32px, 6vw, 96px); }
.intro__links { grid-column: 2; margin-top: 12px; }
@media (max-width: 860px) { .intro__in { grid-template-columns: 1fr; } .intro__links { grid-column: 1; } }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); white-space: nowrap; padding: 0 clamp(20px, 3vw, 40px); display: inline-flex; align-items: center; gap: clamp(40px, 6vw, 80px); color: var(--ink-2); }
.marquee span::after { content: ""; width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 28px); }
.svc { display: block; height: 100%; }
.svc__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__body { position: relative; padding: 20px 44px 0 0; }
.svc__n { font-size: .68rem; font-weight: 600; letter-spacing: .18em; color: var(--accent); }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1.15; margin: 6px 0 8px; }
.svc p { font-size: .93rem; color: var(--ink-2); }
.svc__go { position: absolute; right: 0; top: 22px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.svc__go .i { width: 16px; height: 16px; }
@media (hover: hover) {
  .svc:hover .svc__img img { transform: scale(1.06); }
  .svc:hover .svc__go { background: var(--ink); color: #fff; border-color: var(--ink); }
}
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .svc-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc-grid > li { flex: 0 0 78%; scroll-snap-align: start; }
  .js .svc-grid > li[data-reveal] { transition-delay: 0s; }
}

/* featured */
.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px) clamp(16px, 2.4vw, 32px); }
.feat__item { display: block; }
.feat__item--0 { grid-column: 1 / span 7; }
.feat__item--1 { grid-column: 9 / span 4; margin-top: clamp(40px, 10vw, 160px); }
.feat__item--2 { grid-column: 1 / span 4; align-self: end; }
.feat__item--3 { grid-column: 6 / span 7; }
.feat__img { overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.feat__item--1 .feat__img, .feat__item--2 .feat__img { aspect-ratio: 4 / 5; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__cap { padding-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; align-items: baseline; }
.feat__cap span { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); grid-row: span 2; }
.feat__cap h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
.feat__cap p { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 40px; }
  .feat__item { grid-column: auto !important; margin-top: 0 !important; }
  .feat__item .feat__img { aspect-ratio: 4 / 3 !important; }
  .feat__cap { grid-template-columns: 1fr; }
  .feat__cap span { grid-row: auto; margin-bottom: 4px; }
}

/* why */
.why__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__media { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.why__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.why__list li { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.why__list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin-bottom: 8px; }
.why__list p { color: rgba(255, 255, 255, .7); font-size: .95rem; }
@media (max-width: 900px) {
  .why__in { grid-template-columns: 1fr; }
  .why__media { position: static; aspect-ratio: 4 / 3; }
  .why__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .why__list, .why__list--3 { grid-template-columns: 1fr; } .why__list li { padding: 22px 0; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.steps__n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 28px; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin-bottom: 8px; }
.steps p { font-size: .93rem; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-top-color: var(--line); }
  .steps__n { grid-row: span 2; margin: 0; font-size: 2.1rem; }
}

/* materials */
.mats { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.mats__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--sand); }
.mats__img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.mats__img.is-active { opacity: 1; }
.mats__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.mat { border-top: 1px solid var(--line); }
.mat:last-child { border-bottom: 1px solid var(--line); }
.mat__btn { width: 100%; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; text-align: left; padding: 22px 0; min-height: 64px; row-gap: 2px; }
.mat__n { font-size: .68rem; font-weight: 600; letter-spacing: .18em; color: var(--accent); }
.mat__name { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.1; transition: color .4s var(--ease); }
.mat__lead { grid-column: 2; font-size: .9rem; color: var(--muted); }
.mat__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.mat__panel > div { overflow: hidden; padding-left: 44px; }
.mat.is-active .mat__panel { grid-template-rows: 1fr; }
.mat.is-active .mat__name { color: var(--accent); }
.mat__panel p { color: var(--ink-2); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 26px; }
.tags li { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 12px; color: var(--ink-2); }
@media (max-width: 900px) { .mats { grid-template-columns: 1fr; } .mats__media { aspect-ratio: 4 / 3; } }

/* cities */
.cities { border-top: 1px solid rgba(255, 255, 255, .16); }
.cities li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.cities a { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); padding: clamp(16px, 2.2vw, 26px) 0; font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: 1.05; transition: color .4s var(--ease), padding-left .5s var(--ease); }
.cities a span { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .18em; color: var(--accent-l); width: 2.200em; }
.cities a .i { margin-left: auto; width: 26px; height: 26px; align-self: center; opacity: .45; transition: opacity .4s, transform .5s var(--ease); }
@media (hover: hover) { .cities a:hover { color: var(--accent-l); padding-left: 14px; } .cities a:hover .i { opacity: 1; transform: translateX(6px); } }

/* gallery */
.shot button { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot__cap { position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px; text-align: left; color: #fff; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; background: linear-gradient(transparent, rgba(10, 10, 10, .78)); display: flex; flex-direction: column; gap: 2px; }
.shot__cap em { font-family: var(--sans); font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-l); }
@media (hover: hover) {
  .shot__cap { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .shot button:hover .shot__cap, .shot button:focus-visible .shot__cap { opacity: 1; transform: none; }
  .shot button:hover img { transform: scale(1.05); }
}
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 21vw, 330px); gap: clamp(8px, 1.2vw, 16px); }
.mosaic .shot:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.mosaic .shot:nth-child(2) { grid-column: span 4; }
.mosaic .shot:nth-child(3) { grid-column: span 3; }
.mosaic .shot:nth-child(4) { grid-column: span 3; }
.mosaic .shot:nth-child(5) { grid-column: span 4; }
.mosaic .shot:nth-child(6) { display: none; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .mosaic .shot { grid-column: auto !important; grid-row: auto !important; display: block !important; }
  .mosaic .shot:nth-child(1) { grid-column: 1 / -1 !important; grid-row: span 1 !important; height: 62vw; }
  .mosaic .shot:nth-child(6) { display: none !important; }
  .mosaic { grid-auto-rows: auto; }
  .mosaic .shot:not(:first-child) { aspect-ratio: 1; }
}
.filters { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) clamp(28px, 4vw, 48px); padding: 2px var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.filters button, .chips a { flex: none; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border: 1px solid var(--line); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) { .filters button:hover, .chips a:hover { border-color: var(--ink); } }
.grid-gallery { columns: 3; column-gap: clamp(8px, 1.2vw, 16px); }
.grid-gallery .shot { break-inside: avoid; margin-bottom: clamp(8px, 1.2vw, 16px); }
.grid-gallery .shot button, .grid-gallery .shot img { height: auto; }
.grid-gallery .shot.is-out { display: none; }
@media (max-width: 1000px) { .grid-gallery { columns: 2; } }
@media (max-width: 600px) { .grid-gallery { columns: 1; } .grid-gallery .shot--tall img { aspect-ratio: 4 / 5; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 8, 8, .96); display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 8px calc(16px + var(--safe-b)); visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s; touch-action: pan-y; }
.lb.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.lb__fig { min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); width: auto; height: auto; object-fit: contain; transition: opacity .3s; }
.lb__fig img.is-loading { opacity: .25; }
.lb__fig figcaption { color: rgba(255, 255, 255, .8); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.lb__x, .lb__nav { width: 52px; height: 52px; color: #fff; display: grid; place-items: center; border-radius: 50%; transition: background-color .3s; }
.lb__x { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; z-index: 2; }
.lb__x .i, .lb__nav .i { width: 26px; height: 26px; }
@media (hover: hover) { .lb__x:hover, .lb__nav:hover { background: rgba(255, 255, 255, .12); } }
@media (max-width: 700px) { .lb { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; } .lb__nav { position: absolute; bottom: calc(14px + var(--safe-b)); } .lb__nav--p { left: 14px; } .lb__nav--n { right: 14px; } .lb__fig { padding-bottom: 60px; } }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap .lead { margin: 20px 0 24px; }
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 24px 0; min-height: 72px; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; font-weight: 500; }
.faq__item button .i { width: 22px; height: 22px; color: var(--accent); transition: transform .5s var(--ease); }
.faq__item button[aria-expanded="true"] .i { transform: rotate(135deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 62ch; }
.faq__item button[aria-expanded="true"] + .faq__panel, h3:has(button[aria-expanded="true"]) + .faq__panel { grid-template-rows: 1fr; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
html:not(.js) .faq__panel { grid-template-rows: 1fr; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap > div:first-child { position: static; } .faq__panel p { padding-right: 0; } }

/* contact + form */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact .lead { margin-top: 20px; }
.contact__ways { margin-top: 36px; border-top: 1px solid var(--line); }
.contact__ways li { border-bottom: 1px solid var(--line); }
.contact__ways a, .contact__static { display: flex; align-items: center; gap: 18px; padding: 18px 0; min-height: 76px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.contact__ways .i { width: 22px; height: 22px; color: var(--accent); }
.contact__ways small { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
@media (hover: hover) { .contact__ways a:hover { color: var(--accent); } }
.form { position: relative; background: var(--white); padding: clamp(24px, 4vw, 56px); box-shadow: 0 30px 80px -40px rgba(17, 17, 17, .28); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: block; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(17, 17, 17, .28); border-radius: 0;
  background: transparent; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-appearance: none; appearance: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.500l5-5' fill='none' stroke='%231b1713' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; cursor: pointer; }
.field select:invalid, .field ::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field.has-error input, .field.has-error select { border-bottom-color: #b3261e; box-shadow: 0 1px 0 #b3261e; }
.field.has-error > span { color: #b3261e; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 18px; color: #b3261e; font-size: .9rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.form__foot p { font-size: .9rem; color: var(--ink-2); }
.form__foot a { border-bottom: 1px solid currentColor; white-space: nowrap; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form__done { position: absolute; inset: 0; background: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(24px, 4vw, 56px); animation: rise .8s var(--ease) both; }
.form__done[hidden] { display: none; }
.form__done h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; }
.form__done p { color: var(--ink-2); max-width: 44ch; }
.form__done:focus { outline: 0; }
.form__check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.form__done-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form__done-row .btn--line { border-color: var(--ink); color: var(--ink); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .form { margin: 0 calc(var(--gutter) * -.5); } .form__foot .btn { width: 100%; } }

/* contact quick cards */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.quick a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: clamp(22px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.quick .i { width: 26px; height: 26px; color: var(--accent); margin-bottom: 20px; transition: color .4s; }
.quick small { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.quick strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.quick span { font-size: .9rem; color: var(--ink-2); transition: color .4s; }
@media (hover: hover) { .quick a:hover { background: var(--ink); color: #fff; border-color: var(--ink); } .quick a:hover span, .quick a:hover small { color: rgba(255, 255, 255, .7); } .quick a:hover .i { color: var(--accent-l); } }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } .quick a { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; } .quick .i { grid-row: span 3; margin: 4px 0 0; } }

/* service rows */
.chips { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) clamp(48px, 7vw, 96px); padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.rows { display: grid; gap: clamp(64px, 10vw, 150px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.row--flip .row__img { order: 2; }
.row__img { aspect-ratio: 5 / 4; overflow: hidden; background: var(--sand); }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row__n { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); margin-bottom: 14px; }
.row__body .lead { margin-top: 20px; }
.row__body .btn { margin-top: 32px; }
.ticks { margin-top: 24px; border-top: 1px solid var(--line); }
.ticks li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ticks .i { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } .row--flip .row__img { order: 0; } .row__img { aspect-ratio: 4 / 3; } }

/* service areas list */
.area-list { border-top: 1px solid var(--ink); }
.area-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding: clamp(24px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.area-list__n { font-size: .7rem; font-weight: 600; letter-spacing: .18em; color: var(--accent); }
.area-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; }
.area-list h3 em { color: var(--muted); }
.area-list p { color: var(--ink-2); margin-top: 8px; max-width: 56ch; }
@media (max-width: 760px) { .area-list li { grid-template-columns: 36px 1fr; } .area-list .link { grid-column: 2; justify-self: start; } }

/* final cta */
.cta { position: relative; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, .74); }
.cta__body { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(96px, 14vw, 200px); }
.cta .h1 { max-width: 12em; text-wrap: balance; }
.cta p:not(.eyebrow) { margin-top: 24px; max-width: 48ch; color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.cta .btn-row { margin-top: 40px; }
@media (max-width: 720px) { .cta .btn-row { display: grid; } }

/* footer */
.footer { background: var(--night); color: rgba(255, 255, 255, .72); padding: clamp(56px, 8vw, 104px) 0 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .93rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.footer__brand { color: #fff; }
.footer__brand p { color: rgba(255, 255, 255, .64); margin-top: 22px; max-width: 34ch; }
.footer__h { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-l); margin-bottom: 14px; }
.footer__h--gap { margin-top: 30px; }
.footer li a { display: inline-block; padding: 6px 0; transition: color .3s; }
@media (hover: hover) { .footer li a:hover { color: #fff; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(48px, 6vw, 80px); padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .76rem; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* mobile dock + whatsapp fab */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; grid-template-columns: 1fr 1fr 1.35fr; background: var(--night); color: #fff; padding-bottom: var(--safe-b); box-shadow: 0 -10px 30px rgba(0, 0, 0, .18); transform: translateY(105%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-right: 1px solid rgba(255, 255, 255, .12); touch-action: manipulation; }
.dock a .i { width: 18px; height: 18px; color: var(--accent-l); }
.dock__main { background: var(--accent); border-right: 0 !important; }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #1f8f55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .4s var(--ease); }
.fab .i { width: 28px; height: 28px; }
@media (hover: hover) { .fab:hover { transform: scale(1.07); } }
@media (max-width: 760px) {
  .dock { display: grid; }
  .fab { display: none; }
  .footer { padding-bottom: calc(58px + var(--safe-b)); }
  .menu-open .dock { transform: translateY(105%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero__anim { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}
@media print { .header, .dock, .fab, .menu, .cta, .marquee { display: none !important; } .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; } }
