/* =========================================================================
   THE COMMONS — Ten Trails
   Fonts, colors, header, footer and button conventions below are pulled
   directly from the live tentrails.com theme (TentrailsTheme) so this page
   reads as a natural extension rather than a new brand. Page-specific
   sections (hero through final CTA) are new, built on the same tokens.
   ========================================================================= */

/* ---- Brand fonts (self-hosted copies of the live theme's webfonts) ---- */
@font-face {
  font-family: "aller_regular";
  src: url("../fonts/aller/Aller.ttf.woff") format("woff"),
       url("../fonts/aller/Aller_Rg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "aller_light";
  src: url("../fonts/aller/Aller_Lt.ttf.woff") format("woff"),
       url("../fonts/aller/Aller_Lt.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Minion_Pro_Regular";
  src: url("../fonts/minion/MinionPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Ten Trails brand palette (extracted from custom.css) */
  --tt-navy: #1D304A;
  --tt-navy-deep: #12202F;
  --tt-teal: #2F6F7A;
  --tt-teal-light: #8FAAB4;
  --tt-blue-light: #ACC8EF;
  --tt-gray-warm: #877F7D;
  --tt-gray-dark: #54585A;
  --tt-cream: #E3E1DB;
  --tt-cream-deep: #DAD6CC;
  --tt-sage: #7C8B6F;
  --tt-sand: #D9C6A5;
  /* The brand orange (#DD8A28) only clears WCAG AA contrast against dark
     surfaces (~6:1 on navy) — against white/cream, or as white-on-orange
     button fill, it drops to ~2.7:1. Two accent tokens keep the same hue
     family while meeting 4.5:1 in both directions. */
  --tt-amber-bright: #DD8A28;
  --tt-amber-deep: #8F4E10;
  --tt-line: #D8D8D8;
  --tt-white: #FFFFFF;
  --tt-body-text: #5C5050;

  --font-body: "aller_regular", "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-light: "aller_light", "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Minion_Pro_Regular", Georgia, "Times New Roman", serif;

  --container-max: 1240px;
  --container-max-wide: 1400px;
  --header-h: 84px;
  --header-h-scrolled: 68px;
  --radius-card: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(29, 48, 74, 0.10);
  --shadow-card-hover: 0 24px 46px rgba(29, 48, 74, 0.20);
  --shadow-photo: 0 30px 60px -20px rgba(18, 32, 47, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--tt-body-text);
  background: var(--tt-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--tt-amber-deep); color: #fff; }

/* Global safety net: the native [hidden] attribute (used by JS, e.g. the
   directory category filter) must always win over a component's own
   `display` rule. Without !important here, any class like .truck-card
   with its own `display: flex` — same or higher specificity than the
   UA's [hidden] rule — silently overrides it and the element stays
   visible despite `.hidden = true`. */
[hidden] { display: none !important; }

img { max-width: 100%; display: block; object-fit: cover; object-position: center; }

/* Graceful stand-in for a missing/broken content image (see renderImage()
   in the-commons.php) — fills the same box an <img> would, so a missing
   file never collapses a card or shows a broken-image icon. */
.img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tt-cream-deep);
  color: var(--tt-teal-light);
}
.img-fallback svg { width: 28%; height: 28%; min-width: 22px; min-height: 22px; max-width: 48px; max-height: 48px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-body); font-weight: 700; color: var(--tt-navy); }
p { margin: 0; font-family: var(--font-light); }
ul { margin: 0; padding: 0; list-style: none; }

/* Fluid width + clamped gutters rather than a flat 92%: below ~1330px the
   container is genuinely fluid (padding grows with viewport), above it the
   max-width takes over — so 1320px gets real intermediate proportions
   instead of the same maxed-out numbers a 1920px screen gets. */
.tc-container {
  width: 100%;
  max-width: var(--container-max);
  padding-inline: clamp(20px, 4vw, 48px);
  margin-inline: auto;
  box-sizing: border-box;
}
.tc-container--wide { max-width: var(--container-max-wide); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--tt-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 2000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  /* White ring + dark halo stays visible on both light and dark
     sections, rather than a single brand color that would wash out
     against one or the other. */
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--tt-navy);
  border-radius: 4px;
}

/* ---- Scroll-reveal utility --------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="zoom"] { transform: scale(0.96); }
[data-reveal="zoom"].is-visible { transform: scale(1); }

/* ---- Section scaffolding ------------------------------------------------
   Fluid padding: reaches its ceiling only around ~1850px viewport, so a
   1320px screen gets genuinely less vertical padding than a 1920px one
   instead of both being pinned at the same fixed value. */
.section { padding: clamp(56px, 6.5vw, 108px) 0; }
.section--tight { padding: clamp(44px, 4.8vw, 80px) 0; }
.section--cream { background: var(--tt-cream); }
.section--navy { background: var(--tt-navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--tt-teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--tt-amber-deep);
  flex-shrink: 0;
}
.section--navy .eyebrow { color: var(--tt-teal-light); }
.section--navy .eyebrow::before { background: var(--tt-amber-bright); }

.section-head {
  max-width: 760px;
  margin: 0 0 48px;
}
.section-head h2 {
  font-size: clamp(30px, 2.5vw, 46px);
  line-height: 1.12;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-head p { margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--tt-gray-dark); }
.section--navy .section-head p { color: rgba(255,255,255,0.78); }

.inline-link {
  color: var(--tt-amber-deep);
  border-bottom: 1px solid rgba(143,78,16,0.4);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.inline-link:hover { color: var(--tt-navy); border-color: var(--tt-navy); }
.section--navy .inline-link { color: var(--tt-amber-bright); border-color: rgba(221,138,40,0.5); }
.section--navy .inline-link:hover { color: #fff; border-color: #fff; }

/* ---- Buttons ------------------------------------------------------------
   .btn-solid  : filled pill button (primary CTAs)
   .btn-ghost  : outline pill button (secondary CTAs, on photo/dark bg)
   .btn-arrow  : brand's signature circular-arrow link treatment
--------------------------------------------------------------------------- */
.btn-solid,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-solid {
  /* White text on the fill needs the deep amber, not the bright brand
     orange, to clear 4.5:1 (see the token note above). */
  background: var(--tt-amber-deep);
  color: #fff;
  border: 1px solid var(--tt-amber-deep);
}
.btn-solid:hover { background: #743f0d; border-color: #743f0d; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(143,78,16,0.4); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-2px); }
.btn-ghost.btn-ghost--dark { color: var(--tt-navy); border-color: var(--tt-navy); }
.btn-ghost.btn-ghost--dark:hover { background: var(--tt-navy); color: #fff; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--tt-navy);
}
.btn-arrow__circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 1px solid var(--tt-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-arrow__circle svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn-arrow:hover .btn-arrow__circle { background: var(--tt-teal); transform: translateX(4px); }
.btn-arrow:hover .btn-arrow__circle svg { transform: translateX(2px); color: #fff; }
.btn-arrow:hover { color: var(--tt-amber-deep); }

.ext-icon { width: 13px; height: 13px; margin-left: 2px; flex-shrink: 0; }

/* =========================================================================
   HEADER (reconstructed from the live Ten Trails theme)
   ========================================================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid var(--tt-teal);
  transition: box-shadow 0.3s var(--ease);
}
#site-header.is-scrolled { box-shadow: 0 6px 20px rgba(29,48,74,0.10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
@media (min-width: 1024px) {
  /* Header shrink-on-scroll is desktop-only so it never drifts out of
     sync with the mobile nav panel, which anchors to a fixed --header-h. */
  #site-header.is-scrolled .header-inner { min-height: var(--header-h-scrolled); }
}

/* Logo and CTA never shrink — a flex row under pressure with nowrap nav
   text would otherwise crush whichever sibling CAN shrink (the logo
   image), rather than the nav, since nav's own min-content floor can't
   give any further ground. */
.header-logo { flex-shrink: 0; }
.header-logo img { height: 40px; width: auto; }

.header-nav { display: none; }
.header-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.header-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.71px;
  text-transform: uppercase;
  color: var(--tt-teal);
  padding: 30px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--tt-navy); }
.header-nav li.is-current a {
  color: var(--tt-navy);
  border-bottom-color: var(--tt-amber-deep);
}

/* Medium-desktop tier: logo + nav together were tuned for a header that
   also carried a CTA button (now removed — see #2 of the architecture
   update). Kept as its own tier since the nav's wide gap still benefits
   from a touch more room reclaimed at this width, not because anything
   is cramped without the button. */
@media (min-width: 1024px) and (max-width: 1259px) {
  .header-logo img { height: 34px; }
  .header-nav ul { gap: 22px; }
  .header-nav a { font-size: 11.5px; letter-spacing: 1.2px; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--tt-navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
  z-index: 999;
}
#mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
#mobile-nav ul { padding: 20px 6% 40px; }
#mobile-nav li { border-bottom: 1px solid var(--tt-line); }
#mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tt-navy);
}
#mobile-nav li.is-current a { color: var(--tt-amber-deep); }

body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .header-nav { display: block; }
  .nav-toggle, #mobile-nav { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--tt-navy);
}
@media (max-width: 1023px) { .hero { min-height: 82vh; } }
@media (max-width: 640px) { .hero { min-height: 640px; } }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  animation: heroZoom 1.8s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10,17,28,0.92) 0%, rgba(10,17,28,0.5) 46%, rgba(10,17,28,0.28) 72%, rgba(10,17,28,0.42) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* padding-block only (not the padding shorthand) so the horizontal
     inset keeps coming from .tc-container's own padding-inline instead of
     being zeroed out by a same-specificity later rule. */
  padding-block: 140px 200px;
  color: #fff;
}
.hero__logo {
  display: block;
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.1s forwards;
}
@media (min-width: 900px) {
  .hero__logo {
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    bottom: 96px;
    width: clamp(220px, 24vw, 360px);
    margin: 0;
  }
}
/* Version 2 (the-commons_v2.php): logo to the left of the hero text */
.hero__content--row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__content--row .hero__text { min-width: 0; }
@media (min-width: 700px) {
  .hero__content--row {
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
  }
  .hero__logo--left {
    position: static;
    flex: 0 0 auto;
    width: clamp(130px, 13vw, 190px);
    margin: 0;
  }
}
/* Version 3 (the-commons_v3.php): centered brand lockup.
   The badge already carries the name and slogan, so the h1 and slogan
   line stay in the page for screen readers/SEO but are not drawn twice. */
