/* ==========================================================================
   Krishna Furniture House — Design System
   Hand-compiled Tailwind-style utility layer + components.
   Palette derived from the brand logo's wood-to-gold gradient.
   No build step required.
   ========================================================================== */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Wood & gold — sampled from the logo artwork */
  --gold:        #c9962f;
  --gold-light:  #d9a441;
  --gold-pale:   #e8c87e;
  --gold-deep:   #a87a22;

  --wood:        #8b5a34;
  --tan:         #c08b5c;
  --walnut:      #6b4a2f;
  --walnut-dark: #4a3220;

  --charcoal:      #17120d;
  --charcoal-soft: #221a12;
  --charcoal-line: #33281c;

  --beige:    #e3d7c6;
  --ivory:    #f7f3ec;
  --offwhite: #fbf9f6;
  --white:    #ffffff;

  --ink:       #1d160f;
  --ink-muted: #6d6053;
  --line:      #e6ddd0;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h:        84px;
  --header-h-scroll: 68px;
  --ticker-h:        38px;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --shadow-sm: 0 1px 2px rgba(35, 24, 14, .06);
  --shadow-md: 0 10px 30px -12px rgba(35, 24, 14, .18);
  --shadow-lg: 0 30px 60px -24px rgba(35, 24, 14, .28);
  --shadow-gold: 0 12px 30px -12px rgba(201, 150, 47, .45);
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--line); }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Contain sideways overflow (the marquee track is several thousand px wide).
   `clip` is used rather than `hidden` because `hidden` on <body> propagates to
   the viewport and inflates the containing block that position:fixed resolves
   against — which stretched the mobile drawer far wider than the screen.
   `hidden` stays as the fallback for browsers without `clip`. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
/* The hidden attribute must win over component display rules
   (.mobile-nav and .search-overlay both set display), so a closed
   drawer is genuinely out of the layout and out of the tab order. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-pale); color: var(--charcoal); }

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

/* ---------- 3. LAYOUT PRIMITIVES ---------------------------------------- */
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px)  { .container { padding-inline: 32px; } }
@media (min-width: 1280px) { .container { padding-inline: 48px; } }
.container-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container-narrow { padding-inline: 32px; } }

.section     { padding-block: 68px; }
.section-lg  { padding-block: 84px; }
.section-sm  { padding-block: 48px; }
@media (min-width: 768px)  { .section { padding-block: 96px; } .section-lg { padding-block: 120px; } .section-sm { padding-block: 64px; } }
@media (min-width: 1280px) { .section { padding-block: 118px; } .section-lg { padding-block: 148px; } }

/* ---------- 4. TYPOGRAPHY ------------------------------------------------ */
.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }

.display-1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 8.4vw, 5.75rem); line-height: 1.02; font-weight: 600; letter-spacing: -.022em; }
.display-2 { font-family: var(--font-serif); font-size: clamp(2rem, 5.4vw, 3.75rem);  line-height: 1.08; font-weight: 600; letter-spacing: -.018em; }
.display-3 { font-family: var(--font-serif); font-size: clamp(1.65rem, 3.6vw, 2.6rem); line-height: 1.14; font-weight: 600; letter-spacing: -.014em; }
.display-4 { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.22; font-weight: 600; }

.lead { font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.72; color: var(--ink-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--gold-light); }

.text-xs   { font-size: .75rem;   line-height: 1.5; }
.text-sm   { font-size: .875rem;  line-height: 1.6; }
.text-base { font-size: 1rem;     line-height: 1.65; }
.text-lg   { font-size: 1.125rem; line-height: 1.65; }
.text-xl   { font-size: 1.25rem;  line-height: 1.5; }
.text-2xl  { font-size: 1.5rem;   line-height: 1.35; }
.text-3xl  { font-size: 1.875rem; line-height: 1.25; }

.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.italic        { font-style: italic; }
.uppercase     { text-transform: uppercase; }
.tracking-wide   { letter-spacing: .06em; }
.tracking-wider  { letter-spacing: .12em; }
.tracking-widest { letter-spacing: .2em; }
.leading-relaxed { line-height: 1.75; }
.text-balance  { text-wrap: balance; }
.text-pretty   { text-wrap: pretty; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ---------- 5. COLOUR ---------------------------------------------------- */
.text-gold      { color: var(--gold); }
.text-gold-light{ color: var(--gold-light); }
.text-gold-deep { color: var(--gold-deep); }
.text-walnut    { color: var(--walnut); }
.text-wood      { color: var(--wood); }
.text-charcoal  { color: var(--charcoal); }
.text-ink       { color: var(--ink); }
.text-muted     { color: var(--ink-muted); }
.text-ivory     { color: var(--ivory); }
.text-white     { color: var(--white); }
.text-beige     { color: var(--beige); }

.bg-white     { background-color: var(--white); }
.bg-offwhite  { background-color: var(--offwhite); }
.bg-ivory     { background-color: var(--ivory); }
.bg-beige     { background-color: var(--beige); }
.bg-charcoal  { background-color: var(--charcoal); }
.bg-charcoal-soft { background-color: var(--charcoal-soft); }
.bg-walnut    { background-color: var(--walnut); }
.bg-walnut-dark { background-color: var(--walnut-dark); }
.bg-gold      { background-color: var(--gold); }

.gold-text {
  background: linear-gradient(100deg, var(--tan) 0%, var(--gold-light) 45%, var(--gold-pale) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.wood-gold-rule {
  height: 2px; border: 0;
  background: linear-gradient(90deg, var(--wood), var(--gold-light) 55%, transparent);
}

/* ---------- 6. FLEX / GRID ---------------------------------------------- */
.block { display: block; } .inline-block { display: inline-block; }
.flex { display: flex; } .inline-flex { display: inline-flex; }
.grid { display: grid; } .hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; }  .gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }   .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }   .gap-10 { gap: 2.5rem; } .gap-12 { gap: 3rem; } .gap-16 { gap: 4rem; }

