/* ============================================================
   CUSTOM PROPERTIES  —  VTFC dark / gold theme
   ============================================================ */
:root {
  /* Brand colours — warm black & gold */
  --color-primary:        #d8b97a;  /* club gold */
  --color-primary-hover:  #ecd596;  /* brighter gold on hover */
  --gold-bright:          #f0de97;  /* logo highlight */
  --color-text:           #c8c2b4;  /* warm light grey body */
  --color-bone:           #f4f0e6;  /* bright headline text */
  --color-muted:          #8d8678;  /* warm muted */
  --color-bg:             #0a0a0b;
  --color-alt:            #0f0f11;
  --color-border:         rgba(216,185,122,.16);  /* gold-tinted hairline */
  --color-icon:           #d8b97a;

  /* On-brand (text placed on primary-coloured backgrounds) */
  --color-on-primary:     #0a0a0b;

  /* Hero */
  --color-hero-tint:      #0f0f11;

  /* Footer */
  --color-footer-text:    #a59f92;
  --color-footer-heading: #d8b97a;
  --color-footer-muted:   #6c665b;
  --color-footer-border:  rgba(216,185,122,.12);

  /* VTFC extras */
  --color-card-bg:     #121214;
  --color-active-text: #0a0a0b;
  --color-gold:        #ffea7c;
  --color-silver:      #cccccc;
  --color-bronze:      #c5b193;

  /* Typography */
  --font:         'Archivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --radius:    4px;
  --container: 1280px;
  --gap:       1.5rem;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img, picture, video { max-width: 100%; display: block; border-radius: var(--radius); }
address { font-style: normal; }
ul { list-style: none; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }

p + p { margin-top: .75rem; }

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section          { padding-block: 4.5rem; }
/* Offset anchored sections so they clear the sticky header */
:target, [id] { scroll-margin-top: 80px; }
.section-alt      { background: var(--color-alt); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.section-header h2   { margin-bottom: .5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-on-primary); }

.btn-sm { font-size: .875rem; padding: .5rem 1.1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: .85rem;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
  margin-right: auto;
}
.logo:hover { text-decoration: none; }

.logo-img {
  display: block;
  max-height: 28px;
  max-width: 160px;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}

.footer-logo { display: inline-block; }
.footer-logo:hover { text-decoration: none; opacity: .85; }
.footer-logo-img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: .5rem;
}

.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a  { color: var(--color-text); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--color-primary); text-decoration: none; }

/* Close button is mobile-drawer only — hidden on desktop */
.nav-close { display: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ============================================================
   HERO  [block: hero]
   ============================================================ */
.hero {
  padding-block: 5rem 4rem;
  background: #000;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1  { margin-bottom: .75rem; }
.hero-content .lead { margin-bottom: 2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-media { border-radius: var(--radius); overflow: hidden; }
.hero-media img,
.hero-media video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ============================================================
   COLUMNS / CARDS  [block: columns]
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.card {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-alt);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--color-icon);
}

/* ============================================================
   TEXT & MEDIA  [block: textmedia]
   Add class "tm-reversed" to .tm-wrap to flip image to right.
   ============================================================ */
.tm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.tm-reversed .tm-media { order: 2; }
.tm-reversed .tm-content { order: 1; }

.tm-media img,
.tm-media video { width: 100%; object-fit: cover; }

.tm-content h2   { margin-bottom: .75rem; }
.tm-content .btn { margin-top: 1.5rem; }

/* ============================================================
   PRICELIST  [block: pricelist]
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  align-items: start;
}

.price-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.price-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.price-name   { font-weight: 700; font-size: 1.05rem; }
.price-amount { font-size: 2rem; font-weight: 800; line-height: 1; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--color-muted); }
.price-desc   { color: var(--color-muted); font-size: .9rem; }

.price-features { display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.price-features li {
  padding-left: 1.2rem;
  position: relative;
  font-size: .95rem;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   FAQ  [block: faq]
   ============================================================ */
.faq-wrap   { max-width: 780px; }
.faq-list   { display: flex; flex-direction: column; gap: .5rem; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--color-alt); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-muted);
  transition: transform .2s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0.5rem 1.25rem 1.1rem;
  color: var(--color-muted);
  font-size: .95rem;
}

