/* =========================================================
   Vastram — boutique ethnic store layout
   Bronze, cream and gold to match the Vastram lockup
   ========================================================= */

:root {
  --maroon: #7a4e32;
  --maroon-deep: #4a2e1c;
  --gold: #c4a574;
  --gold-deep: #8b5e3c;
  --ivory: #f6f1e8;
  --paper: #faf7f1;
  --white: #fffcf7;
  --ink: #2c2118;
  --muted: #7a6e62;
  --line: #e6d9c8;
  --shadow: 0 18px 44px rgba(74, 46, 28, 0.1);
  --radius: 14px;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Jost", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f4efe4;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  isolation: isolate;
  background: transparent;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.site-bg-wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 42% at 12% 0%, rgba(212, 180, 131, 0.34), transparent 58%),
    radial-gradient(ellipse 46% 38% at 92% 8%, rgba(196, 165, 116, 0.22), transparent 62%),
    radial-gradient(ellipse 40% 36% at 78% 92%, rgba(139, 94, 60, 0.1), transparent 70%),
    linear-gradient(180deg, #faf7f1 0%, #f3ece1 48%, #efe6d8 100%);
  animation: bgWash 28s ease-in-out infinite alternate;
}

.site-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.7;
}

.site-bg-orb-a {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  top: -8%;
  left: -8%;
  background: radial-gradient(circle, rgba(212, 180, 131, 0.55), rgba(212, 180, 131, 0) 68%);
  animation: floatOrbA 22s ease-in-out infinite;
}

.site-bg-orb-b {
  width: 36vw;
  height: 36vw;
  max-width: 460px;
  max-height: 460px;
  top: 18%;
  right: -10%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.42), rgba(196, 165, 116, 0) 70%);
  animation: floatOrbB 26s ease-in-out infinite;
}

.site-bg-orb-c {
  width: 28vw;
  height: 28vw;
  max-width: 380px;
  max-height: 380px;
  bottom: -6%;
  left: 28%;
  background: radial-gradient(circle, rgba(139, 94, 60, 0.16), rgba(139, 94, 60, 0) 72%);
  animation: floatOrbC 24s ease-in-out infinite;
}

.site-bg-leaves {
  position: absolute;
  top: -6%;
  left: -4%;
  width: min(520px, 58vw);
  height: min(380px, 48vh);
  background:
    radial-gradient(ellipse 42% 28% at 28% 30%, rgba(74, 46, 28, 0.14), transparent 70%),
    radial-gradient(ellipse 24% 48% at 48% 18%, rgba(74, 46, 28, 0.1), transparent 72%),
    radial-gradient(ellipse 30% 22% at 62% 42%, rgba(74, 46, 28, 0.08), transparent 70%),
    radial-gradient(ellipse 18% 36% at 18% 58%, rgba(74, 46, 28, 0.09), transparent 72%);
  filter: blur(16px);
  animation: leafSway 18s ease-in-out infinite alternate;
}

.site-bg-bloom {
  position: absolute;
  top: 4%;
  right: 2%;
  width: min(240px, 28vw);
  height: min(240px, 28vw);
  background:
    radial-gradient(circle at 40% 46%, rgba(196, 165, 116, 0.28) 0 4px, transparent 5px),
    radial-gradient(circle at 58% 38%, rgba(196, 165, 116, 0.22) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 58%, rgba(212, 180, 131, 0.2) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 52%, rgba(255, 252, 247, 0.55) 0 2px, transparent 3px);
  filter: blur(0.4px);
  animation: bloomFloat 16s ease-in-out infinite;
}

.site-bg-fabric {
  position: absolute;
  left: -8%;
  bottom: -12%;
  width: min(640px, 70vw);
  height: min(280px, 34vh);
  background:
    radial-gradient(ellipse 70% 80% at 40% 80%, rgba(255, 252, 247, 0.55), transparent 72%),
    radial-gradient(ellipse 50% 60% at 62% 70%, rgba(246, 241, 232, 0.45), transparent 70%);
  filter: blur(10px);
  transform: rotate(-8deg);
  animation: fabricDrift 20s ease-in-out infinite alternate;
}

.site-bg-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-bg-thread path {
  fill: none;
  stroke: #c4a574;
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: 0.42;
  stroke-dasharray: 420 980;
  animation: threadDraw 14s ease-in-out infinite;
}

