/* ==========================================================================
   Pav's Flooring — styles
   ========================================================================== */

:root {
  --ink: #16142b;
  --ink-2: #221f3d;
  --indigo: #2e2757;
  --indigo-2: #463f86;
  --copper: #b07a4a;
  --copper-2: #c99561;
  --copper-soft: #e9d3bb;
  --oak: #d8b88f;
  --cream: #f5f0e8;
  --paper: #fbf8f3;
  --stone: #ece5d9;
  --text: #1c1a2c;
  --muted: #625d72;
  --muted-light: #b9b4c8;
  --line: rgba(22, 20, 43, .12);
  --line-light: rgba(245, 240, 232, .14);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;

  --shadow: 0 1px 2px rgba(22, 20, 43, .06), 0 12px 40px -12px rgba(22, 20, 43, .22);
  --shadow-lg: 0 30px 80px -30px rgba(22, 20, 43, .45);
}

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-display-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("../fonts/fraunces-display-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/manrope-normal.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
[hidden] { display: none !important; }

/* Grain overlay for a tactile, printed feel */
@media (min-width: 901px) {
  body::after {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .05;
    background-image: url("../img/grain.webp");
    will-change: transform;
  }
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--ink);
}
.display em, .h2 em { color: var(--copper); font-weight: 300; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 120;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 34em; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo);
}
.kicker span {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none;
  font-size: .95rem; color: var(--copper);
  border: 1px solid currentColor; border-radius: 99px; padding: 1px 9px;
}
.kicker-light { color: var(--copper-soft); }
.eyebrow {
  padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px);
}
.eyebrow .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3fae6a; }
.eyebrow .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(63, 174, 106, .3); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 780px; }
.section-head-split { max-width: none; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 18px 60px; }
.section-head-split > div:not(.filters) { display: grid; gap: 18px; }
.section-head-center { text-align: center; justify-items: center; margin-left: auto; margin-right: auto; }
.section-intro { color: var(--muted); font-size: 1.08rem; max-width: 36em; }
.note { font-size: .82rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .96rem; letter-spacing: -.005em; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn .ic { transition: transform .4s var(--ease-out); }
.btn:hover .ic:last-child { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--indigo));
  transform: translateY(101%); transition: transform .5s var(--ease-out);
  border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ink { --bg: var(--ink); --fg: var(--cream); --hover: var(--indigo); }
.btn-copper { --bg: var(--copper); --fg: #fff; --hover: #955f33; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); border-color: rgba(22, 20, 43, .25); }
.btn-ghost:hover { color: var(--cream); }
.btn-ghost-light { --bg: transparent; --fg: var(--cream); --hover: var(--cream); border-color: rgba(245, 240, 232, .3); }
.btn-ghost-light:hover { color: var(--ink); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid currentColor; opacity: .85;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.round-btn:hover { opacity: 1; transform: scale(1.06); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-tree { width: 44px; height: auto; transition: transform .6s var(--ease-out); }
.brand:hover .brand-tree { transform: rotate(-4deg) scale(1.06); }
.brand-word {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--indigo); font-variation-settings: "opsz" 40; white-space: nowrap;
}
.brand-word em { font-weight: 400; color: var(--copper); }

.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 8px 12px;
  font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--text);
  border-radius: 99px; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--indigo); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--indigo); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.menu-btn span {
  position: absolute; left: 14px; right: 14px; height: 1.8px; background: var(--cream); border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--cream);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); }