.hero__sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero__content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__content--center .hero__label { justify-content: center; margin-bottom: 14px; }
.hero__content--center .hero__label::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--tt-amber-bright);
}
.hero__content--center .hero__tagline { margin-inline: auto; margin-bottom: 32px; }
.hero__content--center .hero__ctas { justify-content: center; }
.hero__logo--center {
  position: static;
  width: clamp(190px, 22vw, 270px);
  margin: 0 0 24px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.16), 0 18px 48px rgba(0,0,0,0.45);
  filter: none;
}
@media (max-width: 640px) { .hero__logo--center { width: 170px; } }
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--tt-blue-light);
  margin-bottom: 22px;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease) 0.15s forwards;
}
.hero__label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--tt-amber-bright);
}
.hero h1 {
  color: #fff;
  font-size: clamp(42px, 5.6vw, 104px);
  line-height: 0.96;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 20px;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.3s forwards;
}
.hero__subline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--tt-amber-bright);
  margin: 0 0 20px;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.4s forwards;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 28px);
  max-width: 620px;
  color: rgba(255,255,255,0.94);
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.52s forwards;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.66s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 1s forwards;
}
.hero__scroll-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 640px) { .hero__scroll { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
  .hero__logo, .hero__label, .hero h1, .hero__subline, .hero__tagline, .hero__ctas, .hero__scroll { animation: none; opacity: 1; }
  .hero__scroll-line::after { animation: none; }
}

/* =========================================================================
   ABOUT / INTRO
   ========================================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.about__media { position: relative; }
.about__media-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-photo);
}
.about__media-frame img { width: 100%; height: 100%; }
.about__media-accent {
  position: absolute;
  left: -18px;
  bottom: -22px;
  width: 62%;
  height: 46%;
  border: 2px solid var(--tt-amber-bright);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about__body .eyebrow { margin-bottom: 18px; }
.about__body h2 {
  font-size: clamp(28px, 2.6vw, 48px);
  line-height: 1.14;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.about__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--tt-gray-dark);
  max-width: 46ch;
}
.about__features {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--tt-line);
}
@media (min-width: 480px) {
  .about__features { grid-template-columns: repeat(2, 1fr); }
}
.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--tt-line);
  transition: padding-left 0.3s var(--ease);
}
@media (min-width: 480px) {
  .about__feature:nth-child(odd) { border-right: 1px solid var(--tt-line); padding-right: 20px; }
  .about__feature:nth-child(even) { padding-left: 20px; }
}
.about__feature:hover { padding-left: 8px; }
.about__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(221,138,40,0.1);
  color: var(--tt-amber-deep);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.about__feature-icon svg { width: 27px; height: 27px; }
.about__feature:hover .about__feature-icon {
  background: var(--tt-amber-deep);
  color: #fff;
  transform: scale(1.06);
}
.about__feature-text h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tt-navy);
  margin-bottom: 5px;
  transition: color 0.25s var(--ease);
}
.about__feature:hover .about__feature-text h3 { color: var(--tt-amber-deep); }
.about__feature-text p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--tt-gray-dark);
}

@media (min-width: 900px) {
  .about { grid-template-columns: 0.85fr 1.15fr; gap: 90px; align-items: center; }
  .about__media-frame { aspect-ratio: 3 / 4; }
}

/* =========================================================================
   TODAY'S FOOD TRUCKS
   ========================================================================= */
.today__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.today-heading {
  font-size: clamp(28px, 2.5vw, 46px);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.today__date-nav { display: inline-flex; align-items: center; gap: 10px; }
.today__date-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--tt-line);
  color: var(--tt-navy);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.today__date-arrow svg { width: 17px; height: 17px; }
.today__date-arrow:hover:not(:disabled) { background: var(--tt-amber-deep); border-color: var(--tt-amber-deep); color: #fff; transform: translateY(-2px); }
.today__date-arrow:disabled { opacity: 0.35; cursor: default; }
.today__date-tag {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 9px 22px 9px 12px;
  background: #fff;
  border: 1px solid var(--tt-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  min-width: 210px;
}
.today__date-tag__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(221,138,40,0.12);
  color: var(--tt-amber-deep);
}
.today__date-tag__icon svg { width: 17px; height: 17px; }
.today__date-tag .text { display: flex; flex-direction: column; gap: 2px; }
.today__date-tag .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--tt-amber-deep);
  text-transform: uppercase;
}
.today__date-tag .date {
  font-size: 16px;
  font-weight: 700;
  color: var(--tt-navy);
  line-height: 1.15;
}

/* Each day's cards are pre-rendered (same pattern as the schedule's Day
   View panels) so the Prev/Next arrows just toggle which panel is
   current — no client-side rebuilding of truck markup. */
.today-day-panel { display: none; }
.today-day-panel.is-current { display: block; }

.today-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.today-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid rgba(29,48,74,0.06);
}
a.today-card:hover, a.today-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.today-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.today-card__media img { width: 100%; height: 100%; transition: transform 0.6s var(--ease); }
a.today-card:hover .today-card__media img { transform: scale(1.08); }
.today-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.today-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.today-card__name { font-size: 19px; font-weight: 700; color: var(--tt-navy); }
.today-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tt-teal);
  white-space: nowrap;
}
.today-card__hours {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tt-navy);
  margin-bottom: 16px;
}
.today-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tt-navy);
  margin-top: auto;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.today-card__cta--soon { color: var(--tt-gray-warm); }
.today-card:hover .today-card__cta:not(.today-card__cta--soon) { color: var(--tt-amber-deep); gap: 10px; }

/* Compact, intentional empty state — never a big blank rectangle. Sized to
   feel like a normal content block, not a placeholder. */
.today-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 440px;
  margin: 0 auto;
  padding: 44px 36px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--tt-line);
}
.today-empty[hidden] { display: none; }
.today-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tt-cream-deep);
  color: var(--tt-teal);
}
.today-empty__icon svg { width: 24px; height: 24px; }
.today-empty__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tt-navy);
}
.today-empty__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--tt-gray-dark);
  max-width: 34ch;
}
.today-empty__cta { margin-top: 6px; }

@media (min-width: 640px) {
  .today-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .today-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   FEATURED FOOD MOMENT
   ========================================================================= */
.featured-moment__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.featured-moment__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-photo);
}
.featured-moment__media img { width: 100%; height: 100%; transition: transform 0.8s var(--ease-soft); }
.featured-moment__media:hover img { transform: scale(1.04); }

