/* The Bridal Experience. Motion states live under .is-live, which only js/bridal.js adds. */
.bridal-page #site-footer { position: relative; z-index: 2; }
.bridal-page main { overflow: clip; }
.b-when {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
}
.b-when::before { content: ''; width: 2rem; height: 1px; background: currentColor; }
.b-copy p:not(.b-when) { color: var(--ink-soft); max-width: 36rem; }
.b-copy--wide { max-width: 50rem; }
.b-copy--wide p:not(.b-when) { max-width: 44rem; }
.b-chapter { padding-block: var(--section); }

/* Opening */
.b-hero { position: relative; margin-top: calc(var(--nav-h) * -1); background: var(--noir); color: var(--noir-text); }
.b-hero-stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.b-hero.is-live { height: 300vh; }
.b-hero.is-live .b-hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.b-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 24%; will-change: transform; }
.b-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(32 18 22 / .86), rgb(32 18 22 / .42) 46%, rgb(32 18 22 / .04) 72%, rgb(32 18 22 / .3)), linear-gradient(90deg, rgb(32 18 22 / .34), transparent 58%); }
.b-hero-copy { padding-block: 0 clamp(2.5rem, 7vh, 5rem); }
.b-hero-copy .eyebrow { color: var(--noir-accent); }
.b-hero-copy h1 { font-size: clamp(3rem, 8.4vw, 7.75rem); margin-bottom: 1.25rem; max-width: 12ch; }
.b-hero-copy .lead { color: var(--noir-text); margin-bottom: 1.75rem; }
.b-veil { display: none; }
.b-hero.is-live .b-veil {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 108%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  padding: var(--nav-h) var(--gutter) 8%;
  text-align: center; color: var(--ink);
  will-change: transform;
}
/* The sheer effect is a pre-blurred photo, not a live backdrop-filter: re-blurring the screen on every frame is what made the lift sluggish. */
.b-veil-sheer { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--noir); }
.b-veil-sheer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(251 247 243 / .84), rgb(251 247 243 / .72) 62%, rgb(251 247 243 / .5)); }
.b-veil-photo { position: absolute; left: 0; top: 0; width: 100%; height: 92.6%; object-fit: cover; object-position: 70% 24%; transform: scale(1.12); will-change: transform; }
.b-veil-title, .b-veil-cue { position: relative; }
.b-hero.uses-timeline { view-timeline: --veil block; view-timeline-inset: 0px; }
.b-hero.uses-timeline :is(.b-veil, .b-veil-photo, .b-hero-photo, .b-veil-title, .b-veil-cue, .b-hero-copy) { animation-timeline: --veil; animation-fill-mode: both; animation-duration: 1ms; }
.b-hero.uses-timeline .b-veil { animation-name: veil-lift; animation-range: contain 0% contain 62%; animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
.b-hero.uses-timeline .b-veil-photo { animation-name: veil-counter; animation-range: contain 0% contain 62%; animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
.b-hero.uses-timeline .b-hero-photo { animation-name: photo-settle; animation-range: contain 0% contain 62%; animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
.b-hero.uses-timeline .b-veil-title { animation-name: veil-fade; animation-range: contain 2% contain 24%; animation-timing-function: linear; }
.b-hero.uses-timeline .b-veil-cue { animation-name: veil-fade; animation-range: contain 0% contain 10%; animation-timing-function: linear; }
.b-hero.uses-timeline .b-hero-copy { animation-name: copy-arrive; animation-range: contain 50% contain 84%; animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
@keyframes veil-lift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -112%, 0); } }
@keyframes veil-counter { from { transform: translate3d(0, 0, 0) scale(1.12); } to { transform: translate3d(0, 120.96%, 0) scale(1); } }
@keyframes photo-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes veil-fade { from { opacity: 1; } to { opacity: 0; } }
@keyframes copy-arrive { 0% { opacity: 0; transform: translate3d(0, 28px, 0); visibility: hidden; } 1% { visibility: visible; } 100% { opacity: 1; transform: none; visibility: visible; } }
.b-veil-title { font-size: clamp(2.5rem, 6.6vw, 6rem); margin: 0; max-width: 14ch; }
.b-veil-cue { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
/* Scalloped lace hem at the veil's edge */
.b-veil-lace {
  position: absolute; left: 0; right: 0; top: 100%; height: 26px; pointer-events: none;
  background:
    radial-gradient(circle at 18px 0, rgb(251 247 243 / .72) 17px, transparent 18px) 0 0 / 36px 26px repeat-x,
    radial-gradient(circle at 18px 6px, rgb(200 162 126 / .55) 1.4px, transparent 2px) 0 0 / 36px 26px repeat-x;
}

/* Chapter markers */
.b-rail { display: none; }
@media (min-width: 1200px) {
  .b-rail {
    display: block; position: fixed; right: 1.25rem; top: 50%; z-index: 20; transform: translateY(-50%);
    transition: opacity 320ms var(--ease-out), visibility 320ms;
    color: var(--ink);
  }
  .b-rail.is-hidden { opacity: 0; visibility: hidden; }
  .b-rail.on-dark { color: var(--noir-text); }
  .b-rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; }
  .b-rail a { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; min-height: 32px; min-width: 44px; color: inherit; text-decoration: none; font-size: .75rem; letter-spacing: .02em; }
  .b-rail a::after { content: ''; width: .875rem; height: 1px; background: currentColor; opacity: .45; transition: width 320ms var(--ease-out), opacity 320ms var(--ease-out); }
  .b-rail a span { opacity: 0; translate: 6px 0; transition: opacity 240ms var(--ease-out), translate 240ms var(--ease-out); white-space: nowrap; padding: .15rem .5rem; border-radius: 1rem; background: var(--brand-surface); color: var(--ink); }
  .b-rail a:hover span, .b-rail a:focus-visible span { opacity: 1; translate: 0 0; }
  .b-rail a[aria-current]::after { width: 2rem; opacity: 1; }
  .b-rail a:hover::after { opacity: 1; }
}

@media (min-width: 1640px) { .b-rail a[aria-current] span { opacity: 1; translate: 0 0; } }

/* Prologue */
.b-prologue { padding-block: var(--section) 0; }
.b-prologue-text { font-size: clamp(1.875rem, 4vw, 3.5rem); line-height: 1.16; max-width: 22em; margin: 0 auto; }
.b-prologue-text em { color: var(--accent-text); }

/* Split chapters */
.b-split-grid { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (min-width: 992px) {
  .b-split-grid { grid-template-columns: 1.1fr 1fr; }
  .b-split--flip .b-frame { order: 2; }
  .b-split--flip .b-split-grid { grid-template-columns: 1fr 1.1fr; }
}
.b-frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-m); aspect-ratio: 4 / 5; background: var(--brand-secondary); }
.b-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.14); will-change: transform; }
.b-frame--arch { border-radius: 999px 999px var(--radius-m) var(--radius-m); }
/* This bride sits at the top of her photo: no zoom or drift, so the arch never clips her head. */
.b-frame--arch img { transform: none; object-position: 74% 0; }
.b-split--flip .b-frame img { object-position: 52% 30%; }
.b-quote { margin: 2rem 0; padding-left: 1.5rem; border-left: 1px solid var(--brand-accent); }
.b-quote p { font-family: var(--font-display); font-variation-settings: 'opsz' 18; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.32; letter-spacing: -.01em; color: var(--ink) !important; margin-bottom: .75rem; }
.b-quote footer { font-size: .8125rem; color: var(--ink-soft); letter-spacing: .02em; }
.b-offerline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.b-offerline .service-price { margin: 0; }

