/* ============================================================================
   JulianSpeaksLife PWA — base.css
   DESIGN-TOKEN SYSTEM + premium shell (Approach B — Shell & Design System)
   Brand: BLACK + WHITE + RED (#E71D1D), GOLD (#FFD04E) as premium micro-accent.
   Type: Poppins (ExtraLight/Light hero, SemiBold heads) + Raleway (body).
   All hex values are EXACT from brand-kit.json (live Wix theme palette).
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------------- */
:root {
  /* --- Brand color: red ramp --- */
  --c-red:        #E71D1D;   /* signature accent — CTAs, underline bars, active */
  --c-red-alt:    #D2042D;
  --c-red-deep:   #9D1111;   /* hover / pressed */

  /* --- Neutrals --- */
  --c-black:      #000000;
  --c-ink:        #191919;   /* primary text on light */
  --c-ink-soft:   #2A2A2A;
  --c-white:      #FFFFFF;
  --c-cream:      #FAF7E8;   /* warm secondary surface */
  --c-cream-lt:   #FDFBF3;
  --c-gray:       #808080;
  --c-gray-lt:    #BFBFBF;
  --c-gray-dk:    #404040;

  /* --- Gold (premium micro-accent only) --- */
  --c-gold:       #FFD04E;
  --c-gold-deep:  #FAB700;
  --c-gold-dark:  #A77A00;

  /* --- Semantic roles --- */
  --bg:           var(--c-white);
  --bg-dark:      var(--c-black);
  --surface:      var(--c-white);
  --surface-2:    #F6F6F4;     /* subtle elevated card on light */
  --surface-dark: #0C0C0C;
  --surface-dark-2:#161616;
  --text:         var(--c-ink);
  --text-soft:    #555555;
  --text-on-dark: var(--c-white);
  --text-on-dark-soft: rgba(255,255,255,0.72);
  --line:         rgba(0,0,0,0.10);
  --line-dark:    rgba(255,255,255,0.12);
  --accent:       var(--c-red);

  /* --- Typography stacks --- */
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-head:    'Poppins', system-ui, -apple-system, sans-serif;
  --font-body:    'Raleway', system-ui, -apple-system, sans-serif;
  --font-serif:   'Suez One', 'Times New Roman', Georgia, serif;

  /* --- Type scale (fluid; matches Wix scale) --- */
  --fz-hero:    clamp(40px, 9vw, 84px);
  --fz-h1:      clamp(32px, 7vw, 60px);
  --fz-h2:      clamp(26px, 5.5vw, 44px);
  --fz-h3:      clamp(21px, 4vw, 32px);
  --fz-subhead: clamp(17px, 3vw, 24px);
  --fz-lead:    clamp(16px, 2.4vw, 20px);
  --fz-body:    15px;
  --fz-small:   13.5px;
  --fz-micro:   11.5px;

  --lh-tight:   1.12;
  --lh-head:    1.22;
  --lh-snug:    1.4;
  --lh-body:    1.75;
  --lh-loose:   1.875;

  --fw-xlight:  200;
  --fw-light:   300;
  --fw-reg:     400;
  --fw-med:     500;
  --fw-semi:    600;
  --fw-bold:    700;

  --ls-wide:    0.14em;   /* uppercase labels / nav */
  --ls-wider:   0.22em;   /* eyebrows */
  --ls-tight:   -0.01em;

  /* --- Spacing scale (8px rhythm) --- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* --- Radii --- */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --r-pill: 999px;

  /* --- Elevation / shadow --- */
  --sh-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --sh-2: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --sh-3: 0 12px 32px rgba(0,0,0,.14), 0 4px 10px rgba(0,0,0,.08);
  --sh-red: 0 8px 24px rgba(231,29,29,.32);
  --sh-up:  0 -6px 24px rgba(0,0,0,.10);

  /* --- Motion --- */
  --ease-out:   cubic-bezier(.16,.84,.44,1);
  --ease-inout: cubic-bezier(.65,.05,.36,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --t-fast:   140ms;
  --t-mid:    260ms;
  --t-slow:   460ms;

  /* --- Layout --- */
  --maxw:        720px;   /* mobile-first content max */
  --maxw-wide:   1080px;
  --gutter:      20px;
  --header-h:    58px;
  --tabbar-h:    64px;
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bot:    env(safe-area-inset-bottom, 0px);

  --z-header: 50; --z-tabbar: 60; --z-sheet: 80; --z-toast: 90; --z-modal: 100;
}

/* ---------------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-reg);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  min-height: 100vh;
  min-height: 100dvh;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------------------
   3. TYPOGRAPHY HELPERS
   --------------------------------------------------------------------------- */
.t-hero {
  font-family: var(--font-display);
  font-weight: var(--fw-xlight);
  font-size: var(--fz-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.t-h1 { font-family: var(--font-head); font-weight: var(--fw-light); font-size: var(--fz-h1); line-height: var(--lh-head); }
.t-h2 { font-family: var(--font-head); font-weight: var(--fw-light); font-size: var(--fz-h2); line-height: var(--lh-head); }
.t-h3 { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fz-h3); line-height: var(--lh-snug); }
.t-subhead { font-family: var(--font-head); font-weight: var(--fw-reg); font-size: var(--fz-subhead); line-height: var(--lh-snug); }
.t-lead { font-size: var(--fz-lead); line-height: var(--lh-body); font-weight: var(--fw-reg); color: var(--text-soft); }
.t-eyebrow {
  font-family: var(--font-head);
  font-size: var(--fz-micro);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-red);
}
.t-small { font-size: var(--fz-small); }
.t-muted { color: var(--text-soft); }
.t-serif { font-family: var(--font-serif); }
strong, b { font-weight: var(--fw-semi); }

/* ---------------------------------------------------------------------------
   4. SIGNATURE MOTIF — red double-bar underline
   --------------------------------------------------------------------------- */
.underline-bars {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.underline-bars::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: var(--c-red);
  box-shadow: 0 7px 0 var(--c-red);   /* second bar via shadow */
  border-radius: 2px;
}
.underline-bars.center { display: block; text-align: center; }
.underline-bars.center::after { left: 50%; transform: translateX(-50%); }

/* ---------------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-red);
  --btn-fg: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: var(--fw-semi);
  font-size: 14px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  padding: 15px 28px;
  border-radius: var(--r-pill);
  line-height: 1;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
  box-shadow: var(--sh-red);
  user-select: none;
  will-change: transform;
}
.btn:hover { background: var(--c-red-deep); }
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--c-ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { --btn-bg: var(--surface-2); background: var(--surface-2); }
.btn--on-dark {
  --btn-bg: var(--c-white); --btn-fg: var(--c-ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.btn--on-dark:hover { background: #ececec; }
.btn--outline-dark {
  --btn-bg: transparent; --btn-fg: var(--c-white);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5);
}
.btn--outline-dark:hover { background: rgba(255,255,255,.08); }
.btn .ic { width: 18px; height: 18px; }

/* small pill / chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 12px; font-weight: var(--fw-med);
  letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text-soft);
  transition: all var(--t-fast) var(--ease-out);
}
.chip[aria-selected="true"], .chip.is-active {
  background: var(--c-ink); color: var(--c-white);
}

/* ---------------------------------------------------------------------------
   6. APP LAYOUT SHELL
   --------------------------------------------------------------------------- */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---- Top header ---- */
.appbar {
  position: sticky; top: 0; z-index: var(--z-header);
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex; align-items: center; justify-content: space-between;
  padding-left: var(--gutter); padding-right: var(--gutter);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-mid) var(--ease-out), border-color var(--t-mid);
}
.appbar__brand { display: flex; align-items: center; gap: 9px; }
.appbar__mono {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 18px; letter-spacing: .02em; color: var(--c-ink);
  position: relative; padding-bottom: 5px;
}
.appbar__mono::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--c-red); box-shadow: 0 4px 0 var(--c-red);
}
.appbar__actions { display: flex; align-items: center; gap: 4px; }
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--c-ink);
  transition: background var(--t-fast) var(--ease-out), transform var(--t-fast);
}
.iconbtn:hover { background: var(--surface-2); }
.iconbtn:active { transform: scale(.9); }
.iconbtn .ic { width: 22px; height: 22px; }
.iconbtn .dot {
  position: absolute; top: 7px; right: 7px; width: 8px; height: 8px;
  background: var(--c-red); border-radius: 50%; border: 2px solid var(--c-white);
}
.iconbtn { position: relative; }