/* ---------- 7. SPACING --------------------------------------------------- */
.m-0 { margin: 0; } .mx-auto { margin-inline: auto; }
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}
.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}
.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}
.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}
.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}

.p-0{padding:0}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-10{padding:2.5rem}
.px-4{padding-inline:1rem}.px-5{padding-inline:1.25rem}.px-6{padding-inline:1.5rem}.px-8{padding-inline:2rem}
.py-2{padding-block:.5rem}.py-3{padding-block:.75rem}.py-4{padding-block:1rem}.py-6{padding-block:1.5rem}
.py-8{padding-block:2rem}.py-10{padding-block:2.5rem}.py-12{padding-block:3rem}.py-16{padding-block:4rem}
.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-12{padding-top:3rem}
.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-12{padding-bottom:3rem}

/* ---------- 8. SIZE / POSITION / MISC ------------------------------------ */
.w-full{width:100%}.h-full{height:100%}.min-h-screen{min-height:100vh}
.max-w-xs{max-width:20rem}.max-w-sm{max-width:24rem}.max-w-md{max-width:28rem}
.max-w-lg{max-width:32rem}.max-w-xl{max-width:36rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}
.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}
.inset-0{inset:0}.top-0{top:0}.left-0{left:0}.right-0{right:0}.bottom-0{bottom:0}
.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}
.overflow-hidden{overflow:hidden}
.rounded-none{border-radius:0}.rounded-sm{border-radius:2px}.rounded{border-radius:4px}
.rounded-lg{border-radius:8px}.rounded-full{border-radius:9999px}
.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}
.border-line{border-color:var(--line)}.border-beige{border-color:var(--beige)}
.object-cover{object-fit:cover}
.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}
.aspect-\[4\/5\]{aspect-ratio:4/5}.aspect-\[3\/4\]{aspect-ratio:3/4}.aspect-\[4\/3\]{aspect-ratio:4/3}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--charcoal); color: var(--ivory);
  padding: 12px 20px; border-radius: 4px; font-size: .875rem; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 9. RESPONSIVE VARIANTS -------------------------------------- */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:block { display: block; } .sm\:flex { display: flex; } .sm\:hidden { display: none; }
  .sm\:text-left { text-align: left; }
  .sm\:w-auto { width: auto; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:flex-row { flex-direction: row; }
  .md\:block { display: block; } .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; } .md\:hidden { display: none; }
  .md\:text-left { text-align: left; } .md\:text-center { text-align: center; }
  .md\:items-center { align-items: center; } .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:gap-8 { gap: 2rem; } .md\:gap-12 { gap: 3rem; } .md\:gap-16 { gap: 4rem; }
  .md\:p-10 { padding: 2.5rem; } .md\:p-12 { padding: 3rem; }
  .md\:mt-0 { margin-top: 0; } .md\:mb-0 { margin-bottom: 0; }
  .md\:w-auto { width: auto; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:flex { display: flex; } .lg\:hidden { display: none; }
  .lg\:inline-flex { display: inline-flex; } .lg\:block { display: block; }
  .lg\:gap-16 { gap: 4rem; } .lg\:gap-20 { gap: 5rem; }
  .lg\:text-left { text-align: left; }
  .lg\:pl-12 { padding-left: 3rem; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .xl\:block { display: block; } .xl\:flex { display: flex; }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* ---------- BUTTONS ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-sans); font-size: .8125rem; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; white-space: nowrap;
  border-radius: 2px; cursor: pointer; position: relative; overflow: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  min-height: 50px;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--wa:hover svg, .btn--call:hover svg { transform: none; }

.btn-primary {
  background: linear-gradient(100deg, var(--wood) 0%, var(--gold) 55%, var(--gold-light) 100%);
  background-size: 160% 100%; background-position: 0% 0;
  color: #fff; box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(201,150,47,.6); }

.btn-dark { background: var(--charcoal); color: var(--ivory); }
.btn-dark:hover { background: var(--walnut-dark); }

.btn-outline { border: 1px solid var(--walnut); color: var(--walnut); background: transparent; }
.btn-outline:hover { background: var(--walnut); color: var(--ivory); }

.btn-outline-light { border: 1px solid rgba(247,243,236,.42); color: var(--ivory); background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }

.btn-whatsapp { background: #1faa5a; color: #fff; }
.btn-whatsapp:hover { background: #17904a; }

.btn-sm { padding: 11px 20px; min-height: 42px; font-size: .75rem; }

/* On the narrowest phones a long uppercase label would otherwise set a
   min-content floor wider than the viewport. Let it wrap instead. */
@media (max-width: 399px) {
  .btn { padding-inline: 20px; white-space: normal; text-align: center; }
}
.btn-block { width: 100%; }
@media (min-width: 640px) { .btn-block-mobile { width: auto; } }
.btn-block-mobile { width: 100%; }

/* Text link with animated underline */
.link-underline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--walnut); padding-bottom: 3px; position: relative;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .4s var(--ease);
}
.link-underline:hover::after { transform-origin: left; animation: link-sweep .55s var(--ease); }
@keyframes link-sweep { 0%{transform:scaleX(1);transform-origin:right} 49%{transform:scaleX(0);transform-origin:right} 51%{transform:scaleX(0);transform-origin:left} 100%{transform:scaleX(1);transform-origin:left} }
.link-underline svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.link-underline:hover svg { transform: translate(3px,-3px); }
.link-underline--light { color: var(--gold-pale); }

/* ---------- TICKER ------------------------------------------------------- */
.ticker {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(201,150,47,.16);
  height: var(--ticker-h);
  display: flex; align-items: center;
  overflow: hidden; position: relative;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--charcoal), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--charcoal), transparent); }
