/* ============================================================
   Griffin House Interiors — bespoke design layer
   Warm-luxe editorial · alabaster canvas · espresso ink · brass accent
   Fonts: Fraunces (display) + Hanken Grotesk (sans)
   ============================================================ */

:root {
  --ivory:      #F4EFE7;
  --alabaster:  #FBF8F2;
  --sand:       #EBE3D6;
  --greige:     #C8BCA9;
  --mushroom:   #A8987F;
  --ink:        #2B2521;
  --ink-soft:   #4A4038;
  --ink-mute:   #6E6256;
  --brass:      #A9854F;
  --brass-deep: #8C6A3A;
  --brass-light:#D9B985;
  --sage:       #8A9479;

  --hairline: rgba(43, 37, 33, 0.12);
  --hairline-strong: rgba(43, 37, 33, 0.22);
  --shadow-sm: 0 1px 2px rgba(43,37,33,.06), 0 8px 24px rgba(43,37,33,.06);
  --shadow-md: 0 4px 12px rgba(43,37,33,.08), 0 24px 60px rgba(43,37,33,.12);

  --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* pointer "sun" for the louver light mask */
  --mouse-x: 50%;
  --mouse-y: 36%;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

::selection { background: rgba(169,133,79,.22); color: var(--ink); }

/* --- Accessibility helpers --- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -200px; left: 16px; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 12px 18px;
  border-radius: 4px; font-weight: 600; font-size: .85rem; transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Decorative grain --- */
.gh-grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ============================================================
   TYPOGRAPHY PRIMITIVES
   ============================================================ */
.gh-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  margin: 0 0 22px;
}
.gh-eyebrow__rule {
  display: inline-block; width: 38px; height: 1px;
  background: currentColor; opacity: .5;
}
.gh-eyebrow__rule--brass { background: var(--brass); opacity: 1; }

.gh-h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 18px;
}
.gh-h2--sm { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.gh-lede {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto;
}
.gh-lede--left { margin: 0; }

.gh-sec-head { text-align: center; max-width: 56rem; margin: 0 auto clamp(40px, 6vw, 72px); }
.gh-sec-head .gh-eyebrow { justify-content: center; }

.gh-section { padding: clamp(72px, 11vw, 132px) 0; }
.gh-section--sand { background: var(--sand); }

/* ============================================================
   BUTTONS
   ============================================================ */
.gh-btn {
  --cord: 0;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  padding: 13px 24px; border-radius: 3px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; overflow: hidden;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.gh-btn svg { transition: transform .3s var(--ease); }
.gh-btn:hover svg { transform: translateX(3px); }
.gh-btn:active { transform: translateY(1px); }
.gh-btn--lg { padding: 16px 30px; font-size: .95rem; }
.gh-btn--block { width: 100%; }

/* primary = ink fill, ivory text (AA) */
.gh-btn--primary { background: var(--ink); color: var(--ivory); }
.gh-btn--primary:hover { background: #1f1a16; }

/* brass = brass fill, INK text (AA-safe on brass) + cord-pull tension fill */
.gh-btn--brass { background: var(--brass); color: var(--ink); }
.gh-btn--brass::before {
  content: ""; position: absolute; inset: 0; background: var(--brass-light);
  transform: translateY(100%); transition: transform .4s var(--ease); z-index: 0;
}
.gh-btn--brass:hover::before { transform: translateY(0); }
.gh-btn--brass > * { position: relative; z-index: 1; }
/* cord-tassel terminal on hover (right edge) */
.gh-btn--brass::after {
  content: ""; position: absolute; top: 0; right: 14px; width: 2px; height: 0;
  background: var(--ink); transition: height .35s var(--ease); z-index: 1;
}
.gh-btn--brass:hover::after { height: 9px; }

/* ink outline (on light) */
.gh-btn--ink { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.gh-btn--ink:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ghost on dark imagery */
.gh-btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(244,239,231,.4); }
.gh-btn--ghost-light:hover { background: rgba(244,239,231,.12); border-color: var(--ivory); }

.gh-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 3px; color: var(--ink);
  background: transparent; border: 1px solid var(--hairline); cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.gh-icon-btn:hover { background: rgba(43,37,33,.05); border-color: var(--hairline-strong); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header { background: transparent; }
#site-header.is-stuck {
  background: rgba(243, 241, 236, .85);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--hairline);
}
.gh-nav { transition: padding .4s var(--ease); }
#site-header.is-stuck .gh-nav { padding-top: 10px; padding-bottom: 10px; }

/* nav links default to ivory over the hero, flip to ink when stuck */
.gh-navlink {
  position: relative; font-size: .88rem; font-weight: 500; color: var(--ivory);
  text-decoration: none; padding: 4px 0; transition: color .3s var(--ease);
}
.gh-navlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--brass-light); transition: width .3s var(--ease);
}
.gh-navlink:hover { color: var(--brass-light); }
.gh-navlink:hover::after { width: 100%; }

