/* Look C (Bold) — sitewide depth layer.
   Soft shadows, hover lift, subtle grain + teal gradient band, button depth,
   rounder corners, frosted header, teal glow, and a desktop hover tilt.
   Keep after premium.css / header-lock so the frosted mast wins. */

/* ----- Teal gradient band + grain (behind content, not over photos) ----- */
body { position: relative; }
body::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 22rem;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(126, 184, 184, .34) 0%,
    rgba(63, 140, 140, .26) 22%,
    rgba(27, 58, 58, .10) 58%,
    transparent 100%
  );
}
body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}
/* Keep content above the band. Do not change position on sticky bars or fixed FABs. */
main, footer { position: relative; z-index: 1; }

/* ----- Frosted header (higher specificity than header-lock / premium) ----- */
html body header.mast,
html.hol body header.mast,
html body .sts-top .mast,
html.hol body .sts-top .mast,
html body .top {
  background: rgba(16, 28, 25, .62) !important;
  background-image: none !important;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(63, 140, 140, .45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}
/* Phones: skip heavy blur on a large area; keep a darker solid so the teal wordmark stays readable. */
@media (max-width: 719px) {
  html body header.mast,
  html.hol body header.mast,
  html body .sts-top .mast,
  html.hol body .sts-top .mast,
  html body .top {
    background: rgba(16, 28, 25, .92) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ----- Cards: depth, glow, rounder corners (Look B + C) ----- */
.poster,
.hp-card,
.fcard,
.truck,
.vts-tile,
.vts-tile a,
.vts-feat,
.tl-card,
.sts-panel,
.panel,
.wl,
.wl-top,
.signup,
.club,
.hub-sponsor,
.hub-submit,
.pick,
.ft-form,
.lt-form,
.town-hero {
  border-radius: 20px !important;
}
.poster,
.hp-card,
.fcard,
.truck,
.vts-tile a,
.vts-feat,
.tl-card,
.sts-panel {
  border-color: rgba(63, 140, 140, .4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .06) inset,
    0 10px 24px rgba(0, 0, 0, .4),
    0 22px 48px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(63, 140, 140, .35),
    0 0 28px rgba(63, 140, 140, .22);
  transition: transform .25s ease, box-shadow .25s ease;
  transform-style: preserve-3d;
}
/* Form and newsletter panels: depth without tilt. */
.panel,
.wl,
.wl-top,
.signup,
.club,
.hub-sponsor,
.hub-submit,
.pick,
.ft-form,
.lt-form,
.town-hero {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .05) inset,
    0 8px 22px rgba(0, 0, 0, .32),
    0 0 0 1px rgba(63, 140, 140, .22);
}
.poster .art,
.poster .art img,
.hp-card .art,
.hp-card img,
.fcard .fphoto,
.fcard .fphoto img,
.truck img,
.vts-tile img,
.vts-feat img,
.tl-card img {
  border-radius: 20px 20px 0 0;
}
.posters,
.vts-tiles,
.hp-grid {
  perspective: 900px;
}

@media (hover: hover) and (pointer: fine) {
  .poster:hover,
  .poster:focus-within,
  .hp-card:hover,
  .hp-card:focus-within,
  .fcard:hover,
  .fcard:focus-within,
  .truck:hover,
  .truck:focus-within,
  .vts-tile a:hover,
  .vts-tile a:focus-within,
  .vts-feat:hover,
  .tl-card:hover,
  .tl-card:focus-within,
  .sts-panel:hover,
  .sts-panel:focus-within {
    transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .08) inset,
      0 16px 32px rgba(0, 0, 0, .45),
      0 28px 56px rgba(0, 0, 0, .3),
      0 0 0 1px rgba(63, 140, 140, .5),
      0 0 36px rgba(63, 140, 140, .32);
  }
}
.poster:active,
.hp-card:active,
.fcard:active,
.truck:active,
.vts-tile a:active,
.tl-card:active {
  transform: translateY(-3px);
}

/* ----- Buttons: inset highlight, drop shadow, 16px corners ----- */
.btn,
.nav-cta,
.town-sel,
.more-btn,
.btn-2,
.btn.line,
.wl-form button,
button.btn,
a.btn,
.search-btn {
  border-radius: 16px;
}
.btn,
.wl-form button,
button.btn,
a.btn,
.search-btn,
.cal .acts button.go,
.ft-pop a.dir,
.rmap .rpp a.dir,
.vts-ctas .btn,
.hub-sponsor .btn,
.hub-submit .btn,
.pick .btn,
.signup .btn {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    0 1px 0 rgba(0, 0, 0, .4),
    0 8px 18px rgba(0, 0, 0, .3),
    0 0 16px rgba(63, 140, 140, .2);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn.line,
.more-btn,
.btn-2 {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 1px 0 rgba(0, 0, 0, .3),
    0 4px 10px rgba(0, 0, 0, .2);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .wl-form button:hover,
  button.btn:hover,
  a.btn:hover,
  .search-btn:hover,
  .cal .acts button.go:hover,
  .vts-ctas .btn:hover,
  .hub-sponsor .btn:hover,
  .hub-submit .btn:hover,
  .pick .btn:hover,
  .signup .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
  }
}
.btn:active,
.wl-form button:active,
button.btn:active,
a.btn:active,
.search-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3);
}

/* Header CTA: keep the gold pill, add depth without a tilt. */
.mast-tools a.nav-cta,
html.hol .mast-tools a.nav-cta,
.sts-top .mast-tools a.nav-cta,
.top .nav-cta {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 4px 12px rgba(0, 0, 0, .28);
}

/* Do not let card/button transforms fight the phone floating-button hide-on-scroll. */
#totop,
.itin-fab {
  transform-style: flat;
}

@media (prefers-reduced-motion: reduce) {
  .poster,
  .hp-card,
  .fcard,
  .truck,
  .vts-tile a,
  .vts-feat,
  .tl-card,
  .sts-panel,
  .btn,
  .wl-form button,
  button.btn,
  a.btn,
  .search-btn,
  .cal .acts button.go,
  .vts-ctas .btn,
  .hub-sponsor .btn,
  .hub-submit .btn,
  .pick .btn,
  .signup .btn,
  .nav-cta {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}
