/* ==========================================================================
   Compiled Athletics, site styles
   Editorial black / bone / signal-red. One column, hairline rules,
   serif body (Sentient) with mono micro-labels (Geist Mono).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #000000;
  --ink: #f2efe8;
  --red: #dc2626;          /* fills, borders, buttons */
  --red-text: #e22d2d;     /* same red, nudged to clear 4.5:1 on black */
  --red-deep: #b91c1c;

  --ink-72: rgba(242, 239, 232, 0.72);
  --ink-66: rgba(242, 239, 232, 0.66);
  --ink-62: rgba(242, 239, 232, 0.62);
  --ink-60: rgba(242, 239, 232, 0.60);
  --ink-50: rgba(242, 239, 232, 0.50);
  --ink-45: rgba(242, 239, 232, 0.45);

  --rule: rgba(242, 239, 232, 0.18);
  --rule-mid: rgba(242, 239, 232, 0.28);
  --rule-strong: rgba(242, 239, 232, 0.32);
  --wash: rgba(242, 239, 232, 0.06);

  --serif: 'Sentient', Georgia, 'Times New Roman', serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --measure: 1000px;
  --gutter: 32px;
  --label-col: 96px;     /* section label column */
  --portrait-w: 320px;          /* coach photo, sized to fill the row height */
  --portrait-ratio: 632 / 947;  /* its native ratio, so nothing is ever cropped */
  --thumb: 166px;               /* client photos */
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a:hover { color: var(--red); }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 1.5px solid var(--red); outline-offset: 3px; }

input, select, textarea, button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, blockquote, figure, ul, ol { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Shell + section scaffold
   -------------------------------------------------------------------------- */
.page { position: relative; background: var(--bg); color: var(--ink); min-height: 100vh; }

.shell {
  position: relative;
  z-index: 1;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 64px 0 0; }

.section__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 44px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.section__label {
  margin: 0;
  flex: 0 0 var(--label-col);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.085em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-62);
}

.section__body { flex: 1 1 560px; min-width: 0; }

/* Sits beside the tall coach portrait. The smaller basis keeps the two columns
   on one line down to ~850px instead of stacking early. */
.section__body--coach { flex-basis: 420px; max-width: 68ch; }

/* Shared type helpers */
.mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mono--red { color: var(--red-text); }
.mono--muted { color: var(--ink-62); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.56; text-wrap: pretty; }
.prose { color: var(--ink-66); text-wrap: pretty; }
.prose + .prose { margin-top: 16px; }

/* --------------------------------------------------------------------------
   4. Masthead
   -------------------------------------------------------------------------- */
.masthead { padding: 44px 0 0; }

.masthead__bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-mid);
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}
.masthead__marque { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.masthead__marque b { font-weight: 500; color: var(--ink); }
.masthead__marque span { color: var(--ink-50); }
.masthead__status { color: var(--red-text); }

.masthead__title {
  margin: 44px 0 0;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.07;
  letter-spacing: -0.016em;
  font-weight: 300;
  max-width: 24ch;
  text-wrap: pretty;
}

.masthead__standfirst {
  margin: 22px 0 0;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-72);
  text-wrap: pretty;
}

.masthead__byline {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.masthead__byline span + span { color: var(--ink-62); }

.masthead__links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 11px;
}
.masthead__links a {
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
}
.masthead__links a:hover { border-color: var(--red); }
.masthead__links a.is-primary { color: var(--red-text); border-bottom-color: var(--red-text); }
.masthead__links a.is-primary:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }

/* --------------------------------------------------------------------------
   5. Coach portrait
   -------------------------------------------------------------------------- */
/* The coach column runs the full height of the row. The portrait box carries the
   photo's own aspect-ratio, so the whole frame is always visible: nothing is ever
   cropped. --portrait-w is tuned so its bottom lands level with the text column.
   flex-shrink is on, so the column narrows on smaller screens instead of wrapping. */
.coach {
  flex: 0 1 var(--portrait-w);
  align-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.portrait {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: var(--portrait-ratio);
  margin-top: 16px;
  background: var(--wash);
  border: 1px solid var(--rule);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.06) saturate(0.16) brightness(0.97);
}
.portrait::before,
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portrait::before { background: var(--red); mix-blend-mode: soft-light; opacity: 0.28; }
.portrait::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,0.5) 76%, rgba(0,0,0,0.86) 100%);
}

/* --------------------------------------------------------------------------
   6. Spec rows (credentials, process)
   -------------------------------------------------------------------------- */
.specs { margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--rule); }

.spec {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.spec__key {
  flex: 0 0 100px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-62);
}
.spec:first-child .spec__key { color: var(--red-text); }
.spec__val { flex: 1 1 240px; font-size: 16px; color: var(--ink-72); }

.step {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.step__num {
  flex: 0 0 60px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-62);
}
.step:first-child .step__num { color: var(--red-text); }
.step__name { flex: 0 0 100px; font-size: 17px; }
.step__note { flex: 1 1 260px; font-size: 16px; color: var(--ink-62); }

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */
.services { display: flex; flex-direction: column; gap: 24px; }