.site-bg-mote {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #f4e6c8 0 35%, rgba(196, 165, 116, 0) 70%);
  opacity: 0.55;
  animation: moteDrift 16s ease-in-out infinite;
}

.site-bg-mote-a { top: 22%; left: 12%; animation-duration: 14s; }
.site-bg-mote-b { top: 58%; left: 78%; animation-duration: 18s; animation-delay: -4s; }
.site-bg-mote-c { top: 74%; left: 22%; animation-duration: 20s; animation-delay: -8s; }
.site-bg-mote-d { top: 36%; left: 88%; animation-duration: 15s; animation-delay: -2s; }

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

section[id] {
  scroll-margin-top: 128px;
}

.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #d4b483 0%, var(--gold-deep) 100%);
  color: var(--white);
  border-color: var(--gold-deep);
  box-shadow: 0 8px 18px rgba(139, 94, 60, 0.22);
}

.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(139, 94, 60, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(130%);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-whatsapp {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-whatsapp svg {
  width: 16px;
  height: 16px;
}

.btn-whatsapp:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--maroon-deep);
}

.btn-nav {
  background: var(--maroon);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.72rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-kicker::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament,
.lux-rule {
  display: block;
  width: 92px;
  height: 12px;
  margin: 14px 0;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 2.2px, transparent 2.5px),
    linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent) center / 72px 1px no-repeat;
}

.center-ornament,
.mission-inner .lux-rule,
.section-head .lux-rule {
  margin: 10px auto 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(246, 241, 232, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(196, 165, 116, 0.28);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(420px, 48vw);
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90px 40px at 18% 30%, rgba(74, 46, 28, 0.1), transparent 70%),
    radial-gradient(ellipse 50px 90px at 32% 20%, rgba(74, 46, 28, 0.08), transparent 72%),
    radial-gradient(ellipse 70px 34px at 46% 55%, rgba(74, 46, 28, 0.06), transparent 70%);
  filter: blur(10px);
  animation: leafSway 20s ease-in-out infinite alternate;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(74, 46, 28, 0.1);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent 8%, var(--gold) 50%, transparent 92%);
}