.ticker__track { display: flex; flex-shrink: 0; animation: ticker-scroll 46s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.ticker__item {
  display: inline-flex; align-items: center; gap: 10px;
  padding-inline: 22px; white-space: nowrap;
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(227,215,198,.82);
}
.ticker__item::before { content: "✦"; color: var(--gold-light); font-size: .8em; }

/* ---------- HEADER ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h);
  transition: height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(23,18,13,.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 34px -18px rgba(0,0,0,.85);
  border-bottom-color: rgba(201,150,47,.2);
}
.site-header.is-scrolled .site-header__inner { height: var(--header-h-scroll); }
.site-header.is-scrolled .brand__logo { height: 40px; }
/* Thin gold rule at the header's foot, echoing the logo gradient */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood) 18%, var(--gold-light) 50%, var(--wood) 82%, transparent);
  opacity: .5;
}

.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
/* The wordmark is ~3.7:1, so its height drives its width. Step it down on
   narrow screens or it crowds the action buttons off a 320px viewport. */
.brand__logo { height: 34px; width: auto; transition: height .35s var(--ease); }
@media (min-width: 400px)  { .brand__logo { height: 40px; } }
@media (min-width: 640px)  { .brand__logo { height: 46px; } }
@media (min-width: 1024px) { .brand__logo { height: 50px; } }

/* Desktop navigation */
.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav__link {
  position: relative; padding: 10px 15px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(240,232,220,.84);
  transition: color .3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold-light); }
.nav__link.is-active::after { transform: scaleX(1); }
/* Between the nav appearing (1024px) and there being room to breathe,
   tighten the links so every item still fits beside the logo and actions. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__link { padding-inline: 10px; font-size: .78125rem; }
  .nav__link::after { left: 10px; right: 10px; }
}

/* ---------- NAV DROPDOWN ------------------------------------------------- */
.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; cursor: pointer;
}
.nav__caret {
  width: 13px; height: 13px; flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__toggle[aria-expanded="true"] { color: var(--white); }
.nav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 268px; z-index: 60;
  background: var(--charcoal);
  border: 1px solid rgba(201,150,47,.26);
  border-radius: 3px;
  box-shadow: 0 26px 60px -26px rgba(0,0,0,.9);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.nav__group.is-open .nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Hover bridge: keeps the menu open while the pointer crosses the gap. */
.nav__menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
/* Gold hairline echoing the header rule */
.nav__menu::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: .6;
}

.nav__menu-link {
  display: block; padding: 11px 13px; border-radius: 2px;
  transition: background-color .25s var(--ease);
}
.nav__menu-link:hover, .nav__menu-link:focus-visible { background: rgba(201,150,47,.14); }
.nav__menu-title {
  display: block; font-size: .875rem; font-weight: 500; color: var(--ivory);
  letter-spacing: .01em;
}
.nav__menu-desc {
  display: block; margin-top: 3px; font-size: .6875rem; line-height: 1.45;
  color: rgba(227,215,198,.58);
}
.nav__menu-link.is-active .nav__menu-title { color: var(--gold-light); }
.nav__menu-link.is-active { background: rgba(201,150,47,.1); }