/* ============================================================
   CONTACT  [block: contact]
   ============================================================ */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
 
  max-width: 840px;
  margin: 0 auto;
   margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.5rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s;
}
.contact-item:hover { background: var(--color-alt); text-decoration: none; }

.contact-kicker {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-muted);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.contact-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus  { outline: none; border-color: var(--color-primary); }
.contact-form textarea         { resize: vertical; }
.optional                      { font-weight: 400; color: var(--color-muted); }

/* ── Contact form async UX ─────────────────────────────────── */
.contact-form-wrap { position: relative; }
.cf-success {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  text-align: center;
  font-size: 1.05rem;
}
.cf-error {
  color: #dc2626;
  font-size: .875rem;
  margin-top: .5rem;
}
.cf-submit-spinner {
  display: none;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cf-spin .65s linear infinite;
  vertical-align: middle;
}
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-submit.cf-loading .cf-submit-label   { display: none; }
.cf-submit.cf-loading .cf-submit-spinner { display: inline-block; }
.cf-submit:disabled { opacity: .7; cursor: not-allowed; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #000;
  color: var(--color-footer-text);
  padding-block: 3rem 1.5rem;
}
.site-footer a       { color: var(--color-footer-text); }
.site-footer a:hover { color: var(--color-footer-heading); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}

.footer-heading {
  display: block;
  color: var(--color-footer-heading);
  font-size: .95rem;
  margin-bottom: .6rem;
}

.footer-col p      { font-size: .9rem; }
.footer-col ul li + li { margin-top: .35rem; }

/* Opening hours */
.hours-list { display: table; border-collapse: separate; border-spacing: 0 .2rem; }
.hours-row  { display: table-row; font-size: .85rem; }
.hours-row dt { display: table-cell; padding-right: 1.25rem; color: var(--color-footer-text); white-space: nowrap; }
.hours-row dd { display: table-cell; white-space: nowrap; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  font-size: .85rem;
  color: var(--color-footer-muted);
  text-align: center;
}

/* ============================================================
   MENU  [block: menu]
   Category-filtered price list (restaurant / service menu).
   ============================================================ */

/* Filter bar */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.menu-filter {
  padding: .4rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.menu-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.menu-filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

/* Item list */
.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.menu-item:first-child { border-top: 1px solid var(--color-border); }

.menu-item[hidden] { display: none; }

.menu-item-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item-name {
  font-weight: 600;
  font-size: 1rem;
}

.menu-item-price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.menu-item-desc {
  margin-top: .25rem;
  font-size: .9rem;
  color: var(--color-muted);
}

/* ============================================================
   GALLERY  [block: gallery]
   CSS grid of thumbnail buttons + native <dialog> lightbox.
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}

.gallery-thumb {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-alt);
  aspect-ratio: 4 / 3;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .3s;
}
.gallery-thumb:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .4rem .75rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .8rem;
  text-align: center;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-thumb:hover .gallery-caption { opacity: 1; }

/* Lightbox dialog */
.gallery-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.gallery-dialog::backdrop { background: transparent; }
.gallery-dialog[open] { display: flex; }

.gallery-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.gallery-full {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.gallery-dialog-caption {
  margin-top: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  text-align: center;
}

.gallery-close,
.gallery-prev,
.gallery-next {
  position: fixed;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--radius);
  padding: .4rem .75rem;
  line-height: 1;
  transition: background .2s;
}
.gallery-close:hover,
.gallery-prev:hover,
.gallery-next:hover { background: rgba(255,255,255,.3); }

.gallery-close { top: 1.25rem; right: 1.25rem; }
.gallery-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.gallery-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   TESTIMONIALS  [block: testimonials]
   Review cards with optional star rating and avatar.
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  align-items: start;
}