.mobile-menu ol { display: grid; gap: 2px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.25; letter-spacing: -.02em;
  transform: translateY(110%); transition: transform .7s var(--ease-out), color .3s;
}
.mobile-menu nav a span { font-size: .9rem; font-style: italic; color: var(--copper-2); }
.mobile-menu nav a:hover { color: var(--copper-2); }
.mobile-menu.is-open nav a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .24s; }
.mobile-menu-foot { display: grid; gap: 20px; margin-top: 32px; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .brand-word { color: var(--cream); }
.menu-open .brand-tree { filter: brightness(0) invert(.95); }
.menu-open .menu-btn { background: var(--copper); }
.menu-open .header-phone { color: var(--cream); border-color: var(--line-light); }
.mobile-menu .socials { color: var(--cream); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid currentColor; opacity: .8; transition: opacity .3s, background .3s, color .3s, transform .3s var(--ease-out);
}
.socials a:hover { opacity: 1; background: var(--cream); color: var(--ink); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(24px, 5vw, 60px)) 0 clamp(60px, 8vw, 100px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(176, 122, 74, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(70, 63, 134, .10), transparent 70%);
}
.hero-bg::before {
  /* faint herringbone pattern */
  content: ""; position: absolute; inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%232e2757' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M0 28 28 0M14 42 42 14M28 56 56 28M0 28l28 28M28 0l28 28'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(70% 60% at 30% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero .display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .display .line > span { display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: grid; gap: 12px; margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); width: 100%; }
.hero-trust li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); }
.hero-trust .ic { width: 22px; height: 22px; color: var(--copper); }
.hero-trust strong { color: var(--ink); font-weight: 700; }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}
.hero-img, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { transition: opacity 1s ease, transform 1.4s var(--ease-out); }
.js-ready .hero-frame:not(.is-done) .hero-img { opacity: 0; transform: scale(1.04); }
.hero-canvas { transition: opacity 1s ease; }
.hero-frame.is-done .hero-canvas { opacity: 0; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 20, 43, .55));
}
.hero-chip {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px;
  background: rgba(251, 248, 243, .9); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: opacity .8s .3s, transform .8s .3s var(--ease-out);
}
.js-ready .hero-frame:not(.is-done) .hero-chip { opacity: 0; transform: translateY(12px); }
.chip-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.chip-title { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }

.spin-badge {
  position: absolute; left: -54px; top: 12%; width: 128px; height: 128px; z-index: 3;
  border-radius: 50%; background: var(--indigo); color: var(--cream);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.spin-badge text { font-family: var(--sans); font-size: 13.2px; font-weight: 700; letter-spacing: 2.1px; text-transform: uppercase; fill: var(--cream); }
.spin-badge img { width: 50px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(22, 20, 43, .35); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--copper); border-radius: 2px; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* hero intro animation */
.hero-in { animation: heroUp 1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 100ms); }
.display .hero-in { animation-name: heroLine; animation-duration: 1.1s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes heroLine { from { transform: translateY(105%); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--indigo); color: var(--cream); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); white-space: nowrap; font-weight: 300; }
.marquee i {
  width: 22px; height: 22px; flex: none;
  background: conic-gradient(from 45deg, var(--copper-2) 0 25%, transparent 0 50%, var(--copper-2) 0 75%, transparent 0);
  transform: rotate(45deg); border-radius: 3px; opacity: .9;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services / bento ---------- */
.services { background: var(--paper); }
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "f f a b"
    "f f c d"
    "e e e e";
}
.bento > :nth-child(1) { grid-area: f; }
.bento > :nth-child(2) { grid-area: a; }
.bento > :nth-child(3) { grid-area: b; }
.bento > :nth-child(4) { grid-area: c; }
.bento > :nth-child(5) { grid-area: d; }
.bento > :nth-child(6) { grid-area: e; }

