/* ==========================================================================
   Times Furnishing — design system
   Light, warm, modern. Tokens first, then base, components, sections.
   ========================================================================== */

:root {
  /* Palette */
  --bg: #FBF8F3;
  --bg-2: #F4EEE5;
  --surface: #FFFFFF;
  --ink: #1F1B16;
  --ink-2: #4E463D;
  --muted: #8A8176;
  --line: rgba(31, 27, 22, .10);
  --line-2: rgba(31, 27, 22, .18);

  --sage: #8C9C7E;
  --sage-soft: #E4E9DD;
  --sage-deep: #4C5B43;
  --terra: #C8714A;
  --terra-soft: #F6E3D8;
  --terra-deep: #A4532F;
  --sand: #E9DFD0;
  --gold: #C9A55C;

  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .75);

  /* Type */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --fs-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.3rem);
  --fs-hero: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem);

  /* Shape & depth */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(31, 27, 22, .05), 0 4px 14px rgba(31, 27, 22, .05);
  --shadow-md: 0 10px 30px -10px rgba(31, 27, 22, .16);
  --shadow-lg: 0 30px 70px -25px rgba(70, 48, 28, .28);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 140px);
  --header-h: 76px;

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

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
p { margin: 0; }

::selection { background: var(--terra); color: #fff; }

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

.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: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.title { font-size: var(--fs-2xl); }
.title em, .hero-title em { font-style: italic; color: var(--terra); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 56ch; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .title { margin-top: 14px; max-width: 18ch; }
.section-head .lead { max-width: 42ch; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: .95rem; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--terra); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(200, 113, 74, .6); }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { color: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 14px; border-color: var(--terra); color: var(--terra-deep); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 500; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- Header ---------- */

.announce {
  background: var(--ink); color: #F3EBDF; font-size: var(--fs-xs); letter-spacing: .04em;
  text-align: center; padding: 9px 16px;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #2A2928; flex: none; }
.logo-mark { width: 40px; height: 40px; flex: none; transition: transform .6s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-word { display: flex; flex-direction: column; font-family: "Montserrat", var(--font-body); line-height: 1; }
.logo-word b { font-weight: 700; font-size: 1.42rem; letter-spacing: -.02em; }
.logo-word span { font-weight: 300; font-size: .86rem; letter-spacing: .05em; margin-top: 3px; }
.logo--light { color: #fff; }
.site-footer .logo-mark { width: 48px; height: 48px; }

/* Brand stripe — the seven colours from the logo */
.brand-stripe { height: 4px; background: linear-gradient(90deg, #FDC936 0 14.28%, #EF7637 0 28.57%, #E25A5E 0 42.85%, #8B5E86 0 57.14%, #67AEB0 0 71.42%, #ABCB27 0 85.71%, #61A373 0); }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font-size: .93rem; color: var(--ink-2); transition: background .25s, color .25s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: rgba(31, 27, 22, .05); color: var(--ink); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .3s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -40px; width: min(760px, 80vw);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .35s var(--ease);
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; transition: background .25s; }
.mega a:hover { background: var(--bg-2); }
.mega img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.mega strong { display: block; font-weight: 500; font-size: .93rem; }
.mega span { font-size: var(--fs-xs); color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  transition: background .25s;
}
.icon-btn:hover { background: rgba(31, 27, 22, .06); }
.icon-btn .count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--terra); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.icon-btn .count.is-visible { transform: scale(1); }
.menu-toggle { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
}
.drawer-backdrop { position: absolute; inset: 0; background: rgba(31, 27, 22, .35); opacity: 0; transition: opacity .4s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88vw); background: var(--bg);
  padding: 22px 24px 32px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
  transform: translateX(100%); transition: transform .55s var(--ease);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav a { display: block; font-family: var(--font-display); font-size: 1.9rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-cats a { font-family: var(--font-body); font-size: .9rem; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.drawer .btn { width: 100%; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: start center; padding-top: 14vh;
  background: rgba(251, 248, 243, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box { width: min(720px, 100% - 32px); }
.search-box form { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; }
.search-box input { flex: 1; border: 0; background: none; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.6rem); outline: none; min-width: 0; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.search-tags a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--fs-sm); }
.search-tags a:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: calc(100svh - var(--header-h) - 36px);
  display: flex; align-items: center; padding-block: 24px 64px; overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.blob--1 { width: 46vw; height: 46vw; right: -8vw; top: -10vw; background: radial-gradient(circle, #F4D9C8, transparent 65%); }
.blob--2 { width: 38vw; height: 38vw; left: -12vw; bottom: -14vw; background: radial-gradient(circle, #DCE5D3, transparent 65%); }
.blob--3 { width: 22vw; height: 22vw; left: 38vw; top: 8vw; background: radial-gradient(circle, #F1E6CF, transparent 65%); }
.hero-grain {
  position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: var(--fs-hero); margin: 22px 0 24px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: var(--fs-sm); color: var(--ink-2); }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px;
  display: grid; place-items: center; font-size: .75rem; font-weight: 600; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }

.hero-stage {
  position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 50% 105%, #EADFCF 0%, rgba(234, 223, 207, 0) 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(246, 239, 229, .6));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}
.hero-stage::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 14%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; cursor: grab; touch-action: pan-y; }
#hero-canvas:active { cursor: grabbing; }
.hero-fallback {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; transition: opacity .8s;
}
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; }
.hero-stage.is-3d .hero-fallback { opacity: 0; pointer-events: none; }
.hero-loader {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: opacity .5s;
}
.hero-stage.is-3d .hero-loader, .hero-stage.is-fallback .hero-loader { opacity: 0; pointer-events: none; }

.float-tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; font-size: var(--fs-sm);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: bob 6s ease-in-out infinite;
}
.float-tag strong { display: block; font-weight: 600; font-size: .9rem; }
.float-tag span { color: var(--muted); font-size: var(--fs-xs); }
.float-tag .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); }
.float-tag--a { top: 7%; left: -4%; }
.float-tag--b { top: 34%; right: -3%; animation-delay: -3s; }
.float-tag--b .dot { background: var(--terra-soft); color: var(--terra-deep); }
@keyframes bob { 50% { transform: translateY(-10px); } }

.drag-hint {
  position: absolute; z-index: 3; top: 5%; right: 5%; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); color: var(--muted); letter-spacing: .06em;
}
.drag-hint .icon { width: 18px; height: 18px; animation: sway 2.4s ease-in-out infinite; }
@keyframes sway { 50% { transform: translateX(6px); } }

.fabric-picker {
  position: absolute; z-index: 3; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; max-width: calc(100% - 24px);
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 999px; box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.fabric-picker__label { font-size: var(--fs-xs); line-height: 1.25; white-space: nowrap; }
.fabric-picker__label span { display: block; color: var(--muted); }
.fabric-picker__label strong { font-weight: 600; font-size: .85rem; }
.swatches { display: flex; gap: 6px; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative;
}
.swatch::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink);
  opacity: 0; transform: scale(.8); transition: .3s var(--ease);
}
.swatch:hover { transform: translateY(-3px); }
.swatch[aria-pressed="true"]::after { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 999px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px;
  background: var(--ink-2); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Promise strip / marquee ---------- */

.promises { border-block: 1px solid var(--line); background: var(--surface); }
.promises-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.promise + .promise { border-left: 1px solid var(--line); }
.promise .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-2); color: var(--terra-deep); flex: none; }
.promise strong { display: block; font-weight: 600; font-size: .95rem; }
.promise span { font-size: var(--fs-sm); color: var(--muted); }

.marquee { overflow: hidden; padding-block: 34px; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 3.2rem); white-space: nowrap; color: var(--ink); }
.marquee-item i { font-style: italic; color: var(--terra); }
.marquee-item .sep { width: 14px; height: 14px; color: var(--sage); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categories bento ---------- */

.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 290px);
}
.cat-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--sand); }
.cat-card:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.cat-card:nth-child(2) { grid-column: span 4; }
.cat-card:nth-child(3) { grid-column: span 3; }
.cat-card:nth-child(4) { grid-column: span 3; }
.cat-card:nth-child(5) { grid-column: span 4; }
.cat-card:nth-child(6) { grid-column: span 12; grid-row: span 1; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 12, 0) 40%, rgba(20, 16, 12, .62)); }
.cat-card:hover img { transform: scale(1.07); }
.cat-body { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.cat-body h3 { font-size: clamp(1.35rem, 1rem + 1vw, 2rem); }
.cat-body p { font-size: var(--fs-sm); opacity: .85; margin-top: 4px; }
.cat-go {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .35s, color .35s, transform .5s var(--ease);
}
.cat-card:hover .cat-go { background: #fff; color: var(--ink); transform: rotate(-45deg); }

/* ---------- Product cards ---------- */

.product-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 3 * 20px) / 4));
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.product-card { scroll-snap-align: start; }
.product-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media .chip { position: absolute; top: 14px; left: 14px; }
.wish {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .85); transition: transform .3s var(--ease), color .3s;
}
.wish:hover { transform: scale(1.1); }
.wish[aria-pressed="true"] { color: var(--terra); }
.wish[aria-pressed="true"] .icon { fill: currentColor; }
.product-cta {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px;
  transform: translateY(calc(100% + 16px)); transition: transform .5s var(--ease);
}
.product-cta .btn { flex: 1; min-height: 44px; padding: 0 14px; font-size: .85rem; }
.product-card:hover .product-cta, .product-card:focus-within .product-cta { transform: none; }
.product-info { padding: 16px 4px 0; }
.product-info span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.product-info h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; letter-spacing: 0; margin-top: 4px; }

