/* ==========================================================================
   Rich's Custom Embroidery & Apparel
   Palette derived from the brand crest: espresso ground, cream lettering,
   brick-red arc, gold filigree.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --espresso:      #241612;
  --espresso-900:  #1A0F0C;
  --espresso-700:  #33211B;
  --espresso-500:  #4A3229;
  --brick:         #A8322A;
  --brick-bright:  #C4453A;
  --brick-deep:    #7E211B;
  --gold:          #D9A441;
  --gold-soft:     #E8C77E;
  --gold-deep:     #B07F2A;
  --cream:         #F5EDE1;
  --parchment:     #FBF7F0;
  --parchment-2:   #F3EADC;
  --thread-grey:   #8A7F76;
  --thread-dark:   #5C5049;

  --ff-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1.0625rem, 1.03rem + 0.18vw, 1.15rem);
  --step-1:  clamp(1.25rem, 1.17rem + 0.38vw, 1.5rem);
  --step-2:  clamp(1.55rem, 1.38rem + 0.85vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.7vw, 3rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  --step-5:  clamp(2.75rem, 1.6rem + 5.6vw, 5.25rem);

  --sp-section: clamp(5rem, 11vh, 9.5rem);
  --wrap: 1240px;
  --wrap-narrow: 960px;
  --gutter: clamp(1.15rem, 4vw, 3rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.55s;

  /* Warm-tinted stacked shadows — never a single flat shadow */
  --sh-1: 0 1px 2px rgba(36,22,18,0.10), 0 3px 6px rgba(36,22,18,0.07);
  --sh-2: 0 1px 2px rgba(36,22,18,0.10), 0 4px 8px rgba(36,22,18,0.08),
          0 12px 24px rgba(36,22,18,0.07);
  --sh-3: 0 1px 2px rgba(36,22,18,0.10), 0 4px 8px rgba(36,22,18,0.08),
          0 12px 24px rgba(36,22,18,0.07), 0 28px 56px rgba(36,22,18,0.06);
  --sh-4: 0 2px 4px rgba(36,22,18,0.12), 0 8px 16px rgba(36,22,18,0.10),
          0 20px 40px rgba(36,22,18,0.09), 0 44px 88px rgba(36,22,18,0.08);

  --header-h: 96px;
  --topbar-h: 40px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* overflow-x on BOTH html and body — setting it on body alone does not
   suppress a page-level horizontal scrollbar in Chrome. */
html { overflow-x: hidden; }

body {
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--espresso);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.022em; text-wrap: balance; }
p { text-wrap: pretty; }
:target { scroll-margin-top: calc(var(--header-h) + 2rem); }

::selection { background: var(--brick); color: var(--cream); }

/* Focus — visible gold ring everywhere */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 999;
  background: var(--brick); color: var(--cream);
  padding: 0.85rem 1.4rem; font-weight: 600;
  transform: translateY(-120%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sp-section); position: relative; }

.section--dark {
  background: var(--espresso);
  color: var(--cream);
  position: relative;
  isolation: isolate;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--darker { background: var(--espresso-900); color: var(--cream); }
.section--parchment { background: var(--parchment-2); }

/* Woven fabric texture — CSS-generated, no image weight */
.texture::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(245,237,225,0.045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(245,237,225,0.035) 0 1px, transparent 1px 3px);
  background-size: 3px 3px;
  opacity: 0.9;
}
.texture--light::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(36,22,18,0.030) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(36,22,18,0.022) 0 1px, transparent 1px 3px);
}

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--ff-body);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 1.15rem;
}
.section--dark .eyebrow, .section--darker .eyebrow { color: var(--gold); }
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: currentColor; opacity: 0.75;
}

.h-display { font-size: var(--step-5); }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); }
.h4 { font-size: var(--step-1); }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--thread-dark);
  max-width: 62ch;
}
.section--dark .lede, .section--darker .lede { color: rgba(245,237,225,0.82); }
.prose p { max-width: 68ch; }
.prose p + p { margin-top: 1.15rem; }
/* headings run straight into prose without this — give the body copy air */
.split__body h2 + .prose,
.split__body h2 + .lede,
.section-head h2 + .prose { margin-top: 1.25rem; }
.section--dark .prose p { color: rgba(245,237,225,0.82); }

.accent-italic {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "SOFT" 60;
}

.section-head { max-width: 68ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.15rem; }

/* ---------- 5. Stitch-line divider (SVG draws itself on scroll) ---------- */
.stitch-rule { width: 100%; height: 12px; overflow: visible; display: block; }
.stitch-rule line {
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-dasharray: 11 9;
  stroke-linecap: round;
  opacity: 0.55;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.9s var(--ease);
}
.stitch-rule.is-visible line { stroke-dashoffset: 0; }

.divider-stitch { padding-block: 0; }
.divider-stitch .wrap { display: block; }

