/* A full-bleed scene, pinned on every screen size. */
.site-header { position: fixed; inset: 0 0 auto; background: rgba(255,253,251,.91); backdrop-filter: blur(12px); }
.hero-intro .header-cta { visibility: hidden; pointer-events: none; }
.hero-scroll { padding: 0; background: var(--paper); }
.hero-stage { --hero-title-size: clamp(1rem, calc(3.76vw - 4.64px), 2.8125rem); position: relative; width: 100%; max-width: none; height: 100svh; overflow: hidden; isolation: isolate; background: var(--paper); border-radius: var(--radius-section); }
.hero-visual { position: absolute; inset: 0; height: 100%; z-index: -2; overflow: hidden; background: url('assets/hero-final.jpg') center / cover; }
.hero-visual video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual canvas { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-sequence .hero-visual video { display: none; }
.hero-static .hero-visual canvas { display: none; }
/* Avoid repainting live backdrop blurs over every mobile animation frame. */
.hero-sequence .story-copy, .hero-sequence .scroll-hint { backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg,rgba(255,253,251,.46),transparent 65%),linear-gradient(0deg,var(--paper),rgba(255,253,251,.92) 5%,rgba(255,253,251,.45) 16%,transparent 32%); }
.hero-stories { position: absolute; inset: 0; pointer-events: none; }
.story-copy { position: absolute; width: min(620px,47%); padding: 24px 28px; opacity: 0; visibility: hidden; transform: translateY(20px); background: linear-gradient(135deg,rgba(255,253,251,.62),rgba(250,246,242,.44)); border: 1px solid rgba(255,253,251,.72); border-radius: var(--radius-panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 32px rgba(62,30,41,.07); }
.story-copy.is-visible { opacity: 1; visibility: visible; transform: none; }
.story-copy .eyebrow { color: var(--wine); font-size: .72rem; margin-bottom: 20px; }
.story-copy h1,.story-copy h2 { font-size: var(--hero-title-size); font-weight: 550; line-height: 1.08; letter-spacing: -.06em; }
.story-copy h1 em,.story-copy h2 em { font-style: normal; color: var(--wine); }
.story-copy>p:last-child { font-size: 1rem; margin-top: 20px; color: #51434a; }
.story-first { top: 27%; left: 4%; }
.story-second { top: 22%; right: 4%; }
.story-third { bottom: 24%; left: 4%; width: min(710px,54%); }
.story-final { top: 17%; left: 50%; width: min(730px,90%); transform: translate(-50%,20px); text-align: center; color: white; background: linear-gradient(135deg,rgba(62,30,41,.82),rgba(62,30,41,.65)); border-color: rgba(255,236,225,.3); text-shadow: none; }
.story-final.is-visible { transform: translate(-50%,0); }
.story-final .eyebrow { justify-content: center; color: #fff4ed; }
.story-final h2 em { color: #ffe0c9; }
.story-final>p:last-child { color: white; }
.door-action { position: absolute; top: 60%; left: 50%; transform: translate(-50%,16px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease),transform .35s var(--ease),visibility .35s; }
.door-action.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.door-action .button { white-space: nowrap; background: var(--paper); color: var(--wine); border: 1px solid #fff; box-shadow: 0 6px 40px #28181b30; min-height: 60px; }
.door-action .button:hover { background: var(--wine); color: white; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; min-height: 115px; padding: 20px 5%; gap: 25px; background: transparent; justify-content: flex-end; }
.scroll-cue-position { position: absolute; right: calc(5% + 24px); top: 42%; width: min(290px,30%); transform: translateY(-50%); }
.hero-stage.has-scrolled .scroll-cue-position { top: auto; bottom: 28px; left: 5%; right: auto; width: min(360px,45%); transform: none; animation: cue-return .5s var(--ease) both; }
@keyframes cue-return { 0%,35% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: translateY(0); } }
.scroll-hint { color: var(--wine-dark); gap: 14px; visibility: visible; padding: 12px 16px; border-radius: var(--radius-panel); background: rgba(255,253,251,.7); backdrop-filter: blur(8px); animation: scroll-cue 2.4s ease-in-out infinite; }
.scroll-hint strong { display: block; font-size: .875rem; font-weight: 650; }
.scroll-hint small { display: block; font-size: .75rem; margin-top: 3px; color: #61505a; }
.scroll-icon { width: 42px; height: 52px; flex-shrink: 0; border: 1px solid #572d3b65; border-radius: 24px; display: grid; place-items: center; background: var(--paper); }
@keyframes scroll-cue { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.hero-static .scroll-hint { animation: none; }


.video-controls { position: static; flex-shrink: 0; gap: 8px; }
.video-controls button,.video-controls a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 12px; font-size: .75rem; background: #fffdfbbb; color: var(--wine); }
.service-ribbon { position: relative; margin-top: 0; border: 0; background: var(--paper); padding-top: 40px; padding-bottom: 40px; }
.service-ribbon::before { content: ''; position: absolute; top: -3px; left: 0; right: 0; height: 6px; background: var(--paper); pointer-events: none; }
.hero-stage::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--paper); pointer-events: none; }
.services-section { padding-top: 45px; }
.hero-static .hero-visual video { visibility: hidden; }

@media(max-width:800px) {
  .hero-intro .header-cta { display: none; }
  .site-header .menu-toggle { margin-left: auto; }
  .story-copy { width: calc(100% - 32px); padding: 22px 16px; }
  .story-copy .eyebrow { font-size: .65rem; letter-spacing: .09em; margin-bottom: 14px; }
  .hero-stage { --hero-title-size: clamp(1rem, calc(7vw - 4.62px), 2.8125rem); }
  .story-copy>p:last-child { font-size: .9rem; margin-top: 16px; }
  .story-first { top: 20%; left: 16px; }
  .story-second { top: 27%; right: 16px; text-align: right; }
  .story-second .eyebrow { justify-content: flex-end; }
  .story-third { bottom: 27%; left: 16px; }
  .story-final { top: 16%; left: 50%; }
  .door-action { top: 60%; }
  .door-action .button { font-size: .85rem; padding: 16px 18px; gap: 20px; }
  .hero-bottom { min-height: 76px; padding: 14px 22px max(12px,env(safe-area-inset-bottom)); display: flex; justify-content: flex-end; gap: 10px; }
  .hero-stage .scroll-cue-position { top: auto; bottom: 100px; right: 32px; width: min(290px,calc(100% - 52px)); transform: none; }
  .hero-stage.has-scrolled .scroll-cue-position { left: 20px; right: auto; bottom: 90px; width: min(290px,calc(100% - 40px)); }
  .scroll-hint { justify-content: flex-end; }
  .scroll-hint strong { font-size: .8rem; }
  .scroll-icon { width: 34px; height: 42px; flex-shrink: 0; }
  .video-controls { justify-content: center; }
  
  
  
  .service-ribbon { padding-top: 30px; padding-bottom: 28px; }
  .services-section { padding-top: 36px; }
}
@media(max-height:600px) {
  .story-copy { padding-top: 12px; padding-bottom: 12px; }
  .story-copy h1,.story-copy h2 { font-size: min(var(--hero-title-size), 5.5vh); }
  .story-copy .eyebrow { margin-bottom: 10px; }
  .story-copy>p:last-child { margin-top: 10px; font-size: .8rem; }
  .story-first,.story-second,.story-final { top: 23%; }
  .story-third { bottom: 28%; }
  .hero-bottom { min-height: 90px; }
  .scroll-hint small { display: none; }
  .door-action { top: 65%; }
}
@media(prefers-reduced-motion:reduce) { .scroll-hint, .hero-stage.has-scrolled .scroll-cue-position { animation: none; } }
@media(max-height:500px) {
  .site-header { height: 64px; }
  .mobile-nav { top: 64px; }
  .story-copy { top: 23%; bottom: auto; }
  .story-copy h1,.story-copy h2 { font-size: min(var(--hero-title-size), 5.5vh, 2rem); }
  .story-copy .eyebrow { margin-bottom: 6px; font-size: .6rem; }
  .story-copy>p:last-child { margin-top: 6px; }
  .hero-bottom { min-height: 65px; padding: 8px 4%; display: flex; }
  .scroll-hint strong { font-size: .7rem; }
  .scroll-icon { height: 38px; width: 30px; }
  
  .door-action { top: 64%; }
  .door-action .button { min-height: 46px; padding: 10px 16px; }
}
@media(max-height:600px) and (max-width:800px) {
  .hero-stage .scroll-cue-position, .hero-stage.has-scrolled .scroll-cue-position { bottom: 74px; }
  .scroll-hint { padding: 8px 12px; }
}

/* Preserve the requested line breaks with a shared responsive title size. */
.hero-title-line { display: block; white-space: nowrap; color: inherit; }

/* Position the final message immediately above the door CTA. */
.story-final { top: auto; bottom: calc(40% + 24px); }
@media (max-height: 600px) {
  .story-final { top: auto; bottom: calc(35% + 16px); }
}
@media (max-height: 500px) {
  .story-final { top: auto; bottom: calc(36% + 16px); }
}