.announce-bar {
  background: #f1eee8;
  color: #5c534c;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px;
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: 118px;
  margin: 0 auto;
  padding: 8px 0;
  gap: 28px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-bars span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.header-brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-mark {
  height: 92px;
  width: auto;
  max-width: min(340px, 48vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  animation: fadeIn 0.9s ease both;
  filter: drop-shadow(0 10px 18px rgba(139, 94, 60, 0.12));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.header-brand:hover .brand-mark {
  filter: drop-shadow(0 12px 22px rgba(196, 165, 116, 0.32));
  transform: translateY(-1px);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.brand-tag {
  margin-top: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}

.main-nav a,
.nav-drop-btn {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0 0 4px;
}

.main-nav > a,
.nav-drop-btn {
  position: relative;
}

.main-nav a:hover,
.nav-drop-btn:hover,
.main-nav a.is-active {
  color: var(--gold-deep);
}

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 18px;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
}

.nav-drop-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-drop-btn::after,
.nav-dropdown.is-open .nav-drop-btn::after {
  transform: rotate(225deg) translateY(-2px);
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.is-open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 10px 18px;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.nav-drop-menu a:hover {
  background: var(--ivory);
  color: var(--gold-deep);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.icon-btn {
  color: var(--ink);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  color: var(--gold-deep);
}

.bag-btn {
  position: relative;
}

.bag-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.search-bar {
  display: none;
  gap: 10px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.search-bar.is-open {
  display: flex;
}

.search-bar input {
  flex: 1;
  border: 1px solid var(--line);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 24, 0.4);
  z-index: 140;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: min(360px, 88vw);
  height: 100vh;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  overflow: auto;
}

.menu-drawer.is-open {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 12px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.drawer-logo {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.drawer-head strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.drawer-close {
  border: none;
  background: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0 32px;
}

.drawer-links a {
  padding: 12px 24px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}

.drawer-links a:hover {
  color: var(--gold-deep);
  background: var(--ivory);
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  height: min(82vh, 740px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ivory);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(44, 33, 24, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(246, 241, 232, 0.08), rgba(74, 46, 28, 0.16));
}

.hero-frame {
  position: absolute;
  inset: 16px;
  z-index: 4;
  pointer-events: none;
}

.hero-corner {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 0 solid rgba(212, 180, 131, 0.88);
}

.hero-corner-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.hero-corner-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.hero-corner-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hero-corner-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hero-thread {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  width: 100%;
  height: 38%;
  z-index: 3;
  pointer-events: none;
}

.hero-thread path {
  fill: none;
  stroke: rgba(212, 180, 131, 0.72);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 280 720;
  animation: threadDraw 11s ease-in-out infinite;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-sparkles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8e8 0 30%, rgba(196, 165, 116, 0) 70%);
  animation: sparkle 3.6s ease-in-out infinite;
}

.hero-sparkles span:nth-child(1) { top: 18%; left: 58%; animation-delay: 0s; }
.hero-sparkles span:nth-child(2) { top: 28%; left: 78%; animation-delay: 0.7s; }
.hero-sparkles span:nth-child(3) { top: 62%; left: 64%; animation-delay: 1.4s; }
.hero-sparkles span:nth-child(4) { top: 22%; left: 44%; animation-delay: 2s; }
.hero-sparkles span:nth-child(5) { top: 70%; left: 86%; animation-delay: 2.6s; }

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  overflow: hidden;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1);
}

.hero-slide img.hero-photo-portrait {
  object-position: center 18%;
}

.hero-slide.is-active img {
  animation: kenburns 8s ease-out forwards;
}

.hero-copy {
  position: absolute;
  left: max(20px, calc((100% - 1240px) / 2));
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: min(520px, 88%);
  background: rgba(246, 241, 232, 0.94);
  border: 1px solid rgba(196, 165, 116, 0.38);
  box-shadow: 0 24px 50px rgba(74, 46, 28, 0.14);
  padding: 40px 38px 34px;
}

.hero-copy .lux-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  pointer-events: none;
}

.hero-copy .lux-rule {
  margin: 2px 0 16px;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin: 0 0 6px;
  line-height: 1;
  background: linear-gradient(90deg, #8b5e3c 0%, #d4b483 42%, #8b5e3c 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards, goldShimmer 7s ease-in-out 1s infinite;
}

.hero-copy > *:not(.lux-frame):not(.hero-script) {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy .lux-rule { animation-delay: 0.2s; }
.hero-copy h1 { animation-delay: 0.3s; }
.hero-copy .hero-tagline { animation-delay: 0.38s; }
.hero-copy .hero-lead { animation-delay: 0.48s; }
.hero-copy .hero-model { animation-delay: 0.58s; }
.hero-copy .hero-note { animation-delay: 0.68s; }
.hero-copy .hero-actions { animation-delay: 0.8s; }

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.2;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  margin: 0 0 16px;
  line-height: 1.3;
}

.hero-lead {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 400px;
}

.hero-model {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.hero-model span {
  color: var(--gold);
  margin: 0 6px;
}

.hero-note {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: #555;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }

.hero-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 18px rgba(44, 33, 24, 0.16);
}

.hero-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  overflow: hidden;
  padding: 10px 0;
  background: rgba(246, 241, 232, 0.9);
  border-top: 1px solid rgba(196, 165, 116, 0.4);
  pointer-events: none;
}

.hero-ribbon-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: ribbonScroll 28s linear infinite;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

.hero-ribbon-track i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

/* Services */
.services {
  background: rgba(250, 247, 241, 0.72);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.services .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.services .container {
  counter-reset: svc;
}

.service-card {
  position: relative;
  counter-increment: svc;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.8s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.35s ease;
}

.service-card:hover::after {
  border-color: rgba(196, 165, 116, 0.55);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.service-media {
  position: relative;
  overflow: hidden;
}

.service-media::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 9px;
  background: rgba(246, 241, 232, 0.92);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border: 1px solid rgba(196, 165, 116, 0.45);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 252, 247, 0.3) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.service-card:hover .service-media::after {
  transform: translateX(130%);
}

.service-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.service-body h3 {
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.service-body p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
}

.service-link:hover {
  color: var(--ink);
}

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.trust-bar article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.trust-bar article:last-child {
  border-right: none;
}

.trust-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-bar h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.trust-bar p {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Collections */
.collections {
  padding: 72px 0 40px;
  background: var(--paper);
}

.collections h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 0;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  color: #fff;
}

.collection-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 16px;
  background: linear-gradient(transparent, rgba(20, 16, 12, 0.82));
}

.collection-overlay h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.collection-overlay span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Local boutique intro */
.locale-intro {
  padding: 88px 0;
}

.locale-intro-inner {
  position: relative;
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.locale-intro-inner::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 12px;
}

.locale-intro h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.25;
}

.locale-intro p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

/* About */
.mission {
  padding: 96px 0;
  background: rgba(246, 241, 232, 0.78);
}

.mission-inner {
  max-width: 760px;
  text-align: center;
}

.mission h1,
.mission h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 10px;
}

#customize.mission h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  line-height: 1.2;
}

.mission-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-style: normal;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #8b5e3c 0%, #d4b483 45%, #8b5e3c 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lux-section.is-on .mission-tagline {
  animation: goldShimmer 8s ease-in-out infinite;
}

