/* ==========================================================================
   Stefitness — Modern Movement
   Palette carried over from the original brand:
     slate  #5787A3   pink  #EDABC9   logo blue  #3175A8
   ========================================================================== */

:root {
  --slate:        #5787a3;
  --slate-deep:   #3f6a85;
  --slate-ink:    #2b4a5c;
  --pink:         #edabc9;
  --pink-soft:    #f9e8ef;
  --pink-deep:    #d98bae;   /* backgrounds only — too light for text */
  /* Text tokens verified AA (≥4.5) against every surface they land on:
     white #fff, cream #fbf8f5 and the darker band #f4eee9. */
  --pink-text:    #ab4971;   /* 5.33 / 5.04 / 4.63 */

  --ink:          #22303a;
  --body:         #4e5f6a;
  --muted:        #5e6d78;   /* 5.32 / 5.03 / 4.62 */

  --cream:        #fbf8f5;
  --cream-2:      #f4eee9;
  --white:        #ffffff;
  --line:         #e7ded7;

  --serif: "Source Serif 4", "Playfair Display", Georgia, serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --r:    18px;
  --r-lg: 26px;

  --sh-sm: 0 2px 8px rgba(43, 74, 92, .05);
  --sh:    0 10px 30px -12px rgba(43, 74, 92, .16);
  --sh-lg: 0 30px 60px -24px rgba(43, 74, 92, .26);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: var(--slate-deep); text-decoration: none; }

/* Visible keyboard focus everywhere, not just on .btn */
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--slate-ink); color: #fff;
  padding: .85em 1.6em; border-radius: 0 0 12px 12px;
  font-size: .9rem; font-weight: 800;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--slate);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1.15em; }

.wrap    { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.center  { text-align: center; }

/* ---------- shared bits ---------------------------------------------- */

.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink-text);
  margin: 0 0 1rem;
}

.lede { font-size: 1.13rem; line-height: 1.75; }

.sec-head { max-width: 660px; margin-bottom: 3.2rem; }
.sec-head.center { margin-inline: auto; }

/* the wave motif lifted from her logo */
.wave { display: block; width: 74px; height: 12px; margin: 0 0 1.4rem; color: var(--pink); }
.wave.center { margin-inline: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 1em 2.1em;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover     { transform: translateY(-2px); }
.btn:active    { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }

.btn-pink  { background: var(--pink); color: #4a2437; box-shadow: 0 8px 20px -8px rgba(217,139,174,.75); }
/* keep the dark label on hover — white on the deeper pink only reaches 2.3:1 */
.btn-pink:hover { background: var(--pink-deep); color: #3d1d2d; box-shadow: 0 14px 28px -10px rgba(217,139,174,.9); }

/* White on --slate is only 3.89:1 — button labels are small text, so these
   use --slate-deep (6.1:1) as the fill instead. */
.btn-slate { background: var(--slate-deep); color: #fff; box-shadow: 0 8px 20px -8px rgba(87,135,163,.7); }
.btn-slate:hover { background: var(--slate-ink); box-shadow: 0 14px 28px -10px rgba(87,135,163,.85); }

.btn-ghost { background: transparent; color: var(--slate-deep); border-color: rgba(87,135,163,.4); }
.btn-ghost:hover { background: var(--slate-deep); color: #fff; border-color: var(--slate-deep); }

.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--slate-deep); }

.btn-sm { padding: .72em 1.5em; font-size: .82rem; }

/* text link with arrow */
.tlink { font-weight: 800; font-size: .92rem; letter-spacing: .03em; display: inline-flex; gap: .45em; align-items: center; }
.tlink svg { transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.hdr-in { display: flex; align-items: center; gap: 2rem; }

.hdr.scrolled {
  background: rgba(251,248,245,.9);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--sh-sm);
  padding: 11px 0;
}

.brand { flex: 0 0 auto; }
.brand img { width: 148px; transition: width .35s var(--ease); }
.hdr.scrolled .brand img { width: 128px; }
.brand .lw { display: block; }
.brand .lb { display: none; }
.hdr.scrolled .brand .lw,
.hdr.solid   .brand .lw { display: none; }
.hdr.scrolled .brand .lb,
.hdr.solid   .brand .lb { display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2.2rem; }

.nav a.nl {
  font-size: .93rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  position: relative;
  padding: .3rem 0;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.hdr.scrolled .nav a.nl,
.hdr.solid   .nav a.nl { color: var(--slate-ink); }
.nav a.nl::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--pink);
  transition: width .3s var(--ease);
}
.nav a.nl:hover::after,
.nav a.nl[aria-current="page"]::after { width: 100%; }
.nav a.nl[aria-current="page"] { color: var(--pink); }
.hdr.scrolled .nav a.nl[aria-current="page"],
.hdr.solid   .nav a.nl[aria-current="page"] { color: var(--slate); }

.nav-cta { display: flex; gap: .7rem; align-items: center; }

/* burger */
.burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
}
.hdr.scrolled .burger, .hdr.solid .burger { background: rgba(87,135,163,.1); }
.burger span {
  position: absolute; left: 13px;
  width: 20px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .25s var(--ease), background-color .3s var(--ease);
}
.hdr.scrolled .burger span, .hdr.solid .burger span { background: var(--slate-ink); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* The drawer is cream, so the over-hero white logo and white bars would
   disappear into it — swap to the dark treatment while it's open. */
body.menu-open .hdr .brand .lw { display: none; }
body.menu-open .hdr .brand .lb { display: block; }
body.menu-open .burger { background: rgba(87,135,163,.1); }
body.menu-open .burger span { background: var(--slate-ink); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 104px 28px 40px;
  display: flex; flex-direction: column; gap: .4rem;
  transform: translateX(100%);
  /* visibility:hidden takes the links out of the tab order while the drawer
     is off-screen — without it, keyboard users tab through 7 invisible links
     on every page, desktop included. Delayed so the slide-out still shows. */
  visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
  overflow-y: auto;
}
body.menu-open .drawer {
  transform: translateX(0);
  visibility: visible;
  transition: transform .4s var(--ease), visibility 0s;
}
.drawer a.dl {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--slate);
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.drawer .btn { margin-top: .8rem; width: 100%; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(43,74,92,.72) 0%, rgba(43,74,92,.42) 45%, rgba(43,74,92,.12) 72%),
    linear-gradient(0deg, rgba(43,74,92,.34), rgba(43,74,92,0) 55%);
}
.hero-in { position: relative; z-index: 2; max-width: 660px; color: #fff; }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(20,40,55,.3); }
.hero h1 em { font-style: italic; color: var(--pink); display: block; }
.hero .eyebrow { color: var(--pink); }
.hero p { font-size: 1.16rem; color: rgba(255,255,255,.94); max-width: 520px; margin-bottom: 2.2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3.4vw, 2.7rem);
  margin-top: 3.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.26);
  max-width: 780px;
}
.hero-stats div { color: #fff; }
.hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-stats span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* page hero (inner pages) */
.phero {
  position: relative;
  padding: 190px 0 clamp(56px, 8vw, 86px);
  background: linear-gradient(170deg, var(--cream-2), var(--cream) 70%);
  overflow: hidden;
}
.phero::before {
  content: "";
  position: absolute;
  top: -170px; right: -110px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237,171,201,.34), transparent 68%);
}
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { max-width: 15ch; }
.phero p  { max-width: 60ch; font-size: 1.1rem; }