.testimonial-card {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.testimonial-stars { display: flex; gap: .15rem; }
.star       { color: var(--color-border); font-size: 1.1rem; }
.star-filled { color: #f59e0b; }

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .95rem;
}
.testimonial-role {
  display: block;
  font-size: .825rem;
  color: var(--color-muted);
}

/* ============================================================
   BANNER  [block: banner]
   Narrow full-width announcement strip.
   ============================================================ */
.banner {
  position: sticky;
  top: 0;
  z-index: 101;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding-block: .65rem;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-text {
  margin: 0;
  font-size: .95rem;
  font-weight: 500;
  text-align: center;
}

.banner-action {
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-on-primary);
  text-decoration: underline;
  flex-shrink: 0;
}
.banner-action:hover { text-decoration: none; }

.banner-close {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-on-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: .1rem .3rem;
  opacity: .8;
}
.banner-close:hover { opacity: 1; }

/* ============================================================
   PROSE  [block: prose]
   Long-form document content: legal pages, about pages, etc.
   ============================================================ */
.prose {
  max-width: 740px;
  margin-inline: auto;
}

.prose .section-header {
  text-align: left;
  max-width: none;
  margin-inline: 0;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: .4rem;
  font-size: 1.15rem;
}

.prose h4 {
  margin-top: 1.25rem;
  margin-bottom: .3rem;
  font-size: 1rem;
  font-weight: 700;
}

.prose p {
  color: var(--color-text);
  margin-top: .75rem;
}

.prose-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  color: var(--color-text);
}

.prose-updated {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: .875rem;
  color: var(--color-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .tm-wrap,
  .tm-reversed .tm-media,
  .tm-reversed .tm-content { order: unset; }

  .tm-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* Nav overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 199;
}
.nav-overlay.is-open { display: block; }

@media (max-width: 768px) {
  .burger { display: flex; }

  /* Drawer: always in layout but off-screen to the right */
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100dvh;
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 200;
    transition: right .3s cubic-bezier(.4,0,.2,1);
  }
  .site-nav.is-open { right: 0; }

  .nav-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: .25rem .5rem;
    z-index: 201;
    display: none;
  }
  .site-nav.is-open .nav-close { display: block; }
  .nav-close:hover { color: var(--color-primary); }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }
  .site-nav a { font-size: 1.2rem; font-weight: 600; }

  .hero-wrap      { grid-template-columns: 1fr; }
  .hero-media     { max-height: 280px; order: -1; }

  .contact-card   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }

  .price-grid     { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 480px) {
  .section { padding-block: 3rem; }
  .hero    { padding-block: 3rem 2.5rem; }
  .btn-sm  { display: none; }
}

/* ============================================================
   LOGO BAND  —  infinite scroll with edge fades
   ============================================================ */
.logo-band {
  overflow: hidden;
  position: relative;
  padding-block: 1.5rem;
  border-top:    1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #000;
  /* Edge fades via mask — no pseudo-elements, no extra composited layers */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}

.logo-band__track {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-align-items: center;
  align-items: center;
  gap: 3rem;
  width: -webkit-max-content;
  width: max-content;
  /* Force GPU layer; backface-visibility stops iOS re-painting on loop */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: logo-scroll 40s linear infinite;
  animation: logo-scroll 40s linear infinite;
}

.logo-band__track img {
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 0;
  /* Keep images on the same layer as the track, not promoted individually */
  filter: invert(1) grayscale(1) brightness(1.2);
  opacity: 0.75;
  -webkit-transition: filter .25s, opacity .25s;
  transition: filter .25s, opacity .25s;
}

.logo-band__track img:hover {
  filter: invert(1) grayscale(0) brightness(1.2);
  opacity: 1;
}