/* ---------- 6. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
  min-height: 48px;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Brick wipe from left on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }

.btn--primary {
  background: var(--brick);
  color: var(--cream);
  box-shadow: var(--sh-2);
}
.btn--primary::before { background: var(--brick-bright); }
.btn--primary:hover, .btn--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}

.btn--ghost {
  border: 1.5px solid rgba(217,164,65,0.55);
  color: var(--cream);
}
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover, .btn--ghost:focus-visible {
  color: var(--espresso);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.btn--ghost-dark {
  border: 1.5px solid rgba(36,22,18,0.28);
  color: var(--espresso);
}
.btn--ghost-dark::before { background: var(--espresso); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible {
  color: var(--cream); border-color: var(--espresso); transform: translateY(-3px);
}

.btn--gold { background: var(--gold); color: var(--espresso); box-shadow: var(--sh-2); }
.btn--gold::before { background: var(--gold-soft); }
.btn--gold:hover, .btn--gold:focus-visible { transform: translateY(-3px); box-shadow: var(--sh-3); }

.btn:active { transform: scale(0.97) translateY(-1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Text link with centre-out underline */
.link-under {
  position: relative; display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; color: var(--brick); padding-block: 2px;
}
.link-under::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1.5px;
  background: currentColor;
  transition: left 0.4s var(--ease), right 0.4s var(--ease);
}
.link-under:hover::after, .link-under:focus-visible::after { left: 0; right: 0; }
.link-under svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.link-under:hover svg { transform: translateX(4px); }
.section--dark .link-under, .section--darker .link-under { color: var(--gold); }

/* ---------- 7. Top bar ---------- */
.topbar {
  background: var(--espresso-900);
  color: rgba(245,237,225,0.86);
  font-size: 0.815rem;
  border-bottom: 1px solid rgba(217,164,65,0.22);
  position: relative; z-index: 60;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--topbar-h);
}
.topbar__list { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.topbar a.topbar__item:hover { color: var(--gold-soft); }
.topbar__social { display: flex; align-items: center; gap: 0.55rem; }
.topbar__social a {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid rgba(217,164,65,0.3); border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.topbar__social a svg { width: 14px; height: 14px; }
.topbar__social a:hover {
  background: var(--gold); color: var(--espresso);
  border-color: var(--gold); transform: translateY(-2px);
}
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- 8. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header--transparent { background: transparent; }
.header--solid {
  background: rgba(36,22,18,0.80);
  backdrop-filter: blur(14px) saturate(1.45);
  -webkit-backdrop-filter: blur(14px) saturate(1.45);
  border-bottom-color: rgba(217,164,65,0.24);
  box-shadow: var(--sh-2);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header--solid { background: var(--espresso); }
}
/* Interior pages: header always solid so cream text stays legible */
.header--pinned { background: rgba(36,22,18,0.94); border-bottom-color: rgba(217,164,65,0.24); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
}
/* The logo image carries the wordmark itself — there is no text beside it,
   so it is sized to stay legible rather than shrunk to an avatar circle.
   The source has a dark espresso ground that matches the header, so it sits
   flush without a border or plate. */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__mark {
  width: auto;
  height: clamp(58px, 6vw, 78px);
  border-radius: 8px;
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}
.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: scale(1.05);
  filter: brightness(1.08);
}
/* Footer logo sits on the darkest surface — give it a touch more presence */
.footer .brand__mark { height: clamp(58px, 6vw, 74px); }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav__link {
  position: relative; padding: 0.55rem 0.95rem;
  font-size: 0.905rem; font-weight: 500;
  color: rgba(245,237,225,0.86);
  border-radius: var(--r-sm);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0.15rem; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: left 0.38s var(--ease), right 0.38s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { left: 0.9rem; right: 0.9rem; }
.nav__link[aria-current="page"] { color: var(--cream); }
.nav__link[aria-current="page"]::after { left: 0.9rem; right: 0.9rem; }

.header__cta { flex-shrink: 0; }
.header__cta .btn { padding: 0.78rem 1.4rem; }

/* Hamburger */
.burger {
  display: none; width: 46px; height: 46px; place-items: center;
  border: 1px solid rgba(217,164,65,0.35); border-radius: var(--r-sm);
}
.burger__box { width: 22px; height: 14px; position: relative; }
.burger__bar {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease), top 0.4s var(--ease);
}
.burger__bar:nth-child(1) { top: 0; }
.burger__bar:nth-child(2) { top: 6px; }
.burger__bar:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(26,15,12,0.93);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-menu { background: var(--espresso-900); }
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu__link {
  display: block; padding: 0.75rem 0;
  font-family: var(--ff-display); font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: var(--cream);
  border-bottom: 1px solid rgba(217,164,65,0.16);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { color: var(--gold); }
.mobile-menu__foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__meta { display: flex; flex-direction: column; gap: 0.5rem;
  color: rgba(245,237,225,0.75); font-size: 0.92rem; }
.mobile-menu__meta a { display: inline-flex; align-items: center; gap: 0.55rem; }
.mobile-menu__meta svg { width: 15px; height: 15px; color: var(--gold); }

@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
}

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--espresso);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.hero__bg {
  position: absolute; inset: -12% 0 -12% 0; z-index: -3;
  background-image: url("../img/embroidery-4.webp");
  background-size: cover; background-position: center;
  will-change: transform;
  transform: scale(1.12);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(105deg, rgba(26,15,12,0.96) 0%, rgba(36,22,18,0.90) 42%,
                    rgba(36,22,18,0.62) 70%, rgba(36,22,18,0.72) 100%),
    radial-gradient(120% 90% at 15% 40%, rgba(26,15,12,0.55), transparent 60%);
}
.hero__texture { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(245,237,225,0.04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(245,237,225,0.03) 0 1px, transparent 1px 3px);
  background-size: 3px 3px;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; width: 100%;
}
.hero__content { max-width: 46rem; }
.hero h1 {
  font-size: clamp(2.6rem, 1.9rem + 3.5vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 1.4rem;
}
.hero__lede { font-size: var(--step-1); color: rgba(245,237,225,0.84); max-width: 46ch;
  margin-bottom: 2.2rem; }
.hero .btn-row { margin-bottom: 2.6rem; }

/* Hero entrance cascade */
.hero__anim { opacity: 0; transform: translateY(26px); }
.is-loaded .hero__anim {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.is-loaded .hero__anim--1 { transition-delay: 0.10s; }
.is-loaded .hero__anim--2 { transition-delay: 0.42s; }
.is-loaded .hero__anim--3 { transition-delay: 0.56s; }
.is-loaded .hero__anim--4 { transition-delay: 0.68s; }
.is-loaded .hero__anim--5 { transition-delay: 0.80s; }

/* Word-by-word headline reveal */
.word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease);
}
.is-loaded .word > span { transform: translateY(0); }