/* ---------- MOBILE DRAWER GROUP ----------------------------------------- */
.mobile-nav__group {
  padding: 20px 4px 6px;
  border-bottom: 1px solid rgba(227,215,198,.1);
  opacity: 0; transform: translateY(14px);
}
.mobile-nav.is-open .mobile-nav__group { animation: drawer-in .5s var(--ease) forwards; }
.mobile-nav__group-title {
  font-size: .625rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(201,150,47,.75); margin-bottom: 4px;
}
.mobile-nav__sublink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  font-family: var(--font-serif); font-size: 1.28rem; font-weight: 500;
  color: rgba(240,232,220,.9);
}
.mobile-nav__sublink svg { width: 14px; height: 14px; color: rgba(201,150,47,.6); }
.mobile-nav__sublink.is-active { color: var(--gold-light); }
.mobile-nav__sublink + .mobile-nav__sublink { border-top: 1px solid rgba(227,215,198,.06); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Below 420px the WhatsApp icon is dropped from the header — the sticky
   bottom CTA bar carries it on exactly those screens. */
.header-actions .icon-btn--wa { display: none; }
@media (min-width: 420px) { .header-actions .icon-btn--wa { display: inline-flex; } }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  color: rgba(240,232,220,.88);
  border: 1px solid rgba(227,215,198,.16);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.icon-btn:hover { background: rgba(201,150,47,.16); color: var(--gold-pale); border-color: rgba(201,150,47,.4); }
.icon-btn svg { width: 18px; height: 18px; }

.header-phone {
  display: none; align-items: center; gap: 9px;
  font-size: .8125rem; font-weight: 500; color: rgba(240,232,220,.88); white-space: nowrap;
  padding-inline: 6px;
  transition: color .3s var(--ease);
}
.header-phone:hover { color: var(--gold-light); }
.header-phone svg { width: 16px; height: 16px; color: var(--gold-light); }
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px; border-radius: 4px;
  border: 1px solid rgba(227,215,198,.16);
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block; height: 1.5px; width: 100%; background: var(--ivory); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), width .35s var(--ease);
}
.hamburger span:nth-child(3) { width: 62%; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { width: 100%; transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  width: 100vw; max-width: 100vw;
  background: var(--charcoal);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-inline: 20px; flex-shrink: 0;
  border-bottom: 1px solid rgba(227,215,198,.1);
}
.mobile-nav__body { padding: 28px 20px 40px; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px;
  font-family: var(--font-serif); font-size: 1.65rem; font-weight: 500;
  color: var(--ivory);
  border-bottom: 1px solid rgba(227,215,198,.1);
  opacity: 0; transform: translateY(14px);
}
.mobile-nav.is-open .mobile-nav__link { animation: drawer-in .5s var(--ease) forwards; }
@keyframes drawer-in { to { opacity: 1; transform: translateY(0); } }
.mobile-nav__link span { color: rgba(201,150,47,.55); font-family: var(--font-sans); font-size: .75rem; letter-spacing: .1em; }
.mobile-nav__link.is-active { color: var(--gold-light); }
.mobile-nav__foot { margin-top: 30px; display: grid; gap: 12px; }
.mobile-nav__contact { margin-top: 28px; display: grid; gap: 12px; font-size: .875rem; color: rgba(227,215,198,.7); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 10px; }
.mobile-nav__contact svg { width: 15px; height: 15px; color: var(--gold-light); }
body.is-locked { overflow: hidden; }

/* ---------- HERO --------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Warm wood-toned scrim: dark at the left where the copy sits */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(94deg, rgba(20,15,10,.94) 0%, rgba(24,18,12,.86) 34%, rgba(30,22,14,.5) 62%, rgba(40,28,17,.22) 100%),
    linear-gradient(180deg, rgba(19,14,9,.75) 0%, transparent 26%, transparent 62%, rgba(19,14,9,.88) 100%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(64px, 12vh, 132px) clamp(120px, 20vh, 210px);
  min-height: clamp(560px, 88vh, 940px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__content { max-width: 760px; }
.hero__title { color: var(--ivory); margin-bottom: 26px; }
.hero__title .line { display: block; }
.hero__title .line--accent { font-style: italic; }
.hero__text { max-width: 560px; color: rgba(238,230,218,.82); font-size: clamp(.95rem, 1.15vw, 1.0625rem); line-height: 1.78; }
.hero__text strong { color: var(--gold-light); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
/* Stacked buttons sized to their own labels look ragged — match them up. */
@media (max-width: 519px) { .hero__actions .btn { width: 100%; } }
.hero__trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: .6875rem; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(227,215,198,.62);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 18px; }
.hero__trust span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .8; }
.hero__trust span:last-child::after { display: none; }

/* Stats bar overlapping the hero's lower edge */
.hero-stats { position: relative; z-index: 5; margin-top: -78px; }
@media (max-width: 767px) { .hero-stats { margin-top: -96px; } }
.hero-stats__panel {
  background: rgba(23,18,13,.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border: 1px solid rgba(201,150,47,.24);
  border-radius: 3px;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.85);
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  overflow: hidden;
}
@media (min-width: 768px) { .hero-stats__panel { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat { padding: 24px 18px; text-align: center; position: relative; }
@media (min-width: 768px) { .stat { padding: 34px 22px; } }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,150,47,.36), transparent);
}
@media (max-width: 767px) { .stat:nth-child(odd)::before { display: none; } }
.stat__value {
  font-family: var(--font-serif); font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  font-weight: 600; line-height: 1; display: block;
  background: linear-gradient(100deg, var(--tan), var(--gold-light) 50%, var(--gold-pale));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat__label {
  margin-top: 9px; display: block;
  font-size: .625rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: rgba(227,215,198,.66);
}

/* Scroll hint */
.hero__scroll {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(227,215,198,.5);
}
@media (min-width: 1280px) { .hero__scroll { display: flex; } }
.hero__scroll i { display: block; width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); }

/* ---------- SECTION HEADINGS -------------------------------------------- */
.section-head { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { margin-top: 16px; }
.section-head__text { margin-top: 18px; }
.section-head-row {
  display: flex; flex-direction: column; gap: 22px;
  align-items: flex-start; justify-content: space-between;
}
@media (min-width: 768px) { .section-head-row { flex-direction: row; align-items: flex-end; gap: 40px; } }

/* ---------- TRUST STRIP -------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.trust-item { padding: 32px 8px; position: relative; }
@media (min-width: 640px) { .trust-item { padding: 34px 28px; } }
.trust-item + .trust-item { border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .trust-item { border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .trust-item { border-top: 0; border-left: 1px solid var(--line); }
  .trust-item:first-child { border-left: 0; }
}
.trust-item__icon {
  width: 46px; height: 46px; margin-bottom: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  transition: transform .45s var(--ease), color .45s var(--ease);
}
.trust-item__icon svg { width: 30px; height: 30px; }
.trust-item:hover .trust-item__icon { transform: translateY(-4px); color: var(--gold); }
.trust-item h3 { font-size: 1.3rem; margin-bottom: 9px; }
.trust-item p { font-size: .9375rem; color: var(--ink-muted); line-height: 1.68; }

/* ---------- CATEGORY CARD ------------------------------------------------ */
.cat-card {
  position: relative; display: block; overflow: hidden;
  background: var(--charcoal); border-radius: 2px; isolation: isolate;
}
.cat-card__media { position: absolute; inset: 0; z-index: -2; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat-card:hover .cat-card__media img, .cat-card:focus-visible .cat-card__media img { transform: scale(1.07); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,10,.06) 0%, rgba(20,15,10,.44) 46%, rgba(18,13,8,.9) 100%);
  transition: background .5s var(--ease);
}
.cat-card:hover::before { background: linear-gradient(180deg, rgba(20,15,10,.2) 0%, rgba(20,15,10,.6) 46%, rgba(18,13,8,.94) 100%); }
.cat-card__body {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px; padding: 24px;
}
@media (min-width: 768px) { .cat-card__body { min-height: 400px; padding: 30px; } }
.cat-card__title {
  font-size: 1.45rem; color: var(--ivory);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
@media (min-width: 768px) { .cat-card__title { font-size: 1.7rem; } }
.cat-card__title svg {
  width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-light);
  transition: transform .45s var(--ease);
}
.cat-card:hover .cat-card__title svg { transform: translate(4px,-4px); }
.cat-card__text {
  margin-top: 9px; font-size: .875rem; line-height: 1.6; color: rgba(232,224,212,.78);
  max-width: 34ch;
}
.cat-card__count {
  align-self: flex-start; margin-bottom: 14px;
  font-size: .625rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-pale); padding: 5px 11px;
  border: 1px solid rgba(201,150,47,.42); border-radius: 999px;
  background: rgba(23,18,13,.4);
}

