/* ============================================================
   Bridal by Brittany Ann — styles.css
   Strict monochrome luxury: white, off-white, near-black, greys.
   Type: Cormorant Garamond (display serif) + Jost (light sans).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --paper: #f7f6f4;
  --paper-2: #f1efec;
  --ink: #0e0e0e;
  --charcoal: #1b1b1a;
  --g-100: #e9e6e2;
  --g-200: #d9d5cf;
  --g-300: #bcb7b0;
  --g-400: #948f88;
  --g-500: #6f6b65;
  --g-600: #4b4845;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --track: 0.28em;          /* small-caps letterspacing */
  --maxw: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --arch: 999px;            /* arch-top radius */
  --ease: cubic-bezier(.22, .8, .26, .99);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .band-dark :focus-visible { outline-color: var(--white); }
::selection { background: var(--ink); color: var(--white); }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .6rem 1.2rem; font-size: .8rem; letter-spacing: var(--track);
  text-transform: uppercase; text-decoration: none; transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography helpers ---------- */
.label {
  font-family: var(--sans); font-weight: 400;
  font-size: .72rem; letter-spacing: var(--track);
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .72rem; font-weight: 400; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--g-500); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: currentColor; opacity: .6; }
.band-dark .eyebrow { color: var(--g-300); }
.display {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.05; font-weight: 400; letter-spacing: .01em;
}
.display em { font-style: italic; font-weight: 300; }
h2.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: .01em; }
.lede { font-size: 1.1rem; color: var(--g-500); max-width: 56ch; }
.band-dark .lede { color: var(--g-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 400;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 1.05rem 2.2rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: .35rem;
  transition: gap .3s var(--ease), opacity .3s var(--ease);
}
.text-link:hover { gap: .9rem; opacity: .65; }
.band-dark .text-link { color: var(--white); border-color: var(--white); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--white);
  text-align: center; padding: .55rem var(--pad);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
}
.announce span { opacity: .55; margin: 0 .7rem; }
@media (max-width: 640px) {
  .announce { font-size: .58rem; letter-spacing: .16em; padding: .5rem 1rem; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g-100);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(14, 14, 14, .07); }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding: .4rem 0; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { padding: .85rem 1.7rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink);
  width: 46px; height: 46px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--g-100);
    padding: .5rem var(--pad) 1.5rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--g-100); }
  .nav-links li:last-child { border: 0; padding-top: 1rem; }
  .nav-links a:not(.btn) { display: block; padding: 1rem 0; font-size: .8rem; }
  .nav-links .btn { width: 100%; }
}

/* ---------- Hero (editorial, no video) ---------- */
.hero {
  position: relative; background: var(--paper); overflow: hidden;
  min-height: calc(100svh - var(--chrome, 132px));
  display: flex; align-items: center;
}
.hero::before {                       /* ghost monogram */
  content: "B";
  position: absolute; right: -4rem; top: -6rem;
  font-family: var(--serif); font-size: 46rem; line-height: 1;
  color: var(--ink); opacity: .035; pointer-events: none;
  user-select: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.6rem, 5vw, 5rem); align-items: center;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(1.4rem, 4vh, 5rem) var(--pad);
  position: relative;
}
/* Hero copy scales with viewport HEIGHT as well as width, so the whole
   hero block fits one screen on short laptops as well as tall monitors. */
.hero-copy h1 {
  margin: 0 0 clamp(.8rem, 2.2vh, 1.6rem);
  font-size: clamp(2.1rem, 4vw + .8vh, 4.4rem);
}
.hero-copy .eyebrow { display: flex; }
.hero-sub {
  font-size: clamp(1rem, .5vw + .7vh, 1.12rem); color: var(--g-500);
  max-width: 44ch; margin-bottom: clamp(1.3rem, 3.4vh, 2.4rem);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; align-items: center; }
.hero-meta {
  display: flex; gap: clamp(1.6rem, 4vw, 2.4rem);
  margin-top: clamp(1.4rem, 3.4vh, 3.2rem); padding-top: clamp(1rem, 2vh, 1.8rem);
  border-top: 1px solid var(--g-200);
}
.hero-meta div strong {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, .6vw + 1vh, 1.5rem); letter-spacing: .02em;
}
.hero-meta div span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-400); }