/* Hero trust strip */
.trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2rem;
  padding-top: 1.7rem;
  border-top: 1px dashed rgba(217,164,65,0.35);
}
.trust__item { display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.885rem; color: rgba(245,237,225,0.8); }
.trust__item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }

/* Hero medallion (right column) */
.hero__medallion { position: relative; display: grid; place-items: center; }
.hero__badge-img {
  width: min(100%, 380px); border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(217,164,65,0.35), 0 0 0 12px rgba(36,22,18,0.5), var(--sh-4);
  will-change: transform;
}
.hero__ring {
  position: absolute; inset: 50% auto auto 50%;
  width: min(112%, 440px); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 1.5px dashed rgba(217,164,65,0.45);
  animation: spin 46s linear infinite;
}
.hero__ring--2 {
  width: min(126%, 500px);
  border-style: solid; border-color: rgba(217,164,65,0.16);
  animation-duration: 70s; animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__medallion { display: none; }
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 4rem) 4.5rem; }
}

/* Floating thread motifs */
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.floater { position: absolute; color: var(--gold); opacity: 0.13; }
.floater svg { width: 100%; height: 100%; }
.floater--1 { width: 74px; top: 16%; right: 9%;  animation: drift 22s var(--ease-in-out) infinite; }
.floater--2 { width: 54px; bottom: 20%; left: 6%; animation: drift 26s var(--ease-in-out) infinite 2.5s; }
.floater--3 { width: 42px; top: 62%; right: 26%;  animation: drift 19s var(--ease-in-out) infinite 1.2s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-26px) rotate(9deg); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem; translate: -50% 0;
  display: grid; place-items: center; gap: 0.5rem;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,237,225,0.5);
}
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------- 10. Page hero (interior) ---------- */
.page-hero {
  position: relative; isolation: isolate;
  background: var(--espresso); color: var(--cream);
  padding-block: clamp(4.5rem, 13vh, 8rem) clamp(3.5rem, 9vh, 6rem);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(4rem, 11vh, 7rem));
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: -10% 0; z-index: -3;
  background-size: cover; background-position: center;
  opacity: 0.5; will-change: transform;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(26,15,12,0.95) 0%, rgba(36,22,18,0.86) 55%,
              rgba(36,22,18,0.74) 100%);
}
.page-hero__inner { position: relative; max-width: 60rem; }
.page-hero h1 { font-size: var(--step-4); margin-bottom: 1.1rem; }
.page-hero p { color: rgba(245,237,225,0.82); font-size: var(--step-1); max-width: 56ch; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.83rem; color: rgba(245,237,225,0.6); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: rgba(217,164,65,0.55); }
.crumbs [aria-current] { color: var(--gold); }

/* ---------- 11. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px) scale(0.985); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal--left  { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }

/* The horizontal reveal offsets extend the scroll box before they animate in,
   which produced a document-wide horizontal scrollbar on narrow viewports.
   Drop the sideways offset where there isn't room for it and rely on the
   vertical fade instead. */
@media (max-width: 1024px) {
  .reveal--left, .reveal--right { transform: translateY(26px) scale(0.985); }
}