.carousel { position: relative; width: 100%; height: 100%; }
.carousel__slides { position: relative; width: 100%; height: 100%; }
.carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease-soft);
}
.carousel__slide.is-active { opacity: 1; z-index: 1; }
.carousel__slide img { width: 100%; height: 100%; }
.carousel:hover .carousel__slide img,
.featured-moment__media:hover .carousel__slide img { transform: none; }
.carousel__label {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: rgba(18,32,47,0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
}
.carousel__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0;
  transition: background-color 0.3s var(--ease), width 0.3s var(--ease), border-color 0.3s var(--ease);
}
.carousel__dot:hover { border-color: #fff; }
.carousel__dot.is-active { background: #fff; border-color: #fff; width: 22px; border-radius: 5px; }

.featured-moment__body h2 {
  font-size: clamp(28px, 2.4vw, 44px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.featured-moment__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--tt-gray-dark);
  max-width: 44ch;
  margin-bottom: 30px;
}

@media (min-width: 960px) {
  .featured-moment__inner { grid-template-columns: 1.4fr 1fr; gap: 70px; }
}

/* =========================================================================
   WEEKLY SCHEDULE — the functional heart of the page. Day View (a large,
   single selected-day panel) is the primary experience everywhere; Week
   Overview (the compact seven-up grid) is an optional secondary mode,
   available only once there's room for it (desktop).
   ========================================================================= */
.schedule-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(64px, 9vw, 130px);
  background:
    radial-gradient(ellipse 900px 520px at 88% -8%, rgba(47,111,122,0.30), transparent 60%),
    radial-gradient(ellipse 640px 420px at 4% 108%, rgba(221,138,40,0.10), transparent 62%),
    linear-gradient(180deg, var(--tt-navy) 0%, var(--tt-navy-deep) 100%);
}
@media (min-width: 900px) {
  .schedule-section { padding-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(80px, 11vw, 150px); }
}
/* Very low-opacity concentric rings — a quiet nod to topographic contour
   lines / Ten Trails' outdoor identity. Purely decorative, never competes
   with the schedule itself. */
.schedule-section__decor {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.schedule-section__decor::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}
.schedule-section > .tc-container { position: relative; z-index: 1; }

.schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.schedule-toolbar__week {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tt-teal-light);
}
.schedule-toolbar__badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tt-amber-bright);
  background: rgba(221,138,40,0.14);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  vertical-align: middle;
}
/* Segmented control with a sliding highlight (not a static color swap) —
   both buttons share equal width so the indicator lines up exactly. */
.schedule-view-toggle {
  display: none;
  position: relative;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  padding: 4px;
}
@media (min-width: 1024px) {
  .schedule-view-toggle { display: flex; min-width: 280px; }
}
.schedule-view-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--tt-amber-deep);
  border-radius: var(--radius-pill);
  /* Buttons are Week Overview (1st) / Day View (2nd) in markup, but Day
     View is the default active state, so the indicator starts in the
     2nd slot and slides left only when Week Overview is selected. */
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  z-index: 0;
}
.schedule-view-toggle.is-week-active::before { transform: translateX(0); }
.view-toggle-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.view-toggle-btn:hover:not(.is-active) { color: #fff; }
.view-toggle-btn.is-active { color: #fff; }

.schedule-disclaimer {
  margin-top: 28px;
  text-align: center;
  font-size: 12.5px;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.45);
}
.schedule-footer-cta { margin-top: 20px; text-align: center; }
.btn-arrow--light { color: rgba(255,255,255,0.85); }
.btn-arrow--light .btn-arrow__circle { border-color: rgba(255,255,255,0.35); }
.btn-arrow--light:hover { color: #fff; }
.btn-arrow--light:hover .btn-arrow__circle { background: var(--tt-amber-deep); }

.day-pill-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}
.day-pill {
  flex: 0 0 auto;
  min-width: 68px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.day-pill__num { font-size: 16px; font-weight: 700; letter-spacing: 0; color: inherit; }
.day-pill__today-tag { font-size: 8px; font-weight: 700; letter-spacing: 1.4px; color: var(--tt-amber-bright); }
.day-pill.is-active .day-pill__today-tag { color: rgba(255,255,255,0.85); }
.day-pill:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.day-pill.is-active { background: var(--tt-amber-deep); border-color: var(--tt-amber-deep); color: #fff; }
.day-pill--today:not(.is-active) { border-color: var(--tt-amber-bright); color: var(--tt-amber-bright); }

/* ---- Day View: seven pre-rendered panels (one per schedule day); only
   the currently-selected one is displayed. JS only ever toggles the
   .is-current class — it never builds this markup. ---- */
.schedule-day-panel {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 6px 32px;
}
.schedule-day-panel.is-current { display: block; }
.schedule-day-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.schedule-day-panel__badge {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--tt-amber-bright);
  margin-bottom: 8px;
}
.schedule-day-panel__title h3 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}
.schedule-day-panel__date {
  font-family: var(--font-light);
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.55);
}
.schedule-day-panel__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tt-teal-light);
  white-space: nowrap;
}
.schedule-day-panel__list { padding: 4px 0 22px; }
.schedule-day-panel__empty {
  padding: 44px 0;
  text-align: center;
  font-size: 16px;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.55);
}

.day-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  transition: background-color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.day-row:last-child { border-bottom: none; }
a.day-row:hover, a.day-row:focus-visible { background: rgba(255,255,255,0.05); padding-left: 14px; }
.day-row--static { color: rgba(255,255,255,0.5); }
.day-row__thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
}
.day-row__thumb img { width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
a.day-row:hover .day-row__thumb img { transform: scale(1.12); }
.day-row__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.day-row__name { font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; }
.day-row__category { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tt-teal-light); }
.day-row__hours {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}
.day-row__label {
  display: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s var(--ease);
}
@media (min-width: 768px) { .day-row__label { display: inline-block; } }
a.day-row:hover .day-row__label { color: rgba(255,255,255,0.85); }
.day-row__arrow {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.day-row:hover .day-row__arrow { transform: translateX(4px); background: var(--tt-amber-deep); border-color: var(--tt-amber-deep); }

@media (max-width: 640px) {
  .schedule-day-panel { padding: 2px 18px; }
  .schedule-day-panel__head { padding: 22px 0 16px; }
  /* A long combined time string (Friday's two-window coffee slot) can be
     wider than the space left after the thumbnail and name — letting the
     row wrap (rather than forcing .day-row__main to crush the truck name
     into a sliver, which is what happened before this fix) drops the
     hours badge + arrow to their own line instead. */
  .day-row { flex-wrap: wrap; row-gap: 8px; gap: 12px; }
  .day-row__thumb { width: 44px; height: 44px; }
  .day-row__main { min-width: 140px; }
  .day-row__hours { font-size: 11.5px; }
  .day-row__arrow { margin-left: auto; }
}

/* ---- Week Overview: a horizontal carousel of white day cards floating on
   the dark schedule background, three in view at a time, drag-to-scroll
   with the scrollbar hidden. Only ever visible at >=1024px (the toggle
   itself is desktop-only). ---- */
/* !important is deliberate: this is a force-hide utility toggled by JS
   view-state, and .week-schedule-grid's own `display: flex` rule shares
   its specificity — without !important, source order (not view state)
   would decide which one wins. */
.is-hidden-view { display: none !important; }

.week-schedule-viewport { position: relative; margin-top: 8px; }
.week-schedule-grid {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 4px;
  padding: 4px 4px 20px;
  margin: -4px -4px -20px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.week-schedule-grid::-webkit-scrollbar { display: none; }
.week-schedule-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.week-schedule-grid.is-dragging .day-card { pointer-events: none; }

.day-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 310px;
  min-width: 0;
  gap: 16px;
  scroll-snap-align: start;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px -26px rgba(10,18,28,0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* Zoom, don't lift — the border intentionally disappears on hover so the
   card reads as pure "coming toward you" motion instead of border + shadow
   + movement all competing at once. */
.day-card:hover {
  transform: scale(1.035);
  box-shadow: 0 30px 54px -20px rgba(10,18,28,0.42);
  border-color: transparent;
}
.day-card--today:not(.is-active-day) { border-color: rgba(221,138,40,0.4); }
/* The selected day gets one unambiguous signal — an orange border — and
   nothing else fights for attention (no background tint, no extra glow). */
.day-card.is-active-day {
  border-color: var(--tt-amber-bright);
}
.day-card.is-active-day:hover { border-color: var(--tt-amber-bright); }

.day-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tt-line);
}
.day-card__day {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--tt-teal);
  margin-bottom: 4px;
}
.day-card__date {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--tt-navy);
  white-space: nowrap;
}
.day-card__today-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tt-amber-deep);
  background: rgba(221,138,40,0.12);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  white-space: nowrap;
}
.day-card__count {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tt-teal);
  background: rgba(47,111,122,0.09);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  white-space: nowrap;
}