.mission-body {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.philosophy {
  position: relative;
  margin-top: 36px;
  padding: 36px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.philosophy::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  pointer-events: none;
}

.philosophy .section-kicker {
  margin-bottom: 12px;
}

.philosophy blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.about-more {
  display: inline-block;
  margin-top: 28px;
}

.about-portrait {
  margin: 8px auto 36px;
  max-width: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-portrait img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.custom-topics,
.custom-stitch,
.custom-steps {
  padding: 0 0 88px;
}

.custom-topics .container,
.custom-stitch-inner,
.custom-steps-inner {
  max-width: 1040px;
}

.custom-topics-head,
.custom-stitch-inner,
.custom-steps-inner {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
}

.custom-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.custom-topic {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  text-align: left;
}

.custom-topic h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.25;
}

.custom-topic p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.stitch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.stitch-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 16px;
  text-align: center;
}

.stitch-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.stitch-item span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

/* Featured */
.mission,
.locale-intro,
.shop,
.promise,
.gallery,
.testimonials,
.contact {
  padding: 88px 0;
}

#shop {
  scroll-margin-top: 120px;
}

.featured-inner,
.editorial-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.contact-intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.contact-intro h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.2;
}

.contact-intro .lux-rule {
  margin-bottom: 18px;
}

.contact-intro > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.nap-card {
  display: block;
  font-style: normal;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 24px;
  margin-bottom: 28px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.05rem;
}

.nap-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px 48px;
  align-items: start;
}

.featured-media,
.editorial-media {
  overflow: hidden;
}

.featured-media img,
.editorial-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.featured-copy h2,
.editorial-copy h2,
.shop h2,
.promise h2,
.gallery h2,
.testimonials h2,
.contact-info h2,
.custom-stitch h2,
.custom-steps h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 18px;
}

.featured-copy p,
.editorial-copy p,
.contact-info > p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

.section-intro {
  max-width: 640px;
  margin: -8px auto 36px;
  color: var(--muted);
  line-height: 1.7;
}

.featured-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.editorial {
  background: var(--maroon-deep);
  color: var(--white);
}

.editorial h2,
.editorial .section-kicker {
  color: #f3e6c8;
}

.editorial-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.editorial-media img {
  height: 480px;
}

.shop .section-head {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.shop-lead {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Product grid */
.section-head {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  text-align: center;
}

.category-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 4px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  margin: 0 auto 40px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  position: relative;
  padding: 18px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease;
}

.category-chip.is-active,
.category-chip:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

.category-chip.is-active,
.category-chip:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

.filter-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 16px 20px;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill.active,
.pill:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card:hover .product-info h3 {
  color: var(--gold-deep);
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #f6f1ea;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 252, 247, 0.34) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.product-card:hover .product-media::before,
.product-gallery:hover .product-media::before {
  transform: translateX(130%);
}

.product-media img,
.product-media video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  background: transparent;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-media:hover img,
.product-media:hover video {
  transform: scale(1.05);
}

.product-media::after {
  content: "View";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  background: rgba(28, 20, 18, 0.78);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-media:hover,
.product-media:focus-visible {
  border-color: var(--gold);
}

.product-media:hover::after,
.product-media:focus-visible::after {
  opacity: 1;
}

.product-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f1ea;
}

.product-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.product-gallery .product-media {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: none;
  touch-action: pan-x;
}

.product-gallery .product-media::after {
  display: none;
}

.product-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.92);
  color: var(--maroon);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(28, 20, 18, 0.12);
}

.product-nav.is-prev {
  left: 8px;
}

.product-nav.is-next {
  right: 8px;
}

.product-nav:hover,
.product-nav:focus-visible {
  background: var(--white);
  border-color: var(--gold);
}

