:root {
  --ink: #091713;
  --navy: #12352b;
  --navy-2: #245541;
  --orange: #d18a4a;
  --orange-2: #e5b57d;
  --green: #3a7755;
  --paper: #f3f1eb;
  --card: #ffffff;
  --text: #f4f5f0;
  --muted: #b8c5bd;
  --ink-text: #17241e;
  --ink-muted: #66736b;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(4, 10, 22, 0.28);
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.55;
}
p { line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 4vw;
  background: rgba(9, 23, 19, 0.97);
  border-bottom: 1px solid rgba(209, 138, 74, 0.35);
  backdrop-filter: blur(10px);
}
.brand {
  display: grid;
  place-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f8f6f0;
}
.brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
.nav-links a:hover { color: var(--orange-2); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
.btn-orange {
  background: var(--orange);
  color: #171d17;
  box-shadow: 0 8px 22px rgba(14, 24, 19, 0.22);
}
.btn-orange:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { border-color: #fff; }
.menu-btn {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  color: #fff;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 20, 16, 0.94) 0%, rgba(7, 20, 16, 0.76) 44%, rgba(7, 20, 16, 0.42) 100%),
    url("../images/court-construction-hero.jpeg") center 48% / cover no-repeat;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  padding: 8vh 6vw 11vh;
  max-width: 920px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-2);
}
.kicker i {
  width: 36px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.8rem, 7.4vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-lead {
  max-width: 560px;
  font-size: 1.15rem;
  color: #d5deea;
  margin: 18px 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sport-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.sport-row span {
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 245, 240, 0.82);
}
.sport-row { gap: 8px 12px; }
.sport-row span + span::before {
  content: "/";
  color: var(--orange-2);
  margin-right: 12px;
}

.ticker {
  background: var(--navy);
  color: #e6e8df;
  overflow: hidden;
  font-family: var(--display);
  letter-spacing: 0.1em;
  font-size: 1.08rem;
}
.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: tick 28s linear infinite;
  padding: 6px 0;
}
.ticker span::before { content: "·"; margin-right: 24px; color: var(--orange-2); }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 84px 6vw; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2, .score h2, .enquiry-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.92;
  margin: 8px 0 12px;
  letter-spacing: 0.02em;
}
.eyebrow {
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.lede { margin: 0; color: var(--ink-muted); font-size: 1.05rem; }

.score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: #fff;
}
.score article {
  padding: 42px 6vw;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(185, 221, 67, 0.14), transparent 42%),
    var(--navy);
}
.score article:last-child { border-right: 0; }
.score .num {
  font-family: var(--display);
  font-size: 4rem;
  color: var(--orange);
  line-height: 1;
}
.score h2 { font-size: 2.6rem; margin: 4px 0 8px; }
.score p { margin: 0; color: var(--muted); }

.sports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sport-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.sport-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sport-card:hover img { transform: scale(1.06); }
.sport-card div {
  position: relative;
  width: 100%;
  padding: 18px;
  background: linear-gradient(transparent, rgba(5, 10, 20, 0.88));
}
.sport-card strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.sport-card span { color: #d5deea; font-size: 0.92rem; }

.services { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.service-list { display: grid; gap: 12px; }
.service-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid #e4e9f0;
}
.service-list h3 { margin: 0 0 4px; font-size: 1.15rem; }
.service-list p { margin: 0; color: var(--ink-muted); }
.mark {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.8rem;
}
.side-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow);
}
.side-photo img { width: 100%; height: 520px; object-fit: cover; }
.side-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
  background: rgba(7, 13, 24, 0.72);
  border-radius: 12px;
  padding: 12px 14px;
}
@media (min-width: 981px) {
  .side-photo { position: sticky; top: 96px; }
}
.side-photo figcaption strong { display: block; font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.04em; font-weight: 400; }