.hero-art { position: relative; display: grid; justify-items: center; }
.hero-arch {
  position: relative; z-index: 2;
  /* Width is also bounded by available viewport height (img is ~1.37x tall),
     so on short screens the photo shrinks to keep the hero on one screen. */
  width: min(78%, 380px, calc((100svh - var(--chrome, 132px)) * 0.46));
}
.hero-arch img {
  width: 100%; aspect-ratio: 3 / 4.1; object-fit: cover;
  border-radius: var(--arch) var(--arch) 10px 10px;
}
.hero-arch::after {                   /* keyline echo */
  content: ""; position: absolute; inset: -16px;
  border: 1px solid var(--g-300);
  border-radius: var(--arch) var(--arch) 14px 14px;
  pointer-events: none;
}
.hero-arch-small {
  position: absolute; z-index: 3;
  width: clamp(120px, 32%, 170px);
  bottom: -2.2rem; left: 0;
  box-shadow: 0 30px 60px rgba(14,14,14,.18);
  border-radius: var(--arch) var(--arch) 8px 8px;
  overflow: hidden;
  border: 6px solid var(--white);
  background: var(--white);
}
.hero-arch-small img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; z-index: 4; top: 4%; right: 2%;
  width: 116px; height: 116px;
}
.hero-badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero-badge text { font-family: var(--sans); font-size: 8.4px; letter-spacing: 2.6px; text-transform: uppercase; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  /* ============================================================
     Reimagined mobile hero — calm editorial:
     centred title, one generous arched portrait with the keyline
     frame, a full-width primary CTA, and a hairline-divided stat row.
     ============================================================ */
  .hero { min-height: 0; }
  .hero::before { display: none; }            /* drop the oversized ghost monogram on mobile */
  .hero-grid {
    grid-template-columns: 1fr; text-align: center; gap: 0;
    padding-top: clamp(1.6rem, 6vw, 2.8rem); padding-bottom: clamp(2.2rem, 8vw, 3.6rem);
  }

  /* Promote the copy's children so the photo sits between the title and the rest */
  .hero-copy { display: contents; }
  .hero-copy > h1 { order: 1; margin: 0; }
  .hero-art { order: 2; width: 100%; transform: none;
    margin: clamp(1.4rem, 6vw, 2.2rem) 0 clamp(1.8rem, 7vw, 2.8rem); }
  .hero-copy > .hero-sub { order: 3; }
  .hero-copy > .hero-ctas { order: 4; }
  .hero-copy > .hero-meta { order: 5; }

  /* Title */
  .hero-copy .eyebrow { justify-content: center; margin-bottom: 1rem; }
  .hero-copy .display { font-size: clamp(2.7rem, 13vw, 4.2rem); line-height: 1.04; }
  .hero-sub { margin: 0 auto; max-width: 32ch; }

  /* One elegant arch, centred, keyline echo kept; flourishes hidden */
  .hero-arch { width: min(78%, 330px); margin: 0 auto; }
  .hero-arch img { aspect-ratio: 3 / 3.5; }
  .hero-arch-small, .hero-badge { display: none; }

  /* CTAs: confident full-width primary, text link beneath */
  .hero-ctas { flex-direction: column; gap: .9rem; align-items: center; margin-top: 0; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  /* Stats: one tidy row split by hairlines */
  .hero-meta {
    justify-content: center; gap: 0; flex-wrap: nowrap;
    max-width: 340px; margin: clamp(1.8rem, 6vw, 2.4rem) auto 0;
    padding-top: 1.3rem; border-top: 1px solid var(--g-200);
  }
  .hero-meta > div { flex: 1; padding: 0 .5rem; }
  .hero-meta > div + div { border-left: 1px solid var(--g-200); }

  .outlet-strip .container { justify-content: center; text-align: center; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--g-100); background: var(--white); }
.trust-strip .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 3.4rem;
  padding-top: 1.3rem; padding-bottom: 1.3rem;
}
.trust-strip span { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--g-500); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vh, 7rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vh, 3.6rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.band-dark { background: var(--ink); color: var(--white); }
.band-paper { background: var(--paper); }
.band-charcoal { background: var(--charcoal); color: var(--white); }