@-webkit-keyframes logo-scroll {
  from { -webkit-transform: translate3d(0, 0, 0);    transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes logo-scroll {
  from { -webkit-transform: translate3d(0, 0, 0);    transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-band__track {
    -webkit-animation: none;
    animation: none;
  }
}

/* ============================================================
   VTFC — Layout helpers
   ============================================================ */
section { padding-top: 50px; padding-bottom: 50px; }
section#logos { padding-top: 0; padding-bottom: 0; }

.inner {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.content { padding-left: 16px; padding-right: 16px; }

#hero { padding-top: 32px; }

.flex                 { display: flex; }
.justifyContentCenter { justify-content: center; }
.alignItemsCenter     { align-items: center; }
.marginLeftAuto       { margin-left: auto; }
.marginTop12  { margin-top: 12px; }
.marginTop24  { margin-top: 24px; }
.marginTop32  { margin-top: 32px; }
.marginTop48  { margin-top: 48px; }
.textAlignCenter { text-align: center; }
.textAlignCenter a { margin-left: auto; margin-right: auto; }

/* Inner flex layout used by VTFC content sections */
.inner.section {
  display: flex;
  align-items: center;
  gap: 32px;
}
.inner.section.reverse  { flex-direction: row-reverse; }
.inner.section .content { width: 100%; }
.inner.section figure   { height: 100%; width: 100%; }
.inner.section img      { height: 100%; width: 100%; object-fit: cover; }

/* CTA button */
.cta {
  background: var(--color-primary);
  color: var(--color-on-primary);
  height: 44px;
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 24px;
  display: flex;
  width: fit-content;
  align-items: center;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.cta:hover { background: var(--color-primary-hover); text-decoration: none; }

/* ============================================================
   VTFC — Matches & calendar
   ============================================================ */
.match-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.match-card {
  background: #0a0a0a;
  border-radius: var(--radius);
  padding: 16px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
  border: 1px solid var(--color-border);
}
.match-card.active { display: flex; }
.match-card:hover  { transform: translateY(-4px); }

.match-header {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.ics-btn {
  margin-top: 24px;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  width: 100%;
  transition: background .2s, border-color .2s;
}
.ics-btn:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tag {
  background: #000;
  color: var(--color-text);
  padding: 3px 10px;
  border-radius: var(--radius);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}
.tag.gold { background: var(--color-primary); color: var(--color-on-primary); }

.match-date     { font-weight: 500; margin-top: 24px; }
.match-location { font-size: 12px; margin-bottom: 6px; }
.match-time     { font-size: 24px; font-weight: 500; margin: 8px 0; }
.match-title    { font-weight: 500; font-size: 16px; }

.sidebar {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  height: fit-content;
  width: 240px;
  flex-shrink: 0;
}

.month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.month-nav h3 {
  flex: 1;
  text-align: center;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.nav-btn {
  background: none;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.calendar-grid {
  display: none;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 4px;
  color: var(--color-text);
}
.calendar-grid div { padding: 10px 0; border-radius: var(--radius); }
.calendar-grid div.has-event {
  position: relative;
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 500;
}
.calendar-grid div.has-event::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
}
.calendar-grid div.has-event:hover { background: rgba(216,185,122,.15); }
.calendar-grid div.active {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 500;
}

/* Custom element needs block display */
calendar { display: block; }

#calendarWrapper .inner { max-width: 1100px; }

.layout {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  flex-direction: column;
}
.layout .sidebar { flex-shrink: 0; min-width: 100%;}
.layout .matches  { flex: 1; min-width: 0; }

/* Visa alla button */
.layout .matches > button {
  display: block;
  margin-top: 24px;
  width: 100%;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  height: 44px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  transition: background .2s, border-color .2s;
}
.layout .matches > button:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Team selector dropdown */
#calendarTeamSelector select {
  background: var(--color-card-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  height: 40px;
  padding: 0 36px 0 12px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23888' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px auto;
  min-width: 140px;
}
#calendarTeamSelector select option {
  background: var(--color-card-bg);
  color: var(--color-text);
}

.dot { display: inline-block; width: 10px; height: 10px; border: 2px solid var(--color-primary); border-radius: 50%; }
.dot.home { background: var(--color-primary); }
.dot.away { background: transparent; }

#clearFilter {
  display: none;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: none;
  padding: 6px 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
}
#clearFilter:hover { background: var(--color-primary-hover); }

/* ============================================================
   VTFC — Sponsors
   ============================================================ */
#sponsors { background: var(--color-alt); }

.sponsors {
  display: flex;
  flex-wrap: wrap;
  opacity: 0.9;
  gap: 24px;
}
.sponsors > div {
  background: #fff;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  border: 1px #ccc solid;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 140px;
  box-sizing: content-box;
  position: relative;
}
.sponsors img {
  width: 70%;
  height: auto;
  display: block !important;
  object-fit: contain;
  max-width: 150px;
  max-height: 32px;
}

.badge {
  font-weight: 700;
  background: #ddd;
  text-transform: uppercase;
  padding: 2px 5px;
  font-size: 10px;
  border-radius: 4px;
}
#sponsors .badge  { color: var(--color-card-bg); position: absolute; top: 6px; right: 4px; display: block; text-align: center; }
#sponsors .Huvud  { background: var(--color-alt);    border: 1px solid var(--color-alt);    color: var(--color-primary); }
#sponsors .Guld   { background: var(--color-gold);   border: 2px solid var(--color-gold);   color: #080808; }
#sponsors .Silver { background: var(--color-silver); border: 1px solid var(--color-silver); color: #080808; }
#sponsors .Brons   { background: var(--color-bronze); border: 1px solid var(--color-bronze); color: #080808; }
#sponsors .Partner { background: #e8e8e8; border: 1px solid #ccc; color: #333; }
#sponsors .Klubben { background: #e8e8e8; border: 1px solid #ccc; color: #333; }

/* ============================================================
   VTFC — Instagram feed
   ============================================================ */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  justify-content: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.ig-item { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 3/4; }
.ig-item img,
.ig-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-item a     { display: block; width: 100%; height: 100%; }

/* ============================================================
   VTFC — Logo slider (section#logos)
   ============================================================ */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  opacity: 0.9;
  filter: invert() grayscale(100%) brightness(1);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: vtfc-scroll 45s linear infinite;
}
.logo-track img {
  max-width: 150px !important;
  max-height: 32px !important;
  width: auto !important;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.9;
  display: inline-block !important;
  flex-shrink: 0;
  border-radius: 0 !important;
}
@keyframes vtfc-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ============================================================
   VTFC — Responsive overrides
   ============================================================ */
@media (max-width: 980px) {
  .inner.section,
  .inner.section.reverse { flex-direction: column; }
  #hero { padding-top: 0; }
}
@media (max-width: 700px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; }
}
@media (max-width: 600px) {
  .ig-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important; }
  .sponsors > div { max-width: 30% !important; }
  .sponsors { gap: 12px; }
}

/* ════════════════════════════════════════════════════════════════
   VTFC — "MATCHDAY PROGRAMME" REDESIGN LAYER  (2025)
   Editorial black & gold. Archivo Expanded display + Space Mono data.
   Loaded last: equal-specificity rules win over the base sheet.
   ════════════════════════════════════════════════════════════════ */

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .005em;
}

/* ── Type system ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-bone);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: .98;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); }
h3 { font-size: 1.05rem; letter-spacing: .01em; }
p  { color: var(--color-text); }
.lead { font-family: var(--font); color: #d9d4c6; font-weight: 400; }

/* ── Kicker / dateline — the signature mono label ───────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { margin: 0; }
.sec-head-center { text-align: center; }
.sec-head-center .kicker::before { display: none; }
.sec-head-row { gap: 1.5rem; flex-wrap: wrap; }

/* ── Layout rhythm ──────────────────────────────────────────── */
.container { max-width: var(--container); }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
:target, [id] { scroll-margin-top: 92px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn, .cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .95rem 1.7rem;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-primary);
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
}
.btn::after, .cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-weight: 400;
  transition: transform .25s ease;
}
.btn:hover, .cta:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn:hover::after, .cta:hover::after { transform: translateX(5px); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: rgba(216,185,122,.08);
  border-color: var(--color-primary);
  color: var(--gold-bright);
  transform: translateY(-2px);
}
.cta { margin-top: 2rem; }