.card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 320px;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-body { position: relative; z-index: 1; padding: 26px; display: grid; gap: 10px; margin-top: auto; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.card p { font-size: .96rem; color: var(--muted); }
.card .best { font-size: .82rem; padding-top: 12px; border-top: 1px solid var(--line); }
.card .best strong { color: var(--copper); font-weight: 700; margin-right: 4px; }
.card-num { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: .95rem; }

.card-feature, .card-photo { color: var(--cream); background: var(--ink); border: 0; }
.card-feature img, .card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.card-feature:hover img, .card-photo:hover img { transform: scale(1.06); }
.card-feature::after, .card-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 20, 43, 0) 25%, rgba(22, 20, 43, .88) 100%);
}
.card-feature h3, .card-photo h3 { color: #fff; }
.card-feature p, .card-photo p { color: rgba(245, 240, 232, .82); }
.card-feature .best, .card-photo .best { border-color: var(--line-light); }
.card-feature .best strong, .card-photo .best strong { color: var(--copper-2); }
.card-feature { min-height: 660px; }
.card-feature h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.card-feature .card-body { padding: 34px; max-width: 520px; }
.card-wide { min-height: 300px; }
.card-wide::after { background: linear-gradient(90deg, rgba(22, 20, 43, .9) 0%, rgba(22, 20, 43, .6) 45%, rgba(22, 20, 43, .1) 100%); }
.card-wide .card-body { max-width: 560px; margin: auto 0; }
.card-wide img { object-position: center 60%; }

.card-pattern .pattern {
  position: absolute; inset: 0 0 auto; height: 44%;
  transition: transform 1.2s var(--ease-out), height .6s var(--ease-out);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.card-pattern:hover .pattern { transform: scale(1.08) rotate(-1deg); }
.pattern-tile {
  background:
    linear-gradient(90deg, rgba(22, 20, 43, .18) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(0deg, rgba(22, 20, 43, .18) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(135deg, #d9d1c5, #c9bfb1 50%, #e3dcd2);
}
.pattern-plank {
  background:
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(60, 36, 16, .22) 33px 34px),
    repeating-linear-gradient(90deg, transparent 0 160px, rgba(60, 36, 16, .2) 160px 161px),
    repeating-linear-gradient(0deg, #c6a27a 0 34px, #b99169 34px 68px, #cfae88 68px 102px);
}
.pattern-laminate {
  background:
    repeating-linear-gradient(90deg, transparent 0 41px, rgba(40, 30, 20, .22) 41px 42px),
    repeating-linear-gradient(90deg, #a98a6c 0 42px, #b8997a 42px 84px, #9e7f61 84px 126px, #b3906f 126px 168px);
}

.included {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin-top: 40px; padding: 20px 26px; border-radius: 99px;
  border: 1px dashed rgba(22, 20, 43, .2);
}
.included li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.included .ic { color: var(--copper); }

/* ---------- Studio ---------- */
.studio { background: var(--ink); color: var(--cream); overflow: hidden; overflow: clip; }
.studio .h2 { color: var(--cream); }
.studio .h2 em { color: var(--copper-2); }
.studio .kicker { color: var(--copper-soft); }
.studio .section-intro, .studio .note { color: var(--muted-light); }
.studio::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px;
  background: radial-gradient(closest-side, rgba(176, 122, 74, .18), transparent);
  pointer-events: none;
}
.studio-shell {
  position: relative;
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .03);
}
.studio-controls { padding: 28px; display: grid; gap: 26px; align-content: start; border-right: 1px solid var(--line-light); }
.studio-controls fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.studio-controls legend {
  display: flex; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light);
}
.studio-controls legend output { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: .95rem; color: var(--copper-2); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px 9px 10px; border-radius: 99px; border: 1px solid var(--line-light);
  font-size: .86rem; font-weight: 600; color: var(--cream);
  transition: background .3s, border-color .3s, color .3s;
}
.chips button:hover { border-color: rgba(245, 240, 232, .45); }
.chips button[aria-checked="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pi { width: 18px; height: 18px; border-radius: 4px; flex: none; background-color: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.pi-hb { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M1 7 7 1l2 2-6 6zM9 3l2-2 6 6-2 2zM1 15l6-6 2 2-6 6zM9 11l2-2 6 6-2 2z'/%3E%3C/svg%3E"); }
.pi-dhb { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M1 5 5 1l1.5 1.5-4 4zM1 8.5 7 2.5 8.5 4l-6 6zM11.5 4 13 2.5l6 6-1.5 1.5zM15 1l4 4-1.5 1.5-4-4zM1 15l6-6 1.5 1.5-6 6zM11.5 10.5 13 9l6 6-1.5 1.5z'/%3E%3C/svg%3E"); }
.pi-ch { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M0 6 10 1l10 5v3L10 4 0 9zM0 13l10-5 10 5v3l-10-5-10 5z'/%3E%3C/svg%3E"); }
.pi-pl { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M1 1h4.5v11H1zM1 13h4.5v6H1zM7.2 1h4.5v5H7.2zM7.2 7h4.5v12H7.2zM13.5 1H18v8h-4.5zM13.5 10H18v9h-4.5z'/%3E%3C/svg%3E"); }
.pi-bw { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M1 1h8v2.2H1zM1 4h8v2.2H1zM1 7h8v2H1zM11 1h2.2v8H11zM14 1h2.2v8H14zM17 1h2v8h-2zM1 11h2.2v8H1zM4 11h2.2v8H4zM7 11h2v8H7zM11 11h8v2.2h-8zM11 14h8v2.2h-8zM11 17h8v2h-8z'/%3E%3C/svg%3E"); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 50%), var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
  outline: 2px solid transparent; outline-offset: 3px;
  transition: transform .3s var(--ease-out), outline-color .3s;
}
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-checked="true"] { outline-color: var(--cream); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--copper) var(--p, 50%), rgba(245, 240, 232, .2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(245, 240, 232, .2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--copper); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--cream); border: 5px solid var(--copper); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 5px solid var(--copper); }
.range-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted-light); margin-top: -4px; }
.toggle { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); }
.toggle button { padding: 9px 16px; border-radius: 99px; font-size: .86rem; font-weight: 600; color: var(--muted-light); transition: background .35s, color .35s; }
.toggle button[aria-checked="true"] { background: var(--cream); color: var(--ink); }
.studio-actions { display: grid; gap: 10px; padding-top: 6px; }

