:root {
  --ink: #121415;
  --gray: #535954;
  --line: #dedfd9;
  --accent: #d9fa52;
  --paper: #f4f5ef;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { display: block; width: 100%; }
figure, p, h1, h2 { margin: 0; }
p { line-height: 1.6; }
h1, h2 { letter-spacing: -.075em; line-height: .98; }
h2 { font-size: clamp(2.75rem, 6vw, 5.5rem); }
:focus-visible { outline: 3px solid #527300; outline-offset: 4px; }
.hero :focus-visible { outline-color: white; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1440px, calc(100% - clamp(32px, 7.5vw, 112px))); margin-inline: auto; }
.header, .footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-weight: 900; font-size: 1.1rem; letter-spacing: -.045em; line-height: .95; }
nav, .footer > div, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px, 3vw, 38px); }
nav a, .footer a { font-weight: 700; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: #363b35; }
.button.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button.accent:hover { background: #ecff9a; }
.button.light { background: #10121085; border-color: #ffffffa0; }
.button.light:hover { background: #101210; }
.hero { min-height: clamp(530px, 54vw, 720px); display: flex; align-items: end; position: relative; isolation: isolate; overflow: hidden; background: #232624; color: white; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 42%; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg,#0b0c0bd9 0%,#0b0c0b59 52%,transparent 86%), linear-gradient(0deg,#0b0c0bc9,transparent 62%); }
.hero-copy { padding: clamp(26px, 5.1vw, 82px); padding-bottom: clamp(64px, 6vw, 92px); }
.hero h1 { font-size: clamp(4.1rem, 9vw, 9rem); margin-block: 18px 20px; }
.hero-description { max-width: 31ch; font-size: 1.125rem; }
.actions { gap: 12px; margin-top: 23px; }
.image-label { position: absolute; right: 12px; bottom: 12px; padding: 5px 8px; background: #101210; color: white; font-size: .75rem; }
.photo { position: relative; background: #272d29; }
.photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.about, .booking { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); }
.about { border-top: 1px solid var(--line); padding-block: clamp(45px, 7vw, 95px); align-items: center; }
.about h2, .booking h2 { margin-top: 12px; }
.about p:not(.eyebrow), .booking p:not(.eyebrow) { color: var(--gray); max-width: 47ch; }
.about .text-link, .booking > div .text-link { display: inline-block; margin-top: 16px; }
.text-link { font-weight: 700; text-underline-offset: 4px; }
.booking { background: var(--paper); padding: clamp(24px, 5vw, 72px); }
.booking h2 + p { margin-top: 20px; }
.form-intro { margin-bottom: 15px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
label { display: block; font-weight: 700; margin-bottom: 14px; font-size: .9rem; }
label span { color: var(--gray); font-weight: 400; }
input, textarea { display: block; width: 100%; min-width: 0; border: 1px solid #a9aca2; border-radius: 0; min-height: 45px; background: white; color: var(--ink); font: 1rem Arial, sans-serif; padding: 10px; margin-top: 6px; }
textarea { resize: vertical; }
#draft { margin-top: 23px; }
#status { margin-top: 8px; }
.clients { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 40px; border-bottom: 1px solid var(--line); }
.clients h2 { font-size: clamp(1.55rem, 3vw, 2.75rem); letter-spacing: -.06em; margin-bottom: 6px; }
.clients p { color: var(--gray); }
@media (max-width: 720px) {
  .header { align-items: start; flex-direction: column; padding-block: 16px; gap: 12px; }
  nav { width: 100%; gap: 8px 14px; font-size: .875rem; }
  nav a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-button { padding-inline: 10px; min-height: 40px; }
  .hero { min-height: 540px; }
  .hero-image { object-position: 56% 45%; }
  .clients { align-items: start; flex-direction: column; }
  .about, .booking { grid-template-columns: 1fr; }
  .footer > div { gap: 14px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 3.6rem; }
  .hero-copy .button { padding-inline: 12px; }
  .fields { grid-template-columns: 1fr; }
}

/* Logo and dark palette */
:root {
  --ink: #fff;
  --gray: #d3d8df;
  --line: #41454b;
  --accent: #0068a8;
  --paper: #1b1d20;
  background: #111;
}
:focus-visible { outline-color: #80c9ff; }
.skip { background: #111; }
.brand {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 86px;
  height: 86px;
  color: white;
  background: black;
  font-size: 1.05rem;
  letter-spacing: -.035em;
}
.brand::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  --corner-stroke: linear-gradient(currentColor, currentColor);
  background:
    var(--corner-stroke) top left / 14px 2px,
    var(--corner-stroke) top left / 2px 14px,
    var(--corner-stroke) top right / 14px 2px,
    var(--corner-stroke) top right / 2px 14px,
    var(--corner-stroke) bottom left / 14px 2px,
    var(--corner-stroke) bottom left / 2px 14px,
    var(--corner-stroke) bottom right / 14px 2px,
    var(--corner-stroke) bottom right / 2px 14px;
  background-repeat: no-repeat;
}
.brand span + span { font-size: .64rem; letter-spacing: 0; }
.header, .footer { padding-block: 14px; }
.button { background: #22262b; border-color: #555b64; }
.button:hover { background: #343a42; }
.button.accent { background: var(--accent); color: white; }
.button.accent:hover { background: #00578e; }
input, textarea { background: #111; border-color: #636770; }
.about { border-top: 0; }
.about h2, .booking h2 { margin-top: 0; }

.gallery-page { padding-block: clamp(32px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.gallery-page h1 { font-size: clamp(2.7rem, 8vw, 6rem); margin-bottom: clamp(22px, 4vw, 48px); overflow-wrap: anywhere; }
.back { margin-bottom: 21px; }
.back a { text-decoration-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 34px); }
.gallery-grid .photo img { aspect-ratio: 3 / 2; }
.category { display: block; text-decoration: none; border-bottom: 3px solid var(--accent); }
.category h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -.035em; margin: 14px 0 17px; }
.category:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } }

.contacts { padding-block: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.contacts h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.contacts ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 20px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.contacts li { display: grid; gap: 5px; }
.contacts a { width: fit-content; overflow-wrap: anywhere; text-underline-offset: 4px; text-decoration-color: var(--accent); }

/* Keep the ball and rim in view when the portrait is used as a wide banner. */
.hero-image { object-position: 53% 9%; }
.basketball-gallery { align-items: start; }
.basketball-gallery img { height: auto; }
.category-status { aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--paper); }
