/* ---------------------------------------------------------
   Doonhamer Open — design tokens
   Matches the existing event brand: navy/ice-blue, gold trim,
   grunge poster texture, bold condensed headline type.
--------------------------------------------------------- */
:root {
  --navy-deep: #081120;
  --navy: #0d2038;
  --navy-mid: #163f63;
  --ice-blue: #6cc6e8;
  --ice-blue-bright: #9adcf2;
  --gold: #cda43c;
  --gold-bright: #e8c765;
  --paper: #f3f0e4;
  --ink: #0a0e14;
  --stone: #a9bccb;

  --font-display: "veneer-three", "Anton", Impact, sans-serif;
  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", -apple-system, sans-serif;

  --fs-2xs: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.75rem;

  --max-width: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-xs);
}
.skip-link:focus { top: 1rem; }

.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 32, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--gold);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wordmark-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-2xs);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.wordmark-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  display: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
}

.header-cta:hover { background: var(--gold-bright); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.primary-nav a {
  color: var(--stone);
  transition: color 0.15s ease;
}

.primary-nav a:hover { color: var(--ice-blue-bright); }

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.55rem 1.1rem;
}

.nav-cta:hover { background: var(--gold-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 1px solid var(--navy-mid);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  margin-inline: auto;
  width: 1.1rem;
}

/* ---------------------------------------------------------
   Hero — deep navy, diagonal ice-blue sweep, grunge texture
--------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(120% 90% at 78% 0%, rgba(108, 198, 232, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-deep) 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.hero-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg,
      transparent 0 40px,
      rgba(243, 240, 228, 0.035) 40px 41px,
      transparent 41px 96px),
    repeating-linear-gradient(70deg,
      transparent 0 70px,
      rgba(8, 17, 32, 0.25) 70px 72px,
      transparent 72px 140px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero-title-accent {
  color: var(--gold-bright);
}

.hero-media {
  position: relative;
  width: min(90vw, 640px);
  margin-inline: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero-crest {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-video.is-visible {
  opacity: 1;
}

.hero-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(243, 240, 228, 0.15);
  z-index: 2;
  overflow: hidden;
}

.hero-loader-fill {
  height: 100%;
  width: 0%;
  background: var(--ice-blue-bright);
  transition: width 3.5s linear;
}

.hero-loader.is-done {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-video-unmute {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-2xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(8, 17, 32, 0.7);
  border: 1px solid var(--ice-blue);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.15s ease, border-color 0.15s ease;
}

.hero-video.is-visible ~ .hero-video-unmute {
  opacity: 1;
  pointer-events: auto;
}

.hero-video-unmute:hover {
  background: rgba(8, 17, 32, 0.9);
  border-color: var(--ice-blue-bright);
  color: var(--ice-blue-bright);
}

.hero-title {
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.95;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0,0,0,0.35);
}

.accent-gold {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-bright);
}


.hero-sub {
  max-width: 38rem;
  font-size: var(--fs-md);
  color: var(--stone);
}

.readout {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(169, 188, 203, 0.25);
}

.readout-item dt {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.readout-item dd {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-md);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--ice-blue);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--ice-blue-bright);
  color: var(--ice-blue-bright);
}

/* ---------------------------------------------------------
   Gallery
--------------------------------------------------------- */
.gallery-section {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--navy-deep);
}

.gallery {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  height: clamp(560px, 62vw, 820px);
}

.gallery-photo {
  position: absolute;
  border: 6px solid var(--paper);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  object-fit: cover;
  cursor: default;
  transition: transform 0.2s ease;
}

.gallery-photo:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 10;
}