/* Skin-tone panels */
.b-tones { background: var(--brand-secondary); }
.b-panels { display: flex; gap: .625rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-inline: var(--gutter); }
.b-panel {
  position: relative; flex: 1 1 0; min-width: 0; height: clamp(26rem, 72vh, 44rem); padding: 0; border: 0; overflow: hidden; cursor: pointer; text-align: left; color: var(--noir-text);
  border-radius: var(--radius-m); background: var(--noir); isolation: isolate;
  transition: flex-grow 720ms var(--ease-out);
}
.b-panel.is-open { flex-grow: 3.4; }
.b-panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 25%); filter: saturate(.82); transition: filter 500ms var(--ease-out); }
.b-panel.is-open img { filter: none; }
.b-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(32 18 22 / .72), transparent 46%); opacity: 0; transition: opacity 500ms var(--ease-out); }
.b-panel.is-open::after { opacity: 1; }
.b-panel-note { position: absolute; left: clamp(1.25rem, 2.5vw, 2rem); bottom: clamp(1.25rem, 2.5vw, 2rem); width: min(24rem, 76%); opacity: 0; translate: 0 10px; transition: opacity 280ms var(--ease-out), translate 280ms var(--ease-out); }
.b-panel.is-open .b-panel-note { opacity: 1; translate: 0 0; transition-delay: 260ms; transition-duration: 460ms; }
.b-panel-note b { display: block; font-family: var(--font-display); font-variation-settings: 'opsz' 18; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 400; letter-spacing: -.012em; line-height: 1.15; margin-bottom: .35rem; }
.b-panel-note i { display: block; font-style: normal; font-size: .9375rem; line-height: 1.45; }
@media (max-width: 767.98px) {
  .b-panels { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: .25rem; }
  .b-panels::-webkit-scrollbar { display: none; }
  .b-panel, .b-panel.is-open { flex: 0 0 82%; height: 72vh; max-height: 36rem; scroll-snap-align: center; }
  .b-panel img { filter: none; }
  .b-panel::after, .b-panel-note { opacity: 1; translate: 0 0; }
}
.b-tones-note { margin: 2rem 0 0; color: var(--ink-soft); max-width: 44rem; }
.b-tones-note strong { color: var(--ink); font-weight: 600; }

