/* ===================================================================
   King & Queen of the Courts — global stylesheet
   Palette: cream + deep forest + aged gold
   =================================================================== */

/* --- Reset & base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* --- Design tokens ------------------------------------------------- */
:root {
  --cream: #F5F1E8;
  --cream-soft: #EFE9DB;
  --ink: #1A1A1A;
  --ink-soft: #3A3A38;
  --forest: #1B4332;
  --forest-deep: #0F2A1F;
  --gold: #C9A961;
  --gold-deep: #A88A47;
  --sage: #6B7F6B;
  --line: rgba(26,26,26,0.12);
  --line-soft: rgba(26,26,26,0.06);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Typography ---------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--forest);
  display: inline-block;
}

.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* --- Layout primitives -------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.6rem; }
section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1rem; }

/* --- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary   { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-1px); }
.btn--gold      { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); color: var(--cream); }
.btn--ghost     { background: transparent; color: var(--cream); border-color: rgba(245,241,232,0.4); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(245,241,232,0.08); }
.btn--outline   { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--cream); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Announcement bar --------------------------------------------- */
.announce {
  background: var(--forest-deep);
  color: var(--cream);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.announce .sep { opacity: 0.4; margin: 0 0.8rem; }
.announce .gold { color: var(--gold); }

/* --- Navigation ---------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245,241,232,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav__brand svg { width: 30px; height: 30px; }
.nav__brand span em { font-style: italic; color: var(--forest); }
.nav__links {
  display: flex;
  gap: 2.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__links a { color: var(--ink-soft); transition: color 0.2s; position: relative; padding-bottom: 3px; }
.nav__links a:hover { color: var(--forest); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 0.55rem 1.1rem; font-size: 0.75rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--ink); transition: all 0.3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - 46px);
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero__video, .hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,42,31,0.35) 0%, rgba(15,42,31,0.55) 55%, rgba(15,42,31,0.85) 100%);
  z-index: 1;
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__crown { width: 54px; height: 54px; margin-bottom: 1.8rem; opacity: 0.95; }
.hero__crown path, .hero__crown circle { stroke: var(--gold); }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: var(--cream); margin: 1.2rem 0 1.8rem; font-weight: 400; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: rgba(245,241,232,0.9); margin-bottom: 2.2rem; }
.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__meta {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.7);
}
.hero__meta strong { color: var(--cream); font-weight: 600; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll::after { content: ''; width: 1px; height: 28px; background: rgba(245,241,232,0.5); animation: scroll-pulse 2.4s infinite; }
@keyframes scroll-pulse { 0%,100% { transform: scaleY(1); opacity: 0.6; } 50% { transform: scaleY(1.5); opacity: 1; } }

/* --- The concept -------------------------------------------------- */
.concept { background: var(--cream); }
.concept__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.concept h2 em { color: var(--forest); font-style: italic; }
.concept p + p { margin-top: 1.1rem; }
.concept__quote {
  border-left: 2px solid var(--gold);
  padding: 1.2rem 0 1.2rem 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--forest-deep);
  margin: 2rem 0 0;
}
.concept__stats {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(2rem, 4vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  position: relative;
}
.concept__stats::before {
  content: '';
  position: absolute;
  top: 1rem; right: 1rem; width: 30px; height: 1px; background: var(--gold);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,241,232,0.8); }

/* --- Disciplines --------------------------------------------------- */
.disciplines { background: var(--cream-soft); }
.disciplines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.discipline {
  background: var(--cream);
  padding: 2rem 1.8rem 2.2rem;
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.discipline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--forest);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.discipline:hover::before { transform: translateY(0); }
.discipline:hover { color: var(--cream); border-color: var(--forest); }
.discipline:hover .discipline__num,
.discipline:hover .discipline__meta { color: var(--gold); }
.discipline:hover .discipline__icon { color: var(--gold); }
.discipline > * { position: relative; z-index: 1; }
.discipline__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  transition: color 0.3s;
}
.discipline__icon { width: 46px; height: 46px; margin-bottom: 1.5rem; color: var(--forest); transition: color 0.3s; }
.discipline h3 { margin-bottom: 0.7rem; }
.discipline p { font-size: 0.95rem; line-height: 1.55; }
.discipline__meta {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  transition: color 0.3s;
}