.gallery-photo-1 { width: 32%; aspect-ratio: 3 / 2; left: 1%;  top: 2%;  transform: rotate(-8deg); z-index: 1; }
.gallery-photo-2 { width: 23%; aspect-ratio: 4 / 5; left: 37%; top: 0%;  transform: rotate(6deg);  z-index: 2; }
.gallery-photo-3 { width: 34%; aspect-ratio: 3 / 2; left: 62%; top: 4%;  transform: rotate(-5deg); z-index: 1; }
.gallery-photo-4 { width: 30%; aspect-ratio: 3 / 2; left: 5%;  top: 48%; transform: rotate(8deg);  z-index: 2; }
.gallery-photo-5 { width: 30%; aspect-ratio: 3 / 2; left: 36%; top: 50%; transform: rotate(-6deg); z-index: 1; }
.gallery-photo-6 { width: 32%; aspect-ratio: 3 / 2; left: 64%; top: 46%; transform: rotate(7deg);  z-index: 2; }

@media (max-width: 700px) {
  .gallery {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 0.75rem;
  }

  .gallery-photo {
    position: static;
    width: 46%;
    aspect-ratio: 3 / 2;
  }

  .gallery-photo:nth-child(odd) { transform: rotate(-4deg); }
  .gallery-photo:nth-child(even) { transform: rotate(4deg); }
}

/* ---------------------------------------------------------
   Sections
--------------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section-alt {
  background: var(--navy);
  border-block: 1px solid var(--navy-mid);
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--paper);
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.9rem;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 4px;
  background: var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 46rem;
  color: var(--stone);
  font-size: var(--fs-md);
}

/* Detail grid — Dates/Price/Events stacked in column 1,
   Venue+Map spans all 3 rows in column 2 */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "dates  venue"
    "events venue"
    "events venue";
  gap: 1px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-mid);
}

.detail-card {
  background: var(--navy-deep);
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--ice-blue);
}

.detail-card-dates { grid-area: dates; }
.detail-card-events { grid-area: events; }

.detail-card-venue {
  grid-area: venue;
  display: flex;
  flex-direction: column;
}

@media (max-width: 560px) {
  .detail-grid { grid-template-columns: 1fr; grid-template-areas: "dates" "venue" "events"; }
}

.detail-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.detail-value {
  font-size: var(--fs-md);
  color: var(--paper);
  line-height: 1.35;
}

.detail-note {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--stone);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.map-embed-inline {
  aspect-ratio: auto;
  flex: 1;
  min-height: 200px;
  margin-top: 1.1rem;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--navy);
  border: 1px solid var(--navy-mid);
}

.event-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--paper);
  flex: 1;
}

.ticket-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.event-tag-gt {
  color: var(--gold-bright);
}

.detail-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ice-blue-bright);
  border-bottom: 1px solid transparent;
}

.detail-link:hover { border-bottom-color: var(--ice-blue-bright); }

/* Tickets */
.tickets { text-align: center; }

.tickets-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.stamp {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-bright);
  padding: 0.4rem 1rem;
}

.tickets-copy {
  max-width: 34rem;
  color: var(--stone);
  font-size: var(--fs-md);
}

.tickets .hero-actions { justify-content: center; }

/* Venue */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
  align-items: start;
}

.venue-copy {
  max-width: 40rem;
  color: var(--stone);
  font-size: var(--fs-md);
  margin-bottom: 1.5rem;
}

.venue-address {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--paper);
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

/* Policy */
.policy-list {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  max-width: 46rem;
}

.policy-item {
  border-top: 1px solid var(--navy-mid);
  padding-top: 1.1rem;
}

.policy-item dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ice-blue-bright);
  margin-bottom: 0.4rem;
}

.policy-item dd {
  margin: 0;
  color: var(--stone);
  font-size: var(--fs-base);
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer {
  border-top: 2px solid var(--gold);
  padding-block: 2.5rem 1.5rem;
  background: var(--navy);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--stone);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links a { color: var(--stone); }
.footer-links a:hover { color: var(--gold-bright); }

.footer-fine {
  font-family: var(--font-body);
  font-size: var(--fs-2xs);
  color: var(--navy-mid);
  border-top: 1px solid var(--navy-mid);
  padding-top: 1.25rem;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .header-cta { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
  }

  .primary-nav.is-open { display: flex; }

  .primary-nav a {
    width: 100%;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--navy-mid);
  }

  .nav-cta { padding: 1rem 1.5rem; }
}