/* ---------- 12. Cards / services ---------- */
.grid { display: grid; gap: clamp(1.15rem, 2.4vw, 1.9rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.card {
  position: relative;
  background: var(--parchment);
  border: 1px solid rgba(36,22,18,0.09);
  border-radius: var(--r-lg);
  padding: clamp(1.7rem, 3vw, 2.3rem);
  box-shadow: var(--sh-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
              border-color 0.5s var(--ease);
  transform-style: preserve-3d;
}
.section--dark .card, .section--darker .card {
  background: var(--espresso-700);
  border-color: rgba(217,164,65,0.18);
  color: var(--cream);
}
/* Gold rule sweeping across the top on hover */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.65s var(--ease);
}
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card:hover, .card:focus-within {
  transform: translateY(-7px);
  box-shadow: var(--sh-3);
  border-color: rgba(217,164,65,0.42);
}
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(217,164,65,0.18), rgba(168,50,42,0.14));
  border: 1px solid rgba(217,164,65,0.34);
  color: var(--gold-deep);
  margin-bottom: 1.35rem;
  transition: transform 0.5s var(--ease);
}
.section--dark .card__icon, .section--darker .card__icon { color: var(--gold); }
.card:hover .card__icon { transform: translateZ(24px) scale(1.06) rotate(-4deg); }
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: var(--step-1); margin-bottom: 0.65rem; }
.card p { color: var(--thread-dark); font-size: 0.965rem; }
.section--dark .card p, .section--darker .card p { color: rgba(245,237,225,0.76); }
.card__meta {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px dashed rgba(36,22,18,0.14);
  font-size: 0.85rem; color: var(--thread-grey);
  display: flex; align-items: center; gap: 0.5rem;
}
.section--dark .card__meta { border-top-color: rgba(217,164,65,0.2); color: rgba(245,237,225,0.6); }
.card__meta strong { color: var(--brick); font-weight: 600; }
.section--dark .card__meta strong { color: var(--gold); }
.card__link { margin-top: 1.2rem; }

/* 3D tilt wrapper */
.tilt { perspective: 1100px; }

/* ---------- 13. Split / layered feature ---------- */
.split {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
}
.split__media { grid-column: 1 / span 6; position: relative; }
.split__body  { grid-column: 8 / span 5; }
.split--flip .split__media { grid-column: 7 / span 6; order: 2; }
.split--flip .split__body  { grid-column: 1 / span 5; order: 1; }
/* asymmetric variants (used where the form is the wider column) */
.split__body--5  { grid-column: 1 / span 5; }
.split__media--6 { grid-column: 7 / span 6; }
@media (max-width: 880px) {
  .split__media, .split__body,
  .split__body--5, .split__media--6,
  .split--flip .split__media, .split--flip .split__body {
    grid-column: 1 / -1; order: initial;
  }
}

.frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3);
}
.frame picture, .hoop picture { display: block; width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease); }
.frame:hover img { transform: scale(1.045); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--square { aspect-ratio: 1; }

/* Offset accent frame behind image — layered depth */
.frame-stack { position: relative; }
/* the ::before/::after offsets poke outside the box; clip them on small
   screens so they can't widen the document */
@media (max-width: 620px) {
  .frame-stack::before, .frame-stack::after { display: none; }
}
.frame-stack::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 62%; height: 62%; border-radius: var(--r-lg);
  border: 1.5px solid rgba(217,164,65,0.5); z-index: -1;
}
.frame-stack::after {
  content: ""; position: absolute; inset: -16px auto auto -16px;
  width: 44%; height: 44%; border-radius: var(--r-lg);
  background: rgba(168,50,42,0.10); z-index: -1;
}

/* Embroidery-hoop circular treatment */
.hoop {
  position: relative; border-radius: 50%; overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 0 0 3px var(--parchment), 0 0 0 5px var(--gold), var(--sh-3);
}
.section--dark .hoop { box-shadow: 0 0 0 3px var(--espresso), 0 0 0 5px var(--gold), var(--sh-3); }
.hoop img { width: 100%; height: 100%; object-fit: cover; }

/* Floating stat card overlapping media */
.stat-float {
  position: absolute; right: -14px; bottom: -22px;
  background: var(--brick); color: var(--cream);
  padding: 1.1rem 1.45rem; border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  display: grid; gap: 0.15rem; min-width: 148px;
}
.stat-float strong { font-family: var(--ff-display); font-size: 1.85rem; line-height: 1; }
.stat-float span { font-size: 0.735rem; letter-spacing: 0.13em; text-transform: uppercase;
  opacity: 0.9; }
@media (max-width: 520px) { .stat-float { right: 8px; bottom: -18px; } }

