/* ==========================================================================
   Aureate Interiors — styles
   ========================================================================== */

:root {
  --bg: #f6f2ec;
  --bg-tint: #eee7dd;
  --surface: #fbf9f5;
  --ink: #1b1a17;
  --ink-soft: #3a3833;
  --muted: #6f6a61;
  --line: rgba(27, 26, 23, 0.12);
  --accent: #a8834f;
  --accent-soft: #c9a467;
  --dark: #161614;
  --dark-2: #20201d;
  --light: #f3eee6;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(40, 32, 20, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent-soft); color: var(--ink); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--muted { color: var(--muted); }
.eyebrow--light { color: var(--accent-soft); }

.display, .title {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0;
}
.display { font-size: clamp(3rem, 6.4vw, 5.9rem); }
.title { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.display em, .title em { font-style: italic; font-weight: 300; color: var(--accent); }
.title--light { color: var(--light); }
.title--light em { color: var(--accent-soft); }

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; margin: 26px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn--dark:hover::after { transform: translateY(0); }
.btn--dark:hover { box-shadow: 0 16px 30px -14px rgba(168, 131, 79, .7); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--small { padding: 11px 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 242, 236, 0.82);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  height: 66px;
}
.nav.nav--dark { background: rgba(22, 22, 20, 0.78); box-shadow: 0 1px 0 rgba(243, 238, 230, .08); }
.nav--dark .brand__name, .nav--dark .nav__links a:not(.btn), .nav--dark .nav__links a.is-current { color: var(--light); }
.nav--dark .brand__name small { color: rgba(243, 238, 230, .55); }
.nav--dark .btn--dark { background: var(--accent-soft); color: var(--dark); }
.nav--dark .nav__toggle { border-color: rgba(243, 238, 230, .2); }
.nav--dark .nav__toggle span { background: var(--light); }
.nav--dark .nav__links.is-open a:not(.btn) { color: var(--ink); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 36px; flex: none; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .02em; line-height: 1; display: flex; flex-direction: column; }
.brand__name small { font-family: var(--sans); font-size: 9px; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand--light .brand__name { color: var(--light); }
.brand--light small { color: rgba(243, 238, 230, .55); }

.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav__links a:not(.btn) { position: relative; padding: 6px 0; color: var(--ink-soft); transition: color .3s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 30px) 0 60px;
  display: flex; align-items: center;
  background:
    radial-gradient(60% 70% at 78% 45%, #fffdf9 0%, rgba(255, 253, 249, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, #f1ebe2 100%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 20px; }
.hero__copy { position: relative; z-index: 2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__stats { display: flex; gap: 44px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats dt { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.hero__stats dd { margin: 8px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero__visual { position: relative; height: min(78vh, 760px); margin-right: calc((100vw - min(1240px, 100vw - 48px)) / -2); }
.canvas-wrap { position: absolute; inset: 0; }
.canvas-wrap canvas { width: 100% !important; height: 100% !important; }
.canvas-wrap.no-webgl { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff, var(--bg-tint)); border-radius: var(--radius); }
.canvas-wrap.no-webgl::after { content: "3D preview unavailable on this device"; font-size: 13px; color: var(--muted); }

.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -18px rgba(40, 32, 20, .45), inset 0 0 0 1px rgba(255, 255, 255, .7);
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.chip.is-in { opacity: 1; transform: none; animation: float 7s ease-in-out infinite; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(168, 131, 79, .18); }
.chip--a { top: 14%; right: 12%; }
.chip--b { bottom: 24%; left: 2%; animation-delay: -2s !important; }
.chip--c { bottom: 9%; right: 18%; animation-delay: -4s !important; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 14px; translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px; background: var(--accent); translate: -50% 0; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.9rem; font-style: italic; font-weight: 300; color: var(--ink-soft); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 40px; }
.section__intro { color: var(--muted); font-size: 1.05rem; margin: 22px 0 0; max-width: 38rem; }
.section__head--split .section__intro { margin: 0; justify-self: end; }

/* ---------- Expertise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.card {
  position: relative; padding: 38px 34px 40px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 103, .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { box-shadow: var(--shadow); border-color: rgba(168, 131, 79, .35); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 28px;
  background: linear-gradient(145deg, #fff, var(--bg-tint)); box-shadow: inset 0 0 0 1px var(--line);
  transform: translateZ(40px);
}
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 0 0 10px; transform: translateZ(26px); }
.card p { margin: 0; color: var(--muted); font-size: .96rem; transform: translateZ(16px); }
.card__num { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(27, 26, 23, .28); }

/* ---------- Studio (configurator) ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; }
.studio__stage {
  position: relative; min-height: 600px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 35%, #fffdf9 0%, #efe8dd 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: grab; touch-action: pan-y;
}
.studio__stage:active { cursor: grabbing; }
.studio__hint {
  position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .6); pointer-events: none;
}
.studio__hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.layout-tabs {
  position: absolute; left: 50%; bottom: 20px; translate: -50% 0; z-index: 2;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -18px rgba(40, 32, 20, .5), inset 0 0 0 1px rgba(255, 255, 255, .8);
  max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none;
}
.layout-tabs::-webkit-scrollbar { display: none; }
.layout-tabs button {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--muted); white-space: nowrap; transition: background .35s var(--ease), color .35s;
}
.layout-tabs button:hover { color: var(--ink); }
.layout-tabs button[aria-selected="true"] { background: var(--ink); color: var(--light); }

.studio__panel {
  display: flex; flex-direction: column; gap: 26px; padding: 34px 30px;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.layout-info h3 { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1; margin: 0 0 10px; }
.layout-info p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .95rem; min-height: 3.2em; }
.layout-info .eyebrow { margin-bottom: 12px; }
.layout-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.layout-meta dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.layout-meta dd { margin: 4px 0 0; font-size: .92rem; font-weight: 500; }
.layout-info.is-swapping h3, .layout-info.is-swapping p, .layout-info.is-swapping dd { opacity: 0; transform: translateY(6px); }
.layout-info h3, .layout-info p, .layout-info dd { transition: opacity .35s, transform .35s var(--ease); }

.option-group { border: 0; padding: 0; margin: 0; }
.option-group legend { display: flex; justify-content: space-between; width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.option-group legend span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--accent); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0;
  background: var(--sw, var(--c));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 0 var(--accent);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.swatch:hover { transform: translateY(-2px) scale(1.06); }
.swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--surface), 0 0 0 4.5px var(--accent); }
.swatch--stone { border-radius: 10px; width: 52px; }
.swatch--metal { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .7), transparent 42%), var(--c); }
.studio__panel .btn { margin-top: auto; }

/* ---------- Wardrobes (dark, scroll-driven) ---------- */
.wardrobes { position: relative; height: 320vh; background: var(--dark); color: var(--light); }
.wardrobes__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(55% 60% at 70% 55%, #2b2a26 0%, var(--dark) 70%);
}
.wardrobes__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 30px; height: 100%; padding-top: var(--nav-h); }
.wardrobes__visual { position: relative; height: min(80vh, 760px); }
#wardrobeStage { -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); }

.wardrobe-toggle { display: inline-flex; margin: 30px 0 36px; padding: 4px; border-radius: 999px; border: 1px solid rgba(243, 238, 230, .16); }
.wardrobe-toggle button { border: 0; background: transparent; color: rgba(243, 238, 230, .65); padding: 9px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .35s var(--ease), color .35s; }
.wardrobe-toggle button.is-active { background: var(--accent-soft); color: var(--dark); }

.w-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.w-step {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 18px 0 18px 18px;
  border-left: 1px solid rgba(243, 238, 230, .14); opacity: .38; transition: opacity .6s var(--ease), border-color .6s;
}
.w-step.is-active { opacity: 1; border-color: var(--accent-soft); }
.w-step__num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--accent-soft); }
.w-step h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.w-step p { margin: 0; color: rgba(243, 238, 230, .66); font-size: .95rem; max-width: 30rem; }
.w-progress { position: absolute; right: 0; bottom: 4%; width: 120px; height: 2px; background: rgba(243, 238, 230, .14); }
.w-progress span { display: block; height: 100%; background: var(--accent-soft); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.process__step { position: relative; padding: 40px 28px 10px 0; }
.process__step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent);
}
.process__step:hover::before { background: var(--accent); }
.process__num { display: block; font-family: var(--serif); font-size: 4.2rem; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 18px; }
.process__step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0 0 10px; }
.process__step p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.process__time { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.quote {
  margin: 0; padding: 40px 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.quote:hover { box-shadow: var(--shadow); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; transform: translateZ(24px); }
.quote figcaption { display: flex; flex-direction: column; font-size: .9rem; transform: translateZ(14px); }
.quote figcaption span { color: var(--muted); font-size: .82rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #efe8de 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.contact__list li span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact__list a { transition: color .3s; word-break: break-word; }
.contact__list a:hover { color: var(--accent); }
.contact__list li span.contact__address { display: block; padding-top: 0; color: var(--ink); font-size: .98rem; letter-spacing: normal; text-transform: none; }
.contact__list .contact__map-link {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 14px; padding: 12px 20px; border: 1px solid #161614; border-radius: 8px;
  background: #161614; color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .02em; text-decoration: none; box-shadow: 0 4px 12px rgba(22, 22, 20, .24);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.contact__list .contact__map-link:hover { background: #33332f; border-color: #33332f; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(22, 22, 20, .32); }
.contact__list .contact__map-link:focus-visible { outline: 3px solid #161614; outline-offset: 3px; }

.form {
  padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg);
  transition: border-color .3s, box-shadow .3s, background .3s; outline: none; resize: vertical;
  appearance: none; -webkit-appearance: none;
}
.field select {
  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 1l5 5 5-5' fill='none' stroke='%236f6a61' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(168, 131, 79, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b4553f; box-shadow: 0 0 0 4px rgba(180, 85, 63, .12); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form__submit { margin-top: 6px; }
.form__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(243, 238, 230, .35); border-top-color: var(--light); animation: spin .8s linear infinite; }
.form.is-sending .form__spinner { display: inline-block; }
.form.is-sending .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin: 0; min-height: 1.4em; font-size: .92rem; text-align: center; }
.form__status.is-success { color: #3f6b4a; }
.form__status.is-error { color: #a4442f; }

.form.is-sent > *:not(.form__done) { display: none; }
.form__done { text-align: center; padding: 30px 0; }
.form__done svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form__done svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s .2s var(--ease) forwards; }
.form__done h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin: 0 0 8px; }
.form__done p { color: var(--muted); margin: 0 0 22px; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(243, 238, 230, .7); padding: 70px 0 40px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.footer p { margin: 0; font-size: .95rem; }
.footer nav { display: flex; gap: 26px; font-size: .9rem; }
.footer nav a:hover { color: var(--accent-soft); }
.footer small { grid-column: 1 / -1; padding-top: 30px; margin-top: 10px; border-top: 1px solid rgba(243, 238, 230, .1); font-size: .8rem; color: rgba(243, 238, 230, .45); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.tilt.reveal.is-in { transition: opacity 1s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .studio { grid-template-columns: 1fr; }
  .studio__panel { display: grid; grid-template-columns: 1fr 1fr; }
  .studio__panel .layout-info { grid-column: 1 / -1; }
  .studio__panel .btn { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--bg); font-family: var(--serif); font-size: 2rem;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links .btn { font-family: var(--sans); font-size: 14px; margin-top: 10px; }
  .nav__links.is-open { opacity: 1; visibility: visible; }

  .hero { padding-bottom: 30px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { height: 58vh; min-height: 380px; margin: 10px -24px 0; }
  .chip--b { left: 24px; }
  .hero__stats { gap: 28px; margin-top: 40px; }
  .scroll-cue { display: none; }

  .section__head--split { grid-template-columns: 1fr; gap: 0; }
  .section__head--split .section__intro { justify-self: start; margin-top: 22px; }

  .wardrobes { height: 300vh; }
  .wardrobes__grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: 0; padding-top: calc(var(--nav-h) + 10px); }
  .wardrobes__copy .title { font-size: 2.2rem; }
  .wardrobe-toggle { margin: 14px 0 12px; }
  .w-step { display: none; padding: 6px 0 6px 14px; }
  .w-step.is-active { display: grid; }
  .w-step h3 { font-size: 1.25rem; }
  .w-step p { font-size: .88rem; }
  .wardrobes__visual { height: auto; min-height: 280px; }

  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero__visual { margin-inline: -16px; }
  .cards, .quotes, .process { grid-template-columns: 1fr; }
  .studio__stage { min-height: 440px; }
  .studio__panel { grid-template-columns: 1fr; padding: 26px 22px; }
  .layout-tabs { left: 10px; right: 10px; translate: none; justify-content: space-between; gap: 0; }
  .layout-tabs button { padding: 9px 9px; font-size: 11.5px; }
  .form__row { grid-template-columns: 1fr; }
  .chip { font-size: 11.5px; padding: 8px 12px; }
  .chip--a { right: 16px; top: 6%; }
  .chip--c { display: none; }
  .hero__stats dt { font-size: 2.1rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer nav { flex-wrap: wrap; }
}

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

/* ---------- Stainless steel teaser band ---------- */
.steel-band {
  position: relative; padding: clamp(90px, 11vw, 140px) 0; border-top: 1px solid var(--line);
  background: radial-gradient(60% 70% at 80% 40%, #fffdf9 0%, rgba(255, 253, 249, 0) 70%), var(--bg);
}
.steel-band__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.steel-band__intro { color: var(--muted); font-size: 1.05rem; max-width: 34rem; margin: 22px 0 34px; }
.steel-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steel-band__list li {
  position: relative; overflow: hidden; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.steel-band__list li::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, #d9dcdf, #a9aeb3 50%, #e3e6e8);
}
.steel-band__list li:hover { border-color: rgba(168, 131, 79, .35); transform: translateY(-4px); box-shadow: var(--shadow); }
.steel-band__list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 6px; }
.steel-band__list span { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .steel-band__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .steel-band__list { grid-template-columns: 1fr; } }
.form__fallback { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--accent); }
.form__fallback:hover { color: var(--accent); }
/* reversed logo on dark backgrounds: the black dot becomes light */
.brand--light .brand__mark circle { fill: var(--light); }