/* ---------- Silhouette scroller ---------- */
.silhouette-band { overflow: hidden; }
.sil-stage {
  position: relative; height: 390px;
  max-width: 980px; margin: 0 auto;
  touch-action: pan-y;
  outline-offset: -2px;
}
.sil-item {
  position: absolute; top: 0; left: 50%; width: 200px;
  margin-left: -100px;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
  will-change: transform, opacity;
  pointer-events: none;
}
.sil-item .sil-photo {
  position: relative; display: block;
  width: clamp(170px, 19vw, 230px);
  height: calc(clamp(170px, 19vw, 230px) * 1.3333); /* explicit 3:4 box */
}
.sil-item .sil-photo img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.sil-item .sil-name {
  font-family: var(--serif); font-size: 1.7rem; letter-spacing: .04em; color: var(--white);
  transition: opacity .55s var(--ease);
}
.sil-controls {
  display: flex; align-items: center; justify-content: center; gap: 2.2rem;
  margin-top: 1.4rem;
}
.sil-arrow {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--g-400); background: transparent; color: var(--white);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  font-size: 1.1rem;
}
.sil-arrow:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.sil-readout { text-align: center; min-width: 220px; }
.sil-readout .sil-count { color: var(--g-300); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; display: block; margin-bottom: 1rem; }
.sil-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.2rem; }
.sil-dots button {
  width: 7px; height: 7px; border-radius: 50%; padding: 0;
  border: 0; background: var(--g-500); cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.sil-dots button[aria-current="true"] { background: var(--white); transform: scale(1.5); }
@media (max-width: 640px) {
  .sil-stage { height: 330px; }
  .sil-item .sil-photo { width: clamp(140px, 42vw, 180px); height: calc(clamp(140px, 42vw, 180px) * 1.3333); }
}

/* ---------- Gown cards ---------- */
.gown-grid {
  display: grid; gap: 2.6rem 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.gown-card { position: relative; text-decoration: none; color: inherit; display: block; }
/* stable wrapper — never transformed, so arched corners never flicker */
.gown-card .frame {
  position: relative; overflow: hidden;
  border-radius: var(--arch) var(--arch) 10px 10px;
  background: var(--paper-2);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  isolation: isolate;
}
.gown-card .frame img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--arch) var(--arch) 10px 10px;
  transition: transform .8s var(--ease);
}
.gown-card:hover .frame img,
.gown-card:focus-visible .frame img { transform: scale(1.06); }
/* soft feathered edge so the arched picture melts into the page rather than a hard cut.
   Two layers: an inner ring in the page colour (dissolves the photo edge into the page on
   ANY background, including white studio shots) + a wider white glow for the soft halo. */
.gown-card .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  border-radius: var(--arch) var(--arch) 10px 10px;
  box-shadow: inset 0 0 11px 5px var(--paper), inset 0 0 20px 11px rgba(255,255,255,.55);
}
/* cards go full-width on phones, so the feather must grow with them or it reads as a thin sharp line */
@media (max-width: 680px) {
  .gown-card .frame::after { box-shadow: inset 0 0 15px 7px var(--paper), inset 0 0 29px 15px rgba(255,255,255,.6); }
  .dress-gallery .main-frame::after { box-shadow: inset 0 0 17px 8px var(--paper), inset 0 0 32px 16px rgba(255,255,255,.55); }
}
/* crossfade layer for the hover image cycle */
.gown-card .frame .hover-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--arch) var(--arch) 10px 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
/* style tag lives OUTSIDE the clipped wrapper so it is never clipped */
.gown-card .style-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.88); color: var(--ink);
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .42rem .8rem; border: 1px solid var(--g-200); border-radius: 0;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.gown-card .extra-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--ink); color: var(--white);
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .45rem .8rem;
}
/* silhouette tags sit along the bottom of the image; a gown can carry several */
.gown-card .sil-tags {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  display: flex; flex-wrap: wrap; gap: .4rem; pointer-events: none;
}
.gown-card .sil-tag {
  background: rgba(255,255,255,.88); color: var(--ink); border: 1px solid var(--g-200);
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .38rem .72rem;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.gown-card .size-tag {
  position: absolute; z-index: 2; right: 14px; top: 14px;
  background: rgba(255,255,255,.88); color: var(--ink); border: 1px solid var(--g-200); border-radius: 0;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .42rem .8rem;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.gown-card .coming-tag {
  position: absolute; z-index: 2; right: 14px; top: 14px;
  background: var(--ink); color: var(--white);
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .42rem .8rem;
}
.dress-coming {
  display: inline-block; margin: .2rem 0 .4rem;
  background: var(--ink); color: var(--white);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .4rem .85rem;
}
.gown-card .card-body { display: block; padding: 1.3rem .2rem 0; }
.gown-card .gown-name { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; margin: 0 0 .2rem; }
.gown-card .gown-designer { display: block; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--g-400); margin-bottom: .9rem; }
.gown-card .gown-line { display: none; }
.card-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--g-100); padding-top: .95rem;
}
.card-foot .price { display: flex; flex-direction: column; gap: .15rem; }
.card-foot .price-label { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g-400); }
.card-foot .price-amt { font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--ink); }
.card-foot .price-amt del { font-size: .9rem; color: var(--g-400); margin-right: .4rem; }
.card-foot .price-enquire { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--g-600); line-height: 1; }
.card-foot .view {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s; white-space: nowrap;
}
.gown-card:hover .card-foot .view { border-color: var(--ink); }