.service { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.service + .service { border-top: 1px solid var(--rule); padding-top: 24px; }
.service__head { flex: 1 1 170px; min-width: 0; }
.service__name { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 400; }
.service__kicker {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--ink-62);
}
.service:first-child .service__kicker { color: var(--red-text); }
.service__detail { flex: 1 1 340px; min-width: 0; max-width: 62ch; }
.service__detail p { margin: 0; font-size: 16px; color: var(--ink-66); text-wrap: pretty; }
.service__includes {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-66);
}

/* --------------------------------------------------------------------------
   8. Client voices
   -------------------------------------------------------------------------- */
.voices { display: flex; flex-direction: column; gap: 28px; }

.voice { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 32px; }
.voice + .voice { border-top: 1px solid var(--rule); padding-top: 28px; }

.voice__frame { flex: 0 0 var(--thumb); }
.voice__thumb {
  position: relative;
  overflow: hidden;
  width: var(--thumb);
  height: var(--thumb);
  background: var(--wash);
  border: 1px solid var(--rule);
}
.voice__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.16) contrast(1.05);
}

.voice__text { flex: 1 1 400px; min-width: 0; max-width: 64ch; }
.voice__text blockquote {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  font-weight: 300;
  text-wrap: pretty;
}
.voice__more { margin: 14px 0 0; font-size: 15px; color: var(--ink-60); text-wrap: pretty; }
.voice__by {
  flex: 0 0 100%;
  margin: 0;
  padding-left: calc(var(--thumb) + 32px);   /* aligns under .voice__text */
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* --------------------------------------------------------------------------
   9. Contact form
   -------------------------------------------------------------------------- */
.contact__heading {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 300;
  line-height: 1.34;
  max-width: 30ch;
  text-wrap: pretty;
}
.contact__body { margin: 18px 0 0; max-width: 62ch; color: var(--ink-66); text-wrap: pretty; }

.form {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px 32px;
}
.form__pot { position: absolute; left: -9999px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-62);
}

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 8px 0;
  font-size: 16px;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.18s ease;
}
.field select {
  background-color: var(--bg);
  /* hairline chevron in place of the native arrow */
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-62) 50%),
                    linear-gradient(135deg, var(--ink-62) 50%, transparent 50%);
  background-position: right 6px top 55%, right 1px top 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 26px;
  cursor: pointer;
}
.field select:hover { background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%),
                                        linear-gradient(135deg, var(--red) 50%, transparent 50%); }
.field select option { background: #0a0a0a; color: var(--ink); }
.field textarea {
  border: 1px solid var(--rule-mid);
  padding: 14px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-50); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-50); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--red); }

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.btn {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  padding: 13px 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.form__note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-text);
  min-height: 1em;
}

/* --------------------------------------------------------------------------
   10. Questions (FAQ)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); padding: 0; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 17px;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--red-text);
  transform: translateY(1px);
}
.faq__item[open] summary::after { content: '-'; }
.faq__item summary:hover { color: var(--red); }
.faq__q-num {
  flex: 0 0 34px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-60);
}
.faq__a {
  padding: 0 0 20px 50px;
  max-width: 66ch;
  font-size: 16px;
  color: var(--ink-66);
  text-wrap: pretty;
}
.faq__a p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   11. Location + map
   -------------------------------------------------------------------------- */
.map {
  position: relative;
  height: 340px;
  border: 1px solid var(--rule);
  background: #0a0a0a;
}
.map__canvas { position: absolute; inset: 0; }
.map__plate {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.86);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 14px 18px;
  pointer-events: none;
}
.map__plate-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--red-text);
}
.map__plate-city { margin-top: 6px; font-size: 16px; }
.map__note { margin: 16px 0 0; max-width: 62ch; color: var(--ink-60); font-size: 16px; text-wrap: pretty; }

.served {
  margin: 20px 0 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-50);
  text-wrap: pretty;
}

/* Doubled-up selector so this beats Leaflet's own .leaflet-container rule
   whatever order the stylesheets end up in. */
.leaflet-container.map__canvas { background: #0a0a0a; }
.leaflet-control-attribution { display: none !important; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer { margin-top: 64px; padding: 0 0 56px; }

.footer__cols {
  border-top: 1px solid var(--rule-strong);
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--ink-50);
}
.footer__head {
  text-transform: uppercase;
  color: var(--ink-62);
  letter-spacing: 0.085em;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; }

.footer__sign {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
}
.footer__wordmark { font-size: clamp(1.4rem, 2.6vw, 1.85rem); letter-spacing: -0.01em; }
.footer__role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.footer__legal {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  :root { --gutter: 22px; --thumb: 135px; }
  body { font-size: 16px; }
  .section { padding: 52px 0 0; }
  .section__inner { gap: 20px 32px; }
  .section__label { flex: 1 1 100%; }
  .coach { flex: 1 1 100%; align-self: auto; }
  .portrait { max-width: 320px; }
  .spec__key, .step__num { flex: 0 0 100%; }
  .step__name { flex: 0 0 100%; }
  .voice__by { padding-left: 0; }
  .faq__a { padding-left: 0; }
  .faq__q-num { flex: 0 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .map, .form, .skip-link { display: none; }
  a { color: #000; }
}