/* Category grid: first tile spans two columns on large screens (editorial rhythm) */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (min-width: 640px)  { .cat-grid { gap: 16px; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; } }
@media (min-width: 1024px) { .cat-grid > :first-child, .cat-grid > :nth-child(6) { grid-column: span 2; } }

/* ---------- PRODUCT CARD ------------------------------------------------- */
.product-card { display: flex; flex-direction: column; background: transparent; position: relative; }
.product-card__media {
  position: relative; overflow: hidden; background: var(--ivory);
  aspect-ratio: 4/5; border-radius: 2px;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .5625rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--charcoal); background: var(--gold-pale);
  padding: 6px 11px; border-radius: 2px;
}
/* Hover action bar slides up from the image's foot */
.product-card__actions {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions { opacity: 1; transform: translateY(0); }
@media (hover: none) { .product-card__actions { opacity: 1; transform: none; } }
.product-card__action {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 10px 8px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  background: rgba(255,255,255,.95); color: var(--charcoal);
  backdrop-filter: blur(6px); border-radius: 2px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.product-card__action svg { width: 14px; height: 14px; }
.product-card__action:hover { background: var(--charcoal); color: var(--ivory); }
.product-card__action--wa:hover { background: #1faa5a; color: #fff; }
.product-card__body { padding-top: 18px; }
.product-card__cat {
  font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600;
}
.product-card__title { font-size: 1.3rem; margin-top: 8px; }
.product-card__title a { transition: color .3s var(--ease); }
.product-card:hover .product-card__title a { color: var(--wood); }
.product-card__text { margin-top: 7px; font-size: .875rem; color: var(--ink-muted); line-height: 1.62; }
.product-card__meta {
  margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .75rem; color: var(--ink-muted);
}
.product-card__spec { text-align: right; flex-shrink: 0; }
.product-card__badge--save { background: var(--walnut); color: var(--ivory); }

/* ---------- PRICE ------------------------------------------------------- */
.price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price__now {
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); line-height: 1;
}
.price__was {
  font-size: .8125rem; color: var(--ink-muted);
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.price__save {
  font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(201,150,47,.12);
  padding: 4px 9px; border-radius: 2px;
}
/* Larger treatment on the product detail page */
.price--lg { align-items: baseline; gap: 14px; }
.price--lg .price__now { font-size: clamp(2rem, 4vw, 2.6rem); }
.price--lg .price__was { font-size: 1.0625rem; }
.price-note { margin-top: 10px; font-size: .8125rem; color: var(--ink-muted); }

/* ---------- SPLIT / EDITORIAL SECTIONS ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
/* Grid items default to min-width:auto, which lets a wide child (a long
   nowrap button label) push the track past the container. */
.split > * { min-width: 0; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 72px; } }
.split--reverse > :first-child { order: 2; }
@media (max-width: 1023px) { .split--reverse > :first-child { order: 0; } }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: 2px; }
/* Offset gold frame behind the image */
.split__media::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; z-index: -1;
  border: 1px solid rgba(201,150,47,.4); border-radius: 2px;
}
@media (min-width: 768px) { .split__media::before { inset: -22px -22px 22px 22px; } }
.split__badge {
  position: absolute; right: -12px; bottom: -22px;
  background: var(--charcoal); color: var(--ivory);
  padding: 20px 24px; border-radius: 2px; max-width: 220px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .split__badge { right: -26px; bottom: -30px; padding: 26px 30px; } }