/* dark appbar variant when hero is behind it (home) */
.appbar.is-transparent {
  background: transparent; border-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.appbar.is-transparent .appbar__mono,
.appbar.is-transparent .iconbtn { color: var(--c-white); }
.appbar.is-transparent .appbar__mono::after { background: var(--c-red); box-shadow: 0 4px 0 var(--c-red); }
.appbar.is-transparent .iconbtn .dot { border-color: #000; }

/* ---- Main scroll area ---- */
.appmain {
  flex: 1;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bot));
  position: relative;
}

/* ---- Bottom tab bar ---- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tabbar);
  height: calc(var(--tabbar-h) + var(--safe-bot));
  padding-bottom: var(--safe-bot);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--c-gray); position: relative;
  font-family: var(--font-head); font-size: 10.5px; font-weight: var(--fw-med);
  letter-spacing: .02em;
  transition: color var(--t-fast) var(--ease-out);
}
.tab .ic { width: 23px; height: 23px; transition: transform var(--t-fast) var(--ease-spring); }
.tab.is-active { color: var(--c-ink); }
.tab.is-active .ic { transform: translateY(-1px) scale(1.06); }
.tab.is-active::before {
  content: ""; position: absolute; top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--c-red);
}
.tab--cta { }
.tab--cta .fab {
  width: 50px; height: 50px; margin-top: -16px; border-radius: 50%;
  background: var(--c-red); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-red); transition: transform var(--t-fast) var(--ease-spring);
}
.tab--cta .fab .ic { width: 26px; height: 26px; }
.tab--cta:active .fab { transform: scale(.9); }
.tab--cta .lbl { margin-top: 2px; }

/* ---------------------------------------------------------------------------
   7. VIEW / ROUTER TRANSITIONS
   --------------------------------------------------------------------------- */