/* ---------- 14. Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem); }
.stat { text-align: center; padding: 1.2rem 0.6rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: rgba(217,164,65,0.28);
}
@media (max-width: 640px) { .stat + .stat::before { display: none; } }
.stat__num {
  font-family: var(--ff-display); font-size: clamp(2.3rem, 5vw, 3.3rem);
  color: var(--gold); line-height: 1; margin-bottom: 0.45rem;
}
.stat__label { font-size: 0.83rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(245,237,225,0.72); }

/* ---------- 15. Reviews ---------- */
.rating-summary {
  display: inline-flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  padding: 1rem 1.5rem; border-radius: var(--r-pill);
  background: var(--parchment); border: 1px solid rgba(36,22,18,0.1);
  box-shadow: var(--sh-1);
}
.section--dark .rating-summary { background: var(--espresso-700); border-color: rgba(217,164,65,0.24); }
.rating-summary__score {
  font-family: var(--ff-display); font-size: 2rem; line-height: 1; color: var(--brick);
}
.section--dark .rating-summary__score { color: var(--gold); }
.rating-summary__meta { display: grid; gap: 0.2rem; font-size: 0.85rem; color: var(--thread-grey); }
.section--dark .rating-summary__meta { color: rgba(245,237,225,0.7); }
.g-glyph { width: 19px; height: 19px; flex-shrink: 0; }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center;
  margin-bottom: 2.4rem; }
.chip {
  padding: 0.58rem 1.15rem; border-radius: var(--r-pill);
  border: 1px solid rgba(36,22,18,0.16);
  font-size: 0.855rem; font-weight: 500; color: var(--thread-dark);
  transition: all 0.35s var(--ease);
  min-height: 42px;
}
.section--dark .chip { border-color: rgba(217,164,65,0.26); color: rgba(245,237,225,0.8); }
.chip:hover { border-color: var(--gold); color: var(--espresso); transform: translateY(-2px); }
.section--dark .chip:hover { color: var(--cream); }
.chip[aria-pressed="true"] {
  background: var(--brick); border-color: var(--brick); color: var(--cream);
  box-shadow: var(--sh-1);
}
.section--dark .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold);
  color: var(--espresso); }

/* Review cards */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem); align-items: start; }
.review {
  background: var(--parchment); border: 1px solid rgba(36,22,18,0.09);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.6vw, 2rem);
  box-shadow: var(--sh-1); position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
              opacity 0.45s var(--ease), border-color 0.4s var(--ease);
}
.section--dark .review { background: var(--espresso-700); border-color: rgba(217,164,65,0.18);
  color: var(--cream); }
.review:hover { transform: translateY(-5px); box-shadow: var(--sh-3);
  border-color: rgba(217,164,65,0.4); }
.review__quote-mark {
  position: absolute; top: -0.7rem; right: 0.9rem;
  font-family: var(--ff-display); font-size: 6rem; line-height: 1;
  color: var(--gold); opacity: 0.14; pointer-events: none;
}
.review__head { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.9rem; }
.review__text { font-size: 0.985rem; color: var(--thread-dark); }
.section--dark .review__text { color: rgba(245,237,225,0.84); }
.review__foot { margin-top: 1.2rem; padding-top: 1.1rem;
  border-top: 1px dashed rgba(36,22,18,0.15);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; }
.section--dark .review__foot { border-top-color: rgba(217,164,65,0.2); }
.review__author { display: flex; align-items: center; gap: 0.7rem; }
.review__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brick), var(--brick-deep));
  color: var(--cream); font-weight: 600; font-size: 0.94rem; flex-shrink: 0;
}
.review__name { font-weight: 600; font-size: 0.925rem; }
.review__when { font-size: 0.79rem; color: var(--thread-grey); }
.section--dark .review__when { color: rgba(245,237,225,0.58); }
.review__tag {
  font-size: 0.715rem; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.32rem 0.72rem; border-radius: var(--r-pill);
  background: rgba(217,164,65,0.16); color: var(--gold-deep);
  border: 1px solid rgba(217,164,65,0.3); font-weight: 600;
}
.section--dark .review__tag { color: var(--gold-soft); }
.review.is-hidden { display: none; }
.review.is-filtering { opacity: 0; transform: translateY(10px) scale(0.98); }

.note-inline {
  font-size: 0.86rem; color: var(--thread-grey); text-align: center;
  margin-top: 1.8rem; font-style: italic;
}
.section--dark .note-inline { color: rgba(245,237,225,0.6); }

/* ---------- 16. Process / thread path ---------- */
.process { position: relative; }
.thread-path {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: visible;
}
.thread-path path {
  fill: none; stroke: var(--gold); stroke-width: 2.5;
  stroke-dasharray: 10 8; stroke-linecap: round;
  opacity: 0.5;
  stroke-dashoffset: var(--len, 3000);
  transition: stroke-dashoffset 2.4s var(--ease);
}
.thread-path.is-visible path { stroke-dashoffset: 0; }
@media (max-width: 880px) { .thread-path { display: none; } }

.steps { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); position: relative; z-index: 1; }
.steps--4 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.step { position: relative; text-align: center; padding: 0 0.6rem; }
.step__num {
  width: 74px; height: 74px; margin: 0 auto 1.3rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--espresso); color: var(--gold);
  border: 1.5px solid rgba(217,164,65,0.5);
  font-family: var(--ff-display); font-size: 1.6rem;
  box-shadow: var(--sh-2);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.section--dark .step__num { background: var(--gold); color: var(--espresso);
  border-color: transparent; }