/* ── Header / nav ───────────────────────────────────────────── */
.site-header {
  background: rgba(10,10,11,.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--color-border);
}
.site-nav a {
  position: relative;
  font-family: var(--font);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--color-text);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.site-nav a:hover { color: var(--color-bone); text-decoration: none; }
.site-nav a:hover::after { transform: scaleX(1); }
.burger span { background: var(--color-primary); }

/* ════ HERO — programme cover ════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(90vh, 840px);
  padding: 0;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; border-radius: 0; overflow: hidden; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 0;
  filter: contrast(1.06) saturate(1.04) brightness(.9);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,.1) 30%, rgba(10,10,11,.82) 80%, var(--color-bg) 100%),
    radial-gradient(130% 90% at 12% 95%, rgba(10,10,11,.7), transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(7rem, 20vh, 13rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-inner .kicker { color: var(--gold-bright); margin-bottom: 1.4rem; }
.hero-title {
  margin: 0 0 1.4rem;
  font-size: clamp(2.9rem, 9.5vw, 7.5rem);
  line-height: .88;
  color: var(--color-bone);
  text-shadow: 0 2px 40px rgba(0,0,0,.45);
}
.hero-title em { font-style: normal; color: var(--color-primary); }
.hero .lead {
  max-width: 50ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #e6e1d4;
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.hero-actions { gap: .85rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--color-border);
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .4rem;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: var(--color-bone);
  letter-spacing: 0;
}
.hero-rail {
  position: absolute;
  top: 50%;
  right: 1.4rem;
  z-index: 1;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 1;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--color-primary), transparent);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 12px;
  background: var(--gold-bright);
}

/* ════ TEXT + MEDIA — editorial split with kit-tag frame ═════ */
.tm-wrap { gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tm-media {
  position: relative;
  margin: 0;
  border-radius: 0;
  overflow: visible;
}
.tm-media img {
  border-radius: var(--radius);
  filter: contrast(1.04) saturate(1.02) brightness(.97);
}
/* hairline frame + gold corner bracket = matchday kit tag */
.tm-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  z-index: 2;
  pointer-events: none;
}
.tm-media::after {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  z-index: 3;
}
.photo-tag {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  margin: 0;
  padding: .5rem .8rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-bone);
  background: rgba(10,10,11,.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-radius: 0 var(--radius) 0 var(--radius);
}
.tm-content .kicker { margin-bottom: 1.1rem; }
.tm-content h2 { margin-bottom: 1.1rem; }
.tm-content p { font-size: 1.05rem; max-width: 48ch; }