/* Every truck for the day is rendered — no "+N more" truncation. Busy
   days scroll inside a fixed-height list (visible scrollbar, by design)
   instead of hiding entries behind a click. */
.day-card__list {
  display: flex;
  flex-direction: column;
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(29,48,74,0.22) transparent;
}
.day-card__list::-webkit-scrollbar { width: 6px; }
.day-card__list::-webkit-scrollbar-track { background: transparent; }
.day-card__list::-webkit-scrollbar-thumb { background: rgba(29,48,74,0.2); border-radius: var(--radius-pill); }
.day-card__list::-webkit-scrollbar-thumb:hover { background: rgba(29,48,74,0.35); }

.day-card__row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--tt-line);
}
.day-card__list .day-card__row:last-of-type { border-bottom: none; padding-bottom: 2px; }
.day-card__list .day-card__row:first-child { padding-top: 0; }
.day-card__thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--tt-cream);
}
.day-card__thumb img { width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
.day-card__row:hover .day-card__thumb img { transform: scale(1.14); }
.day-card__row-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.day-card__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tt-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.day-card__cat {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tt-teal);
  background: rgba(47,111,122,0.09);
  border-radius: 5px;
  padding: 2px 7px;
}
.day-card__time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tt-gray-dark);
}
.day-card__time svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--tt-gray-warm); }
.day-card__empty {
  font-size: 13px;
  font-family: var(--font-light);
  color: var(--tt-gray-warm);
}

.day-card__view {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--tt-line);
  background: none;
  border-left: none; border-right: none; border-bottom: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tt-gray-dark);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.day-card__view:hover { color: var(--tt-amber-deep); }
.day-card__view svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.day-card__view:hover svg { transform: translateX(3px); }

.week-scroll-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--tt-line);
  color: var(--tt-navy);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.week-scroll-arrow svg { width: 18px; height: 18px; }
.week-scroll-arrow:hover:not(:disabled) { background: var(--tt-amber-deep); color: #fff; }
.week-scroll-arrow:disabled { opacity: 0; pointer-events: none; }
.week-scroll-arrow--prev { left: -20px; }
.week-scroll-arrow--next { right: -20px; }
@media (min-width: 1024px) {
  .week-scroll-arrow { display: flex; }
}

/* Day View is the whole point of this section on every screen below
   desktop — Week Overview only ever applies once the toggle is visible.
   This forces the *wrapper* visible; which single panel shows inside it
   is still governed by .schedule-day-panel / .is-current, untouched. */
@media (max-width: 1023px) {
  .schedule-day-panels { display: block !important; }
  .week-schedule-viewport { display: none !important; }
}

/* =========================================================================
   DIRECTORY ("Meet the Food Trucks")
   ========================================================================= */
.directory-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 44px;
}
@media (max-width: 1023px) {
  .directory-filters { overflow-x: auto; padding-bottom: 8px; margin-bottom: 32px; scrollbar-width: thin; }
}
@media (max-width: 640px) {
  .directory-filters { margin-bottom: 28px; }
}
.filter-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--tt-line);
  background: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tt-gray-dark);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.filter-chip:hover { border-color: var(--tt-teal); color: var(--tt-teal); }
.filter-chip.is-active { background: var(--tt-navy); border-color: var(--tt-navy); color: #fff; }

.directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
/* Every card stretches to the same overall height (set by CSS Grid's row
   stretch) and lays its own content out in a column so the CTA can be
   pinned to the bottom with margin-top: auto — cards never grow or shrink
   based on how much description text a given truck has. */
.truck-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(29,48,74,0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
a.truck-card:hover, a.truck-card:focus-visible,
.truck-card--static:focus-visible {
  transform: translateY(-9px);
  box-shadow: var(--shadow-card-hover);
}
.truck-card__media {
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.truck-card__media img { width: 100%; height: 100%; transition: transform 0.7s var(--ease); }
a.truck-card:hover .truck-card__media img { transform: scale(1.09); }
.truck-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,22,36,0.35) 0%, rgba(13,22,36,0) 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
a.truck-card:hover .truck-card__media::after { opacity: 1; }
.truck-card__body {
  padding: 24px 26px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.truck-card__body::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 0;
  height: 3px;
  background: var(--tt-amber-deep);
  transition: width 0.4s var(--ease);
}
.truck-card:hover .truck-card__body::before { width: 40px; }
.truck-card__category {
  display: block;
  min-height: 1.4em;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tt-teal);
  margin-bottom: 8px;
}
.truck-card__name { font-size: clamp(18px, 1.5vw, 22px); margin-bottom: 18px; }
.truck-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--tt-navy);
  margin-top: auto;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.truck-card:hover .truck-card__cta:not(.truck-card__cta--soon) { color: var(--tt-amber-deep); gap: 12px; }
.truck-card__cta--soon { color: var(--tt-gray-warm); }

@media (min-width: 640px) {
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
  .truck-card__media { height: 220px; }
}
@media (min-width: 1600px) {
  .directory-grid { grid-template-columns: repeat(4, 1fr); }
  .truck-card__media { height: 240px; }
}
@media (max-width: 639px) {
  .truck-card__media { height: 200px; }
}

/* =========================================================================
   EXPERIENCE / AMENITIES
   ========================================================================= */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.experience-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  color: #fff;
}
.experience-card img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.7s var(--ease); }
.experience-card:hover img { transform: scale(1.07); }
.experience-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,22,36,0.88) 0%, rgba(13,22,36,0.1) 62%);
}
.experience-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px;
  z-index: 1;
}
.experience-card__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tt-amber-bright);
  margin-bottom: 8px;
}
.experience-card__body h3 {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.experience-card__body p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }

@media (min-width: 640px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .experience-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   GALLERY — editorial masonry
   ========================================================================= */
.gallery-section { position: relative; overflow: hidden; }
.gallery-section__decor {
  position: absolute;
  bottom: -130px;
  left: -130px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(29,48,74,0.07);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.gallery-section__decor::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(29,48,74,0.06);
  border-radius: 50%;
}
.gallery-section > .tc-container { position: relative; z-index: 1; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-grid > * { border-radius: var(--radius-lg); overflow: hidden; }
.gallery-item { position: relative; aspect-ratio: 1 / 1; box-shadow: var(--shadow-card); transition: box-shadow 0.35s var(--ease); }
.gallery-item:hover { box-shadow: var(--shadow-card-hover); }
.gallery-item img { width: 100%; height: 100%; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item--large { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery-item--portrait { aspect-ratio: 3 / 4; }
/* A quiet gradient + pill caption on every tile (not hover-only) so the
   grid reads as a curated photo essay rather than a bare image bank. */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,22,36,0.5) 0%, rgba(13,22,36,0) 38%);
  pointer-events: none;
  z-index: 1;
}
.gallery-item__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  padding: 9px 15px;
  background: rgba(18,32,47,0.55);
  border-radius: var(--radius-pill);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-item__caption { background: var(--tt-amber-deep); transform: translateY(-2px); }

.gallery-cta { margin-top: 44px; text-align: center; }

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-grid > * { aspect-ratio: auto; }
  .gallery-item--large { grid-column: 1 / 4; grid-row: 1 / 3; }
  .gallery-item--portrait { grid-column: 4 / 5; grid-row: 1 / 3; }
  .gallery-item--food { grid-column: 1 / 2; grid-row: 3; }
  .gallery-item--detail { grid-column: 2 / 3; grid-row: 3; }
  .gallery-item--community { grid-column: 3 / 4; grid-row: 3; }
  .gallery-item--wide { grid-column: 1 / 5; grid-row: 4; aspect-ratio: auto; }
}

/* =========================================================================
   FACEBOOK / SOCIAL CTA — full-bleed photo section
   ========================================================================= */