.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: .3s; }
.rail-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Made to measure process ---------- */

.process { background: var(--surface); border-radius: var(--r-xl); margin-inline: clamp(8px, 1.5vw, 24px); }
.process-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.process-sticky .title { margin: 14px 0 20px; }
.process-media { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  counter-increment: step; position: relative; padding: 34px 0 34px 92px; border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 6px; }
.step::before {
  content: "0" counter(step); position: absolute; left: 0; top: 30px;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--terra);
  font-style: italic;
}
.step:first-child::before { top: 2px; }
.step h3 { font-size: 1.7rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 46ch; }

/* ---------- Lookbook (shop the look) ---------- */

.lookbook { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; min-height: 420px; }
.lookbook > img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.lookbook-caption {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); max-width: 340px;
  padding: 22px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.lookbook-caption h3 { font-size: 1.7rem; margin: 8px 0 14px; }
.hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.hotspot-btn {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: pulse 2.2s infinite;
}
.hotspot-btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--terra); transition: transform .3s; }
.hotspot-btn[aria-expanded="true"]::before { transform: scale(1.5); }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hotspot-card {
  position: absolute; bottom: calc(100% + 12px); left: 50%; width: 220px; padding: 14px 16px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-md); font-size: var(--fs-sm);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: .3s var(--ease);
}
.hotspot-card strong { display: block; font-weight: 600; }
.hotspot-card span { color: var(--muted); font-size: var(--fs-xs); }
.hotspot-card a { display: inline-flex; margin-top: 8px; font-weight: 600; color: var(--terra-deep); font-size: var(--fs-xs); }
.hotspot.is-open .hotspot-card, .hotspot:hover .hotspot-card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Projects ---------- */