.studio-stage {
  position: relative; min-height: 560px; overflow: hidden;
  background: #2a2522; perspective: 650px; perspective-origin: 50% 30%;
}
.floor-wrap {
  position: absolute; inset: 0;
  transform-origin: 50% 100%;
  transition: transform 1.2s var(--ease-out);
}
#studio-canvas { width: 100%; height: 100%; }
.room-wall {
  position: absolute; inset: 0 0 auto; height: 44%; z-index: 1;
  background: linear-gradient(180deg, #e9e2d6, #ddd3c4);
  transform: translateY(-101%); transition: transform 1.2s var(--ease-out);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .4);
}
.room-window {
  position: absolute; left: 50%; top: 14%; width: 30%; height: 70%; transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), #f4efe6 calc(50% - 3px) calc(50% + 3px), transparent 0),
    linear-gradient(0deg, transparent calc(50% - 3px), #f4efe6 calc(50% - 3px) calc(50% + 3px), transparent 0),
    linear-gradient(180deg, #cfe0e8, #eef3ef 60%, #d9e3d3);
  border: 8px solid #f4efe6; box-shadow: inset 0 0 30px rgba(0, 0, 0, .08), 0 6px 20px rgba(0, 0, 0, .08);
}
.room-skirting { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(180deg, #faf7f2, #e8e1d6); border-top: 2px solid #fff; box-shadow: 0 -1px 0 rgba(0, 0, 0, .06); }
.studio-stage.is-room .room-wall { transform: none; }
.studio-stage.is-room .floor-wrap { transform: translateY(8%) rotateX(64deg) scale(2.3); }
.studio-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .35));
}
.studio-label {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  padding: 10px 16px; border-radius: 99px; background: rgba(22, 20, 43, .75); backdrop-filter: blur(8px);
  font-family: var(--serif); font-style: italic; font-size: 1rem;
}
.studio-note { margin-top: 16px; }