.step:hover .step__num { transform: translateY(-6px) scale(1.06); }
.step h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.step p { font-size: 0.955rem; color: var(--thread-dark); max-width: 34ch; margin-inline: auto; }
.section--dark .step p { color: rgba(245,237,225,0.78); }

/* ---------- 17. Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
  grid-auto-flow: dense;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 1; box-shadow: var(--sh-1); cursor: pointer;
  background: var(--espresso-700);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s var(--ease);
  width: 100%; padding: 0; display: block;
  border: 1px solid rgba(36,22,18,0.08);
}
.tile--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 620px) { .tile--wide { grid-column: span 1; aspect-ratio: 1; } }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.85s var(--ease), filter 0.55s var(--ease); }
/* <picture> is inline by default; without this the img inside it does not
   stretch to the tile and the source's own ratio letterboxes the frame */
.tile picture { display: block; width: 100%; height: 100%; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.tile:hover img { transform: scale(1.07); }
.tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,15,12,0.92) 0%, rgba(26,15,12,0.42) 45%, transparent 72%);
  opacity: 0; transition: opacity 0.45s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem; text-align: left; gap: 0.3rem;
}
.tile:hover .tile__overlay, .tile:focus-visible .tile__overlay { opacity: 1; }
.tile__title { font-family: var(--ff-display); font-size: 1.1rem; color: var(--cream);
  transform: translateY(10px); transition: transform 0.45s var(--ease) 0.05s; }
.tile__cat { font-size: 0.735rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold); transform: translateY(10px);
  transition: transform 0.45s var(--ease) 0.1s; }
.tile:hover .tile__title, .tile:hover .tile__cat,
.tile:focus-visible .tile__title, .tile:focus-visible .tile__cat { transform: translateY(0); }
.tile.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18,10,8,0.90);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lightbox { background: rgba(18,10,8,0.97); }
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig {
  max-width: min(1080px, 100%); max-height: 100%;
  display: grid; gap: 1rem; justify-items: center;
  transform: scale(0.94); transition: transform 0.45s var(--ease);
}
.lightbox.is-open .lightbox__fig { transform: scale(1); }
.lightbox__img {
  max-height: 76vh; width: auto; border-radius: var(--r-md);
  box-shadow: var(--sh-4); border: 1px solid rgba(217,164,65,0.25);
}
.lightbox__cap { color: var(--cream); text-align: center; font-size: 0.94rem; }
.lightbox__cap strong { display: block; font-family: var(--ff-display); font-size: 1.2rem;
  margin-bottom: 0.2rem; }
