/* ============================================================
   The Strong Forever Project — OPTION C "Modern Practice"
   Demo by Cox Technologies.
   Direction: a modern, methodical, clinical-grade PT/coaching
   site. Light ground, deep evergreen ink, one precise emerald
   accent. Structure and typography carry the credibility.
   Type: Schibsted Grotesk (display + body) · Spline Sans Mono
   (data labels, facts, tags).
   ============================================================ */

:root{
  --paper: #fafcfa;         /* near-white, whisper of green */
  --tint: #eef4ef;          /* alt section panel */
  --ink: #0f271c;           /* deep evergreen ink */
  --body: #33473d;          /* body text (9.5:1 on paper) */
  --muted: #5c7268;         /* captions/labels (4.9:1 on paper) */
  --emerald: #0e7a52;       /* the one accent: links, CTAs */
  --emerald-deep: #0a5c3e;
  --hairline: #d5e0d8;

  --font-sans: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", Consolas, monospace;

  --space-section: clamp(4.5rem, 9vw, 7.5rem);
  --wrap: 70rem;
}

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

html{ scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a{ color: var(--emerald); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--emerald);
  outline-offset: 2px;
}

.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  font-weight: 700;
}
.skip-link:focus{ left: 8px; top: 8px; }

/* ---------- headings ---------- */
h1,h2,h3{
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
h1{ font-size: clamp(2.4rem, 5vw, 4rem); }
h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3{ font-size: 1.35rem; letter-spacing: -0.01em; }

p{ margin: 0 0 1.1rem; max-width: 62ch; }

.nowrap{ white-space: nowrap; }

/* mono voice: facts, tags, labels */
.mono, .step-tag, .workshop-tag, .service-meta dt, .workshop-facts dt,
.contact-details dt, .field label, .footer-head, .hero-creds li{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: 10px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-solid{ background: var(--ink); color: var(--paper); }
.btn-solid:hover{ background: var(--emerald-deep); border-color: var(--emerald-deep); }
.btn-line{ background: transparent; color: var(--ink); }
.btn-line:hover{ color: var(--emerald-deep); border-color: var(--emerald-deep); }
.btn-small{ padding: .5rem 1rem; font-size: .85rem; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,252,250,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner{
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; gap: 1.25rem;
}
.lockup{
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; margin-right: auto;
}
.lockup-mark{ width: 40px; height: 40px; }
.lockup-text{ font-weight: 700; font-size: .98rem; color: var(--ink); }
.nav-list{ display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a{
  display: block;
  font-weight: 500; font-size: .95rem;
  color: var(--body); text-decoration: none;
  padding: .55rem .7rem; border-radius: 8px;
}
.nav-list a:hover{ color: var(--emerald-deep); }
.nav-toggle{ display: none; }

@media (max-width: 940px){
  .header-cta{ display: none; }
  .nav-toggle{
    display: inline-block;
    background: none; border: 2px solid var(--hairline); border-radius: 8px;
    color: var(--ink); font-family: var(--font-sans); font-weight: 700;
    font-size: .85rem; padding: .5rem 1rem; cursor: pointer;
  }
  .nav-list{
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: .5rem clamp(1rem, 4vw, 2rem) 1rem;
    box-shadow: 0 18px 30px rgba(15,39,28,.08);
  }
  .nav-list a{ padding: .8rem .25rem; font-size: 1.05rem; }
  body.nav-open .nav-list{ display: flex; }
}

/* ---------- layout scaffolding ---------- */
.wrap{
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section{ padding-block: var(--space-section); }
.section-tint{ background: var(--tint); }

html.js .reveal{
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
html.js .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  html.js .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---------- hero ---------- */
.hero{ border-bottom: 1px solid var(--hairline); }
.hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-lead{
  font-size: 1.16rem;
  line-height: 1.7;
  max-width: 33rem;
  margin-bottom: 1.9rem;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: .8rem .9rem; margin-bottom: 2rem; }
.hero-creds{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
}
.hero-creds li{ color: var(--muted); }
.hero-photo{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}
@media (max-width: 940px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-photo{ order: -1; max-width: 26rem; }
}

/* ---------- method ---------- */
.section-head{ max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p{ font-size: 1.1rem; }
.method-steps{
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  counter-reset: step;
}
.step{
  border-top: 3px solid var(--ink);
  padding-top: 1.3rem;
}
.step-tag{ color: var(--emerald); display: inline-block; margin-bottom: .7rem; }
.step h3{ margin-bottom: .6rem; }
.step p{ margin-bottom: 0; }

/* ---------- services ---------- */
#services h2{ margin-bottom: 2rem; }
.service{
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(1.6rem, 3.5vw, 2.3rem);
  border-top: 1px solid var(--hairline);
}
.service:last-of-type{ border-bottom: 1px solid var(--hairline); }
.service-main p{ margin-bottom: 0; max-width: 48ch; }
.service-meta{ margin: 0; }
.service-meta div{ margin-bottom: .8rem; }
.service-meta div:last-child{ margin-bottom: 0; }
.service-meta dt{ color: var(--muted); margin-bottom: .1rem; }
.service-meta dd{ margin: 0; font-weight: 700; color: var(--ink); }
.service-footnote{
  margin: 1.6rem 0 0;
  font-size: .95rem;
  color: var(--muted);
}
@media (max-width: 820px){
  .service{ grid-template-columns: 1fr; gap: 1rem; align-items: start; }
}

/* ---------- workshop panel ---------- */
.workshop-panel{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.workshop-tag{ color: #7fd4ae; display: inline-block; margin-bottom: 1rem; }
.workshop-panel h2{ color: var(--paper); }
.workshop-panel p{ color: #c9dcd1; max-width: 46ch; }
.workshop-panel .btn-solid{
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.workshop-panel .btn-solid:hover{ background: #d8ecdf; border-color: #d8ecdf; }
.workshop-note{ font-size: .9rem; color: #9db8a9 !important; margin: 1rem 0 0; }
.workshop-facts{ margin: 0; align-self: center; }
.workshop-facts div{
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid rgba(213,224,216,.22);
}
.workshop-facts div:first-child{ border-top: 1px solid rgba(213,224,216,.22); }
.workshop-facts dt{ color: #9db8a9; align-self: center; }
.workshop-facts dd{ margin: 0; font-weight: 700; color: var(--paper); }
@media (max-width: 820px){
  .workshop-panel{ grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.about-grid{
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-photo{ margin: 0; }
.about-photo img{ border-radius: 14px; }
.about-photo figcaption{
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  margin-top: .8rem;
}
.inline-quote{
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.inline-quote p{
  font-size: 1.18rem; font-weight: 500; font-style: italic;
  color: var(--ink);
  margin: 0;
}
.creds-list{
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.creds-list li{
  font-family: var(--font-mono);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .4rem .85rem;
}
@media (max-width: 940px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-photo{ max-width: 24rem; }
}

/* ---------- contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-details{ margin: 2rem 0 0; }
.contact-details div{ margin-bottom: 1.3rem; }
.contact-details dt{ color: var(--muted); margin-bottom: .15rem; }
.contact-details dd{ margin: 0; font-size: 1.2rem; font-weight: 700; }
.contact-details dd a{ color: var(--ink); text-decoration-color: var(--emerald); }
.contact-details dd a:hover{ color: var(--emerald-deep); }
.contact-form{
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 1.1rem; }
.field label{
  display: block;
  color: var(--muted);
  margin-bottom: .35rem;
}
.field input, .field textarea{
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: .72rem .85rem;
}
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(14,122,82,.16);
}
.field textarea{ resize: vertical; min-height: 7rem; }
.form-error{ color: #a3253a; font-size: .95rem; }
.form-success{
  margin: 1.1rem 0 0;
  color: var(--body);
  font-size: .98rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
}
@media (max-width: 940px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer{
  background: var(--ink);
  color: #c9dcd1;
  padding: clamp(3rem, 6vw, 4.5rem) 0 6.5rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}
.footer-name{ font-weight: 800; font-size: 1.15rem; color: var(--paper); margin-bottom: .2rem; }
.footer-tag{ color: #9db8a9; margin-bottom: 1.4rem; }
.footer-crest{ width: 14rem; }
.footer-head{ color: #7fd4ae; margin-bottom: .9rem; }
.footer-col p{ margin-bottom: .55rem; }
.footer-col a{ color: #c9dcd1; text-decoration-color: rgba(127,212,174,.5); }
.footer-col a:hover{ color: var(--paper); }
.footer-base{
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(213,224,216,.18);
  padding-top: 1.6rem;
}
.footer-base p{ margin: 0; font-size: .9rem; color: #9db8a9; }
.footer-credit{
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem;
  color: #c9dcd1; text-decoration: none;
  border: 1px solid rgba(213,224,216,.25); border-radius: 999px;
  padding: .45rem .9rem;
}
.footer-credit:hover{ color: #7fd4ae; border-color: #7fd4ae; }
.footer-credit img{ width: 20px; height: 18px; }
@media (max-width: 820px){
  .footer-grid{ grid-template-columns: 1fr; gap: 1.8rem; }
}