/* ==========================================================================
   INTRO / SPLIT
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  aspect-ratio: 4/3.15;
  object-fit: cover;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--pink);
  border-radius: var(--r-lg);
  z-index: -1;
}
.split.rev .split-media { order: 2; }
.split.rev .split-media::before { inset: 22px 22px -22px -22px; }

.pill-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.pill {
  font-size: .82rem;
  font-weight: 700;
  padding: .5em 1.05em;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--slate-deep);
}

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.9rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.055); }
.card-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { font-size: .96rem; }
.card-body .tlink { margin-top: auto; padding-top: .6rem; }

.tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  color: var(--slate-deep);
  font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .45em .95em; border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* pricing */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem 2.2rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.price-card.feat { border-color: var(--pink); box-shadow: var(--sh); }
.price-card.feat::after {
  content: "Most popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: #4a2437;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .45em 1.1em; border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { margin-bottom: .2rem; }
.price-meta { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.price {
  font-family: var(--serif);
  font-size: 3rem; font-weight: 600;
  color: var(--slate); line-height: 1;
  margin-bottom: .1em;
}
.price small { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .65rem; }
.price-card li { position: relative; padding-left: 1.85rem; font-size: .95rem; }
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d98bae' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/.72rem no-repeat;
}
.price-card .btn { margin-top: auto; }

/* schedule */
.sched { display: grid; gap: 1.6rem; grid-template-columns: repeat(2, 1fr); }
.sched-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.9rem;
}
.sched-block h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.sched-block h3 span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: 0 0 auto;
}
.sched-block.strength h3 span { background: var(--slate); }
.sched-list { list-style: none; padding: 0; margin: 0; }
.sched-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .97rem;
}
.sched-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sched-list b { color: var(--slate-ink); font-weight: 800; }
.sched-list span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* categories cloud */
.cats { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.cats span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .65em 1.3em;
  font-size: .9rem; font-weight: 700;
  color: var(--slate-deep);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.cats span:hover { transform: translateY(-3px); background: var(--slate); color: #fff; border-color: var(--slate); }

/* testimonials */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem 2rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute; top: 6px; left: 22px;
  font-family: var(--serif);
  font-size: 5rem; line-height: 1;
  color: var(--pink); opacity: .6;
}
.quote blockquote { margin: 0; }
.quote p { position: relative; font-size: 1rem; font-style: italic; color: var(--slate-ink); }
.quote figcaption {
  font-weight: 800;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-text);
}