.steps {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 106, 0, 0.18), transparent 28%),
    var(--ink);
  color: #fff;
}
.steps .lede { color: var(--muted); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step-grid article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px 20px;
  min-height: 210px;
}
.step-grid .num {
  font-family: var(--display);
  color: var(--orange);
  font-size: 2.4rem;
}
.step-grid h3 { margin: 6px 0; font-size: 1.05rem; }
.step-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button {
  border: 1px solid #d5dde8;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-text);
}
.filters button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.shot {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
  min-height: 210px;
}
.shot img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.4s ease; }
.shot:hover img { transform: scale(1.05); }
.shot.wide { grid-column: span 2; }
.shot.wide img { height: 230px; }
.shot figcaption, .shot span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.shot[hidden] { display: none; }

.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.clients article {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  border-top: 4px solid var(--orange);
  box-shadow: 0 10px 30px rgba(12, 27, 52, 0.06);
}
.clients h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.03em; font-weight: 400; }
.clients p { margin: 0; color: var(--ink-muted); }

.enquiry {
  background:
    linear-gradient(100deg, rgba(7, 23, 20, 0.94), rgba(7, 23, 20, 0.72)),
    url("../images/court-construction-green.jpeg") center / cover no-repeat;
  color: #fff;
}
.enquiry-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.enquiry .lede { color: #d5deea; }
.promise { margin: 22px 0 0; padding: 0; list-style: none; }
.promise li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.promise li::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 14px;
}
.form-card {
  background: #fff;
  color: var(--ink-text);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.form-card h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  font-weight: 400;
}
.form-card .hint { margin: 0 0 16px; color: var(--ink-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 700; margin-bottom: 12px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5dde8;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 1rem;
  color: var(--ink-text);
  background: #f8fafc;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(255, 106, 0, 0.45);
  border-color: var(--orange);
  background: #fff;
}
.form-card .btn { width: 100%; }
.error { color: #b42318; font-weight: 600; min-height: 1.2em; margin: 0 0 8px; }
.success {
  background: #f3fbf6;
  border: 1px solid #b7ebc9;
  border-radius: 16px;
  padding: 18px;
}
.success h3 { color: #0f7a3a; margin-top: 0; }
.success pre {
  white-space: pre-wrap;
  font-family: var(--body);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.92rem;
}

.footer {
  background: #071714;
  color: #bfd0c8;
  padding: 36px 6vw 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.footer img {
  height: 66px;
  width: auto;
  object-fit: contain;
}
.footer > .footer-top > img {
  padding: 5px 10px;
  border-radius: 6px;
  background: #f8f6f0;
}
.footer p { margin: 6px 0; }
.footer a { color: var(--orange-2); }
.footer #footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 1rem;
  line-height: 1.6;
}
.fine { font-size: 0.85rem; color: #8ea0b5; margin-top: 16px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.92);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 78vh; max-width: min(1100px, 92vw); border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; font-weight: 700; }
.lightbox .close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
}
.mobile-bar .btn { width: 100%; box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .section { padding-block: 72px; }
  .section-head h2, .enquiry-copy h2 {
    font-size: clamp(2.5rem, 8vw, 3.6rem);
  }
  .hero-inner { padding-bottom: 130px; }
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6vw 22px;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .score, .sports, .service-grid, .step-grid, .gallery, .clients, .enquiry-wrap, .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .score article { border-right: 0; border-bottom: 1px solid var(--line); }
  .shot.wide { grid-column: span 1; }
  .mobile-bar { display: block; }
  body { padding-bottom: 76px; }
}
@media (max-width: 680px) {
  .brand img { height: 44px; }
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 4.4rem); }
  .hero-lead, .lede { font-size: 1rem; }
  .section-head h2, .enquiry-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }
  .sport-card strong { font-size: 1.8rem; }
  .service-list h3, .step-grid h3 { font-size: 1.05rem; }
  .sport-card span, .score p, .service-list p, .step-grid p,
  .clients p, .side-photo figcaption, .fine {
    font-size: 0.95rem;
  }
  .score, .sports, .service-grid, .gallery, .clients, .enquiry-wrap, .grid-2, .step-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 88vh; background-position: center; }
  .hero-inner { padding-top: 7vh; padding-bottom: 110px; }
  .section { padding: 64px 5vw; }
  .shot img, .shot.wide img { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