#site-header.is-stuck .gh-navlink { color: var(--ink-soft); }
#site-header.is-stuck .gh-navlink:hover { color: var(--brass-deep); }
#site-header.is-stuck .gh-navlink::after { background: var(--brass); }

.gh-crest { color: var(--ivory); transition: color .3s var(--ease); }
#site-header.is-stuck .gh-crest { color: var(--ink); }
.gh-crest--light { color: var(--ivory); }

/* at top, the call link + icon button read light too */
#site-header:not(.is-stuck) .gh-icon-btn { color: var(--ivory); border-color: rgba(244,239,231,.4); }
#site-header:not(.is-stuck) [aria-label^="Call"] { color: var(--ivory); }
#site-header:not(.is-stuck) .gh-crest + span .text-ink { color: var(--ivory); }

.gh-mobile-menu {
  background: rgba(243, 241, 236, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  animation: gh-slide-down .35s var(--ease);
}
@keyframes gh-slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.gh-mobile-link {
  display: block; padding: 13px 4px; font-size: 1.05rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--hairline);
}
.gh-mobile-link:last-child { border-bottom: 0; }
.gh-mobile-link:hover { color: var(--brass-deep); }

/* ============================================================
   1 · HERO
   ============================================================ */
.gh-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; }
.gh-hero__media { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.gh-hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transform: scale(1.05);
}
.gh-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(28,24,20,.78) 0%, rgba(28,24,20,.34) 38%, rgba(28,24,20,.12) 62%, rgba(28,24,20,.30) 100%);
}

/* Louver light bands + mouse-tracked warm "sun" wash */
.gh-louver {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(20,16,12,.05) 0px,
    rgba(20,16,12,.05) 1px,
    transparent 1px,
    transparent 16px
  );
  -webkit-mask-image: radial-gradient(circle 42vmax at var(--mouse-x) var(--mouse-y), rgba(0,0,0,.15) 0%, rgba(0,0,0,.9) 70%);
  mask-image: radial-gradient(circle 42vmax at var(--mouse-x) var(--mouse-y), rgba(0,0,0,.15) 0%, rgba(0,0,0,.9) 70%);
}
.gh-louver::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle 36vmax at var(--mouse-x) var(--mouse-y), rgba(217,185,133,.18) 0%, transparent 60%);
  mix-blend-mode: soft-light;
}

/* Signature shade-raising reveal */
.gh-shade {
  position: absolute; inset: 0; z-index: 2; transform-origin: top center;
  background: linear-gradient(to bottom, #efe7d8 0%, #e7dccb 60%, #ddd0bb 100%);
  box-shadow: 0 14px 30px rgba(43,37,33,.25);
  will-change: transform;
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.3, 1);
}
.gh-shade.is-rolled-up {
  transform: scaleY(0);
}
.gh-shade__hem {
  position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(to bottom, rgba(140,106,58,.0), rgba(140,106,58,.35));
  border-bottom: 2px solid var(--brass-deep);
}
.gh-shade__hem::after {
  content: ""; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  width: 2px; height: 14px; background: var(--brass-deep);
}

.gh-hero__inner {
  position: relative; z-index: 3; width: 100%;
  padding-top: calc(var(--header-h) + 120px); padding-bottom: clamp(64px, 10vw, 120px);
  display: flex; flex-direction: column; gap: 40px;
}
@media (min-width: 1024px) {
  .gh-hero__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 60px; }
}
.gh-hero__content {
  max-width: 52rem;
  background: rgba(20, 16, 12, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.gh-hero__title {
  font-size: clamp(3rem, 8vw, 6.2rem); line-height: 0.95; font-weight: 300;
  letter-spacing: -0.03em; margin: 0 0 24px; text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.gh-hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 44ch; margin: 0 0 36px; line-height: 1.6; }
.gh-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.gh-hero__card {
  margin: 0; align-self: end; justify-self: end; max-width: 22rem;
  background: rgba(20, 16, 12, 0.45); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px;
  padding: 24px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  color: var(--ivory);
}
@media (min-width: 1024px) { .gh-hero__card { margin-bottom: 20px; } }
.gh-card-label {
  display: block; font-size: .62rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--brass-deep); margin-bottom: 10px;
}
.gh-hero__card p { margin: 0 0 10px; }
.gh-card-meta { font-size: .74rem; letter-spacing: .04em; color: var(--ink-mute); text-transform: uppercase; }

.gh-scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 4; width: 26px; height: 44px; display: grid; place-items: center;
}
.gh-scroll-cue__line { width: 1px; height: 32px; background: rgba(244,239,231,.6); position: relative; overflow: hidden; }
.gh-scroll-cue__line::after {
  content: ""; position: absolute; top: -32px; left: 0; width: 1px; height: 32px;
  background: var(--brass-light); animation: gh-scroll-drop 2.2s var(--ease) infinite;
}
@keyframes gh-scroll-drop { 0% { top: -32px; } 60%,100% { top: 32px; } }

