/* v4 — the category standard, played straight.
   Sampled from the approved comp: ground #ffffff · ink #1e2a30 · teal #0d6f67 */

:root {
  --ground: #ffffff;
  --mist: #f2f7f6;
  --ink: #1e2a30;
  --ink-soft: #51606b;
  --teal: #0d6f67;
  --teal-deep: #0a5a54;
  --teal-wash: #e3efed;
  --line: #e4e9e8;
  --radius: 16px;
  --font: 'Figtree', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--teal) var(--mist);
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  accent-color: var(--teal);
}

::selection { background: var(--teal); color: #ffffff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

a { color: var(--teal); text-underline-offset: 3px; }

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

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 24px;
  transition: background-color 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}

.btn-solid { background: var(--teal); color: #ffffff; }
.btn-solid:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(13, 111, 103, 0.25); }
.btn-solid:active { transform: translateY(0); box-shadow: none; }

.btn-lg { padding: 14px 32px; font-size: 17px; }

.btn-invert { background: #ffffff; color: var(--teal); }
.btn-invert:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(4, 40, 37, 0.3); }

.btn-quiet {
  font-weight: 600;
  font-size: 16px;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 2px solid var(--teal-wash);
  padding-bottom: 2px;
  transition: border-color 150ms ease-out;
}
.btn-quiet:hover { border-color: var(--teal); }

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px max(32px, calc((100% - 1116px) / 2));
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 150ms ease-out;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 32px 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-photo {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  height: auto;
  border-radius: var(--radius);
  border: 2px solid rgba(13, 111, 103, 0.55);
  box-shadow:
    0 18px 36px -10px rgba(13, 111, 103, 0.45),
    0 4px 10px rgba(13, 111, 103, 0.14);
}

/* the page's one authored moment: the hero settles into place */

.hero-copy h1, .hero-sub, .hero-actions, .hero-photo {
  animation: rise 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-sub { animation-delay: 90ms; }
.hero-actions { animation-delay: 180ms; }
.hero-photo { animation-delay: 120ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* scroll choreography: the hero's settle, continued down the page */

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal.in { opacity: 1; transform: none; }

html.js .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .reveal:nth-child(3) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy h1, .hero-sub, .hero-actions, .hero-photo { animation: none; }
  .btn, .btn-quiet, .nav-links a { transition: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- credentials strip ---------- */

.cred-strip {
  max-width: 1116px;
  margin: 0 auto;
  padding: 0 32px;
}

.cred-strip p {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 28px;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.cred-strip span { margin: 0 12px; color: var(--teal); }

/* ---------- sections ---------- */

.services, .how, .rates { max-width: 1180px; margin: 0 auto; padding: 96px 32px 24px; }

h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
}

/* section divider: a content-width hairline capped with a teal lead */

.services h2, .how h2, .rates h2, .floor h2 {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.services h2::before, .how h2::before, .rates h2::before, .floor h2::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--teal);
}

/* services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.service .icon {
  width: 44px;
  height: 44px;
  color: var(--teal);
  background: var(--teal-wash);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 18px;
}

.service h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 16px; }

/* how it works */

.how { background: var(--mist); max-width: none; padding: 88px 32px; }
.how h2, .how .steps { max-width: 1116px; margin-left: auto; margin-right: auto; }
.how h2 { margin-bottom: 44px; }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.steps li { counter-increment: step; }

.steps li h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.steps li h3::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps li p { color: var(--ink-soft); font-size: 16px; }

/* coaching floor strip */

.floor { max-width: 1180px; margin: 0 auto; padding: 96px 32px 0; }

.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.floor-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.floor-note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* rates */

.rates { padding-bottom: 96px; }

.rate-table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  font-size: 17px;
}

.rate-table th, .rate-table td {
  text-align: left;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.rate-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 19px;
}

.rate-table .len {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 15px;
  margin-left: 10px;
}

/* closer — the page's photo moment */

.closer {
  background:
    linear-gradient(rgba(7, 55, 50, 0.88), rgba(13, 24, 28, 0.9)),
    url('../assets/closer-bg.jpg') center 32% / cover no-repeat;
  text-align: center;
  padding: 112px 32px;
}

.closer h2 { color: #ffffff; margin-bottom: 12px; }

.closer p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 0 auto 34px;
}


/* footer */

.footer {
  padding: 44px 32px 52px;
  text-align: center;
}

.footer-word { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.footer-meta { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.footer-meta a { color: var(--ink-soft); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .nav { gap: 20px; padding: 14px 20px; flex-wrap: wrap; }
  .cred-strip { padding: 0 20px; }
  .cred-strip p { font-size: 13px; padding: 12px 16px; }
  .cred-strip span { margin: 0 7px; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; gap: 22px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 20px 56px; }
  .hero-photo { max-width: 480px; justify-self: center; }
  .service-grid, .steps { grid-template-columns: 1fr; gap: 36px; }
  .floor { padding: 64px 20px 0; }
  .floor-grid { grid-template-columns: 1fr; gap: 16px; }
  .services, .how, .rates { padding: 64px 20px 16px; }
  .how { padding: 64px 20px; }
  .rates { padding-bottom: 64px; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .cred-strip p { font-size: 13px; }
  .cred-strip span { margin: 0 7px; }
}