.social-cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.social-cta__media { position: absolute; inset: 0; z-index: 0; }
.social-cta__media img { width: 100%; height: 100%; }
.social-cta__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(18,32,47,0.88) 0%, rgba(29,48,74,0.72) 55%, rgba(47,111,122,0.55) 100%);
}
.social-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 80px 24px;
  width: 100%;
  max-width: 560px;
  min-width: 0;
}
.social-cta__content .eyebrow { color: var(--tt-teal-light); }
.social-cta h2 { color: #fff; font-size: clamp(26px, 2.2vw, 40px); letter-spacing: 1px; text-transform: uppercase; }
.social-cta p { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.7; }
.social-cta .btn-solid { margin-top: 10px; }
.social-icon { width: 20px; height: 20px; }

/* =========================================================================
   LOCATION
   ========================================================================= */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.location-map {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 280px;
}
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.location-card {
  background: var(--tt-navy);
  color: #fff;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.location-card__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--tt-amber-bright);
  color: var(--tt-amber-bright);
  margin-bottom: 10px;
}
.location-card__pin svg { width: 20px; height: 20px; }
.location-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
/* The address is the whole point of this card, so it gets the biggest,
   boldest type on the card — everything else supports it. */
.location-card address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}
.location-card__street {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
  color: #fff;
}
.location-card__citystate {
  font-family: var(--font-light);
  font-size: 18px;
  color: rgba(255,255,255,0.75);
}
.location-card__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.location-card .btn-solid { align-self: flex-start; }
.location-card__today-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.location-card__today-link:hover { color: #fff; border-color: #fff; }

@media (min-width: 900px) {
  .location-wrap { grid-template-columns: 1fr 1fr; }
  .location-map { aspect-ratio: auto; height: 100%; }
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final-cta {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.final-cta__media { position: absolute; inset: 0; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s var(--ease-soft); }
.final-cta.is-visible .final-cta__media img,
.final-cta__media img { transform: scale(1.08); }
.final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,17,28,0.82) 0%, rgba(10,17,28,0.5) 55%, rgba(10,17,28,0.62) 100%);
}
.final-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  color: #fff;
  padding-block: 96px;
}
.final-cta__content .eyebrow { color: var(--tt-teal-light); justify-content: center; }
.final-cta h2 {
  color: #fff;
  font-size: clamp(34px, 3.7vw, 68px);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.06;
  margin-bottom: 18px;
}
.final-cta__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,0.9);
  margin: 0 auto 38px;
  max-width: 520px;
}
.final-cta__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* =========================================================================
   FOOTER (reconstructed from the live Ten Trails theme)
   ========================================================================= */
#site-footer { background: var(--tt-navy); padding: 72px 0 44px; color: #fff; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-left { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.footer-left > div:first-child img { width: 120px; }
.footer-col { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.35); min-width: 160px; }
.footer-col:first-of-type { padding-left: 0; border-left: none; }
.footer-col h6 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 6px;
}
.footer-col p { font-size: 12px; line-height: 22px; letter-spacing: 0.6px; color: rgba(255,255,255,0.85); }
.footer-col a { color: inherit; }
.footer-col a:hover { color: var(--tt-amber-bright); }

.footer-right { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-right img { width: 120px; }
.footer-right a { font-size: 12px; letter-spacing: 0.6px; color: rgba(255,255,255,0.85); }
.footer-right a:hover { color: var(--tt-amber-bright); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.35);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social a:hover { background: var(--tt-amber-bright); transform: translateY(-2px); }
.footer-social img { width: 16px; height: 16px; }
.footer-copy { font-size: 12px; letter-spacing: 0.6px; color: rgba(255,255,255,0.7); }

@media (min-width: 780px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* =========================================================================
   BACK TO TOP
   ========================================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tt-navy);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18,32,47,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.25s var(--ease);
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--tt-amber-deep); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .back-to-top { right: 18px; bottom: 18px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s, visibility 0.2s; transform: none; }
}

/* =========================================================================
   Section-level responsive tune-ups
   ========================================================================= */
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .hero__content { padding-block: 112px 150px; }
  .about__media-accent { display: none; }
  .location-card { padding: 40px 28px; }
  .social-cta__content { padding: 64px 22px; }
  /* The Facebook CTA's full label ("Follow The Commons on Facebook") is
     wider than any phone screen at this button's normal pill sizing —
     letting it wrap to two centered lines beats forcing a nowrap overflow
     that blows out the card's rounded edge. */
  .social-cta .btn-solid { white-space: normal; text-align: center; padding: 16px 26px; }
  .featured-moment__media { aspect-ratio: 4 / 3.4; }
}

a:hover {
  text-decoration: none !important;
}

.tt_foot_bottom_sec img { display: inline }

.btn-solid:hover, .btn-ghost:hover { color:#fff !important; }


/* Join CTA (the-commons_v3_addtruck1.php): invite future food trucks */
.join-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px clamp(32px, 5vw, 72px);
  margin-top: 64px;
  padding: clamp(36px, 5vw, 64px) clamp(26px, 5vw, 72px);
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(221,138,40,0.38), transparent 70%),
    radial-gradient(480px 300px at 0% 100%, rgba(47,111,122,0.45), transparent 70%),
    linear-gradient(135deg, var(--tt-navy-deep) 0%, var(--tt-navy) 100%);
  box-shadow: 0 30px 70px rgba(18,32,47,0.35);
}
/* amber accent bar + faint diagonal texture */
.join-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--tt-amber-bright), #c0432f, var(--tt-amber-bright));
  z-index: 1;
}
.join-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 18px);
  z-index: -1;
}
.join-cta__watermark {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: clamp(240px, 32vw, 420px);
  color: rgba(255,255,255,0.07);
  z-index: -1;
  pointer-events: none;
}
.join-cta__text { max-width: 660px; }
.join-cta__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--tt-navy-deep);
  background: var(--tt-amber-bright);
  box-shadow: 0 0 0 8px rgba(221,138,40,0.22);
}
.join-cta__icon svg { width: 30px; height: 30px; }
.join-cta__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--tt-amber-bright);
}
.join-cta__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
}
.join-cta p { margin: 20px 0; color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.6; }
.join-cta__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.join-cta__perks li {
  padding: 8px 16px 8px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #fff;
  background: rgba(255,255,255,0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DD8A28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat 12px center / 15px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill, 999px);
}
.join-cta__action { text-align: center; }
.join-cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tt-navy-deep);
  background: var(--tt-amber-bright);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(221,138,40,0.45);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.join-cta__btn svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.join-cta__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--tt-amber-bright);
  animation: joinPulse 2.4s ease-out infinite;
}
@keyframes joinPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.22, 1.5); opacity: 0; }
}
.join-cta__btn:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0,0,0,0.35); }
.join-cta__btn:hover svg { transform: translateX(5px); }
.join-cta__btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.join-cta .join-cta__note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.75); }
.join-cta__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.join-cta__note a:hover { color: var(--tt-amber-bright); }
@media (prefers-reduced-motion: reduce) { .join-cta__btn::before { animation: none; display: none; } }
@media (max-width: 860px) {
  .join-cta { grid-template-columns: 1fr; margin-top: 44px; border-radius: 22px; }
  .join-cta__action { text-align: left; }
}
@media (max-width: 480px) {
  .join-cta__btn { width: 100%; justify-content: center; padding: 20px 24px; white-space: normal; }
}