/* Look anatomy */
.b-look { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 992px) { .b-look { grid-template-columns: 2fr 1fr; } }
.b-look-photo { overflow: hidden; border-radius: var(--radius-m); background: var(--brand-secondary); }
.b-look-zoom { position: relative; aspect-ratio: 3 / 2; transition: transform 900ms var(--ease-out); will-change: transform; }
.b-look-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; transition: scale 500ms var(--ease-out); }
.b-look-zoom.is-zoomed .b-spot { scale: .72; }
.b-spot i { display: block; width: 22px; height: 22px; border-radius: 50%; background: transparent; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgb(42 26 31 / .4), inset 0 0 0 1px rgb(42 26 31 / .28); transition: transform 240ms var(--ease-out), border-width 200ms var(--ease-out); }
.b-spot::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgb(251 247 243 / .85); animation: spot-breathe 2.6s var(--ease-out) infinite; pointer-events: none; }
.b-spot:hover i { transform: scale(1.2); }
.b-spot:active i { transform: scale(.88); transition-duration: var(--press); }
.b-spot.is-active i { border-width: 2.5px; box-shadow: 0 0 0 1.5px rgb(42 26 31 / .7), inset 0 0 0 1.5px rgb(42 26 31 / .5); }
.b-spot:focus-visible { outline: 2px solid #fff; outline-offset: -3px; border-radius: 50%; }
@keyframes spot-breathe { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.b-note h3 { font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.015em; margin-bottom: .75rem; }
.b-note p { color: var(--ink-soft); margin: 0; }
.b-note.is-active { animation: note-in 460ms var(--ease-out) both; }
@keyframes note-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.b-package { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.b-package p { color: var(--ink-soft); margin: 0 0 .5rem; font-size: .9375rem; }
.b-package h3 { font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.b-package .service-price { margin: .35rem 0 1rem; }

/* Bridal party: the camera pulls back */
.b-party { position: relative; background: var(--noir); color: var(--noir-text); }
.b-party-stage { position: relative; overflow: hidden; isolation: isolate; }
.b-party-photo { margin: 0; }
.b-party-photo img { display: block; width: 100%; height: auto; transform-origin: 51% 42%; will-change: transform; }
.b-party-copy { padding: clamp(2rem, 6vw, 4rem) var(--gutter); }
.b-party-copy p:not(.b-when) { max-width: 34rem; }
.b-party-copy .b-when { color: var(--noir-accent); }
.b-party-tease { display: none; }
.b-party.is-live { height: 320vh; }
.b-party.is-live .b-party-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.b-party.is-live .b-party-tease {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; z-index: 2; margin: 0; text-align: center; opacity: 0;
  font-size: clamp(2rem, 5.2vw, 4.75rem); color: #fff; text-shadow: 0 2px 30px rgb(0 0 0 / .55);
}
@media (min-width: 768px) {
  .b-party.is-live .b-party-photo { position: absolute; inset: 0; }
  .b-party.is-live .b-party-photo img { height: 100%; object-fit: cover; object-position: 50% 42%; }
  .b-party.is-live .b-party-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(20 12 14 / .84), transparent 52%); }
  .b-party.is-live .b-party-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: 1320px; margin-inline: auto; padding-bottom: clamp(2rem, 6vh, 4rem); }
}
@media (max-width: 767.98px) {
  .b-party.is-live .b-party-photo { overflow: hidden; flex: none; }
  .b-party.is-live .b-party-tease { bottom: 14vh; }
}

/* Midnight */
.b-midnight { background: var(--noir); color: var(--noir-text); padding-block: var(--section); }
.b-midnight .b-when { color: var(--noir-accent); justify-content: center; }
.b-midnight .b-when::before { display: none; }
.b-midnight-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.b-midnight-head h2 { font-size: clamp(4rem, 13vw, 12rem); margin: 0 0 1.25rem; }
.b-midnight-lead { max-width: 34rem; margin: 0 auto; color: var(--noir-soft); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.b-words { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 768px) { .b-words { grid-template-columns: repeat(3, 1fr); } }
.b-words li { padding-top: 1.25rem; border-top: 1px solid var(--noir-line); }
.b-words p { font-family: var(--font-display); font-variation-settings: 'opsz' 18; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.3; letter-spacing: -.01em; margin-bottom: .75rem; }
.b-words span { font-size: .8125rem; color: var(--noir-soft); }
.b-chair { margin-top: clamp(4rem, 8vw, 7rem); }
.b-chair-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.b-chair-head h3 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); margin: 0; }
.b-chair .text-link { color: var(--noir-text); }
.b-chair .text-link:hover { color: var(--noir-accent); }
.b-chair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.5rem); }
@media (min-width: 768px) { .b-chair-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.b-midnight :focus-visible { outline-color: var(--noir-text); }

/* How we begin + menu */
.b-steps { list-style: none; counter-reset: step; margin: clamp(2.5rem, 5vw, 4rem) 0; padding: 0; display: grid; gap: 1.5rem clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 768px) { .b-steps { grid-template-columns: repeat(4, 1fr); } }
.b-steps li { counter-increment: step; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.b-steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--accent-text); margin-bottom: .75rem; }
.b-steps h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: .35rem; }
.b-steps p { font-size: .9375rem; color: var(--ink-soft); margin: 0; }
.b-menu-list { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.b-menu-row { display: grid; gap: .5rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); align-items: center; }
@media (min-width: 768px) { .b-menu-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; } }
.b-menu-row h3 { font-family: var(--font-display); font-variation-settings: 'opsz' 18; font-weight: 400; font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -.012em; margin-bottom: .2rem; }
.b-menu-row p { font-size: .9375rem; color: var(--ink-soft); margin: 0; }
.b-menu-row .service-price { color: var(--ink); }
.b-menu-row .service-price strong { font-size: 1.25rem; }
.b-menu-row .small { display: block; font-size: .8125rem; }
.b-menu-row .btn { justify-self: start; white-space: nowrap; }
.b-menu-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 1.75rem 0 0; font-size: .9375rem; }
.b-menu .website-offer { margin-top: 2.5rem; margin-bottom: 0; }