/* ---------- Filter bar ---------- */
.filter-bar {
  border: 1px solid var(--g-100); background: var(--white);
  padding: 1.4rem; margin-bottom: 2.8rem;
  display: grid; gap: 1.2rem;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  border: 1px solid var(--g-200); background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .6rem 1.1rem; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.filter-row label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-500); display: block; margin-bottom: .35rem; }
.filter-row select, .filter-row input[type="search"] {
  font-family: var(--sans); font-weight: 300; font-size: .9rem;
  border: 1px solid var(--g-200); background: var(--white); color: var(--ink);
  padding: .7rem .9rem; min-width: 180px;
}
.filter-row .grow { flex: 1; min-width: 200px; }
.filter-row input[type="search"] { width: 100%; }
.check-filter label { display: flex; align-items: center; gap: .5rem; margin: 0; white-space: nowrap; color: var(--ink); cursor: pointer; }
.check-filter input { width: auto; accent-color: var(--ink); transform: scale(1.15); }
.results-count { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--g-400); margin-bottom: 1.6rem; }
.no-results { padding: 4rem 1rem; text-align: center; color: var(--g-500); font-family: var(--serif); font-size: 1.4rem; }

/* ---------- Two-column feature ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 6vw, 5.5rem); align-items: center;
}
.feature .arch-img { position: relative; width: min(100%, 440px); margin: 0 auto; }
.feature .arch-img img {
  width: 100%; aspect-ratio: 3 / 3.8; object-fit: cover;
  border-radius: var(--arch) var(--arch) 10px 10px;
}
.feature .arch-img::after {
  content: ""; position: absolute; inset: -14px;
  border: 1px solid var(--g-200);
  border-radius: var(--arch) var(--arch) 14px 14px;
}
.feature ul.ticks { list-style: none; padding: 0; margin: 0 0 2rem; }
.feature ul.ticks li { padding: .8rem 0 .8rem 2rem; position: relative; border-bottom: 1px solid var(--g-100); }
.feature ul.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--g-400); }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Designers band ---------- */
.designers-band .designer-list {
  list-style: none; margin: 2.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
}
.designers-band .designer-list li {
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.designers-band .designer-list a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .7rem; text-align: center; text-decoration: none;
  min-height: 168px; padding: 2.2rem 1rem;
  transition: background .35s var(--ease);
}
.designers-band .designer-list a:hover { background: rgba(255,255,255,.04); }
.designers-band .designer-list .d-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: var(--white); }
.designers-band .designer-list .d-cue { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g-400); transition: color .3s var(--ease), letter-spacing .3s var(--ease); }
.designers-band .designer-list a:hover .d-cue { color: var(--white); letter-spacing: .28em; }
@media (max-width: 760px) { .designers-band .designer-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .designers-band .designer-list { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review-score { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.review-score .score { font-family: var(--serif); font-size: 4rem; line-height: 1; }
.stars { letter-spacing: .3em; font-size: 1rem; }
.review-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review-card { border: 1px solid var(--g-100); background: var(--white); padding: 2.2rem; }
.review-card blockquote { margin: 0 0 1.4rem; font-family: var(--serif); font-size: 1.25rem; font-style: italic; line-height: 1.5; }
.review-card cite { font-style: normal; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-400); }

/* ---------- Prom crossover band ---------- */
.prom-band { position: relative; overflow: hidden; }
.prom-band::before {
  content: "PROM"; position: absolute; left: -1rem; bottom: -5rem;
  font-family: var(--serif); font-style: italic; font-size: 17rem; line-height: 1;
  color: rgba(255,255,255,.04); pointer-events: none; user-select: none;
}
.prom-band .container { position: relative; text-align: center; max-width: 760px; }
.prom-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.prom-band h2 em { font-style: italic; }
.prom-band p { color: var(--g-300); }

/* ---------- Outlet teaser ---------- */
.outlet-strip { border-top: 1px solid var(--g-100); border-bottom: 1px solid var(--g-100); }
.outlet-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding-top: 2.2rem; padding-bottom: 2.2rem;
}
.outlet-strip p { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
.outlet-strip p span { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g-400); margin-top: .3rem; }

/* ---------- Instagram strip ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.insta-grid a { position: relative; overflow: hidden; display: block; }
.insta-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .7s var(--ease), opacity .4s; }
.insta-grid a:hover img { transform: scale(1.07); opacity: .82; }
@media (max-width: 760px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--g-300); font-size: .92rem; }
.footer-grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  padding: clamp(3.4rem, 7vh, 5.5rem) 0 3rem;
}
.site-footer .f-logo img { height: 60px; width: auto; margin-bottom: 1.6rem; }
.site-footer h3 { color: var(--white); font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.3rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: var(--g-300); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.6rem 0 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .76rem; letter-spacing: .06em; color: var(--g-400);
}
.footer-bottom a { color: var(--g-300); }
.f-socials { display: flex; gap: 1rem; margin-top: 1.4rem; }
.f-socials a { display: inline-flex; width: 40px; height: 40px; border: 1px solid var(--g-600); border-radius: 50%; align-items: center; justify-content: center; transition: border-color .3s, background .3s; }
.f-socials a:hover { border-color: var(--white); background: rgba(255,255,255,.07); }
.f-socials svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--paper); padding: clamp(3rem, 7vh, 5.5rem) 0; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero .lede { margin-top: 1rem; }
.breadcrumbs { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--g-400); margin-bottom: 1.6rem; }
.breadcrumbs a { color: var(--g-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { margin: 0 .55rem; }

/* ---------- Designer sections (collection page) ---------- */
.designer-blocks { display: grid; gap: 0; }
.designer-block { border-top: 1px solid var(--g-100); padding: 2.6rem 0; display: grid; grid-template-columns: 280px 1fr auto; gap: 2rem; align-items: baseline; }
.designer-block h3 { font-size: 1.9rem; margin: 0; }
.designer-block p { margin: 0; color: var(--g-500); max-width: 64ch; }
@media (max-width: 880px) { .designer-block { grid-template-columns: 1fr; gap: .8rem; } }

/* ---------- Dress detail ---------- */
.dress-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.4rem, 5vw, 4.5rem); }
.dress-gallery .main-frame {
  overflow: hidden; border-radius: var(--arch) var(--arch) 10px 10px;
  background: var(--paper-2); position: relative;
  transform: translateZ(0); isolation: isolate;
}
.dress-gallery .main-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.dress-gallery .main-frame { cursor: grab; touch-action: pan-y; }
.dress-gallery .main-frame:active { cursor: grabbing; }
.dress-gallery .main-frame .dress-layer { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .6s var(--ease); z-index: 1; }
.dress-gallery .main-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: var(--arch) var(--arch) 10px 10px; box-shadow: inset 0 0 14px 6px var(--paper), inset 0 0 24px 11px rgba(255,255,255,.5); }
.dress-thumbs { display: flex; gap: .8rem; margin-top: 1rem; }
.dress-thumbs button {
  border: 1px solid var(--g-200); padding: 0; background: none; cursor: pointer;
  width: 86px; overflow: hidden; border-radius: 40px 40px 4px 4px;
  transition: border-color .25s;
}
.dress-thumbs button[aria-current="true"] { border-color: var(--ink); }
.dress-thumbs img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.dress-info .designer-line { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--g-400); margin-bottom: .6rem; }
.dress-info h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.dress-desc { font-size: .98rem; line-height: 1.7; color: var(--g-500); max-width: 56ch; margin-top: 1rem; }
.dress-specs { list-style: none; margin: 1.6rem 0; padding: 0; border-top: 1px solid var(--g-100); }
.dress-specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--g-100); font-size: .92rem; }
.dress-specs li span:first-child { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-400); padding-top: .2rem; }
.dress-price { font-family: var(--serif); font-size: 1.9rem; margin: 1.4rem 0 .3rem; }
.dress-price-note { font-size: .85rem; color: var(--g-400); margin-bottom: 1.8rem; }
.colour-picker { margin: 1.4rem 0 2rem; }
.colour-picker .label { color: var(--g-500); display: block; margin-bottom: .7rem; }
.colour-picker .swatch-btns { display: flex; gap: .7rem; }
.swatch-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--g-200); cursor: pointer; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.swatch-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid transparent; transition: border-color .25s; }
.swatch-btn[aria-pressed="true"]::after { border-color: var(--ink); }
.dress-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.dress-ctas .btn { flex: 1; min-width: 220px; }
@media (max-width: 880px) { .dress-layout { grid-template-columns: 1fr; } }