/* ============================================================
   2 · TRUST BAR
   ============================================================ */
.gh-trust__item { display: flex; align-items: center; gap: 14px; }
.gh-trust__num { font-size: 2.1rem; font-weight: 400; color: var(--brass-light); line-height: 1; }
.gh-trust__icon { width: 30px; height: 30px; color: var(--brass-light); flex-shrink: 0; }
.gh-trust__label { font-size: .82rem; line-height: 1.4; color: rgba(244,239,231,.92); }

/* ============================================================
   3 · COLLECTIONS
   ============================================================ */
.gh-collection-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gh-collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .gh-collection-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }
  .gh-card--tall { grid-row: span 2; }
  .gh-card--wide { grid-column: span 2; }
}

.gh-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--alabaster); border: 1px solid var(--hairline); border-radius: 12px;
  overflow: hidden; cursor: pointer; text-align: left;
  box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.gh-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 40px 100px rgba(43,37,33,.15); border-color: rgba(169,133,79,.6); }
.gh-card__media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gh-card--tall .gh-card__media { aspect-ratio: 3/4; }
.gh-card--feature .gh-card__media { aspect-ratio: 16/10; }
.gh-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease); filter: saturate(.96);
}
.gh-card:hover .gh-card__media img { transform: scale(1.06); }
.gh-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,37,33,.18), transparent 50%);
}
.gh-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.gh-card__index {
  font-family: 'Fraunces', serif; font-size: .8rem; color: var(--brass-deep);
  letter-spacing: .12em; margin-bottom: 6px;
}
.gh-card__title { font-size: 1.5rem; font-weight: 400; margin: 0 0 8px; letter-spacing: -0.01em; }
.gh-card__copy { font-size: .92rem; color: var(--ink-soft); margin: 0 0 16px; flex: 1; }
.gh-card__more {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass-deep); display: inline-flex; align-items: center; gap: 8px;
}
.gh-card__arrow { transition: transform .3s var(--ease); display: inline-block; }
.gh-card:hover .gh-card__arrow { transform: translateX(5px); }

/* ============================================================
   4 · SIGNATURE FEATURE (MOTORIZED)
   ============================================================ */
.gh-feature { padding: clamp(72px, 11vw, 132px) 0; background: var(--ink); color: var(--ivory); }
.gh-feature .gh-h2 { color: var(--ivory); }
.gh-feature .gh-lede { color: rgba(244,239,231,.82); }
.gh-feature .gh-eyebrow { color: var(--brass-light); }
.gh-feature .gh-eyebrow__rule--brass { background: var(--brass-light); }

.gh-feature__media { position: relative; }
.gh-feature__frame {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(244,239,231,.14); box-shadow: 0 40px 100px rgba(0,0,0,.6);
  aspect-ratio: 4/3;
}
.gh-feature__frame img { width: 100%; height: 100%; object-fit: cover; }
.gh-feature__chip {
  position: absolute; bottom: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(43,37,33,.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(217,185,133,.3); border-radius: 100px;
  padding: 9px 16px; font-size: .8rem; color: var(--ivory);
}
.gh-feature__chip strong { color: var(--brass-light); font-weight: 600; }
.gh-feature__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(138,148,121,.6); animation: gh-pulse 2.4s infinite; }
@keyframes gh-pulse { 0% { box-shadow: 0 0 0 0 rgba(138,148,121,.5);} 70%{ box-shadow: 0 0 0 9px rgba(138,148,121,0);} 100%{ box-shadow:0 0 0 0 rgba(138,148,121,0);} }

.gh-feature__list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 18px; }
.gh-feature__list li { display: flex; gap: 14px; align-items: flex-start; }
.gh-feature__list strong { color: var(--ivory); font-weight: 600; }
.gh-feature__list div { font-size: .92rem; color: rgba(244,239,231,.74); line-height: 1.5; }
.gh-feature__ico {
  flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(217,185,133,.4); border-radius: 50%; color: var(--brass-light);
  font-size: 1rem;
}

/* ============================================================
   5 · HOW IT WORKS
   ============================================================ */