/* ---------- Gallery ---------- */
.work { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filters button {
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line);
  font-weight: 600; font-size: .9rem; transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gallery { columns: 3 300px; column-gap: 18px; }
.g-item {
  position: relative; display: block; width: 100%; margin: 0 0 18px; break-inside: avoid;
  border-radius: 16px; overflow: hidden; background: var(--stone);
  text-align: left;
  transition: opacity .5s, transform .6s var(--ease-out);
}
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(22, 20, 43, .8));
  color: var(--cream); font-size: .92rem; font-weight: 600;
  transform: translateY(12px); opacity: 0; transition: opacity .5s, transform .5s var(--ease-out);
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
}
.g-item figcaption small { display: block; font-weight: 500; opacity: .75; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.g-item figcaption .ic { width: 22px; height: 22px; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; opacity: 1; }
.g-item.is-hidden { display: none; }
.g-item.is-entering { opacity: 0; transform: translateY(20px) scale(.98); }
.gallery-more { display: grid; justify-items: center; gap: 18px; margin-top: 30px; text-align: center; }
.follow { color: var(--muted); font-size: .95rem; }
.follow a { color: var(--indigo); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Process ---------- */
.process { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.step {
  position: relative; padding: 26px 22px 28px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n {
  font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-weight: 300; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--copper);
  transition: color .6s;
}
.step.is-active .step-n { color: var(--copper); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); }
.step p { font-size: .94rem; color: var(--muted); }
.steps-rail { margin-top: 28px; height: 3px; border-radius: 3px; background: rgba(22, 20, 43, .08); overflow: hidden; }
.steps-rail span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--indigo), var(--copper)); transform-origin: left; transform: scaleX(0); }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.about-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-media figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(22, 20, 43, .78); backdrop-filter: blur(8px);
  color: var(--cream); font-size: .9rem; font-weight: 600;
}
.about-media figcaption img { width: 36px; }
.about-copy { display: grid; gap: 22px; }
.about-copy > p { color: var(--muted); font-size: 1.05rem; }
.pull {
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3; font-style: italic; font-weight: 300;
  color: var(--indigo); padding-left: 22px; border-left: 3px solid var(--copper);
}
.pull cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.about-stats span { font-size: .86rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { background: var(--indigo); color: var(--cream); overflow: hidden; }
.reviews .h2 { color: var(--cream); }
.reviews::before {
  content: "“"; position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  font-family: var(--serif); font-size: 36rem; line-height: .8; color: rgba(255, 255, 255, .04); pointer-events: none;
}
.quotes { position: relative; max-width: 940px; margin: 0 auto; }
.quotes-track { display: grid; }
.quote {
  grid-area: 1 / 1; display: grid; gap: 34px; justify-items: center; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), visibility 0s .8s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.quote blockquote {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.35; letter-spacing: -.01em;
  text-wrap: pretty;
}
.quote blockquote em { color: var(--copper-2); font-weight: 400; }
.quote figcaption { display: flex; align-items: center; gap: 14px; text-align: left; }
.quote figcaption strong { display: block; font-size: 1rem; }
.quote figcaption small { color: var(--muted-light); font-size: .85rem; }
.q-avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); font-family: var(--serif); font-size: 1.2rem; }
.quotes-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 48px; }
.dots { display: flex; gap: 10px; }
.dots button { width: 34px; height: 4px; border-radius: 4px; background: rgba(245, 240, 232, .25); position: relative; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--copper-2); transform: scaleX(0); transform-origin: left; }
.dots button[aria-selected="true"]::after { animation: dotfill var(--dur, 8s) linear forwards; }
.quotes.is-paused .dots button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* ---------- Calculator ---------- */
.calc { background: var(--cream); }
.calc-shell { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.calc-form { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 20px; }
.rooms { display: grid; gap: 12px; }
.room {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 10px; align-items: end;
  padding: 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line);
  animation: roomIn .5s var(--ease-out);
}
@keyframes roomIn { from { opacity: 0; transform: translateY(-8px); } }
.room .remove { width: 44px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); transition: background .3s, color .3s; }
.room .remove:hover { background: rgba(176, 122, 74, .14); color: var(--copper); }
.room .remove:disabled { opacity: .3; pointer-events: none; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .8rem; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; }
.field > span output { color: var(--copper); font-weight: 800; }
.field input:not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(22, 20, 43, .16); background: #fff;
  font-size: 1rem; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232e2757' stroke-width='2.4' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(176, 122, 74, .16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2412d; box-shadow: 0 0 0 4px rgba(194, 65, 45, .12); }