/* --- Format / the week -------------------------------------------- */
.format { background: var(--ink); color: var(--cream); }
.format .eyebrow { color: var(--gold); }
.format .eyebrow::before { background: var(--gold); }
.format h2 { color: var(--cream); }
.format h2 em { color: var(--gold); font-style: italic; }
.format .lede { color: rgba(245,241,232,0.75); }
.format__days {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}
.day {
  padding: 1.8rem 1.1rem 2rem;
  border: 1px solid rgba(245,241,232,0.12);
  position: relative;
  transition: all 0.3s;
}
.day:hover { background: rgba(201,169,97,0.08); border-color: rgba(201,169,97,0.3); }
.day.is-final {
  background: linear-gradient(180deg, rgba(201,169,97,0.18) 0%, rgba(201,169,97,0.04) 100%);
  border-color: var(--gold);
}
.day__label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.6);
  margin-bottom: 0.6rem;
}
.day__sport {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
}
.day.is-final .day__sport { color: var(--gold); }
.day.is-final .day__label { color: var(--gold); }

/* --- Apparel (Herder) --------------------------------------------- */
.apparel {
  background: var(--cream);
  position: relative;
}
.apparel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.apparel__image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--sage) 0%, var(--forest) 100%);
  position: relative;
  overflow: hidden;
  /* Subtle inset ring for a framed-photo feel */
  box-shadow: inset 0 0 0 1px rgba(15,42,31,0.1);
}
.apparel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.apparel__image:hover img { transform: scale(1.03); }
.apparel__badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.apparel h2 em { color: var(--gold-deep); font-style: italic; }
.apparel ul { margin-top: 1.8rem; }
.apparel ul li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.98rem;
}
.apparel ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* --- Brand partners ----------------------------------------------- */
.brands { background: var(--cream-soft); }
.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.brand {
  background: var(--cream);
  padding: 2.4rem 2rem;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s var(--ease);
  position: relative;
}
.brand:hover {
  border-color: var(--forest);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -15px rgba(15,42,31,0.25);
}
/* Logo row — holds the per-brand logo treatment centred at the top of each card */
.brand__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.4rem 0 1.4rem;
  border-bottom: 1px solid var(--line-soft);
  min-height: 90px;
}
.brand__logo { width: 40px; height: auto; display: block; }
.brand__wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--forest);
  line-height: 1;
}

/* Per-brand treatments — each matches the real brand's own site */
.brand--herder .brand__wordmark {
  letter-spacing: 0.24em;
  font-size: 1.4rem;
  color: var(--forest);
  font-weight: 600;
}

.brand--arkflow .brand__wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}
.brand--arkflow .brand__wordmark .ark { color: var(--ink); }
.brand--arkflow .brand__wordmark .flow { color: #00C2A8; }

.brand--dikaflow .brand__wordmark {
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand--dikaflow .brand__wordmark .flow { color: var(--gold); }
/* Visually hidden — the SVG wordmark already displays the brand name.
   We keep the text for screen readers and SEO. */
.brand__name {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand__tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
}
.brand p { font-size: 0.95rem; color: var(--ink-soft); }
.brand__visit {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
  font-weight: 600;
  transition: color 0.2s;
}
.brand:hover .brand__visit { color: var(--forest); }

/* --- Sponsor strip ------------------------------------------------- */
.sponsor-cta {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 1.6rem;
  position: relative;
  overflow: hidden;
}
.sponsor-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201,169,97,0.12) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(201,169,97,0.1) 0, transparent 40%);
}
.sponsor-cta > * { position: relative; }
.sponsor-cta .eyebrow { color: var(--gold); justify-content: center; }
.sponsor-cta .eyebrow::before { background: var(--gold); }
.sponsor-cta h2 { color: var(--cream); margin: 1rem auto 1.5rem; max-width: 20ch; }
.sponsor-cta h2 em { color: var(--gold); font-style: italic; }
.sponsor-cta p { max-width: 58ch; margin: 0 auto 2rem; color: rgba(245,241,232,0.85); font-size: 1.1rem; }
.sponsor-cta__ctas { display: inline-flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }

/* --- Inquiry form ------------------------------------------------- */
.inquire { background: var(--cream); }
.inquire__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.inquire ul.contact-list { margin-top: 2rem; }
.inquire ul.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.inquire ul.contact-list strong { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.3rem; }
.inquire ul.contact-list a { color: var(--forest); font-weight: 500; }
.inquire ul.contact-list a:hover { color: var(--gold-deep); }

.form {
  background: var(--cream-soft);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--line-soft);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.12);
}
.field--check { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 1rem; }
.field--check input { width: auto; margin-top: 0.25rem; accent-color: var(--forest); }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); line-height: 1.5; margin-bottom: 0; }
.field--check a { color: var(--forest); text-decoration: underline; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.8rem; padding: 1.05rem 1.8rem; }
.form__note { font-size: 0.8rem; color: var(--sage); margin-top: 1rem; text-align: center; }