/* ---------- AI try-on modal ---------- */
.tryon-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14,14,14,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1.2rem;
}
.tryon-overlay.open { display: flex; }
.tryon-modal {
  background: var(--white); width: min(640px, 100%);
  max-height: min(92vh, 820px); overflow-y: auto;
  padding: clamp(1.8rem, 4vw, 3rem); position: relative;
}
.tryon-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 44px; height: 44px; border: 1px solid var(--g-200); border-radius: 50%;
  background: var(--white); cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: background .25s, color .25s;
}
.tryon-close:hover { background: var(--ink); color: var(--white); }
.tryon-step h2 { font-size: 1.9rem; margin-bottom: .4rem; }
.tryon-step .step-label { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--g-400); display: block; margin-bottom: 1.1rem; }
.dropzone {
  border: 1.5px dashed var(--g-300); background: var(--paper);
  padding: 2.6rem 1.6rem; text-align: center; cursor: pointer;
  transition: border-color .25s, background .25s; margin: 1.4rem 0;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--ink); background: var(--paper-2); }
.dropzone p { margin: .4rem 0 0; color: var(--g-500); font-size: .92rem; }
.privacy-note { font-size: .8rem; color: var(--g-400); display: flex; gap: .6rem; align-items: flex-start; }
.privacy-note svg { flex-shrink: 0; margin-top: .2rem; }
.tryon-confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1.6rem 0; }
.tryon-confirm-grid figure { margin: 0; }
.tryon-confirm-grid img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 60px 60px 6px 6px; }
.tryon-confirm-grid figcaption { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-400); margin-top: .6rem; text-align: center; }
.tryon-loading { text-align: center; padding: 3.4rem 0; }
.tryon-loading .loader-arch {
  width: 90px; height: 120px; margin: 0 auto 1.8rem;
  border: 1.5px solid var(--g-200); border-radius: 999px 999px 8px 8px;
  position: relative; overflow: hidden;
}
.tryon-loading .loader-arch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(14,14,14,.1) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%);} to { transform: translateX(100%);} }
.tryon-loading p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.tryon-result-frame { position: relative; width: min(320px, 80%); margin: 1.6rem auto; }
.tryon-result-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--arch) var(--arch) 8px 8px; filter: grayscale(.15) contrast(1.02); }
.tryon-result-frame .ai-tag {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(14,14,14,.82); color: var(--white);
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  padding: .45rem .9rem; white-space: nowrap;
}
.tryon-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.tryon-actions .btn { padding: .85rem 1.4rem; font-size: .68rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--g-100); }
.faq-list details { border-bottom: 1px solid var(--g-100); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--serif); font-size: 1.35rem; padding: 1.5rem 3rem 1.5rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%;
  transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem;
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list .faq-a { padding: 0 0 1.7rem; color: var(--g-500); max-width: 70ch; }