.split__badge strong {
  display: block; font-family: var(--font-serif); font-size: 2.1rem; line-height: 1;
  color: var(--gold-light); font-weight: 600;
}
.split__badge span { display: block; margin-top: 7px; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(227,215,198,.7); }

/* Feature list with gold ticks */
.tick-list { display: grid; gap: 14px; margin-top: 26px; }
.tick-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .9375rem; line-height: 1.6; }
.tick-list svg { width: 17px; height: 17px; margin-top: 4px; flex-shrink: 0; color: var(--gold); }
.tick-list strong { display: block; font-weight: 600; color: var(--ink); }
.tick-list span { color: var(--ink-muted); font-size: .875rem; }

/* ---------- COLLECTIONS (editorial rows) --------------------------------- */
.collection-row {
  display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center;
  padding-block: 34px; border-top: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .collection-row { grid-template-columns: 0.9fr 1.1fr; gap: 60px; padding-block: 46px; }
  .collection-row:nth-child(even) > :first-child { order: 2; }
}
.collection-row__media { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 16/10; }
.collection-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collection-row:hover .collection-row__media img { transform: scale(1.05); }
.collection-row__index {
  font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--beige); font-weight: 600;
}

/* ---------- PROJECTS (masonry-ish editorial grid) ------------------------ */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px)  { .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 22px; } }
@media (min-width: 1024px) {
  .project-card--tall { grid-column: span 2; }
  .project-card--wide { grid-column: span 4; }
}
.project-card {
  position: relative; display: block; overflow: hidden; border-radius: 2px;
  background: var(--charcoal); isolation: isolate;
}
.project-card__media { position: absolute; inset: 0; z-index: -2; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.15s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,10,.1), rgba(20,15,10,.5) 52%, rgba(18,13,8,.93));
}
.project-card__body {
  position: relative; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
@media (min-width: 1024px) { .project-card__body { min-height: 400px; padding: 32px; } }
.project-card--tall .project-card__body { min-height: 380px; }
@media (min-width: 1024px) { .project-card--tall .project-card__body { min-height: 520px; } }
.project-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px;
  font-size: .625rem; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-pale);
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 14px; }
.project-card__meta span::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.project-card__meta span:last-child::after { display: none; }
.project-card__title { font-size: 1.55rem; color: var(--ivory); }
@media (min-width: 1024px) { .project-card__title { font-size: 1.9rem; } }
.project-card__text {
  margin-top: 10px; font-size: .875rem; line-height: 1.62; color: rgba(232,224,212,.76); max-width: 52ch;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.project-card:hover .project-card__text, .project-card:focus-within .project-card__text { max-height: 130px; opacity: 1; }
@media (hover: none) { .project-card__text { max-height: 130px; opacity: 1; } }
.project-card__link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 9px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light);
}
.project-card__link svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.project-card:hover .project-card__link svg { transform: translate(3px,-3px); }

