@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }

:root {
  --ink: #0f1f3a;
  --ink-2: #1b2f52;
  --court: #2357a6;
  --court-deep: #1a4585;
  --turf: #2f8f5b;
  --turf-deep: #23714a;
  --ball: #fc7f42;      /* Yati orange, from the logo */
  --ball-hover: #fd9a6a;
  --brand-blue: #1090ff;
  --paper: #f4f6f9;
  --card: #ffffff;
  --rule: #d9dfe8;
  --muted: #55657e;
  --danger: #c0352b;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--court); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
h3 { font-size: 30px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ball); color: var(--ink); padding: 8px 12px; z-index: 30; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; }
.bar :focus-visible, .quote :focus-visible, .services :focus-visible, .visit :focus-visible { outline-color: var(--court); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--body); padding: 12px 18px;
  border-radius: 8px; border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 17px; padding: 15px 22px; }
.btn-ball { background: var(--ball); color: var(--ink); }
.btn-ball:hover { background: var(--ball-hover); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { color: var(--ink); border-color: var(--rule); background: #fff; }
.btn-court { background: var(--court); color: #fff; }
.btn-court:hover { background: var(--court-deep); }
.btn-court[disabled] { opacity: .6; cursor: progress; transform: none; }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.more::after { content: " →"; }

/* ---------- top bar ---------- */
/* White bar: the logo is drawn for a white background. */
.bar { position: sticky; top: 0; z-index: 20; background: #fff; color: var(--ink); border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 8px rgba(15, 31, 58, .06); }
.bar-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .logo { width: 206px; height: 40px; display: block; }
@media (max-width: 480px) {
  .bar-in { gap: 12px; }
  .brand { gap: 7px; }
  .brand .logo { width: 160px; height: 31px; }
  .bar .btn { padding: 9px 11px; font-size: 14px; }
}
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: #33445f; text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--court); }
.bar .btn { padding: 10px 14px; font-size: 15px; }
@media (max-width: 1120px) {
  .links { display: none; }
  .bar .btn { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 56px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.kicker { color: var(--ball); font-weight: 600; margin: 0 0 14px; font-size: 16px; }
.hero h1 { font-size: clamp(46px, 5.4vw, 76px); line-height: .95; text-wrap: balance; }
.lede { color: rgba(255, 255, 255, .8); font-size: 19px; max-width: 34em; margin: 22px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-contact { margin: 22px 0 0; color: rgba(255, 255, 255, .75); }
.hero-contact a, .hero .contact-link { color: #fff; }

.planner { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button { font: 600 15px/1 var(--body); color: rgba(255, 255, 255, .82); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .14);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.chips button:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.chips button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.plan-frame { background: var(--turf-deep); border-radius: 14px; padding: 2%; aspect-ratio: 16 / 9.5; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#plan { width: 100%; height: 100%; overflow: visible; }
#plan .draw { transition: opacity .25s ease; }
#plan text { font-family: var(--body); font-weight: 600; fill: #fff; }
.planner figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 12px; font-size: 15px;
  color: rgba(255, 255, 255, .72); }
.planner figcaption strong { color: #fff; font-family: var(--display); font-size: 22px; font-weight: 600; }
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- services ---------- */
.services { padding: 88px 0 40px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 40px;
  border-bottom: 3px solid var(--ink); padding-bottom: 14px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 18px; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 36px 0;
  border-bottom: 1px solid var(--rule); }
.svc:last-child { border-bottom: 0; }
.svc-flip .svc-text { order: 2; }
.svc-no { display: block; font: 700 18px/1 var(--display); color: var(--court); margin-bottom: 10px; letter-spacing: .04em; }
.svc h3 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 14px; }
.svc p { margin: 0 0 18px; color: #2a3a55; max-width: 36em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.tags li { font-size: 14px; font-weight: 500; padding: 5px 10px; border-radius: 6px; background: #e6ecf5; color: var(--court-deep); }

/* Custom bats: the options, numbered to match the drawing. */
.bat-opts { list-style: none; counter-reset: opt; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.bat-opts li { counter-increment: opt; display: flex; gap: 10px; align-items: baseline; color: #2a3a55; }
.bat-opts li::before { content: counter(opt); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ball); color: var(--ink); font: 700 15px/1 var(--display); transform: translateY(2px); }
.bat-opts b { color: var(--ink); font-weight: 600; }
.bat-fig { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--ink); display: grid; place-items: center; padding: 4%; }
.bat-fig svg { width: 100%; height: auto; overflow: visible; }
.bat-name { font: 700 26px/1 var(--display); fill: #fff; letter-spacing: .06em; }
.pins line { stroke: rgba(255, 255, 255, .7); stroke-width: 2; }
.pins circle { fill: var(--ball); }
.pins text { font: 700 18px/1 var(--display); fill: var(--ink); text-anchor: middle; }
@media (max-width: 800px) {
  .svc { grid-template-columns: 1fr; gap: 22px; }
  .svc-flip .svc-text { order: 0; }
}

/* Photo slots: the photo when it is there, a drawn court when it is not. */
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background-color: var(--court); }
.photo-turf { background-color: var(--turf); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.empty img { display: none; }
.photo.empty { --l: rgba(255, 255, 255, .45); background-image:
    linear-gradient(var(--l), var(--l)), linear-gradient(var(--l), var(--l)), linear-gradient(var(--l), var(--l)), linear-gradient(var(--l), var(--l)),
    linear-gradient(var(--l), var(--l)), linear-gradient(var(--l), var(--l));
  background-size: 76% 2px, 76% 2px, 2px 70%, 2px 70%, 2px 70%, 38% 2px;
  background-position: 50% 15%, 50% 85%, 12% 50%, 88% 50%, 50% 50%, 50% 50%;
  background-repeat: no-repeat; }
.photo .slot { position: absolute; left: 12px; bottom: 12px; font: 600 13px/1.3 var(--body); color: var(--ink); background: rgba(255, 255, 255, .92);
  padding: 6px 9px; border-radius: 6px; }

/* ---------- process ---------- */
.process { background: var(--ink); color: #fff; padding: 80px 0 88px; margin-top: 48px; }
.sec-head-light { border-color: #fff; }
.sec-head-light p { color: rgba(255, 255, 255, .8); }
.lanes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-left: 2px solid rgba(255, 255, 255, .85); }
.lanes li { padding: 4px 22px 8px; border-right: 2px solid rgba(255, 255, 255, .85); }
.lane-no { display: block; font: 700 64px/1 var(--display); color: var(--ball); margin-bottom: 12px; }
.lanes h3 { font-size: 26px; margin-bottom: 8px; }
.lanes p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 16px; }
@media (max-width: 900px) {
  .lanes { grid-template-columns: 1fr; border-left: 0; }
  .lanes li { border-right: 0; border-top: 2px solid rgba(255, 255, 255, .5); padding: 18px 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
  .lane-no { grid-row: span 2; font-size: 46px; margin: 0; }
}

/* ---------- quotation form ---------- */
.quote { padding: 88px 0; }
.quote-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.quote-side h2 { margin-bottom: 16px; }
.quote-side p { color: #2a3a55; margin: 0 0 16px; }
.quote-side .fine { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .quote-in { grid-template-columns: 1fr; gap: 28px; } }

.form, .sent { background: var(--card); border-radius: 14px; padding: 28px; box-shadow: 0 1px 0 var(--rule), 0 12px 32px rgba(15, 31, 58, .07); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px !important; }
.kinds legend { font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kinds span { display: inline-block; padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--rule); font-weight: 600; font-size: 15px;
  color: #2a3a55; background: #fff; }
.kinds input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.kinds input:focus-visible + span { outline: 3px solid var(--court); outline-offset: 2px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.grid + .grid { margin-top: 22px; padding-top: 22px !important; border-top: 1px dashed var(--rule) !important; }
.grid .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .form, .sent { padding: 20px; } }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.form label small { font-weight: 400; color: var(--muted); }
.form label b { color: var(--danger); font-weight: 600; }
.form input:not([type="radio"]):not([type="checkbox"]), .form select, .form textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--rule); border-radius: 8px; padding: 11px 12px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--court); outline: none; box-shadow: 0 0 0 3px rgba(35, 87, 166, .18); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; }
.tel { display: flex; }
.tel > span { display: grid; place-items: center; padding: 0 10px; border: 1.5px solid var(--rule); border-right: 0; border-radius: 8px 0 0 8px;
  background: var(--paper); font-weight: 500; color: var(--muted); }
.tel input { border-radius: 0 8px 8px 0 !important; }
.err { color: var(--danger); font-style: normal; font-weight: 500; font-size: 14px; }
.err:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 15px; }
.checks > span { width: 100%; font-weight: 600; }
.checks label { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.checks input { width: 18px; height: 18px; accent-color: var(--court); }
.hp { position: absolute !important; left: -5000px; }
.form-error { color: var(--danger); font-weight: 500; margin: 18px 0 0; }
.form button[type="submit"] { margin-top: 24px; width: 100%; }

.sent { text-align: center; padding: 48px 28px; }
.sent svg { width: 56px; height: 56px; margin: 0 auto 16px; }
.sent h3 { font-size: 34px; margin-bottom: 10px; }
.sent p { margin: 0 0 12px; color: #2a3a55; }
.sent .btn { margin-top: 10px; }

/* ---------- visit and footer ---------- */
.visit { background: #fff; border-top: 1px solid var(--rule); padding: 72px 0; }
.visit-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.visit h2 { margin-bottom: 18px; }
.visit address { font-style: normal; font-size: 19px; line-height: 1.6; margin-bottom: 16px; }
.visit p { margin: 0 0 14px; }
@media (max-width: 800px) { .visit-in { grid-template-columns: 1fr; } }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-links a { font-weight: 600; }

.foot { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 26px 0; }
.foot p { margin: 0; }
.foot strong { color: #fff; }
.foot a { color: #fff; }