/* --- Footer -------------------------------------------------------- */
.footer {
  background: var(--forest-deep);
  color: rgba(245,241,232,0.75);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,241,232,0.1);
}
.footer__brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--serif); font-size: 1.5rem; color: var(--cream); margin-bottom: 1rem; }
.footer__brand svg { width: 34px; height: 34px; }
.footer__brand em { font-style: italic; color: var(--gold); }
.footer p { max-width: 38ch; }
.footer h5 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.2rem; font-weight: 600; }
.footer ul li { margin-bottom: 0.65rem; }
.footer ul li a { color: rgba(245,241,232,0.7); transition: color 0.2s; }
.footer ul li a:hover { color: var(--gold); }
.footer__bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(245,241,232,0.5);
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--gold); }

/* --- Cookie banner ------------------------------------------------- */
.cookie {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 520px;
  margin-left: auto;
  background: var(--ink);
  color: var(--cream);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(201,169,97,0.3);
  z-index: 100;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
}
.cookie.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie p { font-size: 0.88rem; line-height: 1.55; margin-bottom: 1rem; }
.cookie a { color: var(--gold); text-decoration: underline; }
.cookie__buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie .btn { padding: 0.65rem 1.2rem; font-size: 0.72rem; }

/* --- Policy (legal) pages ----------------------------------------- */
.policy {
  padding: clamp(3rem, 7vw, 6rem) 0;
  min-height: 60vh;
}
.policy__inner { max-width: 760px; margin: 0 auto; }
.policy h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 1rem 0 0.6rem; }
.policy p.updated { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 2.5rem; }
.policy h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 2.2rem 0 0.9rem; }
.policy h3 { font-size: 1.1rem; margin: 1.4rem 0 0.6rem; font-weight: 600; font-family: var(--sans); color: var(--forest); letter-spacing: 0; }
.policy p, .policy ul, .policy ol { margin-bottom: 1rem; color: var(--ink-soft); }
.policy ul, .policy ol { padding-left: 1.3rem; list-style: disc; }
.policy ul li, .policy ol li { margin-bottom: 0.5rem; }
.policy a { color: var(--forest); text-decoration: underline; }
.policy a:hover { color: var(--gold-deep); }
.policy__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.5rem; }
.policy__back:hover { color: var(--forest); }

/* --- 404 ----------------------------------------------------------- */
.not-found {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--cream);
}
.not-found__inner { max-width: 520px; }
.not-found__num {
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  color: var(--forest);
  font-style: italic;
  font-weight: 500;
}
.not-found h1 { margin: 1rem 0 1rem; }
.not-found p { color: var(--ink-soft); margin-bottom: 2rem; }

/* --- Reveal-on-scroll animation ----------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Focus states (a11y) ------------------------------------------ */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;}

/* ===================================================================
   RESPONSIVE — comprehensive mobile pass (4 breakpoints)
   1024px → tablet landscape
    768px → tablet portrait / large phone landscape
    600px → most phones
    400px → small phones (iPhone SE, etc.)
   =================================================================== */

/* --- 1024px and below — tablet landscape ------------------------- */
@media (max-width: 1024px) {
  .container { padding: 0 1.4rem; }
  .nav__links { gap: 1.6rem; }
  .disciplines__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid { grid-template-columns: 1fr; }
  .format__days { grid-template-columns: repeat(4, 1fr); }
  .format__days .day:nth-child(7) { grid-column: 1 / -1; }
}