/* ---------- TESTIMONIALS ------------------------------------------------- */
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: flex; transition: transform .65s var(--ease); }
.testimonial-slide { flex: 0 0 100%; padding-inline: 4px; }
.testimonial-quote {
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2.05rem); line-height: 1.42; color: var(--ivory);
  max-width: 30ch; margin-inline: auto; text-wrap: balance;
}
.testimonial-mark {
  font-family: var(--font-serif); font-size: 5rem; line-height: .6; color: var(--gold);
  opacity: .5; display: block; margin-bottom: 14px;
}
.testimonial-author { margin-top: 30px; }
.testimonial-author strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--gold-pale); letter-spacing: .04em; }
.testimonial-author span { display: block; margin-top: 5px; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(227,215,198,.56); }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 38px; }
.testimonial-dots { display: flex; align-items: center; gap: 9px; }
.testimonial-dot {
  width: 7px; height: 7px; border-radius: 999px; padding: 0;
  background: rgba(227,215,198,.28); transition: background-color .35s var(--ease), width .35s var(--ease);
}
.testimonial-dot.is-active { background: var(--gold-light); width: 26px; }
.testimonial-arrow {
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid rgba(227,215,198,.22); color: rgba(240,232,220,.85);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.testimonial-arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.testimonial-arrow svg { width: 17px; height: 17px; }

/* ---------- CTA BAND ----------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--charcoal); isolation: isolate; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,10,.92), rgba(23,18,13,.82));
}

/* ---------- FOOTER ------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: rgba(227,215,198,.72); }
.site-footer h3 {
  font-family: var(--font-sans); font-size: .6875rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 44px 32px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 56px; } }
.footer-link { display: inline-block; padding-block: 6px; font-size: .875rem; transition: color .3s var(--ease), transform .3s var(--ease); }
.footer-link:hover { color: var(--gold-pale); transform: translateX(3px); }
.footer-contact { display: grid; gap: 15px; font-size: .875rem; }
.footer-contact a, .footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; color: var(--gold-light); }
.footer-contact a { transition: color .3s var(--ease); }
.footer-contact a:hover { color: var(--gold-pale); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(227,215,198,.16);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(227,215,198,.12);
  display: flex; flex-direction: column; gap: 14px;
  font-size: .8125rem; color: rgba(227,215,198,.55);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-bottom a:hover { color: var(--gold-pale); }
.footer-logo { height: 52px; width: auto; margin-bottom: 20px; }

/* ---------- BREADCRUMBS -------------------------------------------------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .75rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); }
.breadcrumbs a { transition: color .3s var(--ease); }
.breadcrumbs a:hover { color: var(--wood); }
.breadcrumbs__sep { color: var(--beige); }
.breadcrumbs [aria-current] { color: var(--wood); font-weight: 500; }
.breadcrumbs--light li { color: rgba(227,215,198,.6); }
.breadcrumbs--light a:hover { color: var(--gold-pale); }
.breadcrumbs--light [aria-current] { color: var(--gold-light); }
.breadcrumbs--light .breadcrumbs__sep { color: rgba(227,215,198,.3); }

/* ---------- PAGE HERO (inner pages) -------------------------------------- */
.page-hero { position: relative; background: var(--charcoal); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(20,15,10,.94), rgba(24,18,12,.78) 55%, rgba(34,25,16,.6));
}
.page-hero__inner { padding-block: 64px 68px; }
@media (min-width: 768px) { .page-hero__inner { padding-block: 84px 92px; } }
.page-hero__title { color: var(--ivory); margin-top: 20px; }
.page-hero__text { margin-top: 18px; max-width: 620px; color: rgba(238,230,218,.78); font-size: 1.0625rem; line-height: 1.72; }

/* ---------- PRODUCT DETAIL ----------------------------------------------- */
.gallery__main {
  position: relative; overflow: hidden; background: var(--ivory);
  border-radius: 2px; aspect-ratio: 4/5;
}
@media (min-width: 1024px) { .gallery__main { aspect-ratio: 1/1; } }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.gallery__thumb {
  position: relative; overflow: hidden; background: var(--ivory);
  border: 1px solid transparent; border-radius: 2px; aspect-ratio: 1/1; padding: 0;
  transition: border-color .3s var(--ease), opacity .3s var(--ease);
  opacity: .62;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--gold); opacity: 1; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.spec-table th, .spec-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9375rem; }
.spec-table th {
  width: 42%; font-family: var(--font-sans); font-weight: 500; color: var(--ink-muted);
  font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; padding-right: 16px;
}
.spec-table td { color: var(--ink); font-weight: 500; }