.gh-steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gh-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gh-steps { grid-template-columns: repeat(4, 1fr); } }
.gh-step {
  position: relative; padding: 30px 24px; background: var(--alabaster);
  border: 1px solid var(--hairline); border-top: 2px solid var(--brass);
  border-radius: 4px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gh-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gh-step__num {
  display: block; font-size: 2.4rem; font-weight: 300; color: var(--brass);
  line-height: 1; margin-bottom: 14px;
}
.gh-step__title { font-size: 1.18rem; font-weight: 500; margin: 0 0 8px; }
.gh-step__copy { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   6 · STORY / MEET MARLA
   ============================================================ */
.gh-story { background: var(--ivory); overflow: hidden; }
.gh-story__media { position: relative; min-height: 420px; }
.gh-story__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px 12px 0 0;
}
@media (min-width: 1024px) {
  .gh-story { padding: clamp(72px, 10vw, 120px) 0; }
  .gh-story__media img { border-radius: 12px 0 0 12px; min-height: 100%; }
  .gh-story__media { margin: clamp(72px,10vw,120px) 0; margin-right: 0; }
}
.gh-story__monogram {
  position: absolute; right: -1px; bottom: -1px;
  width: 110px; height: 110px; display: grid; place-items: center;
  background: var(--ink); color: var(--brass-light); border-radius: 4px 0 0 0;
}
.gh-story__monogram span { font-size: 2.2rem; font-weight: 400; letter-spacing: .04em; }

.gh-story__copy { padding: clamp(36px, 6vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.gh-prose p { font-size: 1.04rem; color: var(--ink-soft); margin: 0 0 16px; max-width: 54ch; }
.gh-prose strong { color: var(--ink); font-weight: 600; }

.gh-quote {
  margin: 28px 0 0; padding: 26px 28px; background: var(--sand);
  border-left: 2px solid var(--brass); border-radius: 0 4px 4px 0;
}
.gh-quote blockquote {
  margin: 0 0 18px; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35;
  font-weight: 400; font-style: italic; color: var(--ink);
}
.gh-quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--ink-soft); }
.gh-quote__avatar, .gh-quote__avatar {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--brass-light);
  font-family: 'Fraunces', serif; font-size: 1.05rem; letter-spacing: .03em;
}

/* ============================================================
   7 · GALLERY
   ============================================================ */
.gh-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.gh-filter__btn {
  font-family: inherit; font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  padding: 9px 18px; border-radius: 100px; cursor: pointer;
  background: transparent; color: var(--ink-soft); border: 1px solid var(--hairline);
  transition: all .3s var(--ease);
}
.gh-filter__btn:hover { border-color: var(--brass); color: var(--brass-deep); }
.gh-filter__btn.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.gh-gallery {
  display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gh-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; } }
@media (min-width: 1024px) { .gh-gallery { grid-auto-rows: 260px; } }
.gh-gallery__item {
  position: relative; overflow: hidden; border-radius: 12px; cursor: pointer;
  padding: 0; border: 1px solid var(--hairline); background: var(--sand);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.gh-gallery__item:hover { box-shadow: 0 20px 60px rgba(0,0,0,.15); z-index: 2; }
@media (min-width: 768px) { .gh-gallery__item--lg { grid-column: span 2; grid-row: span 1; } }
.gh-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (max-width: 767px) { .gh-gallery__item { aspect-ratio: 1/1; } .gh-gallery__item--lg { aspect-ratio: 2/1; grid-column: span 2; } }
.gh-gallery__item:hover img { transform: scale(1.07); }
.gh-gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,37,33,.5), transparent 55%);
  opacity: .6; transition: opacity .4s var(--ease);
}
.gh-gallery__item:hover::after { opacity: .85; }
.gh-gallery__tag {
  position: absolute; left: 14px; bottom: 13px; z-index: 1;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ivory); padding: 5px 11px; border-radius: 100px;
  background: rgba(43,37,33,.5); backdrop-filter: blur(4px); border: 1px solid rgba(217,185,133,.3);
}
.gh-gallery__item.is-hidden { display: none; }
.gh-gallery__empty { text-align: center; color: var(--ink-mute); margin-top: 28px; }

/* ============================================================
   8 · BRANDS
   ============================================================ */
.gh-brands { padding: clamp(60px, 9vw, 110px) 0; background: var(--ivory); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.gh-brands__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .gh-brands__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.gh-brands__badges { display: grid; gap: 18px; }
@media (min-width: 480px) { .gh-brands__badges { grid-template-columns: 1fr 1fr; } }
.gh-badge {
  padding: 30px 26px; border: 1px solid var(--hairline-strong); border-radius: 4px;
  background: var(--alabaster); text-align: center; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gh-badge::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--hairline);
  border-radius: 2px; pointer-events: none;
}
.gh-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gh-badge__name { display: block; font-size: 1.55rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.gh-badge__sub { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-deep); }

/* ============================================================
   9 · VISIT
   ============================================================ */