/* ---- Join CTA, round 2: badge, steps, spotlight, hero link ------------- */
.join-cta { scroll-margin-top: 100px; }
.join-cta__badge {
  display: inline-block;
  margin: 0 0 16px 14px;
  padding: 7px 16px;
  vertical-align: top;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: #b83a26;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(184,58,38,0.45);
  transform: rotate(-2deg);
}
.join-cta__icon { animation: joinFloat 3.6s ease-in-out infinite; }
@keyframes joinFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.join-cta__title { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.join-cta__steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 0;
  padding: 32px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.join-cta__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 20px 78px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.join-cta__steps li:hover { transform: translateY(-5px); background: rgba(255,255,255,0.12); border-color: var(--tt-amber-bright); }
.join-cta__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  width: 20px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--tt-amber-bright) 0 4px, transparent 4px 8px);
}
.join-cta__step-num {
  position: absolute;
  left: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--tt-navy-deep);
  background: var(--tt-amber-bright);
  border-radius: 50%;
}
.join-cta__steps strong { font-size: 17px; color: #fff; }
.join-cta__steps li > span:last-child { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.8); }
/* arrival highlight after the hero button scrolls here */
.join-cta.is-spotlight { animation: joinSpotlight 1.8s ease-out; }
@keyframes joinSpotlight {
  0%   { box-shadow: 0 0 0 0 rgba(221,138,40,0.9), 0 30px 70px rgba(18,32,47,0.35); }
  60%  { box-shadow: 0 0 0 22px rgba(221,138,40,0), 0 30px 70px rgba(18,32,47,0.35); }
  100% { box-shadow: 0 0 0 0 rgba(221,138,40,0), 0 30px 70px rgba(18,32,47,0.35); }
}
/* hero button */
.btn-ghost--join {
  background: var(--tt-amber-bright);
  border-color: var(--tt-amber-bright);
  color: var(--tt-navy-deep);
}
.btn-ghost--join:hover { background: #fff; border-color: #fff; color: var(--tt-navy-deep); }
.btn-ghost--join svg { animation: joinNudge 1.6s ease-in-out infinite; }
@keyframes joinNudge { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (max-width: 860px) {
  .join-cta__steps { grid-template-columns: 1fr; }
  .join-cta__steps li:not(:last-child)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .join-cta__icon, .btn-ghost--join svg, .join-cta.is-spotlight { animation: none; }
}

/* ---- Join CTA, round 3 ------------------------------------------------- */
/* drop the diagonal stripe texture */
.join-cta::after { content: none; }

/* richer steps */
.join-cta__steps li {
  padding: 26px 24px 24px;
  align-items: flex-start;
  gap: 6px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border-radius: 20px;
  border-bottom: 3px solid transparent;
}
.join-cta__steps li:hover { border-bottom-color: var(--tt-amber-bright); }
.join-cta__steps li::before {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  top: -14px;
  font-family: var(--font-serif);
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
}
.join-cta__step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  color: var(--tt-navy-deep);
  background: linear-gradient(135deg, #f3b25a, var(--tt-amber-bright));
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(221,138,40,0.4);
  transform: rotate(-6deg);
  transition: transform 0.4s var(--ease);
}
.join-cta__step-icon svg { width: 28px; height: 28px; }
.join-cta__steps li:hover .join-cta__step-icon { transform: rotate(0) scale(1.08); }
.join-cta__step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--tt-amber-bright);
}
.join-cta__steps strong { font-size: 20px; line-height: 1.2; }
.join-cta__steps li > span:last-child { font-size: 15px; }
.join-cta__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  background: none;
  border-top: 3px solid var(--tt-amber-bright);
  border-right: 3px solid var(--tt-amber-bright);
  transform: translateY(-50%) rotate(45deg);
}

/* email chooser dialog */
.mail-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--tt-navy);
  background: #fff;
  box-shadow: 0 40px 90px rgba(0,0,0,0.45);
}
.mail-dialog::backdrop { background: rgba(10,17,28,0.7); backdrop-filter: blur(3px); }
.mail-dialog[open] { animation: mailPop 0.35s var(--ease); }
@keyframes mailPop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.mail-dialog__panel { position: relative; padding: 36px 32px 28px; }
.mail-dialog h3 { margin: 0 0 8px; font-size: 24px; color: var(--tt-navy); }
.mail-dialog p { margin: 0 0 20px; color: var(--tt-body-text); line-height: 1.5; }
.mail-dialog__close {
  position: absolute; top: 12px; right: 14px;
  width: 38px; height: 38px;
  font-size: 28px; line-height: 1;
  color: var(--tt-gray-dark);
  background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.mail-dialog__close:hover { background: var(--tt-cream); }
.mail-dialog__options { display: grid; gap: 10px; }
.mail-dialog__opt {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  color: var(--tt-navy);
  background: var(--tt-cream);
  border: 1px solid var(--tt-cream-deep);
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.mail-dialog__opt:hover { background: var(--tt-navy); color: #fff; transform: translateY(-2px); }
.mail-dialog__opt--copy { background: #fff; border-style: dashed; }
.mail-dialog .mail-dialog__status { margin: 14px 0 0; min-height: 1.4em; font-size: 14px; color: var(--tt-teal); }

/* hero: three equal, lined-up buttons (v3 centered layout) */
.hero__content--center .hero__ctas {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}
.hero__content--center .hero__ctas > a {
  justify-content: center;
  padding-inline: 28px;
  letter-spacing: 1.3px;
}
@media (max-width: 1000px) {
  .hero__content--center .hero__ctas {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 340px);
    width: 100%;
    justify-content: center;
  }
  .hero__content--center .hero__ctas > a { white-space: normal; text-align: center; }
}
@media (max-width: 860px) {
  .join-cta__steps li:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: 8px; transform: translateX(-50%) rotate(135deg); }
}

/* ---- Hero (v3): two main buttons in a row, join link as its own line ---- */
.hero__content--center .hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: auto;
  margin-inline: auto;
}
.hero__content--center .hero__ctas > a { flex: 0 1 auto; min-width: 230px; justify-content: center; }
@media (max-width: 1000px) {
  .hero__content--center .hero__ctas { display: flex; width: 100%; }
  .hero__content--center .hero__ctas > a { flex: 1 1 100%; max-width: 340px; }
}
.hero__join {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 8px 22px 8px 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #fff;
  background: rgba(10,17,28,0.45);
  border: 1px solid rgba(221,138,40,0.8);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.8s forwards;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.hero__join-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--tt-navy-deep);
  background: var(--tt-amber-bright);
  border-radius: 50%;
}
.hero__join-icon svg { width: 21px; height: 21px; }
.hero__join-arrow { width: 16px; height: 16px; color: var(--tt-amber-bright); animation: joinNudge 1.6s ease-in-out infinite; }
.hero__join:hover { background: var(--tt-amber-bright); color: var(--tt-navy-deep); transform: translateY(-2px); }
.hero__join:hover .hero__join-arrow { color: var(--tt-navy-deep); }
.hero__join:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 480px) { .hero__join { font-size: 13px; padding-right: 16px; } }
@media (prefers-reduced-motion: reduce) { .hero__join { animation: none; opacity: 1; } .hero__join-arrow { animation: none; } }

/* ---- Join CTA, round 4: extra polish (styling only) --------------------- */
.join-cta {
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 30px 70px rgba(18,32,47,0.35),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 80px rgba(221,138,40,0.06);
}
/* slowly drifting glow orbs behind the content */
.join-cta::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(221,138,40,0.20) 0, transparent 22%),
    radial-gradient(circle at 82% 72%, rgba(172,200,239,0.16) 0, transparent 24%),
    radial-gradient(circle at 62% 14%, rgba(192,67,47,0.18) 0, transparent 18%);
  animation: joinDrift 14s ease-in-out infinite alternate;
}
@keyframes joinDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* headline: soft light-to-amber gradient with an accent bar */
.join-cta__title {
  background: linear-gradient(100deg, #fff 55%, #f6c887 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.35));
}
.join-cta__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--tt-amber-bright), #c0432f);
}

/* icon: pulsing halo */
.join-cta__icon { position: relative; }
.join-cta__icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(221,138,40,0.55);
  animation: joinHalo 2.6s ease-out infinite;
}
@keyframes joinHalo {
  from { transform: scale(0.9); opacity: 0.9; }
  to   { transform: scale(1.5); opacity: 0; }
}