.product-gallery-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.product-count {
  padding: 3px 8px;
  background: rgba(28, 20, 18, 0.72);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-dots {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}

.product-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.product-dot.is-active {
  background: var(--gold);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.product-info {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.product-info h3 {
  font-size: 1.2rem;
  min-height: 2.4em;
  transition: color 0.25s ease;
}

.product-info p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 4px;
  flex: 1;
}

.product-link {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* Promise */
.promise {
  background: rgba(246, 241, 232, 0.74);
}

.promise h2,
.gallery h2,
.testimonials h2 {
  margin-bottom: 40px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.promise-card {
  position: relative;
  background: var(--white);
  padding: 28px 20px;
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.8s ease;
}

.promise-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.promise-card.in-view:hover::before {
  transform: scaleX(1);
}

.promise-card.in-view:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.promise-card span {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  border-radius: 50%;
  letter-spacing: 0.06em;
}

.promise-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.promise-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Gallery mosaic */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  background: #1c1412;
}

.gallery-item img,
.gallery-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-item.tall,
.gallery-item.wide {
  grid-column: auto;
  grid-row: auto;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(28, 20, 18, 0.55));
  opacity: 0.45;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  background: linear-gradient(transparent, rgba(28, 20, 18, 0.75));
  transform: translateY(10px);
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover figcaption {
  transform: none;
  opacity: 1;
}

/* Testimonials */
.testimonials {
  background: rgba(255, 252, 247, 0.7);
}

.review-invite {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ivory);
  padding: 28px 22px 24px;
  border-top: 2px solid var(--gold);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease, border-color 0.3s ease;
}

.testimonial-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}

.testimonial-card.in-view:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--gold-deep, #b8893a);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-style: normal;
  background: linear-gradient(90deg, #8b5e3c, #d4b483, #8b5e3c);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.testimonial-card.in-view:hover .review-stars {
  animation: goldShimmer 2.4s ease-in-out infinite;
  color: transparent;
}

.testimonial-card p:not(.review-stars) {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 18px;
}

.testimonial-card footer {
  margin-top: auto;
  display: grid;
  gap: 2px;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-card footer span {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.testimonial-card .review-item {
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--maroon);
}

/* Contact */
.contact {
  background: rgba(246, 241, 232, 0.78);
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-details li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact-details strong {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.contact-map {
  position: relative;
  margin-top: 36px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.contact-map::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  pointer-events: none;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: min(42vw, 420px);
  min-height: 240px;
  max-height: 420px;
  border: 0;
}

.contact-form {
  position: relative;
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  pointer-events: none;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.18);
}

.form-group textarea.is-prefilled {
  border-color: var(--gold);
  background: rgba(246, 241, 232, 0.9);
  min-height: 8.5em;
}

.enquiry-prefill-hint {
  margin-top: 8px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #b3261e;
}

.error-msg {
  display: block;
  color: #b3261e;
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1em;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #eef7f0;
  color: #1b7a43;
}

.form-status.error {
  display: block;
  background: #fdeaea;
  color: #b3261e;
}

/* Footer */
.footer {
  position: relative;
  background: #2c2118;
  color: #d8cbb8;
}

.footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent 8%, var(--gold) 50%, transparent 92%);
  background-size: 180% 100%;
  animation: goldShimmer 9s ease-in-out infinite;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.25fr 1.1fr;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 40px;
  gap: 8px 0;
}

.footer-col {
  padding: 0 22px;
  border-right: 1px solid rgba(192, 156, 103, 0.16);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
  border-right: none;
}

.footer-logo {
  display: grid;
  justify-items: start;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 92px;
  width: auto;
  max-width: min(260px, 100%);
  object-fit: contain;
  background: var(--ivory);
}

.footer-logo .ornament {
  margin: 0 0 8px;
  filter: brightness(1.1);
}

.footer-logo .brand-name {
  color: var(--gold);
  font-size: 1.7rem;
}

.footer-logo .brand-tag {
  color: rgba(216, 203, 184, 0.7);
}

.footer-brand > p,
.newsletter-form + p,
.footer-col > p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(216, 203, 184, 0.82);
  margin-bottom: 18px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer li {
  margin-bottom: 9px;
  font-size: 0.86rem;
}

.footer a {
  color: #d8cbb8;
}

.footer a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(192, 156, 103, 0.4);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: #1a1613;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d8cbb8;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  padding: 11px 12px;
  background: #12100e;
  border: 1px solid rgba(216, 203, 184, 0.28);
  color: #f3efe8;
  font-family: inherit;
  font-size: 0.88rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-form .btn {
  width: 100%;
}

.newsletter-msg {
  min-height: 1.1em;
  font-size: 0.8rem;
}

.newsletter-msg.success { color: #b7d7b0; }
.newsletter-msg.error { color: #e2b4b0; }

.footer-bottom {
  border-top: 1px solid rgba(192, 156, 103, 0.16);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(216, 203, 184, 0.75);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-bottom .ornament {
  margin: 0;
}

.footer-bottom .heart {
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 56px 16px 24px;
  background: rgba(20, 14, 12, 0.88);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  max-width: min(920px, 100%);
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  color: #f4ece3;
  text-align: center;
  font-size: 0.95rem;
  max-width: 720px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 81;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(28, 20, 18, 0.55);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav.is-prev {
  left: 16px;
}

.lightbox-nav.is-next {
  right: 16px;
}

.lightbox-nav[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

/* Section luxury frames */
.lux-section {
  position: relative;
}

.lux-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0.2);
  opacity: 0.35;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.lux-section.is-on::before {
  transform: scaleX(1);
  opacity: 1;
}

.lux-corners {
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
}

.lux-corners i {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(196, 165, 116, 0.55);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

.lux-section.is-on .lux-corners i {
  opacity: 1;
  transform: none;
}

.lux-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; transition-delay: 0.08s; }
.lux-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; transition-delay: 0.16s; }
.lux-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; transition-delay: 0.24s; }
.lux-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; transition-delay: 0.32s; }

.lux-section.is-on .lux-rule {
  animation: ruleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.service-card.reveal {
  transform: translateY(40px) scale(0.97);
}

.service-card.reveal.in-view {
  transform: none;
}

.service-card.reveal.in-view:hover {
  transform: translateY(-8px);
}

.gallery-item.reveal {
  transform: scale(0.94);
}

.gallery-item.reveal.in-view {
  transform: none;
}

.promise-card.reveal:nth-child(odd) {
  transform: translateY(32px) translateX(-14px);
}

.promise-card.reveal:nth-child(even) {
  transform: translateY(32px) translateX(14px);
}

.promise-card.reveal.in-view {
  transform: none;
}

.testimonial-card.reveal {
  transform: translateY(40px);
}

.testimonial-card.reveal.in-view {
  transform: none;
}

.contact-form.reveal,
.contact-info.reveal,
.contact-map.reveal {
  transform: translateY(32px);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.service-card.reveal.in-view:hover {
  transform: translateY(-8px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes bgWash {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 1.5%, 0) scale(1.06); }
}

@keyframes floatOrbA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8%, 10%, 0) scale(1.08); }
}

@keyframes floatOrbB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10%, 8%, 0) scale(1.1); }
}

