/* Restore Athletic Care
   System-like layout. Type is Inter (OFL), then the device UI font.
   Edit copy in index.html. Colors stay black, white, and warm gray. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #f5f5f7;
  --ink-soft: #d2d2d7;
  --paper: #000000;
  --mist: #1c1c1e;
  --line: #424245;
  --header-h: 4.25rem;
  color-scheme: dark;
  accent-color: #f5f5f7;
  scrollbar-color: #8e8e93 #000;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #000000;
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: #f5f5f7;
  color: #000;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 80;
  padding: 0.75rem 1rem;
  background: #000;
  color: #f5f5f7;
  text-decoration: none;
  translate: 0 -150%;
}

.skip-link:focus {
  translate: 0 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.6;
}

.note {
  max-width: 40rem;
  margin: 1.75rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(0 0 0 / 0.86);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}

.site-header.is-scrolled {
  box-shadow: inset 0 -1px 0 var(--line);
}

.site-header:has(#primary-nav.is-open) {
  background: #000;
  backdrop-filter: none;
}

.header-bar {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 1.45rem;
  width: auto;
  max-width: min(58vw, 15.5rem);
}

#primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  font-size: 0.9375rem;
}

#primary-nav a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

#primary-nav a:hover {
  opacity: 0.62;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
}

.nav-toggle:hover {
  background: var(--mist);
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.burger {
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -0.4rem;
}

.burger::after {
  top: 0.4rem;
}

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before,
.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  rotate: 45deg;
}

.nav-toggle[aria-expanded="true"] .burger::after {
  rotate: -45deg;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  text-decoration: none;
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  background: #e8e8ed;
  border-color: #e8e8ed;
  color: #000;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: #f5f5f7;
  color: #000;
  border-color: #f5f5f7;
}

@media (max-width: 61.99em) {
  .header-bar {
    flex-wrap: wrap;
    padding-block: 0.35rem;
  }

  #primary-nav {
    flex: 1 0 100%;
    padding-bottom: 0.75rem;
  }

  .header-cta {
    display: none;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js #primary-nav {
    position: fixed;
    z-index: 40;
    inset: var(--header-h) 0 0 0;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.25rem 1.25rem 2rem;
    background: #000;
    color: #f5f5f7;
    translate: 0 -110%;
    visibility: hidden;
  }

  .js #primary-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js #primary-nav a {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.35rem);
    letter-spacing: -0.03em;
    font-weight: 600;
    min-height: 3.25rem;
  }

  .js #primary-nav .nav-cta {
    margin-top: auto;
    align-self: flex-start;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    min-height: 2.75rem;
  }

  .js #primary-nav.is-open {
    translate: 0 0;
    visibility: visible;
  }
}

@media (min-width: 62em) {
  .header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .logo {
    justify-self: start;
  }

  #primary-nav {
    justify-self: center;
  }

  .header-cta {
    justify-self: end;
  }

  #primary-nav .nav-cta,
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 48em) {
  .wrap,
  .header-bar {
    width: min(100% - 4.5rem, 72rem);
  }
}

body.nav-open {
  overflow: hidden;
}

/* Hero */

.hero {
  padding: clamp(3.25rem, 9vh, 6.5rem) 0 clamp(2.5rem, 6vh, 4.25rem);
  text-align: center;
}

.hero h1 {
  margin: 0 auto 1.25rem;
  max-width: 18ch;
  font-size: clamp(1.75rem, 1.15rem + 1.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(3.4rem, 2rem + 6.2vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.92;
}

.hero-tagline span {
  display: block;
}

.faq-list {
  margin: 2.25rem 0 0;
  padding: 0;
  max-width: 42rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.45rem);
  letter-spacing: -0.02em;
}

.faq-item p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.6;
}

.faq-item a {
  color: inherit;
}

.hero-lead {
  max-width: 34rem;
  margin: 1.35rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Photography */

figure {
  margin: 0;
}

.parallax {
  overflow: clip;
  background: #1c1c1e;
}

.hero-photo img,
.band img,
.about-photo img {
  display: block;
  width: 100%;
  background: #1c1c1e;
  object-fit: cover;
}

.hero-photo img {
  aspect-ratio: 4 / 5;
  object-position: center 42%;
}

.band img {
  aspect-ratio: 4 / 5;
  object-position: center 28%;
}

.about-photo img {
  aspect-ratio: 2 / 3;
  object-position: center 20%;
}

.bleed figcaption,
.about-photo figcaption {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.bleed figcaption {
  padding-bottom: 0.25rem;
}

@media (min-width: 64em) {
  .hero-photo img {
    aspect-ratio: auto;
    height: min(72vh, 46rem);
    object-position: center 62%;
  }

  .band img {
    aspect-ratio: 16 / 9;
    height: auto;
    object-position: center 42%;
  }
}

/* Sections */

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 1.35rem + 2.7vw, 3.85rem);
}

.mist {
  background: var(--mist);
}

.about-grid {
  display: grid;
  gap: 1.15rem;
}

.about-grid .eyebrow {
  margin-bottom: 0;
}

.about-body {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.about-body p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.service-list,
.partner-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.service-list {
  counter-reset: service;
}

.service-list li,
.partner-list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.2rem, 1.02rem + 0.55vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.service-list li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  counter-increment: service;
}