.lightbox__cap span { color: var(--gold); font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: var(--cream);
  background: rgba(36,22,18,0.62); border: 1px solid rgba(217,164,65,0.34);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__btn:hover { background: var(--gold); color: var(--espresso); transform: scale(1.08); }
.lightbox__btn svg { width: 21px; height: 21px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(0.6rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }
.lightbox__next { right: clamp(0.6rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }
body.is-locked { overflow: hidden; }

/* ---------- 18. Forms ---------- */
.form-card {
  background: var(--parchment); border: 1px solid rgba(36,22,18,0.1);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3.4vw, 2.8rem);
  box-shadow: var(--sh-2);
}
.section--dark .form-card { background: var(--espresso-700);
  border-color: rgba(217,164,65,0.2); color: var(--cream); }
/* Auto-fit so the grid collapses on its OWN width, not the viewport width.
   A viewport media query is wrong here: the form sits inside a .split column
   that stays narrow well below .split's own 880px breakpoint, which pushed
   fields past the right edge on small screens. */
.form-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.form-grid > .field--full { grid-column: 1 / -1; }

.field { position: relative; display: grid; gap: 0.42rem; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; }
.field label .req { color: var(--brick); margin-left: 2px; }
.section--dark .field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.86rem 1rem;
  background: #fff; color: var(--espresso);
  border: 1.5px solid rgba(36,22,18,0.17);
  border-radius: var(--r-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease);
  font-size: 0.98rem;
  min-height: 48px;
}
.section--dark .field input, .section--dark .field select, .section--dark .field textarea {
  background: rgba(26,15,12,0.55); color: var(--cream);
  border-color: rgba(217,164,65,0.28);
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,164,65,0.25);
}
.field input::placeholder, .field textarea::placeholder { color: var(--thread-grey); opacity: 0.75; }
.section--dark .field input::placeholder, .section--dark .field textarea::placeholder {
  color: rgba(245,237,225,0.42);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--brick-bright);
  box-shadow: 0 0 0 3px rgba(196,69,58,0.18);
}
.field__hint { font-size: 0.79rem; color: var(--thread-grey); }
.section--dark .field__hint { color: rgba(245,237,225,0.58); }
.field__error {
  font-size: 0.815rem; color: var(--brick-bright); font-weight: 500;
  display: none; align-items: center; gap: 0.35rem;
}
.section--dark .field__error { color: #F2937F; }
.field__error.is-shown { display: flex; }
.field__error svg { width: 14px; height: 14px; flex-shrink: 0; }

.field--file input[type="file"] { padding: 0.7rem; cursor: pointer; }
.field--file input[type="file"]::file-selector-button {
  margin-right: 0.9rem; padding: 0.5rem 0.9rem; border-radius: var(--r-sm);
  border: 1px solid rgba(36,22,18,0.18); background: var(--parchment-2);
  color: var(--espresso); font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.section--dark .field--file input[type="file"]::file-selector-button {
  background: var(--espresso-500); color: var(--cream); border-color: rgba(217,164,65,0.3);
}

.checkbox { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.885rem; }
.checkbox input { width: 20px; height: 20px; min-height: 20px; flex-shrink: 0;
  margin-top: 0.16rem; accent-color: var(--brick); cursor: pointer; }
.checkbox label { font-weight: 400; line-height: 1.55; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; }

/* ---------- 19. Info blocks ---------- */
.info-list { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(217,164,65,0.14); border: 1px solid rgba(217,164,65,0.32);
  color: var(--gold-deep);
}
.section--dark .info-item__icon { color: var(--gold); }
.info-item__icon svg { width: 20px; height: 20px; }
.info-item__label { font-size: 0.755rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--thread-grey); margin-bottom: 0.2rem; font-weight: 600; }
.section--dark .info-item__label { color: rgba(245,237,225,0.6); }
.info-item__value { font-size: 1.04rem; font-weight: 500; }
.info-item__value a:hover { color: var(--brick); }
.section--dark .info-item__value a:hover { color: var(--gold); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.955rem; }
/* keep the time on one line so narrow columns don't stack "9:00 / AM / -" */
.hours-table td { white-space: nowrap; }
.hours-table th, .hours-table td { padding: 0.72rem 0; text-align: left;
  border-bottom: 1px dashed rgba(36,22,18,0.14); }
.section--dark .hours-table th, .section--dark .hours-table td {
  border-bottom-color: rgba(217,164,65,0.2); }
.hours-table th { font-weight: 500; }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: var(--thread-grey); font-weight: 500; }
.section--dark .hours-table .closed { color: rgba(245,237,225,0.5); }
.hours-table tr.is-today th { color: var(--brick); font-weight: 700; }
.section--dark .hours-table tr.is-today th { color: var(--gold); }
.hours-table tr.is-today td { color: var(--brick); }
.section--dark .hours-table tr.is-today td { color: var(--gold); }