.calc-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.calc-form input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--copper) var(--p, 50%), rgba(22, 20, 43, .14) var(--p, 50%)); }
.calc-form input[type="range"]::-moz-range-track { background: rgba(22, 20, 43, .14); }
.add-room {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  padding: 10px 16px; border-radius: 99px; border: 1px dashed rgba(22, 20, 43, .3);
  font-weight: 700; font-size: .9rem; color: var(--indigo); transition: background .3s, border-color .3s;
}
.add-room:hover { background: rgba(46, 39, 87, .06); border-color: var(--indigo); }
.calc-result {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 30px; border-radius: var(--radius-lg); background: var(--ink); color: var(--cream);
  display: grid; gap: 24px; overflow: hidden;
}
.calc-result::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(176, 122, 74, .35), transparent); pointer-events: none;
}
.res-main { display: grid; gap: 6px; position: relative; }
.res-label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.res-big { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.res-big strong { font-size: clamp(4rem, 7vw, 5.6rem); font-weight: 300; letter-spacing: -.04em; color: var(--copper-2); margin-right: 6px; }
.res-sub { color: var(--muted-light); }
.res-sub b { color: var(--cream); }
.res-list { display: grid; gap: 0; position: relative; }
.res-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.res-list dt { color: var(--muted-light); font-size: .92rem; }
.res-list dt small { display: block; font-size: .76rem; opacity: .8; }
.res-list dd b { font-size: 1.15rem; }
.calc-result .note { color: var(--muted-light); position: relative; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-grid .section-intro a { color: var(--indigo); font-weight: 700; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.01em; color: var(--ink);
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--copper); }
.faq summary i {
  position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), background .3s, border-color .3s;
}
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 60px 26px 0; color: var(--muted); }
.faq-a a { color: var(--indigo); font-weight: 700; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--cream); overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(70, 63, 134, .6), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(176, 122, 74, .25), transparent 70%);
}
.contact .h2 { color: var(--cream); }
.contact .h2 em { color: var(--copper-2); }
.contact .section-intro { color: var(--muted-light); }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-copy { display: grid; gap: 22px; }
.contact-cards { display: grid; gap: 10px; margin-top: 8px; }
.contact-cards a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line-light); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: background .3s, border-color .3s, transform .4s var(--ease-out);
  word-break: break-word;
}
.contact-cards a:hover { background: rgba(255, 255, 255, .05); border-color: rgba(245, 240, 232, .35); transform: translateX(4px); }
.contact-cards .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--copper); color: #fff; }
.contact-cards small { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.socials-lg a { width: 50px; height: 50px; }

.contact-form {
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--text); box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form-actions .btn-ghost-light { --fg: var(--ink); --hover: var(--ink); border-color: rgba(22, 20, 43, .25); }
.form-actions .btn-ghost-light:hover { color: var(--cream); }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #2f7d4f; }
.form-status.err { color: #c2412d; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #0f0e1f; color: var(--muted-light); padding: 80px 0 0; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { width: 200px; }
.footer-brand p { max-width: 30ch; font-size: .95rem; }
.footer-nav h3 { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.footer-nav ul { display: grid; gap: 10px; font-size: .95rem; }
.footer-nav a { text-decoration: none; transition: color .3s; word-break: break-word; }
.footer-nav a:hover { color: var(--copper-2); }
.footer-nav .socials { margin-top: 18px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .86rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--cream); }
.to-top .ic { transform: rotate(-90deg); }
.footer-mega {
  font-family: var(--serif); font-weight: 300; font-style: italic; white-space: nowrap;
  font-size: clamp(4rem, 15vw, 15rem); line-height: .8; letter-spacing: -.05em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 240, 232, .12);
  margin-top: 20px; transform: translateY(18%);
  user-select: none;
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: 1fr 1.2fr; gap: 8px; padding: 8px;
  border-radius: 99px; background: rgba(22, 20, 43, .92); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5);
  transform: translateY(150%); transition: transform .6s var(--ease-out);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border-radius: 99px;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--cream);
}
.ab-quote { background: var(--copper); color: #fff !important; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(12, 11, 24, .94); backdrop-filter: blur(10px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 24px; color: var(--cream);
  animation: fadeIn .35s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { display: grid; justify-items: center; gap: 14px; min-width: 0; height: 100%; align-content: center; }
.lightbox img { max-height: calc(100svh - 120px); width: auto; max-width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); animation: lbIn .5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-align: center; }
.lb-close { position: absolute; right: 18px; top: 18px; }