/* ---------- FORMS -------------------------------------------------------- */
.field { display: block; margin-bottom: 20px; }
.field__label {
  display: block; margin-bottom: 9px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-muted);
}
.field__label .req { color: var(--gold-deep); }
.field__input {
  width: 100%; padding: 14px 16px; min-height: 52px;
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  font-size: .9375rem; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field__input::placeholder { color: #a89d8f; }
.field__input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,47,.14);
}
.field__input[aria-invalid="true"] { border-color: #c0442f; box-shadow: 0 0 0 3px rgba(192,68,47,.12); }
textarea.field__input { min-height: 132px; resize: vertical; }
select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6053' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 17px;
  padding-right: 44px;
}
.field__error { display: none; margin-top: 7px; font-size: .75rem; color: #c0442f; font-weight: 500; }
.field__error.is-shown { display: block; }
.form-note { font-size: .8125rem; color: var(--ink-muted); line-height: 1.6; }

/* ---------- INFO CARDS --------------------------------------------------- */
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  padding: 26px; transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.info-card:hover { border-color: rgba(201,150,47,.5); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card__icon {
  width: 44px; height: 44px; border-radius: 999px; margin-bottom: 18px;
  background: var(--ivory); color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card h3 { font-size: 1.2rem; margin-bottom: 7px; }

/* ---------- ACCORDION ---------------------------------------------------- */
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--ink);
  transition: color .3s var(--ease);
}
.accordion__trigger:hover { color: var(--wood); }
.accordion__icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px;
  border: 1px solid var(--line); color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.accordion__icon svg { width: 15px; height: 15px; }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.accordion__panel[data-open="true"] { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding-bottom: 24px; color: var(--ink-muted); font-size: .9375rem; line-height: 1.72; max-width: 62ch; }

/* ---------- PROSE (legal pages) ------------------------------------------ */
.prose h2 { font-size: 1.7rem; margin-top: 46px; margin-bottom: 14px; }
.prose h3 { font-size: 1.22rem; margin-top: 30px; margin-bottom: 10px; }
.prose p  { margin-bottom: 16px; color: var(--ink-muted); line-height: 1.78; }
.prose ul { margin: 0 0 20px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--ink-muted); line-height: 1.72; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose a { color: var(--wood); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose > :first-child { margin-top: 0; }

/* ---------- FLOATING ACTIONS -------------------------------------------- */
.float-stack { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: grid; gap: 10px; }
@media (max-width: 767px) { .float-stack { bottom: 78px; } }
.float-btn {
  width: 50px; height: 50px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease), background-color .3s var(--ease), opacity .3s var(--ease);
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn svg { width: 23px; height: 23px; }
.float-btn--wa { background: #1faa5a; color: #fff; }
.float-btn--top {
  background: var(--charcoal); color: var(--ivory);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.float-btn--top svg { width: 18px; height: 18px; }
.float-btn--top.is-shown { opacity: 1; visibility: visible; pointer-events: auto; }

/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 46;
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(23,18,13,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201,150,47,.28);
  transform: translateY(100%); transition: transform .4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta.is-shown { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
.mobile-cta a {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 8px; min-height: 56px;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ivory);
}
.mobile-cta a + a { border-left: 1px solid rgba(227,215,198,.14); }
.mobile-cta a svg { width: 16px; height: 16px; color: var(--gold-light); }
.mobile-cta a.is-wa svg { color: #34d17a; }

/* ---------- SEARCH OVERLAY ---------------------------------------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 70;
  width: 100vw; max-width: 100vw;
  background: rgba(23,18,13,.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 20px 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel { width: 100%; max-width: 660px; }
.search-input {
  width: 100%; padding: 16px 0; min-height: 60px;
  background: transparent; color: var(--ivory);
  border-bottom: 1px solid rgba(227,215,198,.28);
  font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2.1rem);
}
.search-input::placeholder { color: rgba(227,215,198,.36); }
.search-input:focus { outline: none; border-bottom-color: var(--gold); }
.search-results { margin-top: 24px; display: grid; gap: 2px; }
.search-result {
  display: flex; align-items: center; gap: 15px; padding: 13px 14px;
  border-radius: 2px; transition: background-color .25s var(--ease);
}
.search-result:hover, .search-result:focus-visible { background: rgba(201,150,47,.14); }
.search-result img { width: 54px; height: 54px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.search-result strong { display: block; font-family: var(--font-serif); font-size: 1.08rem; color: var(--ivory); font-weight: 600; }
.search-result span { display: block; font-size: .6875rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(201,150,47,.85); margin-top: 3px; }
.search-empty { color: rgba(227,215,198,.5); font-size: .9375rem; padding: 18px 14px; }

/* ---------- GALLERY TILES ------------------------------------------------ */
.gallery-tile {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--ivory); aspect-ratio: 4/5; margin: 0;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  font-size: .75rem; line-height: 1.45; color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(18,13,8,.9));
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery-tile:hover .gallery-tile__caption { opacity: 1; transform: none; }
@media (hover: none) { .gallery-tile__caption { opacity: 1; transform: none; } }

/* ---------- SCROLL REVEAL ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; } .reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; } .reveal-d4 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Hero entrance — runs on load, no JS dependency */
.hero-in { opacity: 0; transform: translateY(22px); animation: hero-rise .95s var(--ease) forwards; }
.hero-in-1 { animation-delay: .12s; } .hero-in-2 { animation-delay: .26s; }
.hero-in-3 { animation-delay: .40s; } .hero-in-4 { animation-delay: .54s; }
.hero-in-5 { animation-delay: .68s; } .hero-in-6 { animation-delay: .82s; }
@keyframes hero-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-in { opacity: 1; transform: none; animation: none; } }

/* ---------- PRINT -------------------------------------------------------- */
@media print {
  .site-header, .ticker, .float-stack, .mobile-cta, .site-footer, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
}