.gh-visit { display: grid; gap: 26px; }
@media (min-width: 900px) { .gh-visit { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: stretch; } }
.gh-visit__map { border-radius: 4px; overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); min-height: 360px; }
.gh-visit__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.3) sepia(.08); }
.gh-visit__panel {
  background: var(--alabaster); border: 1px solid var(--hairline); border-radius: 4px;
  padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; gap: 26px;
}
.gh-visit__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gh-visit__title { font-size: 1.05rem; font-weight: 500; margin: 0 0 10px; }
.gh-visit__addr { font-style: normal; color: var(--ink-soft); line-height: 1.7; font-size: .95rem; }
.gh-visit__link { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); text-decoration: none; }
.gh-visit__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.gh-hours { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.gh-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-soft); }
.gh-visit__phone { display: block; font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.gh-visit__phone:hover { color: var(--brass-deep); }
.gh-visit__note { font-size: .82rem; color: var(--ink-mute); margin: 8px 0 0; }

.gh-checker { padding-top: 24px; border-top: 1px solid var(--hairline); }
.gh-checker__form { display: flex; gap: 10px; margin-top: 14px; }
.gh-checker__form .gh-input { flex: 1; }
.gh-checker__result {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 4px; font-size: .9rem; font-weight: 500;
  border: 1px solid transparent;
}
.gh-checker__result.is-in { background: rgba(138,148,121,.15); border-color: rgba(138,148,121,.4); color: #4c5641; }
.gh-checker__result.is-near { background: rgba(169,133,79,.13); border-color: rgba(169,133,79,.4); color: var(--brass-deep); }
.gh-checker__result.is-out { background: rgba(110,98,86,.1); border-color: var(--hairline-strong); color: var(--ink-soft); }

/* ============================================================
   FORMS / INPUTS
   ============================================================ */
.gh-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; border: 0; padding: 0; }
.gh-field label, .gh-field legend {
  font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
}
.gh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gh-input {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: 12px 14px; background: var(--alabaster);
  border: 1px solid var(--hairline-strong); border-radius: 3px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.gh-input::placeholder { color: var(--mushroom); }
.gh-input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169,133,79,.16); }
.gh-input.is-invalid { border-color: #a8443a; box-shadow: 0 0 0 3px rgba(168,68,58,.14); }
.gh-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C6A3A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.gh-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.gh-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 100px; border: 1px solid var(--hairline-strong);
  background: var(--alabaster); transition: all .25s var(--ease); text-transform: none; letter-spacing: 0;
}
.gh-chip input { accent-color: var(--brass-deep); }
.gh-chip:has(input:checked) { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.gh-form-note { font-size: .78rem; color: var(--ink-mute); margin: 12px 0 0; text-align: center; }
.gh-form-note a { color: var(--brass-deep); }
.gh-form-success {
  margin: 14px 0 0; padding: 14px 16px; border-radius: 4px;
  background: rgba(138,148,121,.15); border: 1px solid rgba(138,148,121,.4); color: #4c5641;
  font-size: .9rem; font-weight: 500; text-align: center;
}

/* ============================================================
   11 · SWATCHES
   ============================================================ */
.gh-swatch { padding: clamp(72px, 11vw, 130px) 0; background: var(--sand); }
.gh-swatch__perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.gh-swatch__perks li { display: flex; align-items: center; gap: 12px; font-size: .98rem; color: var(--ink-soft); }
.gh-swatch__perks span { color: var(--brass-deep); font-size: .8rem; }
.gh-swatch__form {
  background: var(--alabaster); border: 1px solid var(--hairline); border-radius: 4px;
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
}

/* ============================================================
   10 · TESTIMONIALS
   ============================================================ */
.gh-testimonials { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .gh-testimonials { grid-template-columns: repeat(3, 1fr); } }
.gh-testimonial {
  margin: 0; padding: 30px 28px; background: var(--alabaster);
  border: 1px solid var(--hairline); border-radius: 4px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .4s var(--ease);
}
.gh-testimonial:hover { transform: translateY(-3px); }
.gh-stars { color: var(--brass); letter-spacing: 3px; font-size: 1rem; margin-bottom: 16px; }
.gh-testimonial blockquote {
  margin: 0 0 18px; font-family: 'Fraunces', serif; font-size: 1.12rem; line-height: 1.45;
  color: var(--ink); font-style: italic; flex: 1;
}
.gh-testimonial figcaption { font-size: .85rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gh-testimonial__tag {
  font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); border: 1px solid var(--hairline-strong); border-radius: 100px; padding: 2px 8px;
}

/* ============================================================
   12 · CLOSING CTA
   ============================================================ */
.gh-cta { position: relative; isolation: isolate; padding: clamp(90px, 14vw, 160px) 0; overflow: hidden; }
.gh-cta__bg { position: absolute; inset: 0; z-index: -2; }
.gh-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.gh-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(28,24,20,.86), rgba(28,24,20,.55)); }
.gh-cta__inner { text-align: center; max-width: 46rem; }
.gh-cta__inner .gh-eyebrow { justify-content: center; }
.gh-cta__title { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 18px; }
.gh-cta__sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin: 0 auto 32px; max-width: 40ch; }
.gh-cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.gh-footer { background: var(--ink); color: rgba(244,239,231,.72); padding: clamp(56px, 8vw, 88px) 0 28px; }
.gh-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gh-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gh-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; } }
.gh-footer__tag { font-size: .88rem; line-height: 1.6; margin: 18px 0 0; max-width: 36ch; }
.gh-footer__h { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 16px; }
.gh-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.gh-footer__col a { color: rgba(244,239,231,.72); text-decoration: none; font-size: .9rem; transition: color .25s var(--ease); }
.gh-footer__col a:hover { color: var(--brass-light); }
.gh-footer__addr { font-style: normal; line-height: 1.7; font-size: .9rem; }
.gh-footer__addr a { color: var(--brass-light); text-decoration: none; }
.gh-footer__hours { font-size: .82rem; margin: 12px 0 0; color: rgba(244,239,231,.55); }
.gh-footer__col .gh-btn { margin-bottom: 14px; }
.gh-footer__textlink { display: inline-block; font-size: .85rem; color: var(--brass-light); text-decoration: none; }
.gh-footer__textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

