/* React Bits ScrollExpand's sticky stage and clipping model; see docs/reference. */
.scroll-expand {
  position: relative;
  width: 100%;
  margin-top: clamp(90px, 12vw, 180px);
  color: #f4eee2;
  background: #262c22;
  font-family: Arial, sans-serif;
  --se-gutter: clamp(24px, 6vw, 100px);
}
.scroll-expand * { box-sizing: border-box; }
.scroll-expand a { color: inherit; text-underline-offset: 5px; }
.scroll-expand a:focus-visible { outline: 2px solid #ffdf00; outline-offset: 7px; }
.scroll-expand__stage { position: relative; padding: 70px var(--se-gutter) 30px; }
.scroll-expand__frame { position: relative; height: min(55vw, 550px); overflow: hidden; }
.scroll-expand__media { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; display: block; transform-origin: center; }
.scroll-expand__scrim { position: absolute; inset: 0; background: #11180f; pointer-events: none; opacity: .2; }
.scroll-expand__title { position: relative; font-size: clamp(50px, 17vw, 280px); font-weight: 800; letter-spacing: -.075em; line-height: .95; white-space: nowrap; margin: 45px 0; text-align: center; }
.scroll-expand__title-ink { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.scroll-expand__title-ink--warm { color: #f4eee2; }
.scroll-expand__title-ink--gold { color: #ffdf00; }
.scroll-expand__overlay { padding: 45px 0 60px; }
.scroll-expand__intro { display: flow-root; }
.scroll-expand__eyebrow { margin: 0 0 16px; font-size: 11px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; }
.scroll-expand__overlay h2 { font-size: clamp(30px, 3.8vw, 56px); font-weight: 500; letter-spacing: -.045em; margin: 0 0 30px; }
.scroll-expand__contact-grid { display: grid; grid-template-columns: .9fr 1.3fr 1fr; gap: clamp(30px, 5vw, 90px); padding-top: 25px; border-top: 1px solid #ffffff30; }
.scroll-expand__contact-grid h3 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 22px; color: #d5d9ce; }
.scroll-expand__contact-grid address { font-style: normal; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; letter-spacing: -.035em; }
.scroll-expand__contact-grid address a { text-decoration: none; }
.scroll-expand__contact-grid address a:hover { text-decoration: underline; text-underline-offset: .15em; }
.scroll-expand__contact-grid p { font-size: 13px; line-height: 1.5; margin: 14px 0; }
.scroll-expand__hours { margin: 0; font-size: 15px; }
.scroll-expand__hours > div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid #ffffff35; }
.scroll-expand__hours dt, .scroll-expand__hours dd { margin: 0; }
.scroll-expand__hours dd { white-space: nowrap; }
.scroll-expand__contact-grid .scroll-expand__note { font-size: 11px; color: #d5d9ce; }
.scroll-expand__contact-grid .scroll-expand__phone { display: inline-block; font-size: clamp(20px, 2vw, 28px); text-decoration: none; letter-spacing: -.035em; white-space: nowrap; }
.scroll-expand__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; font-size: 13px; }
.scroll-expand__logo { display: block; width: min(440px, 72vw); margin: 0 auto 35px; }
.scroll-expand__logo img { display: block; width: 100%; height: auto; }
.scroll-expand__bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 23px; border-top: 1px solid #ffffff22; font-size: 11px; color: #c2c7b7; }
.scroll-expand__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.scroll-expand__bottom a { text-decoration: none; }
.scroll-expand__hint { display: none; }
.scroll-expand__anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 0; pointer-events: none; }

/* Only JS enhancement pins the stage; no-JS and reduced-motion stay readable. */
.scroll-expand.is-animated { background: var(--paper, #eee8dc); }
.is-animated .scroll-expand__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: max(var(--se-viewport-height, 0px), var(--se-content-height, 0px)); padding: 0; overflow: hidden; isolation: isolate; background: #262c22; }
/* The final scene must cover the current viewport, including the space freed
   when a phone's browser bars collapse. Match the canvas at the scroll boundary
   too, so native rubber-banding cannot reveal the earlier cream section. */
html:has(.scroll-expand[data-phase="footer"]),
body:has(.scroll-expand[data-phase="footer"]),
.scroll-expand[data-phase="footer"] { background: #171c15; }
.is-animated .scroll-expand__stage::before { content: ''; position: absolute; inset: 0; background: var(--paper, #eee8dc); z-index: -1; }
.is-animated .scroll-expand__frame { position: absolute; inset: 0; height: 100%; will-change: clip-path; }
.is-animated .scroll-expand__media { position: absolute; inset: 0; will-change: transform; }
.is-animated .scroll-expand__scrim { opacity: 0; }
.is-animated .scroll-expand__title { position: absolute; top: 0; left: 50%; margin: 0; width: max-content; transform-origin: center; color: #fff; text-shadow: 0 2px 32px #00000024; pointer-events: none; will-change: transform, opacity; z-index: 2; }
.is-animated .scroll-expand__title-ink { will-change: opacity; }
.is-animated .scroll-expand__overlay { position: absolute; top: 11%; left: var(--se-gutter); right: var(--se-gutter); max-width: 1200px; margin: auto; padding: 0; opacity: 0; will-change: transform, opacity; z-index: 3; }
.is-animated .scroll-expand__logo { position: absolute; top: var(--se-logo-top, 65%); left: 50%; transform: translateX(-50%); margin: 0; opacity: 0; z-index: 3; }
.is-animated .scroll-expand__bottom { position: absolute; top: var(--se-bottom-top, auto); bottom: auto; left: var(--se-gutter); right: var(--se-gutter); max-width: 1200px; margin-inline: auto; opacity: 0; z-index: 3; }
.is-animated .scroll-expand__hint { display: block; position: absolute; bottom: 7%; left: 0; right: 0; text-align: center; font-size: 10px; color: #262c22; text-transform: uppercase; letter-spacing: .22em; }
@media (max-width: 900px) {
  .scroll-expand { --se-gutter: 24px; margin-top: 90px; }
  .scroll-expand__stage { padding: 36px var(--se-gutter) 26px; }
  .scroll-expand__contact-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; padding-top: 22px; }
  .scroll-expand__contact-grid > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .scroll-expand__contact-grid h3 { font-size: 9px; margin-bottom: 10px; }
  .scroll-expand__contact-grid address, .scroll-expand__contact-grid .scroll-expand__phone { font-size: 19px; }
  .scroll-expand__contact-grid p { font-size: 12px; margin: 8px 0; }
  .scroll-expand__link { margin-top: 12px; font-size: 12px; }
  .scroll-expand__hours { font-size: 13px; }
  .scroll-expand__hours > div { padding: 8px 0; }
  .scroll-expand__bottom { display: block; font-size: 10px; }
  .scroll-expand__bottom nav { margin-top: 15px; gap: 12px 18px; }
  .scroll-expand__eyebrow { font-size: 9px; margin-bottom: 10px; }
  .scroll-expand__overlay h2 { font-size: clamp(27px, 4.7vw, 36px); margin-bottom: 25px; }
  .is-animated .scroll-expand__overlay { top: 7%; }
  .is-animated .scroll-expand__logo { width: min(360px, 76vw); }
  .is-animated .scroll-expand__bottom { padding-top: 18px; }
}
@media (max-width: 700px) {
  .scroll-expand { margin-top: var(--mobile-section-gap, 112px); }
  /* Fit the closing scene to the visible screen while Safari's bars move. */
  .is-animated .scroll-expand__stage { height: var(--se-viewport-height, 100svh); min-height: 0; }
  .scroll-expand { --se-gutter: clamp(18px, 5.5vw, 24px); }
  .is-animated .scroll-expand__overlay { top: 24px; }
  .is-animated .scroll-expand__intro { min-height: clamp(145px, calc(var(--se-viewport-height, 100svh) * .24), 210px); }
  .scroll-expand__overlay h2 { font-size: clamp(24px, 6.3vw, 30px); line-height: 1.12; margin-bottom: 0; }
  .scroll-expand__contact-grid { gap: 18px 16px; padding-top: 18px; }
  .scroll-expand__contact-grid address, .scroll-expand__contact-grid .scroll-expand__phone { font-size: clamp(16px, 4.3vw, 19px); }
  .scroll-expand__contact-grid h3 { font-size: 9px; line-height: 1.4; }
  .scroll-expand__contact-grid p { font-size: 12px; }
  .is-animated .scroll-expand__logo { width: min(310px, 72vw); }
  .is-animated .scroll-expand__bottom { padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
  .scroll-expand__bottom nav { margin-top: 0; gap: 8px 14px; }
}
@media (max-width: 700px) and (max-height: 650px) {
  .is-animated .scroll-expand__overlay { top: 18px; }
  .scroll-expand__contact-grid { gap: 12px; padding-top: 12px; }
  .scroll-expand__contact-grid h3 { margin-bottom: 6px; }
  .scroll-expand__contact-grid p { margin-block: 6px; font-size: 11px; }
  .scroll-expand__hours { font-size: 12px; }
  .scroll-expand__hours > div { padding-block: 6px; }
  .scroll-expand__link { margin-top: 8px; }
  .is-animated .scroll-expand__logo { width: min(250px, 65vw); }
  .is-animated .scroll-expand__title { text-shadow: none; }
}
@media (max-height: 650px) and (min-width: 901px) {
  .is-animated .scroll-expand__overlay { top: 7%; }
  .scroll-expand__overlay h2 { font-size: 28px; margin-bottom: 22px; }
  .scroll-expand__contact-grid h3 { margin-bottom: 12px; }
  .is-animated .scroll-expand__logo { width: 300px; }
}