/* perk chips */
.join-cta__perks li {
  backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.join-cta__perks li:hover {
  transform: translateY(-3px);
  background-color: rgba(221,138,40,0.22);
  border-color: var(--tt-amber-bright);
}

/* action column: frosted panel around the button */
@media (min-width: 861px) {
  .join-cta__action {
    padding: 36px 34px;
    background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
  }
}

/* button: light sweep across the amber fill */
.join-cta__btn { overflow: visible; background-image: linear-gradient(135deg, #f3b25a 0%, var(--tt-amber-bright) 55%, #c9731a 100%); }
.join-cta__btn > span, .join-cta__btn > svg { position: relative; z-index: 1; }
.join-cta__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 160% 0;
  animation: joinShine 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes joinShine {
  0%, 55% { background-position: 160% 0; }
  100%    { background-position: -60% 0; }
}
.join-cta__btn:hover { background-image: none; }

/* steps: staggered hover glow + dotted rail above them */
.join-cta__steps { position: relative; }
.join-cta__steps li { box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.join-cta__steps li:hover { box-shadow: 0 22px 44px rgba(0,0,0,0.3), 0 0 0 1px rgba(221,138,40,0.55); }
.join-cta__steps::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, var(--tt-amber-bright), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .join-cta::after, .join-cta__icon::after, .join-cta__btn::after { animation: none; }
  .join-cta__icon::after { display: none; }
}

/* ---- Join CTA, round 5: tighter spacing, one-line chips, solid step cards, brand logos ---- */
.join-cta {
  margin-top: 68px;
  gap: 20px clamp(28px, 4vw, 56px);
  padding: clamp(26px, 3.4vw, 44px) clamp(24px, 4.5vw, 60px);
}
.join-cta__icon { width: 50px; height: 50px; margin-bottom: 12px; box-shadow: 0 0 0 6px rgba(221,138,40,0.22); }
.join-cta__icon svg { width: 25px; height: 25px; }
.join-cta__badge { margin-bottom: 12px; }
.join-cta__eyebrow { margin-bottom: 4px; }
.join-cta__title { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); }
.join-cta__title::after { margin-top: 12px; height: 3px; width: 60px; }
.join-cta p { font-size: 16px; line-height: 1.5; }
.join-cta__text { max-width: 720px; }

/* action column: no panel, no border */
.join-cta__action {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.join-cta .join-cta__note { margin-top: 14px; }

/* perks: always a single line */
.join-cta__perks {
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom:10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.join-cta__perks::-webkit-scrollbar { display: none; }
.join-cta__perks li { flex: 0 0 auto; white-space: nowrap; padding: 6px 14px 6px 32px; font-size: 12.5px; background-position: 11px center; }

/* steps: shorter, horizontal cards on a solid navy that matches the section */
.join-cta__steps { gap: 16px; margin-top: 0; padding-top: 22px; }
.join-cta__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 0;
  padding: 14px 22px 14px 16px;
  background: linear-gradient(160deg, #26405f 0%, #182a43 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom: 3px solid rgba(221,138,40,0.55);
  border-radius: 16px;
  backdrop-filter: none;
  box-shadow: 0 10px 22px rgba(8,14,24,0.35);
}
.join-cta__steps li:hover { background: linear-gradient(160deg, #2c4a6e 0%, #1c3250 100%); border-bottom-color: var(--tt-amber-bright); }
.join-cta__steps li::before { font-size: 76px; right: 12px; top: -8px; color: rgba(255,255,255,0.06); }
.join-cta__step-icon { grid-row: 1 / 4; width: 44px; height: 44px; margin: 0; border-radius: 13px; }
.join-cta__step-icon svg { width: 23px; height: 23px; }
.join-cta__step-label { font-size: 10.5px; letter-spacing: 2px; }
.join-cta__steps strong { font-size: 17px; }
.join-cta__steps li > span:last-child { font-size: 14px; line-height: 1.4; }
@media (max-width: 860px) {
  .join-cta { margin-top: 36px; }
  .join-cta__steps { gap: 22px; }
}

/* email dialog: brand logos */
.mail-dialog__opt {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px 18px;
}
.mail-dialog__logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(18,32,47,0.14);
}
.mail-dialog__logo svg { width: 26px; height: 26px; display: block; }
.mail-dialog__label { flex: 1 1 auto; }
.mail-dialog__opt:hover .mail-dialog__logo { transform: scale(1.06); }
.mail-dialog__logo { transition: transform 0.25s var(--ease); }

/* ---- Join CTA, round 6: guarantee navy step cards + readable text ------- */
.join-cta .join-cta__steps > li {
  background-color: #1f3552;
  background-image: linear-gradient(160deg, #2a4666 0%, #172840 100%);
  color: #fff;
  opacity: 1;
}
.join-cta .join-cta__steps > li:hover {
  background-color: #244061;
  background-image: linear-gradient(160deg, #305177 0%, #1b3050 100%);
}
.join-cta .join-cta__steps strong { color: #fff; }
.join-cta .join-cta__steps > li > span:last-child { color: rgba(255,255,255,0.82); }
.join-cta .join-cta__step-label { color: var(--tt-amber-bright); }

/* =========================================================================
   VENDOR CTA (the-commons_v3_addtruck2.php) - light, split "invitation" card:
   photo collage on the left, timeline + action on the right.
   ========================================================================= */
.vendor {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
  margin-top: 76px;
  overflow: hidden;
  scroll-margin-top: 100px;
  background: #fff;
  border: 1px solid var(--tt-line);
  border-radius: 28px;
  box-shadow: 0 8px 24px -10px rgba(18,32,47,0.16);
}
.vendor.is-spotlight { animation: vendorSpot 1.8s ease-out; }
@keyframes vendorSpot {
  0%   { box-shadow: 0 0 0 0 rgba(221,138,40,0.85), 0 8px 24px -10px rgba(18,32,47,0.16); }
  60%  { box-shadow: 0 0 0 22px rgba(221,138,40,0), 0 8px 24px -10px rgba(18,32,47,0.16); }
  100% { box-shadow: 0 0 0 0 rgba(221,138,40,0), 0 8px 24px -10px rgba(18,32,47,0.16); }
}

/* --- left: photo collage --- */
.vendor__visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(420px 300px at 20% 12%, rgba(221,138,40,0.35), transparent 70%),
    radial-gradient(380px 300px at 90% 100%, rgba(47,111,122,0.55), transparent 70%),
    linear-gradient(160deg, var(--tt-navy) 0%, var(--tt-navy-deep) 100%);
}
.vendor__photo {
  position: absolute;
  margin: 0;
  padding: 8px 8px 26px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.4);
  transition: transform 0.5s var(--ease);
}
.vendor__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.vendor__photo--a { top: 9%;  left: 8%;  width: 62%; height: 38%; transform: rotate(-5deg); z-index: 2; }
.vendor__photo--b { top: 36%; right: 6%; width: 56%; height: 34%; transform: rotate(4deg);  z-index: 3; }
.vendor__photo--c { bottom: 6%; left: 14%; width: 54%; height: 30%; transform: rotate(-2deg); z-index: 1; }
.vendor:hover .vendor__photo--a { transform: rotate(-7deg) translateY(-4px); }
.vendor:hover .vendor__photo--b { transform: rotate(6deg) translateY(-4px); }
.vendor:hover .vendor__photo--c { transform: rotate(-4deg) translateY(-4px); }
.vendor__ribbon {
  position: absolute;
  left: -34px;
  top: 28px;
  z-index: 5;
  padding: 9px 46px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: #b83a26;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  transform: rotate(-35deg);
  transform-origin: center;
}

/* --- right: content --- */
.vendor__body { padding: clamp(28px, 4vw, 52px) clamp(24px, 4.5vw, 60px); }
.vendor__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--tt-amber-deep);
}
.vendor__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  color: var(--tt-navy);
}
.vendor__lead { margin: 0 0 26px; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--tt-body-text); }

/* vertical timeline */
.vendor__timeline { position: relative; margin: 0 0 24px; padding: 0; list-style: none; }
.vendor__timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--tt-amber-bright) 0 6px, transparent 6px 12px);
}
.vendor__timeline li { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 8px 0; }
.vendor__marker {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: var(--tt-navy);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--tt-amber-bright);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.vendor__timeline li:hover .vendor__marker { background: var(--tt-amber-bright); color: var(--tt-navy-deep); transform: scale(1.1); }
.vendor__timeline strong { display: block; font-size: 18px; color: var(--tt-navy); }
.vendor__timeline li span:not(.vendor__marker) { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--tt-body-text); }

/* perks */
.vendor__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 28px;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--tt-line);
}
.vendor__perks li {
  padding-left: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tt-navy);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6F7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat 0 center / 17px;
}