/* ---------- Visit page ---------- */
.map-placeholder {
  background: var(--paper-2); border: 1px solid var(--g-100);
  aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .6rem; color: var(--g-400); text-align: center; padding: 1rem;
}
.info-cards { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.info-card { border: 1px solid var(--g-100); padding: 2.2rem; background: var(--white); }
.info-card h3 { font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--g-400); margin-bottom: 1.1rem; }
.info-card p, .info-card address { margin: 0; font-style: normal; line-height: 1.9; }
.info-card a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .45rem 0; border-bottom: 1px solid var(--g-100); font-size: .95rem; }
.hours-table td:last-child { text-align: right; color: var(--g-500); }

/* ---------- Journal ---------- */
.journal-grid { display: grid; gap: 2.4rem 1.8rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card { text-decoration: none; color: inherit; display: block; }
.post-card .frame { overflow: hidden; border-radius: 12px; transform: translateZ(0); isolation: isolate; }
.post-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card h3 { font-size: 1.5rem; margin: 1.1rem 0 .4rem; }
.post-card p { color: var(--g-500); font-size: .95rem; }
.post-card .read-more { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: .3rem; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 1.8rem; margin-top: 2.6rem; }
.article-body img { border-radius: 12px; margin: 2.2rem 0; }
.article-meta { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-400); margin-bottom: 1.8rem; }
.article-cta { border: 1px solid var(--g-200); background: var(--paper); padding: 2.4rem; text-align: center; margin-top: 3.4rem; }
.article-cta h2 { margin-top: 0; }