/* ---------- Reveal ---------- */
.js-ready [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--rd, 0s); }
.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-rail { display: none; }
  .studio-shell { grid-template-columns: 1fr; overflow: clip; }
  .studio-stage { order: -1; min-height: 0; height: clamp(320px, 62vw, 520px); position: sticky; top: 0; z-index: 4; }
  .studio-controls { border-right: 0; border-bottom: 1px solid var(--line-light); grid-template-columns: 1fr 1fr; }
  .studio-controls fieldset:first-child { grid-column: 1 / -1; }
  .studio-actions { grid-column: 1 / -1; grid-template-columns: auto 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled, .eyebrow, .hero-chip, .studio-label, .action-bar, .about-media figcaption, .lightbox { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.is-scrolled { background: rgba(251, 248, 243, .97); }
  .eyebrow { background: rgba(255, 255, 255, .7); }
  .hero-chip { background: var(--paper); }
  .studio-label, .about-media figcaption { background: rgba(22, 20, 43, .88); }
  .action-bar { background: rgba(22, 20, 43, .97); }
  body { font-size: 16px; }
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); justify-content: center; }
  .header-cta .btn { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: stretch; max-width: none; }
  .hero-frame { aspect-ratio: 4 / 4.2; }
  .spin-badge { left: auto; right: 14px; top: auto; bottom: -34px; width: 104px; height: 104px; }
  .spin-badge img { width: 40px; }
  .spin-badge text { font-size: 12.6px; letter-spacing: 1.7px; }
  .scroll-cue { display: none; }
  .section-head-split { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "f f" "a a" "b c" "d d" "e e"; }
  .card-feature { min-height: 520px; }
  .about-grid, .faq-grid, .contact-grid, .calc-shell { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .faq-grid .section-head { position: static; }
  .calc-result { position: relative; top: 0; }
  .action-bar { display: grid; }
  .site-footer { padding-bottom: 90px; }
}

@media (max-width: 640px) {
  .brand-word { font-size: 1.15rem; }
  .brand-tree { width: 38px; }
  .display { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .eyebrow { font-size: .66rem; letter-spacing: .08em; white-space: nowrap; }
  .hero-actions .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "f" "a" "b" "c" "d" "e"; }
  .card { min-height: 280px; }
  .card-feature { min-height: 480px; }
  .card-feature .card-body, .card-body { padding: 22px; }
  .card-wide::after { background: linear-gradient(180deg, rgba(22, 20, 43, .2) 0%, rgba(22, 20, 43, .9) 70%); }
  .card-wide { min-height: 380px; }
  .card-wide .card-body { margin: auto 0 0; }
  .included { border-radius: 20px; justify-content: flex-start; }
  .studio-controls { grid-template-columns: 1fr; padding: 22px; }
  .studio-actions { grid-template-columns: 1fr; }
  .studio-stage { height: 330px; }
  .studio-label { font-size: .86rem; padding: 8px 12px; right: 10px; bottom: 10px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 12px; }
  .g-item figcaption { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: auto 1fr; column-gap: 18px; }
  .step-n { grid-row: span 2; font-size: 2.4rem; }
  .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .about-stats span { font-size: .78rem; }
  .room { grid-template-columns: 1fr 1fr auto; }
  .room .field:first-child { grid-column: 1 / -1; }
  .calc-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .faq-a p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .reviews::before { font-size: 22rem; }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