.gh-footer__bar {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(244,239,231,.14);
  display: flex; flex-direction: column; gap: 8px; justify-content: space-between;
  font-size: .78rem; color: rgba(244,239,231,.5);
}
@media (min-width: 640px) { .gh-footer__bar { flex-direction: row; align-items: center; } }
.gh-colophon a { color: var(--brass-light); text-decoration: none; }
.gh-colophon a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   MODALS (consult + detail)
   ============================================================ */
.gh-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.gh-modal__overlay { position: absolute; inset: 0; background: rgba(28,24,20,.6); backdrop-filter: blur(5px); animation: gh-fade .3s var(--ease); }
@keyframes gh-fade { from { opacity: 0; } to { opacity: 1; } }
.gh-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 60rem; max-height: 92vh; overflow: auto;
  background: var(--ivory); border-radius: 5px; box-shadow: 0 40px 100px rgba(0,0,0,.45);
  animation: gh-pop .4s var(--ease);
}
@keyframes gh-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.gh-modal__dialog--detail { max-width: 56rem; }
.gh-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--hairline); background: rgba(251,248,242,.9); color: var(--ink);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.gh-modal__close:hover { background: var(--sand); transform: rotate(90deg); }

.gh-modal__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .gh-modal__grid { grid-template-columns: 0.82fr 1fr; } }
.gh-modal__aside { position: relative; display: none; }
@media (min-width: 768px) { .gh-modal__aside { display: block; } }
.gh-modal__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gh-modal__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,24,20,.92), rgba(28,24,20,.45)); }
.gh-modal__aside-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; }
.gh-modal__aside-copy .gh-eyebrow { color: rgba(244,239,231,.8); }
.gh-modal__perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.gh-modal__perks li { position: relative; padding-left: 24px; font-size: .88rem; color: rgba(244,239,231,.8); }
.gh-modal__perks li::before { content: "✦"; position: absolute; left: 0; color: var(--brass-light); }

.gh-modal__body { padding: clamp(28px, 4vw, 44px); }
.gh-modal__title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; margin: 0 0 8px; }
.gh-modal__lede { font-size: .95rem; color: var(--ink-soft); margin: 0 0 24px; }
.gh-modal__success { text-align: center; padding: 20px 6px; }
.gh-modal__check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(138,148,121,.18); color: #4c5641; display: grid; place-items: center; }
.gh-modal__success h3 { font-size: 1.5rem; font-weight: 500; margin: 0 0 10px; }
.gh-modal__success p { font-size: .92rem; color: var(--ink-soft); margin: 0 auto 22px; max-width: 40ch; }

/* detail modal */
.gh-detail { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .gh-detail { grid-template-columns: 1fr 1fr; } }
.gh-detail__media { position: relative; min-height: 240px; }
.gh-detail__media img { width: 100%; height: 100%; object-fit: cover; max-height: 92vh; }
.gh-detail__body { padding: clamp(28px, 4vw, 44px); }
.gh-detail__title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 400; margin: 0 0 12px; }
.gh-detail__desc { font-size: .98rem; color: var(--ink-soft); margin: 0 0 20px; }
.gh-detail__features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.gh-detail__features li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--ink-soft); }
.gh-detail__features li::before { content: "—"; position: absolute; left: 0; color: var(--brass-deep); }
.gh-detail__price { font-size: .82rem; color: var(--ink-mute); margin: 0 0 22px; font-style: italic; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.gh-lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; background: rgba(20,16,12,.92); backdrop-filter: blur(8px); animation: gh-fade .3s var(--ease); }
.gh-lightbox__figure { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.gh-lightbox__figure img { max-width: 100%; max-height: 78vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: gh-pop .35s var(--ease); }
.gh-lightbox__figure figcaption { color: rgba(244,239,231,.82); font-size: .9rem; margin-top: 16px; letter-spacing: .02em; }
.gh-lightbox__close, .gh-lightbox__nav {
  position: absolute; z-index: 2; cursor: pointer; color: var(--ivory);
  background: rgba(244,239,231,.08); border: 1px solid rgba(244,239,231,.25);
  display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.gh-lightbox__close { top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; }
.gh-lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; padding-bottom: 5px; }
.gh-lightbox__nav--prev { left: 18px; }
.gh-lightbox__nav--next { right: 18px; }
.gh-lightbox__close:hover, .gh-lightbox__nav:hover { background: rgba(217,185,133,.25); border-color: var(--brass-light); }
@media (max-width: 600px) { .gh-lightbox__nav { width: 44px; height: 44px; } .gh-lightbox__nav--prev { left: 8px; } .gh-lightbox__nav--next { right: 8px; } }

body.gh-no-scroll { overflow: hidden; }

/* ============================================================
   AI DESIGN ASSISTANT
   ============================================================ */
.gh-assistant-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: var(--brass-light); border: 1px solid rgba(217,185,133,.4);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.gh-assistant-fab:hover { transform: translateY(-3px) scale(1.04); background: #1f1a16; }
.gh-assistant-fab.is-open { transform: scale(.85); opacity: 0; pointer-events: none; }

.gh-assistant {
  position: fixed; right: 22px; bottom: 22px; z-index: 101;
  width: min(360px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 44px));
  display: flex; flex-direction: column;
  background: var(--alabaster); border: 1px solid var(--hairline-strong); border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: hidden; animation: gh-pop .35s var(--ease);
}
.gh-assistant__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--ink); color: var(--ivory); }
.gh-assistant__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; font-size: .95rem; }
.gh-assistant__name { font-weight: 600; font-size: .92rem; margin: 0; }
.gh-assistant__status { font-size: .68rem; color: rgba(244,239,231,.6); margin: 2px 0 0; display: flex; align-items: center; gap: 6px; }
.gh-assistant__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.gh-assistant__close { background: transparent; border: 0; color: rgba(244,239,231,.7); cursor: pointer; padding: 4px; border-radius: 4px; }
.gh-assistant__close:hover { color: var(--ivory); }