/* ════ LOGO BAND — partner scarf ════════════════════════════ */
.logo-band { position: relative; }
.logo-band__label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 1.6rem 0 clamp(1.25rem, 4vw, 2rem);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-bg) 55%, transparent);
}

/* ════ CALENDAR / MATCHES ═══════════════════════════════════ */
.match-card { background: var(--color-card-bg); border: 1px solid var(--color-border); }
.match-card:hover { border-color: var(--color-primary); transform: translateY(-4px); }
.match-date {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.match-time { font-family: var(--font-heading); font-weight: 800; color: var(--color-bone); }
.match-title { font-family: var(--font); font-weight: 600; color: var(--color-text); }
.match-location { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.tag { font-family: var(--font-mono); font-weight: 700; letter-spacing: .06em; border-radius: 2px; }
.month-nav h3 { font-family: var(--font-heading); text-transform: uppercase; }
.calendar-grid div.has-event, .calendar-grid div.active { font-family: var(--font-mono); }
#calendarTeamSelector select { font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; font-size: .76rem; }

/* ════ SPONSORS ═════════════════════════════════════════════ */
.sponsors > div {
  background: var(--color-bone);
  border: 1px solid rgba(216,185,122,.25);
  border-radius: var(--radius);
}
#sponsors .badge { font-family: var(--font-mono); letter-spacing: .04em; border-radius: 2px; }

/* ════ INSTAGRAM ════════════════════════════════════════════ */
.ig-item { border-radius: var(--radius); }
.ig-item img, .ig-item video { transition: transform .4s ease; }
.ig-item:hover img, .ig-item:hover video { transform: scale(1.05); }

/* ════ FOOTER ═══════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--color-border); background: #070708; padding-block: clamp(3rem,6vw,4.5rem) 1.5rem; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.25rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-tagline {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--color-bone);
}
.footer-coords {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.footer-heading {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  color: var(--color-primary);
}
.site-footer address, .footer-col p, .footer-col li { font-family: var(--font); }

/* ════ SCROLL REVEAL (JS adds .reveal; reduced-motion opts out) ═ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.tm-content.reveal { transition-delay: .08s; }

/* ════ ENTRANCE ANIMATION — hero (motion-safe) ══════════════ */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: vtfc-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > .kicker      { animation-delay: .05s; }
  .hero-inner > .hero-title  { animation-delay: .14s; }
  .hero-inner > .lead        { animation-delay: .26s; }
  .hero-inner > .hero-actions{ animation-delay: .36s; }
  .hero-inner > .hero-stats  { animation-delay: .46s; }
  .hero-media img { animation: vtfc-kenburns 18s ease-out both; }
  .hero-scroll span { animation: vtfc-scrolldot 1.8s ease-in-out infinite; }
  @keyframes vtfc-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes vtfc-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes vtfc-scrolldot { 0% { transform: translateY(-12px); } 50% { transform: translateY(46px); } 100% { transform: translateY(-12px); } }
}

/* ════ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-rail { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 88vh; align-items: flex-end; }
  .hero-stats { gap: 1.25rem 2rem; }
  .hero-stats > div { flex: 1 1 40%; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  #calendarTeamSelector.marginLeftAuto { margin-left: 0; }
}
@media (max-width: 560px) {
  .hero-scroll { display: none; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .footer-top { flex-direction: column; gap: 1rem; }
}