/* actions */
.vendor__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.vendor__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
  background: var(--tt-navy);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(29,48,74,0.35);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.vendor__btn svg { width: 20px; height: 20px; color: var(--tt-amber-bright); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.vendor__btn:hover { background: var(--tt-amber-bright); color: var(--tt-navy-deep); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(221,138,40,0.45); }
.vendor__btn:hover svg { color: var(--tt-navy-deep); transform: translateX(5px); }
.vendor__btn:focus-visible { outline: 3px solid var(--tt-amber-bright); outline-offset: 4px; }
.vendor .vendor__note { margin: 0; font-size: 14px; color: var(--tt-gray-dark); }
.vendor__note a { color: var(--tt-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vendor__note a:hover { color: var(--tt-amber-deep); }

@media (max-width: 900px) {
  .vendor { grid-template-columns: 1fr; margin-top: 40px; }
  .vendor__visual { min-height: 300px; }
  .vendor__photo--a { top: 10%; left: 6%;  width: 50%; height: 56%; }
  .vendor__photo--b { top: 26%; right: 6%; width: 46%; height: 54%; }
  .vendor__photo--c { display: none; }
  .vendor__ribbon { left: -40px; top: 22px; }
}
@media (max-width: 480px) {
  .vendor__btn { width: 100%; justify-content: center; padding: 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .vendor.is-spotlight { animation: none; }
  .vendor__photo { transition: none; }
}

/* ---- Vendor CTA, round 2: ribbon fix + body polish ---------------------- */
/* flag-style ribbon: fully inside the panel so no text is clipped */
.vendor__ribbon {
  left: 0;
  top: 26px;
  max-width: calc(100% - 20px);
  padding: 11px 34px 11px 22px;
  font-size: 11px;
  letter-spacing: 1.8px;
  line-height: 1.2;
  white-space: nowrap;
  transform: none;
  background: linear-gradient(90deg, #a23120, #c9432c);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}
.vendor__ribbon::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: #fff;
  border-radius: 50%;
  vertical-align: 1px;
}
@media (max-width: 480px) { .vendor__ribbon { font-size: 10px; letter-spacing: 1.2px; padding-right: 28px; } }

/* body polish */
.vendor__body { position: relative; }
.vendor__body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 100% 0, rgba(221,138,40,0.14), transparent 68%);
  pointer-events: none;
}
.vendor__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.vendor__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--tt-amber-bright); }
.vendor__title::after {
  content: none; /* amber-to-red bar under the headline removed */
}
.vendor__lead { padding-left: 16px; border-left: 3px solid rgba(221,138,40,0.55); }
.vendor__timeline li {
  margin-left: -10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.vendor__timeline li:hover { background: #f6f3ec; transform: translateX(4px); }
.vendor__perks { gap: 10px; border-top: 0; padding-top: 0; }
.vendor__perks li {
  padding: 8px 16px 8px 38px;
  font-size: 13px;
  background-color: #eef4f5;
  background-position: 14px center;
  border: 1px solid rgba(47,111,122,0.25);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.vendor__perks li:hover { transform: translateY(-2px); background-color: #e0edef; }
.vendor__actions { padding-top: 22px; border-top: 1px dashed var(--tt-line); }
.vendor__btn { position: relative; overflow: hidden; }
.vendor__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 160% 0;
  animation: joinShine 4s ease-in-out infinite;
  pointer-events: none;
}
.vendor__btn > span, .vendor__btn > svg { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .vendor__btn::after { animation: none; display: none; } }

/* =========================================================================
   STALL CTA (the-commons_v3_addtruck3.php) - full-width photo stage under a
   food-truck awning, with three step cards overlapping its bottom edge.
   ========================================================================= */
.stall { position: relative; margin-top: 76px; scroll-margin-top: 100px; border-radius: 28px; }
.stall.is-spotlight { animation: stallSpot 1.8s ease-out; }
@keyframes stallSpot {
  0%   { box-shadow: 0 0 0 0 rgba(221,138,40,0.85); }
  60%  { box-shadow: 0 0 0 22px rgba(221,138,40,0); }
  100% { box-shadow: 0 0 0 0 rgba(221,138,40,0); }
}

/* --- stage: photo + overlay --- */
.stall__stage {
  position: relative;
  overflow: hidden;
  padding: 0 clamp(22px, 5vw, 72px) clamp(110px, 12vw, 130px);
  text-align: center;
  color: #fff;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(18,32,47,0.55) 0%, rgba(18,32,47,0.82) 100%),
    url("../img/commons/real/real-11.jpg") center 40% / cover no-repeat,
    var(--tt-navy);
  box-shadow: 0 10px 28px -12px rgba(18,32,47,0.3);
}
/* scalloped awning: red / cream stripes with matching rounded flaps */
.stall__awning {
  position: relative;
  height: 30px;
  margin: 0 calc(-1 * clamp(22px, 5vw, 72px));
  background: repeating-linear-gradient(90deg, #b83a26 0 28px, #f6efe2 28px 56px);
  filter: drop-shadow(0 8px 8px rgba(0,0,0,0.3));
}
.stall__awning::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  background:
    radial-gradient(circle at 14px 0, #b83a26 0 14px, transparent 15px) 0 0 / 56px 14px repeat-x,
    radial-gradient(circle at 42px 0, #f6efe2 0 14px, transparent 15px) 0 0 / 56px 14px repeat-x;
}

.stall__content { position: relative; z-index: 1; max-width: 760px; margin: 52px auto 0; }
.stall__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #fff;
  background: #b83a26;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(184,58,38,0.5);
}
.stall__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: #f6c887;
}
.stall__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0,0,0,0.45);
}
.stall__lead { margin: 0 auto 28px; max-width: 600px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.9); }
.stall__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stall__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 21px 44px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tt-navy-deep);
  background: linear-gradient(135deg, #f6c887 0%, var(--tt-amber-bright) 100%);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(221,138,40,0.5);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stall__btn svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.stall__btn:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0,0,0,0.35); }
.stall__btn:hover svg { transform: translateX(5px); }
.stall__btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.stall .stall__note { margin: 0; font-size: 14px; color: rgba(255,255,255,0.8); }
.stall__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stall__note a:hover { color: #f6c887; }

/* --- step cards overlapping the stage --- */
.stall__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: calc(-1 * clamp(70px, 8vw, 84px)) clamp(16px, 4vw, 56px) 0;
  padding: 0;
  list-style: none;
}
.stall__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--tt-line);
  border-top: 4px solid var(--tt-amber-bright);
  border-radius: 18px;
  box-shadow: 0 14px 30px -14px rgba(18,32,47,0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stall__step:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -16px rgba(18,32,47,0.4); }
.stall__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--tt-amber-bright);
  border-right: 3px solid var(--tt-amber-bright);
  transform: translateY(-50%) rotate(45deg);
}
.stall__step-no {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: rgba(29,48,74,0.08);
}
.stall__step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--tt-teal), var(--tt-navy));
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(29,48,74,0.3);
}
.stall__step-icon svg { width: 25px; height: 25px; }
.stall__step strong { font-size: 19px; color: var(--tt-navy); }
.stall__step-text { font-size: 15px; line-height: 1.45; color: var(--tt-body-text); }

/* --- perks strip --- */
.stall__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.stall__perks li {
  padding-left: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tt-navy);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DD8A28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat 0 center / 19px;
}

@media (max-width: 860px) {
  .stall { margin-top: 44px; }
  .stall__steps { grid-template-columns: 1fr; gap: 26px; margin-top: -64px; }
  .stall__step:not(:last-child)::after { top: auto; bottom: -19px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 480px) {
  .stall__btn { width: 100%; justify-content: center; padding: 19px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .stall.is-spotlight { animation: none; }
  .stall__step, .stall__btn { transition: none; }
}

/* ---- Email dialog: always fits the viewport, never shows a scrollbar ----
   Shared by the-commons_v3_addtruck1/2/3.php. The panel compacts as the
   window gets shorter instead of overflowing. */
.mail-dialog {
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  overflow: auto;                 /* safety net only */
  scrollbar-width: none;
}
.mail-dialog::-webkit-scrollbar { display: none; }
.mail-dialog__panel { padding: clamp(18px, 4.5vh, 36px) clamp(18px, 4vw, 32px) clamp(16px, 3.5vh, 28px); }
.mail-dialog h3 { font-size: clamp(19px, 3.2vh, 24px); margin-bottom: clamp(4px, 1vh, 8px); padding-right: 36px; }
.mail-dialog p { margin-bottom: clamp(10px, 2.4vh, 20px); font-size: clamp(13px, 1.9vh, 16px); }
.mail-dialog__options { gap: clamp(6px, 1.2vh, 10px); }
.mail-dialog__opt { padding: clamp(6px, 1.3vh, 12px) 16px; }
.mail-dialog__logo { width: clamp(30px, 5vh, 38px); height: clamp(30px, 5vh, 38px); }
.mail-dialog__logo svg { width: clamp(20px, 3.4vh, 26px); height: clamp(20px, 3.4vh, 26px); }
.mail-dialog .mail-dialog__status { min-height: 0; margin-top: 8px; }
.mail-dialog .mail-dialog__status:empty { display: none; }

/* short windows: two columns of options */
@media (max-height: 620px) {
  .mail-dialog { width: min(560px, calc(100vw - 24px)); }
  .mail-dialog__options { grid-template-columns: 1fr 1fr; }
  .mail-dialog__opt { padding: 7px 12px; gap: 10px; font-size: 14px; }
}
/* very short windows (phones in landscape): three columns, no intro text */
@media (max-height: 430px) {
  .mail-dialog { width: min(680px, calc(100vw - 24px)); }
  .mail-dialog__panel { padding: 14px 18px 12px; }
  .mail-dialog p:not(.mail-dialog__status) { display: none; }
  .mail-dialog__options { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mail-dialog__opt { padding: 6px 10px; font-size: 13px; }
  .mail-dialog__close { top: 6px; right: 8px; }
}
/* narrow phones: keep labels from forcing the width */
@media (max-width: 360px) {
  .mail-dialog__opt { font-size: 14px; gap: 10px; padding-inline: 12px; }
}