.gh-assistant__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.gh-msg { max-width: 84%; padding: 11px 14px; border-radius: 12px; font-size: .88rem; line-height: 1.45; }
.gh-msg--bot { align-self: flex-start; background: var(--sand); color: var(--ink); border-bottom-left-radius: 3px; }
.gh-msg--user { align-self: flex-end; background: var(--ink); color: var(--ivory); border-bottom-right-radius: 3px; }
.gh-assistant__quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 12px; }
.gh-assistant__quick button { font-family: inherit; font-size: .76rem; color: var(--brass-deep); background: transparent; border: 1px solid var(--hairline-strong); border-radius: 100px; padding: 6px 12px; cursor: pointer; transition: all .25s var(--ease); }
.gh-assistant__quick button:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.gh-assistant__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--hairline); }
.gh-assistant__form .gh-input { flex: 1; padding: 10px 12px; }
.gh-assistant__send { width: 42px; flex-shrink: 0; border: 0; border-radius: 3px; background: var(--brass); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .25s var(--ease); }
.gh-assistant__send:hover { background: var(--brass-light); }

/* ============================================================
   SCROLL REVEAL (GSAP-driven, with CSS fallback)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-hero-anim] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-hero-anim].is-visible { opacity: 1; transform: none; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .gh-shade { display: none; }
  .gh-hero__img { transform: none; }
  [data-reveal], [data-hero-anim] { opacity: 1 !important; transform: none !important; }
  .gh-louver { -webkit-mask-image: none; mask-image: none; opacity: .5; }
  .gh-scroll-cue { display: none; }
}

/* ============================================================
   INTERACTIVE GALLERY - GRIFFIN HOUSE
   ============================================================ */
.gh-gallery-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}
.gallery-search {
  position: relative;
  flex: 1 1 300px;
  max-width: 400px;
}
.gallery-search input {
  width: 100%;
  background: rgba(28, 24, 20, 0.8);
  border: 1.5px solid var(--brass-light);
  color: var(--ivory);
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  font-size: 0.95rem;
  outline: none;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
.gallery-search input:focus { 
  border-color: var(--brass); 
  box-shadow: 0 0 10px rgba(217, 185, 133, 0.3);
}
.gallery-search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass-light);
  pointer-events: none;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gh-filter-btn {
  background: rgba(28, 24, 20, 0.7);
  border: 1.5px solid rgba(217, 185, 133, 0.4);
  color: var(--ivory);
  padding: 0.5rem 1.3rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.gh-filter-btn:hover { 
  border-color: var(--brass-light); 
  background: rgba(217, 185, 133, 0.1); 
}
.gh-filter-btn.active { 
  background: var(--brass-light); 
  border-color: var(--brass-light); 
  color: var(--charcoal); 
  font-weight: 600; 
  box-shadow: 0 4px 15px rgba(217, 185, 133, 0.25);
}

/* ============================================================
   DYNAMIC SHOWCASE BOARD
   ============================================================ */
.gh-showcase-container {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
.showcase-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 185, 133, 0.12);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--ivory);
  width: 100%;
}
.showcase-item:hover, .showcase-item.is-active {
  background: rgba(217, 185, 133, 0.08);
  border-color: var(--brass-light);
}
.showcase-item.is-active {
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(217, 185, 133, 0.1);
  background: rgba(217, 185, 133, 0.12);
}



/* ============================================================
   LANDING OVERRIDES (single-page build)
   ============================================================ */
