/* ==========================================================================
   ABUNDUNTIA — SHARED STYLESHEET
   Visual system: Neon Tri on Ink Black (abunduntia-branding skill)
   ========================================================================== */

@font-face {
  font-family: 'Prata';
  src: url('/fonts/Prata-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Base */
  --ink-black: #0E0F13;
  --raised-panel: #161821;
  --hairline: #242734;

  /* Cyan — working accent */
  --cyan: #00F0FF;
  --cyan-glow: #66F7FF;

  /* Yellow — energy accent */
  --yellow: #F0FF00;
  --yellow-glow: #F7FF66;

  /* Hot pink — thread */
  --pink: #FF2E93;
  --pink-glow: #FF6FB6;

  /* Brass gold — anchor */
  --gold: #C6A24C;

  /* Text */
  --text-primary: #EAECF2;
  --text-white: #FFFFFF;
  --text-secondary: #AEB3C0;
  --text-dark: #0E0F13;

  /* Type scale */
  --font-display: 'Prata', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;

  --radius-card: 14px;
  --radius-pill: 999px;

  --max-width: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-white);
  margin: 0 0 0.5em 0;
  line-height: 1.15;
}

h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: clamp(24px, 3vw, 28px); }

p { margin: 0 0 1em 0; }
p.lead { font-size: clamp(19px, 2.4vw, 21px); line-height: 1.5; color: var(--text-primary); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 40px 0; }
@media (max-width: 640px) { section { padding: 32px 0; } }

/* -------------------- Eyebrow -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--cyan);
  color: var(--text-dark);
  box-shadow: 0 0 0 rgba(0,240,255,0);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(0,240,255,0.28); }

.btn-accent {
  background: var(--yellow);
  color: var(--text-dark);
}
.btn-accent:hover { box-shadow: 0 6px 24px rgba(240,255,0,0.24); }

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover {
  background: rgba(198,162,76,0.08);
  box-shadow: 0 6px 20px -4px rgba(198,162,76,0.3);
}

.text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  font-weight: 500;
}
.text-link:hover { color: var(--cyan-glow); }

/* -------------------- Accent text (subtle emphasis) -------------------- */
.accent-cyan { color: var(--cyan); }
.accent-yellow { color: var(--yellow-glow); }
.accent-pink { color: var(--pink-glow); }
.accent-gold { color: var(--gold); }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 128px;
}
.site-logo img { height: 118px; width: auto; }
.site-logo { display: flex; align-items: center; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--cyan); }
.site-nav a.active { color: var(--cyan); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--cyan);
}