/* ---------- 20. FAQ / accordion ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  border: 1px solid rgba(36,22,18,0.11); border-radius: var(--r-md);
  background: var(--parchment); overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.section--dark .faq__item { background: var(--espresso-700);
  border-color: rgba(217,164,65,0.18); }
.faq__item:hover { border-color: rgba(217,164,65,0.42); box-shadow: var(--sh-1); }
.faq__q {
  width: 100%; text-align: left; padding: 1.15rem 1.35rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  font-family: var(--ff-display); font-size: 1.09rem; font-weight: 600;
  color: var(--espresso); min-height: 56px;
}
.section--dark .faq__q { color: var(--cream); }
.faq__icon { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px;
  background: var(--gold); border-radius: 2px; translate: 0 -50%;
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq__a-inner { padding: 0 1.35rem 1.35rem; color: var(--thread-dark); font-size: 0.975rem; }
.section--dark .faq__a-inner { color: rgba(245,237,225,0.8); }

/* ---------- 21. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--brick); color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(2.4rem, 6vw, 4.2rem);
  box-shadow: var(--sh-3);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(85% 130% at 82% 18%, rgba(217,164,65,0.30), transparent 62%),
    linear-gradient(135deg, var(--brick-deep), var(--brick) 55%, var(--brick-bright));
}
.cta-band::after {
  content: ""; position: absolute; inset: 12px; z-index: -1; border-radius: 14px;
  border: 1px dashed rgba(245,237,225,0.28); pointer-events: none;
}
.cta-band h2 { font-size: var(--step-3); margin-bottom: 0.9rem; }
.cta-band p { color: rgba(245,237,225,0.9); max-width: 54ch; margin-bottom: 1.9rem; }
.cta-band .btn--gold { background: var(--cream); color: var(--espresso); }
.cta-band .btn--gold::before { background: var(--gold); }
.cta-band .btn--ghost { border-color: rgba(245,237,225,0.55); }
.cta-band .btn--ghost::before { background: var(--cream); }
.cta-band .btn--ghost:hover { color: var(--brick); }

/* ---------- 22. Map ---------- */
.map-embed {
  width: 100%; aspect-ratio: 16 / 10; border: 0;
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
  filter: grayscale(0.28) sepia(0.14) contrast(1.04);
  transition: filter 0.5s var(--ease);
}
.map-embed:hover { filter: none; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- 23. Footer ---------- */
.footer {
  background: var(--espresso-900); color: rgba(245,237,225,0.76);
  padding-top: clamp(3.4rem, 7vw, 5.2rem);
  position: relative; isolation: isolate;
}
/* Selvedge dashed-gold top edge */
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background-image: repeating-linear-gradient(90deg,
    var(--gold) 0 13px, transparent 13px 24px);
  opacity: 0.65;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 {
  font-family: var(--ff-body); font-size: 0.79rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.15rem; font-weight: 700;
}
.footer__brand-line { margin: 1.15rem 0 1.4rem; font-size: 0.945rem; max-width: 34ch; }
.footer__links { display: grid; gap: 0.62rem; font-size: 0.94rem; }
.footer__links a { display: inline-flex; align-items: center; gap: 0.45rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer__links a::before {
  content: ""; width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s var(--ease);
}
.footer__links a:hover { color: var(--cream); }
.footer__links a:hover::before { width: 12px; }
.footer__contact { display: grid; gap: 0.85rem; font-size: 0.94rem; }
.footer__contact a, .footer__contact span { display: flex; align-items: flex-start; gap: 0.65rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0;
  margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(217,164,65,0.3);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.footer__social a svg { width: 17px; height: 17px; }
.footer__social a:hover { background: var(--gold); color: var(--espresso);
  border-color: var(--gold); transform: translateY(-3px); }

.footer__bar {
  border-top: 1px solid rgba(217,164,65,0.18);
  padding-block: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.855rem;
}
.footer__bar a { color: var(--gold); font-weight: 600; }
.footer__bar a:hover { color: var(--gold-soft); text-decoration: underline;
  text-underline-offset: 3px; }
@media (max-width: 620px) { .footer__bar { justify-content: center; text-align: center; } }

/* ---------- 24. Sticky mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  gap: 0.6rem;
  background: rgba(26,15,12,0.90);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid rgba(217,164,65,0.32);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-bar { background: var(--espresso-900); }
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 0.75rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
  min-height: 50px;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.mobile-bar__btn:active { transform: scale(0.97); }
.mobile-bar__btn svg { width: 18px; height: 18px; }
.mobile-bar__call { background: var(--brick); color: var(--cream); }
.mobile-bar__wa { background: #25D366; color: #06301A; }
@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- 25. Misc ---------- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
  background: rgba(217,164,65,0.15); border: 1px solid rgba(217,164,65,0.34);
  font-size: 0.775rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section--dark .badge-pill { color: var(--gold-soft); }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.pill-list li {
  padding: 0.42rem 0.9rem; border-radius: var(--r-pill);
  background: rgba(36,22,18,0.05); border: 1px solid rgba(36,22,18,0.1);
  font-size: 0.845rem; color: var(--thread-dark);
}
.section--dark .pill-list li { background: rgba(245,237,225,0.06);
  border-color: rgba(217,164,65,0.22); color: rgba(245,237,225,0.82); }

.check-list { display: grid; gap: 0.75rem; margin-top: 1.4rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.97rem; }
.check-list svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--thread-grey);
  padding: 0.25rem 0.5rem; border-radius: var(--r-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.copy-btn:hover { color: var(--brick); background: rgba(168,50,42,0.08); }
.section--dark .copy-btn { color: rgba(245,237,225,0.6); }
.section--dark .copy-btn:hover { color: var(--gold); background: rgba(217,164,65,0.12); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.is-done { color: #2E7D5B; }
.section--dark .copy-btn.is-done { color: #7BD8A8; }

/* Thank-you / 404 centred layout */
.centered-page {
  min-height: 78svh; display: grid; place-items: center; text-align: center;
  padding-block: clamp(4rem, 12vh, 8rem);
}
.centered-page__inner { max-width: 44rem; }
.centered-page .icon-seal {
  width: 96px; height: 96px; margin: 0 auto 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(217,164,65,0.14); border: 1.5px solid rgba(217,164,65,0.45);
  color: var(--gold);
}
.centered-page .icon-seal svg { width: 42px; height: 42px; }
.big-404 {
  font-family: var(--ff-display); font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.9; color: var(--gold); opacity: 0.9; margin-bottom: 0.6rem;
}

/* ---------- 26. Reduced motion — disable all animation ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero__anim { opacity: 1 !important; transform: none !important; }
  .word > span { transform: none !important; }
  .stitch-rule line, .thread-path path { stroke-dashoffset: 0 !important; }
  .hero__bg, .page-hero__bg { transform: none !important; }
  .hero__ring { animation: none !important; }
  .floater { animation: none !important; }
  .scroll-cue__line { animation: none !important; }
  .mobile-bar { transform: translateY(0) !important; }
}

/* ---------- 27. Print ---------- */
@media print {
  .topbar, .header, .mobile-bar, .mobile-menu, .lightbox, .scroll-cue, .floaters { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .section--dark, .section--darker, .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