/* ---------- Story page ---------- */
.story-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.3;
  text-align: center; max-width: 22ch; margin: 0 auto;
}
.story-quote .who { display: block; font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--g-400); margin-top: 1.6rem; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; max-width: 760px; margin: 0 auto; }
.team-card { text-align: center; }
.team-card .frame { overflow: hidden; border-radius: var(--arch) var(--arch) 10px 10px; background: var(--paper-2); }
.team-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.team-card .photo-slot {
  aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center;
  color: var(--g-400); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  border: 1px dashed var(--g-300); border-radius: var(--arch) var(--arch) 10px 10px;
  padding: 1rem; text-align: center;
}
.team-card h3 { margin: 1.2rem 0 .2rem; font-size: 1.6rem; }
.team-card .role { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g-400); }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .container { max-width: 720px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* ---------- Reveal animations ----------
   JS adds .js to <html>; without JS everything stays visible.
   An on-load fallback in app.js force-settles anything missed,
   so nothing is ever left semi-transparent. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .12s; }
html.js .reveal-d2 { transition-delay: .24s; }

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

/* ---------- Print ---------- */
@media print {
  .announce, .site-header, .site-footer, .tryon-overlay, .sil-controls { display: none !important; }
}

/* ============================================================
   POLISH PASS — elevated details
   ============================================================ */

/* Cross-document page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* Typography niceties */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Thin monochrome scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--g-300) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--g-300); border-radius: 5px; }
::-webkit-scrollbar-track { background: transparent; }

/* Smart header — hides on scroll down, returns on scroll up */
.site-header { transition: box-shadow .3s var(--ease), transform .45s var(--ease); }
.site-header.hidden { transform: translateY(-105%); }

/* ---------- Full-screen mobile menu ---------- */
@media (max-width: 1020px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 90;
    background: var(--ink); border-bottom: 0;
    padding: 8.5rem var(--pad) 3rem;
    flex-direction: column; justify-content: flex-start;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: menuIn .4s var(--ease) both; }
  .nav-links li { border-color: rgba(255,255,255,.13); }
  .nav-links.open li { opacity: 0; transform: translateY(16px); animation: menuItem .55s var(--ease) forwards; }
  .nav-links.open li:nth-child(1) { animation-delay: .07s; }
  .nav-links.open li:nth-child(2) { animation-delay: .13s; }
  .nav-links.open li:nth-child(3) { animation-delay: .19s; }
  .nav-links.open li:nth-child(4) { animation-delay: .25s; }
  .nav-links.open li:nth-child(5) { animation-delay: .31s; }
  .nav-links.open li:nth-child(6) { animation-delay: .37s; }
  .nav-links.open li:nth-child(7) { animation-delay: .45s; }
  .nav-links a:not(.btn) {
    color: var(--white); font-family: var(--serif);
    font-size: 1.7rem; text-transform: none; letter-spacing: .02em;
    padding: 1.05rem 0;
  }
  .nav-links a:not(.btn)::after { background: var(--white); }
  .nav-links .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
  .nav-links :focus-visible { outline-color: var(--white); }
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuItem { to { opacity: 1; transform: none; } }

/* ---------- Designer marquee (replaces static trust strip) ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--g-100); background: var(--white); padding: 1.15rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 3.4rem; padding-right: 3.4rem; }
.marquee-group a {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--g-500); text-decoration: none; white-space: nowrap;
  transition: color .3s var(--ease);
}
.marquee-group a:hover { color: var(--ink); }
.marquee-group .sep { color: var(--g-300); font-size: .55rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- Hero entrance choreography ---------- */
.hl { display: block; overflow: hidden; }
html.js .hl > span, html.js .hl > em { display: block; transform: translateY(112%); animation: rise .85s var(--ease) forwards; }
html.js .display .hl:nth-child(1) > * { animation-delay: .12s; }
html.js .display .hl:nth-child(2) > * { animation-delay: .24s; }
html.js .display .hl:nth-child(3) > * { animation-delay: .36s; }
html.js .hero-fade { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
html.js .hero-fade-0 { animation-delay: .02s; }
html.js .hero-fade-2 { animation-delay: .55s; }
html.js .hero-fade-3 { animation-delay: .7s; }
html.js .hero-fade-4 { animation-delay: .85s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-arch { animation: archIn 1s var(--ease) .15s both; }
.hero-arch img { animation: heroZoom 2.4s var(--ease) .15s both; }
.hero-arch-small { animation: archIn .9s var(--ease) .55s both; }
.hero-badge { animation: fadeUp .9s var(--ease) .95s both; }
@keyframes archIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: none; } }

/* ---------- Film grain on dark bands ---------- */
.band-dark, .band-charcoal { position: relative; }
.band-dark::after, .band-charcoal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.band-dark > *, .band-charcoal > * { position: relative; z-index: 1; }

/* ---------- Scroller polish: glow + counter ---------- */
.sil-stage::before {
  content: ""; position: absolute; left: 50%; top: 42%;
  width: 360px; height: 360px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%);
  pointer-events: none;
}
.sil-index { display: block; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--g-400); margin-bottom: .5rem; }