/* -------------------- Nav dropdown (Work: Ongoing / Past Events) -------------------- */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > .nav-parent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}
.nav-item-dropdown .caret {
  width: 8px;
  height: 8px;
  flex: none;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -2px;
}
.nav-item-dropdown.is-open .caret,
.nav-item-dropdown:hover .caret {
  transform: rotate(225deg);
  margin-top: 2px;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: var(--raised-panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 50;
}
/* small gap between the link and the menu that stays hoverable */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-menu li + li { margin-top: 2px; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible { background: var(--ink-black); color: var(--cyan); }

@media (max-width: 900px) {
  .nav-item-dropdown {
    width: 100%;
  }
  .nav-item-dropdown > .nav-parent-link {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 4px 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-item-dropdown.is-open .nav-dropdown-menu {
    max-height: 240px;
  }
  .nav-dropdown-menu a {
    font-size: 16px;
    padding: 10px 0 10px 16px;
  }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible { background: none; }
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 22px; font-size: 14px; }
.header-cta .btn-ghost {
  border-color: var(--gold);
  color: var(--gold);
}
.header-cta .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 6px 20px -4px rgba(198,162,76,0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .site-header .container { height: 88px; }
  .site-logo img { height: 76px; }

  .site-nav {
    position: fixed;
    top: 88px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 88px);
    height: calc(100dvh - 88px);
    background: var(--ink-black);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px var(--gutter) 100px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a {
    font-size: 19px;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .site-nav a.active::after { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
}

/* -------------------- Hero -------------------- */
.hero {
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 760px; }
.hero .accent-word { color: var(--yellow); }

/* Two-column hero variant */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
}
.hero-split .hero-content { max-width: none; }
.hero-split .hero-visual {
  margin-top: 8px;
}
.hero-split .hero-visual .img-placeholder {
  min-height: 460px;
  height: 100%;
}
@media (max-width: 900px) {
  .hero-split .hero-visual { margin-top: 0; }
  .hero-split .hero-visual .img-placeholder { min-height: 280px; }
}

/* -------------------- Cards -------------------- */
.card {
  background: var(--raised-panel);
  border-radius: var(--radius-card);
  border-left: 3px solid var(--pink);
  box-shadow: -4px 0 20px -8px rgba(255, 46, 147, 0.25);
  padding: 34px 30px;
  height: 100%;
}
.card .index {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); margin-bottom: 20px; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* -------------------- Stat blocks -------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, 1.8vw, 16px);
}
.stat-block {
  text-align: center;
  min-width: 0;
}
.stat-label {
  font-size: clamp(9px, 1.1vw, 14px);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: clamp(4px, 0.8vw, 8px);
  line-height: 1.25;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(11px, 3vw, 38px);
  line-height: 1.1;
  white-space: nowrap;
}

/* -------------------- Placeholder image blocks -------------------- */
.img-placeholder {
  background: var(--raised-panel);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  min-height: 260px;
}
.img-placeholder .ph-label {
  color: var(--pink);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

/* Compact placeholder variant for smaller slots (card tops, thumbnails) */
.img-placeholder.compact {
  min-height: 180px;
  padding: 24px 18px;
  font-size: 13px;
}

/* Wide, short placeholder for hero-strip and band photography */
.img-placeholder.wide {
  min-height: 320px;
}
@media (max-width: 640px) {
  .img-placeholder.wide { min-height: 220px; }
}

/* Card with an image on top instead of a left rail */
.card-media {
  background: var(--raised-panel);
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
}
.card-media .img-placeholder {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--hairline);
  min-height: 180px;
}
.card-media .card-media-body {
  padding: 26px 26px 30px;
  border-left: 3px solid var(--pink);
}
.card-media .card-media-body.rail-cyan { border-left-color: var(--cyan); }
.card-media .card-media-body.rail-yellow { border-left-color: var(--yellow); }
.card-media .card-media-body.rail-pink { border-left-color: var(--pink); }
.card-media .card-media-body.rail-gold { border-left-color: var(--gold); }
.card-media .card-media-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-media .card-media-body p { color: var(--text-secondary); font-size: 15px; margin-bottom: 14px; }

/* -------------------- Divider -------------------- */
.hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* -------------------- Section band (Sports & Race spotlight etc) -------------------- */
.band {
  background: var(--raised-panel);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.band-yellow-rail { border-left: 4px solid var(--yellow); }

/* -------------------- Process steps -------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 760px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { padding: 4px 0; }
.process-step .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--cyan);
  display: block;
  margin-bottom: 10px;
}
.process-step h3 { font-size: 20px; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 15px; margin: 0; }

/* -------------------- Footer -------------------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 15px; }
.footer-col a:hover { color: var(--cyan); }
.footer-logo img { height: 36px; margin-bottom: 16px; }
.footer-tagline { color: var(--text-secondary); font-size: 15px; max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-secondary);
}

/* -------------------- Forms -------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--raised-panel);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-secondary); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }

/* -------------------- Contact details -------------------- */
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-detail .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 4px;
}
.contact-detail .value { color: var(--text-primary); font-size: 17px; }
.contact-detail .value a { color: var(--text-primary); }
.contact-detail .value a:hover { color: var(--cyan); }

/* -------------------- Belief list -------------------- */
.belief-list { list-style: none; padding: 0; margin: 0; }
.belief-list li {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--text-white);
  line-height: 1.4;
}
.belief-list li:last-child { border-bottom: 1px solid var(--hairline); }

/* -------------------- Coming soon -------------------- */
.coming-soon-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.coming-soon-wrap .container { max-width: 640px; }

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.color-secondary { color: var(--text-secondary); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* -------------------- Service categories -------------------- */
.service-category {
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 110px;
}
.service-category:first-of-type { border-top: none; }
.service-category-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.service-category-num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.service-category h2 { margin-bottom: 0; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-tag {
  display: inline-block;
  background: var(--raised-panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text-primary);
}