@keyframes floatOrbC {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6%, -12%, 0) scale(1.12); }
}

@keyframes leafSway {
  from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.85; }
  to { transform: translate3d(4%, 3%, 0) rotate(-6deg); opacity: 1; }
}

@keyframes bloomFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.7; }
  50% { transform: translate3d(-6%, 8%, 0); opacity: 1; }
}

@keyframes fabricDrift {
  from { transform: rotate(-8deg) translate3d(0, 0, 0); }
  to { transform: rotate(-4deg) translate3d(4%, -6%, 0); }
}

@keyframes threadDraw {
  0% { stroke-dashoffset: 0; opacity: 0.22; }
  50% { opacity: 0.55; }
  100% { stroke-dashoffset: -1400; opacity: 0.22; }
}

@keyframes moteDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.25; }
  50% { transform: translate3d(18px, -28px, 0); opacity: 0.8; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ruleReveal {
  from { opacity: 0; transform: scaleX(0.45); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .hero-copy > *,
  .brand-mark,
  .chatbot-msg {
    opacity: 1 !important;
    transform: none !important;
  }
  .site-bg-thread path,
  .hero-thread path {
    stroke-dasharray: none;
  }
  .hero-ribbon-track {
    animation: none;
  }
  .lux-section::before,
  .lux-corners i {
    opacity: 1 !important;
    transform: none !important;
  }
  .lux-section.is-on .lux-rule,
  .lux-section.is-on .mission-tagline {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .header-bar,
  .container,
  .search-bar,
  .footer-main,
  .footer-bottom {
    width: min(1240px, calc(100% - 32px));
  }

  .main-nav {
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .header-bar {
    grid-template-columns: 44px 1fr 44px;
    min-height: 96px;
  }

  .header-brand {
    grid-column: 2;
    justify-self: center;
  }

  .brand-mark {
    height: 76px;
    max-width: min(240px, 62vw);
    object-position: center;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .promise-grid,
  .testimonial-grid,
  .footer-main,
  .custom-topics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stitch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col {
    padding: 0 16px 28px 0;
    border-right: none;
    border-bottom: 1px solid rgba(192, 156, 103, 0.16);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container,
  .header-bar,
  .search-bar,
  .footer-main,
  .footer-bottom {
    width: min(1240px, calc(100% - 28px));
  }

  .header-bar {
    min-height: 84px;
    padding: 6px 0;
  }

  .brand-mark {
    height: 64px;
    max-width: min(200px, 58vw);
  }

  .services .container {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-slider {
    position: relative;
    height: 52vh;
    min-height: 280px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    padding: 28px 20px;
  }

  .hero-ribbon {
    position: relative;
  }

  .hero-thread,
  .hero-sparkles {
    display: none;
  }

  .hero-frame {
    inset: 10px auto auto 10px;
    width: calc(100% - 20px);
    height: calc(52vh - 20px);
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    top: 26vh;
  }

  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .product-info h3 {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 40px 0 24px;
  }

  .footer-col {
    padding: 0 0 24px;
  }

  .contact-form {
    padding: 24px;
  }

  .category-bar {
    justify-content: flex-start;
    padding: 0 8px;
  }

  .mission,
  .locale-intro,
  .shop,
  .promise,
  .gallery,
  .testimonials,
  .contact,
  .custom-topics,
  .custom-stitch,
  .custom-steps {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .promise-grid,
  .testimonial-grid,
  .product-grid,
  .gallery-mosaic,
  .custom-topics-grid,
  .stitch-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-actions,
  .hero-copy .btn {
    width: 100%;
  }
}

.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;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 160;
  font-family: var(--font-body);
}

.chatbot-launcher {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--maroon-deep);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(42, 33, 24, 0.18);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chatbot-launcher::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, 0.7);
  animation: pulseRing 2.4s ease-out infinite;
}

.chatbot.is-open .chatbot-launcher::before {
  display: none;
}

.chatbot-launcher:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.chatbot-launcher-icon,
.chatbot-launcher-close {
  grid-area: 1 / 1;
}

.chatbot-launcher-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.chatbot-launcher-close {
  font-size: 1.8rem;
  line-height: 1;
  display: none;
}

.chatbot.is-open .chatbot-launcher-icon {
  display: none;
}

.chatbot.is-open .chatbot-launcher-close {
  display: block;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.chatbot.is-open .chatbot-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #4a2e1c, #8b5e3c);
  color: var(--ivory);
}

.chatbot-kicker {
  font-family: var(--font-script);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.95;
}

.chatbot-head h2 {
  font-size: 1.35rem;
  color: var(--ivory);
  margin: 2px 0 0;
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.chatbot-thread {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f3ea;
}

.chatbot-msg {
  max-width: 86%;
  padding: 10px 13px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  animation: fadeUp 0.35s ease both;
}

.chatbot-msg p {
  margin: 0;
}

.chatbot-msg a {
  color: var(--maroon);
  text-decoration: underline;
  word-break: break-word;
}

.chatbot-msg-bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
}

.chatbot-msg-user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold-deep);
}

.chatbot-msg-user a {
  color: var(--white);
}

.chatbot-typing {
  display: inline-flex;
  gap: 5px;
  padding: 12px 16px;
}

.chatbot-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: chatbot-dot 1s infinite ease-in-out;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatbot-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 10px;
  background: #f7f3ea;
}

.chatbot-chips button {
  border: 1px solid var(--gold);
  background: var(--ivory);
  color: var(--maroon-deep);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 11px;
  cursor: pointer;
}

.chatbot-chips button:hover {
  background: var(--gold);
  color: var(--white);
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chatbot-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  padding: 11px 12px;
}

.chatbot-form input:focus {
  outline: 1px solid var(--gold);
}

.chatbot-send {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chatbot-send svg {
  width: 18px;
  height: 18px;
}

.chatbot-send:hover {
  background: var(--gold-deep);
}

@media (max-width: 640px) {
  .chatbot {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .chatbot-panel {
    width: min(100vw - 24px, 380px);
    height: min(72vh, 540px);
    bottom: 70px;
  }
}