/* Places */
.b-places { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.b-place { padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--radius-m); background: var(--brand-secondary); }
.b-place h3 { font-family: var(--font-display); font-variation-settings: 'opsz' 18; font-weight: 400; font-size: 1.5rem; letter-spacing: -.012em; margin-bottom: .5rem; }
.b-place p { color: var(--ink-soft) !important; font-size: .9375rem; margin-bottom: .75rem; max-width: none !important; }
.b-place .text-link { font-size: .9375rem; }

/* Closing */
.b-close { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: var(--noir-text); background: var(--noir); }
.b-close img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.14); will-change: transform; }
.b-close::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(32 18 22 / .86), rgb(32 18 22 / .12) 60%); }
.b-close-copy { padding-block: clamp(3rem, 8vw, 5rem); }
.b-close h2 { font-size: clamp(2.75rem, 7vw, 6.25rem); margin-bottom: 1.75rem; }

/* Teaser on the homepage lives in styles.css. */
@media (prefers-reduced-motion: reduce) {
  .b-panel, .b-panel img, .b-panel::after, .b-panel-note, .b-look-zoom, .b-spot { transition-duration: 1ms; transition-delay: 0ms; }
  .b-spot::before { animation: none; opacity: .7; }
  .b-note.is-active { animation: none; }
  .b-frame img, .b-close img { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .b-veil-sheer::after { background: var(--brand-surface); }
}
.bridal-page #site-header > nav:not(.navbar) a { color: var(--noir-text); }