/* --- 960px and below — primary mobile breakpoint ----------------- */
@media (max-width: 960px) {
  /* Mobile navigation — burger toggles drawer */
  .nav__inner { padding: 0.8rem 1.4rem; }
  .nav__links, .nav__cta {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 1.6rem 1.8rem;
  }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0.4rem;
    padding: 0.85rem 1.4rem;
    font-size: 0.78rem;
  }
  .nav__burger { display: flex; padding: 0.7rem; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

  /* Hero — tighter typography, stacked CTAs, 2x2 meta */
  .hero { padding: 4rem 0 4rem; min-height: calc(100svh - 80px); }
  .hero__crown { width: 44px; height: 44px; margin-bottom: 1.4rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1.05; margin: 1rem 0 1.4rem; }
  .hero__sub { font-size: 1.05rem; margin-bottom: 1.8rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; padding: 1rem 1.6rem; }
  .hero__meta { margin-top: 2.6rem; gap: 1.4rem 1.8rem; font-size: 0.72rem; }
  .hero__meta > div { flex: 1 1 calc(50% - 1rem); min-width: 0; }
  .hero__scroll { display: none; }

  /* Sections — tighter padding */
  section { padding: 4rem 0; }

  /* Concept */
  .concept__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .concept__quote { font-size: 1.2rem; padding: 1rem 0 1rem 1.2rem; }
  .concept__stats { padding: 2rem 1.6rem; gap: 1.6rem 1.2rem; }
  .stat__num { font-size: 2.4rem; }
  .stat__label { font-size: 0.7rem; }

  /* Disciplines */
  .discipline { padding: 1.6rem 1.4rem 1.8rem; }
  .discipline__icon { width: 38px; height: 38px; margin-bottom: 1.1rem; }
  .discipline h3 { font-size: 1.3rem; }

  /* Format days — better mobile grid */
  .format__days { grid-template-columns: repeat(2, 1fr); margin-top: 2.4rem; }
  .day { padding: 1.4rem 0.9rem 1.6rem; }
  .day__sport { font-size: 1.25rem; }
  .day.is-final { grid-column: 1 / -1; }

  /* Apparel */
  .apparel__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .apparel__image { order: -1; max-width: 480px; margin: 0 auto; aspect-ratio: 4/5; }
  .apparel__badge { font-size: 0.66rem; }

  /* Brands — single column on mobile */
  .brand { padding: 1.8rem 1.6rem 2rem; }
  .brand__logo-row { padding: 0.9rem 0 1.1rem; min-height: 70px; }
  .brand__logo { width: 36px; }

  /* Sponsor CTA */
  .sponsor-cta { padding: 4rem 1.4rem; }
  .sponsor-cta p { font-size: 1rem; }
  .sponsor-cta__ctas { flex-direction: column; align-items: stretch; }
  .sponsor-cta__ctas .btn { width: 100%; justify-content: center; padding: 1rem 1.6rem; }

  /* Inquiry / form */
  .inquire__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form { padding: 1.6rem 1.4rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field select, .field textarea { font-size: 16px; }  /* prevents iOS zoom on focus */
  .form .btn { padding: 1rem 1.6rem; }

  /* Footer */
  .footer { padding: 3rem 0 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; padding-bottom: 2.2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.8rem; padding-top: 1.5rem; }

  /* Cookie banner — full-width on mobile */
  .cookie {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    max-width: none;
    margin: 0;
    padding: 1.2rem 1.3rem;
  }
  .cookie__buttons .btn { flex: 1; min-width: 0; padding: 0.75rem 1rem; }

  /* Policy / 404 pages */
  .policy { padding: 3rem 0 4rem; }
  .policy__inner { padding: 0; }
  .policy h1 { font-size: 2rem; }
  .policy h2 { font-size: 1.3rem; }
  .policy h3 { font-size: 1rem; }
}

/* --- 600px and below — most phones ------------------------------- */
@media (max-width: 600px) {
  .container { padding: 0 1.2rem; }
  .announce { font-size: 0.65rem; letter-spacing: 0.08em; padding: 0.6rem 0.7rem; }
  .announce .sep { margin: 0 0.4rem; }

  .nav__brand { font-size: 1.1rem; gap: 0.5rem; }
  .nav__brand svg { width: 26px; height: 26px; }

  .hero { padding: 3rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero__sub { font-size: 1rem; }
  .hero__meta { gap: 1rem 1.3rem; }
  .hero__meta > div { flex: 1 1 calc(50% - 0.8rem); }

  .eyebrow { font-size: 0.65rem; letter-spacing: 0.18em; }
  .eyebrow::before { width: 16px; }

  .concept__stats { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; padding: 1.8rem 1.4rem; }
  .stat__num { font-size: 2.2rem; }

  .disciplines__grid { grid-template-columns: 1fr; }
  .discipline { padding: 1.5rem 1.3rem 1.7rem; }

  .format__days { grid-template-columns: 1fr; gap: 0.4rem; }
  .day { padding: 1.2rem 1rem 1.3rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .day__label { margin-bottom: 0; }
  .day.is-final { padding: 1.4rem 1rem; flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  .brand { padding: 1.6rem 1.4rem 1.8rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer p { max-width: none; }

  .form .btn { padding: 1.05rem 1.4rem; font-size: 0.78rem; }
}

/* --- 400px and below — small phones (iPhone SE) ------------------ */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hero__sub { font-size: 0.95rem; }
  .concept__stats { grid-template-columns: 1fr; gap: 1.2rem; }
  .nav__inner { padding: 0.7rem 1.1rem; }
  .nav__brand { font-size: 1rem; }
}

/* --- Touch-target safety ----------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover-driven transforms on touch devices to prevent stuck states */
  .discipline:hover { transform: none; }
  .brand:hover { transform: none; }
  .btn:hover { transform: none; }
  .nav__links a::after { display: none; }
  /* Ensure all tappable elements are at least 44x44 */
  .nav__links a, .nav__cta, .footer ul li a, .footer__legal a {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
}

/* --- Utility ----------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 200;
  text-decoration: none;
  font-size: 0.85rem;
}
.skip-link:focus { top: 1rem; }