.view { display: none; }
.view.is-active { display: block; animation: viewIn var(--t-slow) var(--ease-out); }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* View Transitions API hook (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtFade 200ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vtFadeIn 320ms var(--ease-out) both; }
}
@keyframes vtFade { to { opacity: 0; } }
@keyframes vtFadeIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------------------------
   8. SECTION / CONTAINER PRIMITIVES
   --------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--maxw-wide); }
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--dark { background: var(--c-black); color: var(--text-on-dark); }
.section--cream { background: var(--c-cream-lt); }
.section__head { margin-bottom: var(--sp-6); }
.section__head .t-eyebrow { display: block; margin-bottom: var(--sp-3); }
.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

/* ---------------------------------------------------------------------------
   9. CARD PRIMITIVE
   --------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.card--interactive { cursor: pointer; }
.card--interactive:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.card--interactive:active { transform: translateY(-1px) scale(.99); }

/* ---------------------------------------------------------------------------
   10. HERO (home) — animated, full-bleed B&W photo
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--c-white);
  overflow: hidden;
  margin-top: calc(-1 * (var(--header-h) + var(--safe-top)));
  padding-top: calc(var(--header-h) + var(--safe-top));
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  filter: grayscale(100%) contrast(1.08);
  transform: scale(1.12);
  animation: heroKen 18s var(--ease-inout) infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.12) translateY(0); }
  to   { transform: scale(1.22) translateY(-2%); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 32%, rgba(0,0,0,.55) 72%, rgba(0,0,0,.92) 100%);
}
.hero__scrim::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 18%, transparent 40%, rgba(0,0,0,.45) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: var(--gutter);
  padding-bottom: calc(var(--sp-8) + var(--safe-bot));
  max-width: var(--maxw); margin-inline: auto; width: 100%;
}
.hero__wordmark { width: min(78%, 420px); margin-bottom: var(--sp-5); filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
.hero__eyebrow {
  font-family: var(--font-head); font-size: var(--fz-micro); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: var(--c-white); opacity: .85; margin-bottom: var(--sp-4);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-red); }
.hero__lead {
  font-size: var(--fz-lead); line-height: 1.6; font-weight: var(--fw-light);
  color: rgba(255,255,255,.92); max-width: 38ch; margin-bottom: var(--sp-6);
}
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero__scroll {
  position: absolute; left: 50%; bottom: calc(var(--sp-5) + var(--safe-bot)); z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  animation: floatY 2.4s var(--ease-inout) infinite;
}
.hero__scroll .ic { width: 18px; height: 18px; }
@keyframes floatY { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(7px);} }

/* hero entrance choreography */
.hero__wordmark, .hero__eyebrow, .hero__lead, .hero__cta { animation: riseIn .9s var(--ease-out) both; }
.hero__eyebrow { animation-delay: .12s; }
.hero__lead { animation-delay: .22s; }
.hero__cta { animation-delay: .34s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------------------
   11. GENERIC PAGE HEADER (non-home views)
   --------------------------------------------------------------------------- */
.pagehead { padding: var(--sp-7) var(--gutter) var(--sp-5); }
.pagehead .t-eyebrow { display: block; margin-bottom: var(--sp-2); }
.pagehead h1 { margin-bottom: var(--sp-3); }

/* ---------------------------------------------------------------------------
   12. UTILITIES
   --------------------------------------------------------------------------- */
.flow > * + * { margin-top: 1em; }
.row { display: flex; align-items: center; gap: var(--sp-3); }
.row--between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.scroll-x { display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x > * { scroll-snap-align: start; flex: 0 0 auto; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--sp-6); }
.divider--dark { background: var(--line-dark); }

/* reveal-on-scroll (IntersectionObserver toggles .is-in) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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

/* ---------------------------------------------------------------------------
   13. TOAST
   --------------------------------------------------------------------------- */
.toast-host {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-bot) + 16px);
  transform: translateX(-50%); z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 420px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--c-ink); color: #fff; border-radius: var(--r-md);
  padding: 13px 16px; box-shadow: var(--sh-3); font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .4s var(--ease-spring);
}
.toast.is-out { animation: toastOut .3s var(--ease-out) forwards; }
.toast .ic { width: 20px; height: 20px; flex: 0 0 auto; color: var(--c-gold); }
.toast--ok .ic { color: #34D399; }
.toast--err .ic { color: var(--c-red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96);} to{opacity:1;transform:none;} }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------------------------
   14. BOTTOM SHEET / MODAL (shared primitive for booking + detail)
   --------------------------------------------------------------------------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: var(--z-sheet);
  background: rgba(0,0,0,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--t-mid) var(--ease-out);
}
.sheet-backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal);
  background: var(--bg); border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 92dvh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform var(--t-slow) var(--ease-out);
  box-shadow: 0 -8px 40px rgba(0,0,0,.3); padding-bottom: var(--safe-bot);
}
.sheet.is-open { transform: translateY(0); }
.sheet__grip { width: 38px; height: 4px; border-radius: 2px; background: var(--c-gray-lt);
  margin: 10px auto 4px; flex: 0 0 auto; }