.projects-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.project { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.project:first-child { aspect-ratio: auto; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.project figcaption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.project figcaption span { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- Testimonials ---------- */

.testimonials { background: var(--sage-soft); border-radius: var(--r-xl); margin-inline: clamp(8px, 1.5vw, 24px); overflow: hidden; }
.quote-wrap { position: relative; max-width: 900px; margin-inline: auto; text-align: center; min-height: 260px; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: .7s var(--ease); }
.quote.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.quote blockquote { margin: 22px 0 26px; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.3; }
.quote cite { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); }
.quote cite strong { color: var(--ink); font-weight: 600; }
.quote-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.quote-dots button { width: 9px; height: 9px; border-radius: 999px; background: rgba(31, 27, 22, .2); transition: width .4s var(--ease), background .3s; }
.quote-dots button[aria-current="true"] { width: 30px; background: var(--sage-deep); }

/* ---------- Enquiry / CTA ---------- */

.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.cta-visual { position: relative; min-height: 420px; }
.cta-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(31, 27, 22, 0) 30%, rgba(31, 27, 22, .7)); }
.cta-visual-copy { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 32px; color: #fff; }
.cta-visual-copy .title { margin: 12px 0; }
.cta-visual-copy .eyebrow { color: #F3D5C3; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font-size: var(--fs-sm); backdrop-filter: blur(8px); }
.cta-form { padding: clamp(24px, 4vw, 52px); }
.cta-form h3 { font-size: 1.9rem; margin-bottom: 6px; }
.cta-form > p { color: var(--muted); margin-bottom: 26px; font-size: var(--fs-sm); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 16px 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  transition: border-color .25s, box-shadow .25s, background .25s; outline: none; appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234E463D' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field label {
  position: absolute; left: 17px; top: 16px; font-size: .95rem; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terra); background: #fff; box-shadow: 0 0 0 4px rgba(200, 113, 74, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-9px) scale(.76); color: var(--terra-deep); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.form-foot small { color: var(--muted); font-size: var(--fs-xs); max-width: 30ch; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: var(--fs-sm); display: none; }
.form-status.is-ok { display: block; background: var(--sage-soft); color: var(--sage-deep); }
.form-status.is-error { display: block; background: var(--terra-soft); color: var(--terra-deep); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.site-footer { margin-top: var(--section); background: var(--ink); color: #D9D0C3; border-radius: var(--r-xl) var(--r-xl) 0 0; padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-about { margin-top: 18px; max-width: 34ch; font-size: var(--fs-sm); color: #A69C8F; }
.newsletter { display: flex; margin-top: 24px; max-width: 380px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 16px; color: #fff; }
.newsletter input::placeholder { color: #8C8378; }
.newsletter .btn { min-height: 44px; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-col li { display: flex; gap: 10px; align-items: flex-start; }
.footer-col li .icon { margin-top: 3px; color: var(--terra); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transition: .3s; }
.socials a:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.footer-word { font-family: var(--font-display); font-size: clamp(3.4rem, 15vw, 15rem); line-height: .8; letter-spacing: -.05em; color: rgba(255, 255, 255, .06); text-align: center; white-space: nowrap; margin: 40px 0 -2vw; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: var(--fs-xs); color: #8C8378; border-top: 1px solid rgba(255, 255, 255, .1); position: relative; }
.footer-bottom nav { display: flex; gap: 18px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 16px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* Custom cursor (desktop only, enabled by JS) */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(31, 27, 22, .4);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
  display: none;
}
.has-cursor .cursor { display: block; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(200, 113, 74, .12); border-color: transparent; }

/* Reveal (JS adds .is-in; without JS everything shows) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .1s; }
.js [data-reveal-delay="2"] { transition-delay: .2s; }
.js [data-reveal-delay="3"] { transition-delay: .3s; }

/* ---------- Simple inner page (404 / coming soon) ---------- */

.page-hero { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.page-hero .title { margin: 16px auto 18px; max-width: 16ch; }
.page-hero .lead { margin-inline: auto; }
.page-hero .hero-actions { justify-content: center; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .product-rail { grid-auto-columns: minmax(250px, 42%); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .hero { min-height: auto; padding-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { aspect-ratio: 1 / 1; }
  .float-tag--a { left: 3%; top: 4%; }
  .float-tag--b { right: 3%; top: auto; bottom: 22%; }
  .scroll-cue { display: none; }
  .promises-grid { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(3) { border-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .cat-card:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .cat-card:nth-child(1) { grid-column: span 2; }
  .cat-card:nth-child(6) { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-visual { min-height: 340px; }
  .lookbook { aspect-ratio: 4 / 5; }
}

@media (max-width: 600px) {
  .announce { font-size: .7rem; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-word b { font-size: 1.2rem; }
  .hero-title { margin-top: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stage { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
  .float-tag { padding: 8px 10px; }
  .float-tag .dot { display: none; }
  .float-tag--b { display: none; }
  .drag-hint { display: none; }
  .fabric-picker { flex-direction: column; gap: 8px; border-radius: 22px; padding: 10px 12px; width: calc(100% - 24px); }
  .fabric-picker__label { text-align: center; }
  .swatch { width: 28px; height: 28px; }
  .promises-grid { grid-template-columns: 1fr; }
  .promise + .promise { border-left: 0; border-top: 1px solid var(--line); }
  .promise { padding: 18px 4px; }
  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .cat-card:nth-child(n) { grid-column: span 1; }
  .product-rail { grid-auto-columns: 78%; }
  .step { padding-left: 64px; }
  .step::before { font-size: 2rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .project:first-child { grid-column: auto; }
  .project { aspect-ratio: 4 / 3; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .lookbook-caption { right: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.step--cta { counter-increment: none; border: 0; padding-top: 36px; }
.step--cta::before { content: none; }

/* ---------- Visit / showroom ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.visit .title { margin: 14px 0 16px; }
.visit-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.visit-list li { display: flex; gap: 12px; align-items: flex-start; }
.visit-list .icon { color: var(--terra-deep); margin-top: 3px; }
.visit-map { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8) sepia(.08); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }
.visit-map { position: relative; }
.visit-map iframe { position: relative; z-index: 1; }
.visit-map__fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--terra-deep); font-weight: 500;
  background: radial-gradient(circle at 50% 45%, var(--terra-soft), transparent 60%),
              repeating-linear-gradient(0deg, transparent 0 38px, rgba(31,27,22,.05) 38px 39px),
              repeating-linear-gradient(90deg, transparent 0 38px, rgba(31,27,22,.05) 38px 39px);
}
.visit-map__fallback .icon { width: 36px; height: 36px; }

/* Uploaded logo image (Admin → Settings → Branding) */
.logo-img { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.site-footer .logo-img { height: 54px; }
@media (max-width: 600px) { .logo-img { height: 38px; } }