/* ---------- Full-bleed parallax quote band ---------- */
.quote-band {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: center; justify-content: center;
}
.quote-band > img {
  position: absolute; top: -12%; left: 0;
  width: 100%; height: 124%; object-fit: cover;
}
.quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(14,14,14,.56); }
.quote-band blockquote { position: relative; z-index: 1; margin: 0; padding: 4rem var(--pad); text-align: center; max-width: 800px; color: var(--white); }
.quote-band blockquote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem); line-height: 1.35; margin-bottom: 1.6rem;
}
.quote-band blockquote p em { font-style: normal; }
.quote-band cite { font-style: normal; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--g-300); }

/* ---------- Final CTA band ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--paper); text-align: center; padding-top: clamp(5.5rem, 11vw, 8.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.final-cta::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 2.4rem; bottom: 0; width: min(740px, 92vw);
  border: 1px solid var(--g-200);
  border-top-left-radius: var(--arch); border-top-right-radius: var(--arch);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; max-width: 600px; }
.final-cta .lede { max-width: 34ch; }
.final-cta h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .01em; }
.final-cta h2 em { font-style: italic; }
.final-cta .lede { margin: 0 auto 2.4rem; }
.final-cta .cta-row { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; justify-content: center; align-items: center; }

/* Parallax helper — JS drives `translate`; slight oversize hides edges */
.arch-img img[data-parallax] { scale: 1.1; }

@media (prefers-reduced-motion: reduce) {
  html.js .hl > span, html.js .hl > em, html.js .hero-fade { animation: none; opacity: 1; transform: none; }
  .hero-arch, .hero-arch img, .hero-arch-small, .hero-badge { animation: none; }
}

/* When the mobile menu is open, drop the header's backdrop-filter —
   it creates a containing block that would trap the fixed overlay */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Keep brand + close button above the open menu, inverted to white */
.brand, .nav-toggle { position: relative; z-index: 95; }
@media (max-width: 1020px) {
  body.nav-open .brand img { filter: invert(1); }
  body.nav-open .nav-toggle { border-color: var(--white); }
  body.nav-open .nav-toggle span { background: var(--white); }
  body.nav-open .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; }
}

/* ============================================================
   AREAS WE SERVE — location hub, town pages & home link band
   ============================================================ */

/* Link grid (home band + hub) */
.areas-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.area-link {
  display: flex; flex-direction: column; gap: .5rem;
  text-decoration: none; color: inherit;
  border: 1px solid var(--g-100); background: var(--white);
  padding: 1.5rem 1.5rem 1.4rem;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.area-link:hover { transform: translateY(-4px); border-color: var(--g-300); box-shadow: 0 18px 40px rgba(14,14,14,.06); }
.area-link .a-town { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.area-link .a-meta { font-size: .92rem; color: var(--g-500); margin: 0; }
.area-link .a-cue {
  margin-top: auto; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--g-400); display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.area-link:hover .a-cue { gap: .8rem; color: var(--ink); }
/* dark-band variant (home "brides travel to us" band) */
.band-dark .area-link, .band-charcoal .area-link {
  background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.14); color: var(--white);
}
.band-dark .area-link:hover, .band-charcoal .area-link:hover { border-color: rgba(255,255,255,.5); box-shadow: none; }
.band-dark .area-link .a-meta { color: var(--g-300); }
.band-dark .area-link .a-cue { color: var(--g-400); }
.band-dark .area-link:hover .a-cue { color: var(--white); }

/* Town page: travel / "how to find us" stat cards */
.travel-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 1rem;
}
.travel-card { border: 1px solid var(--g-100); background: var(--white); padding: 1.9rem 1.8rem; }
.travel-card .t-num { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin-bottom: .5rem; }
.travel-card .t-label { font-size: .9rem; color: var(--g-500); margin: 0; }

/* Venue / keyword chip list (static, non-interactive) */
.chip-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.chip-list li {
  border: 1px solid var(--g-200); color: var(--g-600);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .55rem 1rem;
}
.band-dark .chip-list li { border-color: rgba(255,255,255,.18); color: var(--g-200); }

/* Town intr
/* ---------- AI try-on: consent gate ----------
   The bride's photo is sent to a third party, so the dropzone stays
   inert until she has ticked to say that's fine. */
.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  font-size: .88rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: .12rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 1px;
}
.consent input[type="checkbox"]:checked { background: var(--ink); }
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}
.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.dropzone.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.privacy-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