/* ==========================================================================
   BANDS
   ========================================================================== */

.band-slate { background: var(--slate-ink); color: rgba(255,255,255,.85); }
.band-slate h2, .band-slate h3 { color: #fff; }
.band-slate .eyebrow { color: var(--pink); }
.band-cream { background: var(--cream-2); }

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--slate-ink);
  color: #fff;
  text-align: center;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px; border-radius: 50%;
}
.cta-band::before { top: -230px; left: -150px;  background: radial-gradient(circle, rgba(237,171,201,.30), transparent 70%); }
.cta-band::after  { bottom: -260px; right: -140px; background: radial-gradient(circle, rgba(87,135,163,.55), transparent 70%); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p  { max-width: 54ch; margin-inline: auto; color: rgba(255,255,255,.86); font-size: 1.1rem; }
.cta-btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-grid { display: grid; gap: 1.1rem; }
.field label {
  display: block;
  font-size: .8rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-ink);
  margin-bottom: .5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .95em 1.15em;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--slate);
  box-shadow: 0 0 0 4px rgba(87,135,163,.14);
}
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg {
  padding: 1em 1.2em; border-radius: 12px;
  font-size: .95rem; font-weight: 700;
  display: none;
}
.form-msg.ok   { display: block; background: var(--pink-soft); color: #8c4368; }
.form-msg.err  { display: block; background: #fdecec; color: #b23a3a; }

.newsletter { display: flex; gap: .7rem; flex-wrap: wrap; max-width: 480px; }
.newsletter input { flex: 1 1 220px; }

/* ==========================================================================
   BLOG
   ========================================================================== */

.post-hero { padding: 175px 0 0; background: linear-gradient(170deg, var(--cream-2), var(--cream) 75%); }
.post-hero .wrap { max-width: 820px; }
.post-meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-text); font-weight: 800; margin-bottom: 1rem; }
.post-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.post-cover { max-width: 980px; margin: 3rem auto -70px; padding-inline: 24px; }
.post-cover img { width: 100%; aspect-ratio: 16/8.4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }

.article { max-width: 720px; margin-inline: auto; padding: clamp(90px, 10vw, 130px) 24px clamp(60px, 7vw, 90px); }
.article > p:first-of-type { font-size: 1.2rem; color: var(--slate-ink); }
.article p { font-size: 1.06rem; line-height: 1.82; }
.article h2 { font-size: 1.8rem; margin-top: 2.4em; }
.article h3 { font-size: 1.35rem; margin-top: 2em; }
.article ul, .article ol { padding-left: 1.3rem; margin-bottom: 1.4em; }
.article li { margin-bottom: .55em; line-height: 1.8; }
.article img { border-radius: var(--r); margin: 2.2rem 0; }
.article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pink); }
.article blockquote {
  margin: 2.4rem 0; padding: .3rem 0 .3rem 1.7rem;
  border-left: 3px solid var(--pink);
  font-family: var(--serif); font-size: 1.35rem; font-style: italic;
  color: var(--slate);
}

.post-foot {
  max-width: 720px; margin: 0 auto; padding: 2.2rem 24px 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}

/* blog index */
.feature-post {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 3rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-post:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.feature-post .fp-media { aspect-ratio: 16/11; overflow: hidden; }
.feature-post .fp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature-post:hover .fp-media img { transform: scale(1.05); }
.feature-post .fp-body { padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.feature-post h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ftr { background: var(--slate-ink); color: rgba(255,255,255,.66); padding: clamp(60px, 7vw, 88px) 0 30px; font-size: .95rem; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.6rem; }
.ftr img.flogo { width: 160px; margin-bottom: 1.3rem; }
/* real <h2> so the document outline has no level skip; styled small */
.ftr .ftr-h {
  color: #fff; font-family: var(--sans);
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 1.2rem;
}
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ftr a { color: rgba(255,255,255,.66); transition: color .25s var(--ease); }
.ftr a:hover { color: var(--pink); }
.ftr-btm {
  margin-top: 3.2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem;
}
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--pink); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; fill: #fff; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */

.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* the drawer only exists below the nav breakpoint */
@media (min-width: 981px) { .drawer { display: none; } }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .feature-post { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split-media::before { display: none; }
  .grid-3, .grid-2, .sched { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 130px 0 74px; }
  .hero-bg img { object-position: 68% center; }
  /* portrait crops put the subject behind the copy — lean on a flat scrim */
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(43,74,92,.58), rgba(43,74,92,.66) 55%, rgba(43,74,92,.74));
  }
  .hero-stats { gap: 1.5rem 2.2rem; margin-top: 2.6rem; }
  .hero-stats b { font-size: 1.7rem; }
  .hero-btns .btn { flex: 1 1 100%; }
  .phero { padding-top: 140px; }
  .post-hero { padding-top: 130px; }
  .post-cover { margin-bottom: -46px; }
  .ftr-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