.service-list li::before {
  content: counter(service, decimal-leading-zero);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.name-note {
  max-width: 38rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.name-note h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.name-note p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}

@media (min-width: 64em) {
  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "photo kicker"
      "photo title"
      "photo body";
    column-gap: clamp(2.5rem, 5vw, 5.5rem);
    row-gap: 0.8rem;
    align-items: start;
  }

  .about-photo {
    grid-area: photo;
  }

  .about-grid .eyebrow {
    grid-area: kicker;
    align-self: end;
  }

  .about-grid h2 {
    grid-area: title;
  }

  .about-body {
    grid-area: body;
  }
}

/* Contact */

#contact,
.site-footer {
  background: #000;
  color: #fff;
  color-scheme: dark;
}

#contact :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

#contact .eyebrow,
#contact .lede,
#contact .note,
.site-footer {
  color: #e6e6e8;
}

#contact h2 {
  max-width: 12ch;
}

.contact-email {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: clamp(1.2rem, 0.85rem + 1.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}

.contact-place {
  margin: 0.4rem 0 0;
  color: #e6e6e8;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

#contact .button {
  background: #fff;
  color: #111;
  border-color: #fff;
}

#contact .button:hover {
  background: #e8e8ed;
  border-color: #e8e8ed;
  color: #111;
}

#contact .button-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

#contact .button-ghost:hover {
  background: #fff;
  color: #111;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 2.75rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid #3a3a3c;
  border-radius: 0.85rem;
  background: #141414;
  color: #fff;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 2.75rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field select,
.field option {
  color-scheme: dark;
}

.field option {
  background: #141414;
  color: #fff;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.75rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

#contact ::placeholder {
  color: #c8c8cc;
}

.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid {
  border-color: #fff;
}

.form-help,
.form-status {
  margin: 0;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  scroll-margin-bottom: 2rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  color: #fff;
}

.form-help a {
  color: inherit;
}

.contact-form {
  position: relative;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.turnstile-slot {
  min-height: 0;
}

.form-legal {
  margin: 0;
  color: #c8c8cc;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.form-legal a {
  color: inherit;
}

.button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.field-error {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.result-dialog {
  width: min(100% - 2rem, 26rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 0;
  border-radius: 1.25rem;
  background: #1c1c1e;
  color: #f5f5f7;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.6);
  opacity: 0;
  transition-property: opacity, translate, scale, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: var(--ease);
  transition-behavior: allow-discrete;
}

.result-dialog[open] {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.result-dialog::backdrop {
  background-color: rgb(0 0 0 / 0);
  overflow: hidden;
  overscroll-behavior: contain;
  transition-property: background-color, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease;
  transition-behavior: allow-discrete;
}

.result-dialog[open]::backdrop {
  background-color: rgb(0 0 0 / 0.72);
}

.result-dialog:modal {
  overscroll-behavior: contain;
}

@starting-style {
  .result-dialog[open] {
    opacity: 0;
  }

  .result-dialog[open]::backdrop {
    background-color: rgb(0 0 0 / 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .result-dialog {
    translate: 0 0.6rem;
    scale: 0.98;
  }

  @starting-style {
    .result-dialog[open] {
      translate: 0 0.6rem;
      scale: 0.98;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-dialog,
  .result-dialog::backdrop {
    transition-duration: 0.01s;
  }
}

.result-dialog h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.result-dialog p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.result-dialog a {
  color: inherit;
}

.result-dialog form {
  margin: 0.5rem 0 0;
}

.result-dialog .button {
  width: 100%;
}

.site-footer {
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand img {
  display: block;
  height: 1.65rem;
  width: auto;
}

.footer-sub {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.7rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-sub::before,
.footer-sub::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
}

.footer-nav {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  text-decoration: none;
}

.footer-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.75rem;
  color: #c8c8cc;
}

.footer-meta p {
  margin: 0;
}

.missing {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: 3rem 0 4rem;
}

.missing h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  max-width: 10ch;
}

.missing p {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-soft);
}

@media (min-width: 40em) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

/* Motion: decorative only. Content stays visible when motion is reduced
   or scroll timelines are unsupported. */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  @keyframes enter {
    from {
      opacity: 0;
      translate: 0 1rem;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  .hero-copy > * {
    animation: enter 0.9s var(--ease) both;
  }

  .hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.28s; }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rise {
      from {
        opacity: 0;
        translate: 0 1.5rem;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    @keyframes photo-settle {
      from { scale: 1.06; }
      to { scale: 1; }
    }

    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }

    .parallax {
      view-timeline: --photo block;
    }

    .parallax img {
      animation: photo-settle linear both;
      animation-timeline: --photo;
      animation-range: entry 0% cover 40%;
    }

    .js #primary-nav {
      transition: translate 0.4s var(--ease), visibility 0s linear 0.4s;
    }

    .js #primary-nav.is-open {
      transition: translate 0.4s var(--ease), visibility 0s;
    }

    .burger,
    .burger::before,
    .burger::after {
      transition: rotate 0.25s var(--ease), top 0.25s var(--ease), background-color 0.2s ease;
    }
  }
}

:target,
:target .reveal {
  animation: none;
  opacity: 1;
  translate: none;
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #000;
    backdrop-filter: none;
  }
}

@media print {
  html,
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .nav-toggle,
  .hero-actions,
  .contact-actions,
  .contact-form {
    display: none;
  }

  .site-header {
    position: static;
  }

  #contact,
  .site-footer {
    background: #fff;
    color: #000;
  }

  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