/* Showcase list items sit on the light page — give them a solid dark card */
.showcase-item {
  background: #2B2521;
  border-color: rgba(217, 185, 133, 0.18);
}
.showcase-item:hover, .showcase-item.is-active { background: #37302A; }
.showcase-item.is-active { border-color: var(--brass-light); }

/* Hero: keep the caption card clear of the content panel */
.gh-hero__content { max-width: 46rem; }
.gh-hero__card { flex-shrink: 0; }
@media (max-width: 1200px) { .gh-hero__card { display: none; } }

/* Day / Evening scene toggle on the motorized frame */
.gh-light-toggle {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: flex; gap: 6px; padding: 5px;
  background: rgba(20, 16, 12, 0.55); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
}
.gh-light-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(244, 239, 231, 0.75); background: transparent; border: 0;
  transition: background-color 250ms ease, color 250ms ease;
}
.gh-light-btn:hover { color: var(--ivory); }
.gh-light-btn.is-active { background: var(--brass); color: #2B2521; }
.gh-feature__frame { position: relative; }
@media (prefers-reduced-motion: reduce) {
  #light-stage { transition: none !important; }
}

/* ============================================================
   QUIZ: photo cards + progress indicator + back nav
   ============================================================ */
.gh-quiz-progress {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 28px;
}
.gh-quiz-progress__dot {
  width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  background: var(--sand-light, #F1EBDF); border: 1.5px solid var(--line, #DCD3C3);
  color: var(--ink-mute); font-size: 0.78rem; font-weight: 700; font-family: var(--font-display, serif);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.gh-quiz-progress__dot.is-active { background: var(--brass); border-color: var(--brass); color: #fff; }
.gh-quiz-progress__dot.is-done { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.gh-quiz-progress__bar { width: 36px; height: 2px; background: var(--line, #DCD3C3); }

.gh-quiz-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-mute); cursor: pointer;
  background: none; border: 0; padding: 4px 0;
}
.gh-quiz-back:hover { color: var(--brass-deep); }

.gh-quiz-btn--photo {
  position: relative; overflow: hidden; height: 140px; padding: 0; border: 2px solid transparent;
  border-radius: 10px; background-size: cover; background-position: center;
  cursor: pointer; transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.gh-quiz-btn--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,12,0.78) 0%, rgba(20,16,12,0.25) 55%, rgba(20,16,12,0.05) 100%);
}
.gh-quiz-btn--photo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43,37,33,0.18); }
.gh-quiz-btn--photo:hover, .gh-quiz-btn--photo.is-selected { border-color: var(--brass); }
.gh-quiz-btn--photo.is-selected {
  box-shadow: 0 0 0 3px rgba(169,133,79,0.28), 0 10px 24px rgba(43,37,33,0.2);
}
.gh-quiz-btn--photo.is-selected::before {
  content: "✓"; position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 22px; height: 22px; border-radius: 999px; background: var(--brass); color: #fff;
  font-size: 0.7rem; font-weight: 700; display: grid; place-items: center;
}
.gh-quiz-btn__label {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1;
  color: #fff; font-weight: 600; font-size: 0.92rem; text-align: left; line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@media (max-width: 480px) { .gh-quiz-btn--photo { height: 116px; } }

/* ============================================================
   ASSISTANT NUDGE — attention bubble + FAB ping
   ============================================================ */
.gh-assistant-fab { position: fixed; }
.gh-assistant-fab__ping {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--brass-light); opacity: 0;
  animation: gh-fab-ping 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes gh-fab-ping {
  0% { transform: scale(0.85); opacity: 0.7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-assistant-fab__ping { animation: none; display: none; }
}

.gh-assistant-nudge {
  position: fixed; right: 22px; bottom: 92px; z-index: 99;
  max-width: 260px; background: var(--ink); color: var(--ivory);
  border: 1px solid rgba(217,185,133,.35); border-radius: 12px;
  padding: 14px 30px 14px 16px; box-shadow: var(--shadow-md);
  font-size: 0.84rem; line-height: 1.45; cursor: pointer;
  animation: gh-nudge-in 420ms var(--ease) both;
}
.gh-assistant-nudge::after {
  content: ""; position: absolute; right: 24px; bottom: -7px;
  width: 14px; height: 14px; background: var(--ink);
  border-right: 1px solid rgba(217,185,133,.35); border-bottom: 1px solid rgba(217,185,133,.35);
  transform: rotate(45deg);
}
.gh-assistant-nudge strong { color: var(--brass-light); }
.gh-assistant-nudge__close {
  position: absolute; top: 8px; right: 8px; width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center; color: var(--ivory);
  opacity: 0.6; background: transparent; border: 0; cursor: pointer;
}
.gh-assistant-nudge__close:hover { opacity: 1; }
@keyframes gh-nudge-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .gh-assistant-nudge { right: 14px; left: 14px; max-width: none; bottom: 88px; }
}
