/* The Den Sports Centre | Brand Bible #2, Court Green palette */
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --yellow: #FFD21F;   /* Court Yellow */
  --green: #1FA34A;    /* Court Green */
  --night: #0C0C0C;    /* Night Court */
  --home: #F2F0E8;     /* Home White */
  --white: #FFFFFF;
  --grey: #5E6266;
  --line: #E2DFD5;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", Arial, Helvetica, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--night); background: var(--home); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--yellow); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 700; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
h1.display { font-size: clamp(56px, 8.6vw, 116px); color: var(--white); }
.h2 { font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 22px; }
.y { color: var(--yellow); }
.g { color: var(--green); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow-light { color: var(--white); opacity: .9; }
.eyebrow-yellow { color: var(--yellow); }
.intro { font-size: 19px; color: var(--grey); max-width: 620px; margin-bottom: 36px; }
.intro-light { color: #CFCFCF; }
.lead { font-size: clamp(19px, 2vw, 23px); color: var(--white); max-width: 560px; margin: 26px 0 34px; font-weight: 500; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-yellow { background: var(--yellow); color: var(--night); }
.btn-night { background: var(--night); color: var(--yellow); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: var(--white); color: var(--night); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid #1d1d1d; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--yellow); }
.nav .btn { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 2px; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -8px; } .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green); padding: 96px 0 104px; }
.hero-d { position: absolute; right: -7vw; top: 50%; transform: translateY(-50%); width: min(50vw, 740px); height: auto; max-width: none; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.opening { margin: 34px 0 0; color: var(--white); font-size: 16px; display: inline-flex; align-items: center; gap: 10px; background: rgba(12,12,12,.88); padding: 10px 18px; border-radius: 999px; }
.opening .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,31,.25); }

/* ---------- band ---------- */
.band { background: var(--night); color: var(--white); padding: 26px 0; }
.band-inner { display: flex; align-items: center; gap: 26px; }
.band p { margin: 0; font-size: 17px; color: #D6D6D6; }
.band strong { color: var(--white); }
.bars-graphic { display: grid; gap: 6px; flex: 0 0 auto; }
.bars-graphic span { display: block; height: 6px; border-radius: 1px; }
.bars-graphic span:nth-child(1) { width: 64px; background: var(--yellow); }
.bars-graphic span:nth-child(2) { width: 44px; background: var(--green); }
.bars-graphic span:nth-child(3) { width: 74px; background: var(--white); }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.light { background: var(--home); }
.dark { background: var(--night); color: var(--white); }
.dark .h2 { color: var(--white); }
.green { background: var(--green); color: var(--white); }

.grid { display: grid; gap: 22px; }
.sports { grid-template-columns: repeat(4, 1fr); }
.who { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; }
.card p { color: var(--grey); margin: 0; font-size: 16px; }
.icon { width: 60px; height: 60px; border-radius: 16px; background: var(--night); display: grid; place-items: center; margin-bottom: 22px; }
.icon svg { width: 30px; height: 30px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sport { border-top: 6px solid var(--green); transition: transform .2s ease; }
.sport:hover { transform: translateY(-4px); }

.top-bar { border-top: 8px solid var(--green); border-radius: 6px var(--radius) var(--radius) var(--radius); }
.top-bar.yellow { border-top-color: var(--yellow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.stack { display: grid; gap: 18px; }
.dark-card { background: #171717; border: 1px solid #262626; display: flex; gap: 22px; align-items: flex-start; }
.dark-card h3 { color: var(--white); }
.dark-card p { color: #BDBDBD; }
.icon-yellow { background: var(--yellow); flex: 0 0 auto; margin: 0; }
.icon-yellow svg { stroke: var(--night); }

/* steps */
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--night); border-radius: var(--radius); padding: 32px; }
.steps .num { display: block; font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--yellow); margin-bottom: 18px; }
.steps h3 { color: var(--white); }
.steps p { color: #C9C9C9; margin: 0; font-size: 16px; }

/* form */
.form-split { align-items: stretch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.form { padding: 36px; border-top: 8px solid var(--yellow); border-radius: 6px var(--radius) var(--radius) var(--radius); box-shadow: 0 20px 60px rgba(12,12,12,.08); }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--night); background: var(--home); border: 2px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; background: var(--white); }
textarea { resize: vertical; }
.invalid { border-color: #C62828 !important; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 16px 0 0; font-weight: 600; min-height: 1em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #C62828; }

/* visit */
.facts { margin: 0 0 30px; display: grid; gap: 18px; }
.facts div { border-left: 4px solid var(--green); padding-left: 18px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.facts dd { margin: 2px 0 0; color: #E4E4E4; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--white); border: 2px solid #3a3a3a; border-radius: 999px; padding: 9px 18px; }
.socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: #1a1a1a; border: 1px solid #262626; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* footer */
.site-footer { background: var(--night); color: #9A9A9A; padding: 46px 0; border-top: 6px solid var(--yellow); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.site-footer img { height: 38px; width: auto; }
.descriptor { margin: 10px 0 0; color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; }
.legal { margin: 0; font-size: 14px; text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .sports { grid-template-columns: repeat(2, 1fr); }
  .who { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 1180px) {
  .hero-d { width: 38vw; right: -8vw; }
}
@media (max-width: 820px) {
  /* keep the D clear of the headline: tuck it into the top right corner */
  .hero-d { width: 260px; top: -50px; right: -95px; transform: none; }
  .hero { padding-top: 120px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; border-bottom: 4px solid var(--yellow); }
  .nav ul.open { display: flex; }
  .nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid #222; font-size: 17px; }
  .nav-cta { margin-top: 16px; }
  .nav-cta .btn { width: 100%; padding: 15px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 68px; }
  .brand img { height: 36px; }
  .nav ul { top: 68px; }
  .section { padding: 76px 0; }
  .hero { padding: 120px 0 72px; }
  .hero-d { width: 200px; top: -40px; right: -70px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sports, .who { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px; }
  .band-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .opening { font-size: 14px; }
  .dark-card { flex-direction: column; }
  .legal { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sport { transition: none; }
}
.hours-line { margin: 14px 0 0; color: var(--white); font-size: 15px; font-weight: 600; }
.map-link { display: inline-block; margin-top: 6px; color: var(--yellow); font-weight: 600; font-size: 15px; }