.sheet__head { display: flex; align-items: center; justify-content: space-between;
  padding: 8px var(--gutter) 12px; }
.sheet__body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 var(--gutter) var(--sp-5); }
.sheet__foot { padding: var(--sp-4) var(--gutter); border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------------------
   15. FORM FIELDS (used by booking module)
   --------------------------------------------------------------------------- */
.field { margin-bottom: var(--sp-4); }
.field__label { display: block; font-family: var(--font-head); font-size: 12px; font-weight: var(--fw-semi);
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 7px; }
.field__input, .field textarea, .field select {
  width: 100%; padding: 14px 15px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); font-size: 16px; font-family: var(--font-body); color: var(--text);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.field__input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(231,29,29,.12);
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.6; }

/* ---------------------------------------------------------------------------
   16. SKELETON (loading) shimmer
   --------------------------------------------------------------------------- */
.skel { background: linear-gradient(100deg, #eee 30%, #f6f6f6 50%, #eee 70%);
  background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------------------
   17. RESPONSIVE — tablet/desktop niceties (mobile-first, this just widens)
   --------------------------------------------------------------------------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .tabbar { max-width: 480px; left: 50%; transform: translateX(-50%);
    border-radius: var(--r-xl) var(--r-xl) 0 0; border: 1px solid var(--line); border-bottom: 0; }
}
