/* Seasons Strength: Home. Tokens first; everything else reads from them.
   Colours are the brief's palette. Fonts are placeholders until Kelly picks:
   change the two font tokens and nothing else. */
:root {
  --cream:  #FBF5F0;
  --beige:  #EFE7DB;
  --sage:   #DCE1D6;
  --green:  #4F6352;
  --green-hover: #425445;
  --forest: #2F3D36;
  --ink:    #2B2F2C;
  --ink-soft: #4C524D;
  --rose:   #A85F6E;
  --rose-on-forest: #E4B4BD;

  --sc-canvas: var(--cream);
  --sc-surface: var(--beige);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--rose);
  --sc-accent-ink: var(--cream);
  --sc-font-display: "Newsreader", Georgia, serif;
  --sc-font-text: "Figtree", system-ui, sans-serif;
  --sc-shadow-color: 25 25% 30%;

  --bar-h: 4.25rem;
  --radius: 22px;
  --pad: clamp(4.5rem, 8vw, 8.5rem);
}

body { background: var(--cream); color: var(--ink); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); }
em { font-style: italic; color: var(--rose); }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 0.6rem 1rem; border-radius: 999px;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.ground-beige { background: var(--beige); }

/* ------------------------------------------------------------ type ---- */
.label {
  font-size: 0.95rem; font-weight: 600; color: var(--rose);
  margin-bottom: var(--sc-4);
}
.hero__title, .h2, .h3, .lede, .familiar__me, .band__title, .peak__words, .wordmark {
  font-family: var(--sc-font-display);
  font-weight: 450;
  text-wrap: balance;
  font-optical-sizing: auto;
}
.hero__title {
  font-size: clamp(2.55rem, 1.5rem + 3.6vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.022em;
}
.h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.5rem);
  line-height: 1.05; letter-spacing: -0.018em;
}
.h3 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.lede {
  font-size: clamp(1.35rem, 1.15rem + 0.75vw, 1.85rem);
  line-height: 1.3; letter-spacing: -0.008em; text-wrap: pretty;
}
.body { color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; line-height: 1.62; }
.link {
  display: inline-flex; gap: 0.4em; align-items: baseline;
  color: var(--rose); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
  transition: text-decoration-thickness 160ms var(--sc-ease-out);
}
.link::after { content: "→"; text-decoration: none; transition: transform 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-thickness: 2px; }
  .link:hover::after { transform: translateX(3px); }
}

/* ---------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.8rem 1.6rem;
  border-radius: 999px; background: var(--green); color: var(--cream);
  font-weight: 600; font-size: 1.02rem; line-height: 1; white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 2px hsl(140 15% 20% / 0.18), 0 6px 18px -8px hsl(140 15% 20% / 0.35);
  transition: background-color 150ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 999px; }
.btn--sm { min-height: 2.6rem; padding: 0.6rem 1.15rem; font-size: 0.95rem; }

/* -------------------------------------------------------------- bar ---- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: var(--cream);
  transition: transform 320ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out);
}
.bar.is-scrolled { box-shadow: 0 1px 0 hsl(25 20% 30% / 0.1); }
.bar.is-tucked { transform: translateY(-100%); }
.bar:focus-within { transform: none; }
.bar__inner {
  height: var(--bar-h); max-width: var(--sc-maxw); margin-inline: auto;
  padding-inline: var(--sc-gutter);
  display: flex; align-items: center; gap: var(--sc-6);
}
.wordmark {
  font-size: 1.45rem; letter-spacing: -0.015em; color: var(--forest);
  text-decoration: none; white-space: nowrap; margin-right: auto;
}
.bar__nav { display: flex; gap: var(--sc-5); }
.bar__nav a {
  font-size: 0.97rem; font-weight: 500; text-decoration: none; color: var(--ink);
  padding-block: 0.4rem; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0 1.5px no-repeat;
  transition: background-size 180ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { background-size: 100% 1.5px; } }
@media (max-width: 1060px) { .bar__nav { display: none; } }
@media (max-width: 420px) { .wordmark { font-size: 1.2rem; } .bar__inner { gap: var(--sc-3); } }

/* ------------------------------------------------------------- hero ---- */
.hero {
  padding-top: calc(var(--bar-h) + clamp(1.5rem, 4vh, 3.5rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
}
.hero__inner {
  width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin-bottom: var(--sc-5); }
.hero__sub { max-width: 34ch; color: var(--ink-soft); font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; }
.hero__actions { margin-top: var(--sc-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-5); }
.hero__price { color: var(--ink-soft); font-size: 1rem; }
.hero__price a { color: var(--rose); font-weight: 600; }

/* The art box is measured in image pixels of the 1376x768 studio photo:
   u = one image pixel. The frame shows image x 600..1376; the lifter cutout,
   aligned to the same pixels, is allowed out past the frame's left edge. */
.hero__art {
  position: relative; container-type: inline-size;
  aspect-ratio: 926 / 740;
  --u: calc(100cqw / 926);
}
.hero__block {
  position: absolute; left: calc(20 * var(--u)); top: calc(150 * var(--u));
  width: calc(560 * var(--u)); height: calc(590 * var(--u));
  background: var(--sage); border-radius: var(--radius);
}
.hero__frame {
  position: absolute; left: calc(150 * var(--u)); top: 0;
  width: calc(776 * var(--u)); height: calc(688 * var(--u));
  overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.12), 0 24px 48px -24px hsl(var(--sc-shadow-color) / 0.45);
  z-index: 1;
}
.hero__pop {
  position: absolute; left: 0; top: 0;
  width: calc(926 * var(--u)); height: calc(688 * var(--u));
  overflow: hidden; pointer-events: none; z-index: 3;
  border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius);
}
.hero__scene { position: absolute; inset: 0; }
.hero__scene img {
  position: absolute; max-width: none;
  left: calc(-600 * var(--u)); top: calc(-40 * var(--u));
  width: calc(1376 * var(--u)); height: calc(768 * var(--u));
}
.hero__scene--pop img { left: calc(-450 * var(--u)); }

@media (max-width: 899px) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sc-6); }
  .hero__title { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 3.4rem); }
  .hero__art { width: 100%; max-width: 34rem; margin-inline: auto; }
}

/* --------------------------------------------------------- familiar ---- */
.familiar { padding-block: var(--pad); }
.familiar__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.familiar__photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
}
.familiar__text > * + * { margin-top: var(--sc-5); }
.familiar__text .h2 { margin-bottom: var(--sc-6); }
.familiar__me {
  font-size: clamp(3rem, 2rem + 4vw, 5.25rem); line-height: 1; letter-spacing: -0.03em;
  margin-top: var(--sc-7) !important;
}
@media (max-width: 899px) {
  .familiar__grid { grid-template-columns: 1fr; }
  .familiar__photo { max-width: 22rem; order: 2; }
}

/* ---------------------------------------------------------- changes ---- */
/* Never pinned. Desktop: three cards with the middle one set lower.
   Phone: a row the visitor can swipe, with the next card peeking in. */
.changes { background: var(--cream); padding-block: var(--pad); overflow: clip; }
.changes__lead { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.changes__lead .h2 { margin-bottom: var(--sc-5); }
.changes__row {
  max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start;
}
.promise:nth-child(2) { margin-top: clamp(2rem, 6vw, 5.5rem); }
.promise__photo {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  margin-bottom: var(--sc-5); position: relative;
}
.promise__move { position: absolute; left: 0; right: 0; top: -6%; height: 112%; }
.promise__move img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.promise .h3 { margin-bottom: var(--sc-3); }
.promise .body { font-size: 1.02rem; }
.changes__end {
  margin-top: clamp(2.5rem, 5vw, 4rem); font-family: var(--sc-font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); display: flex; flex-wrap: wrap; gap: 0.3em 0.8em; align-items: baseline;
}
.changes__end .link { font-family: var(--sc-font-text); font-size: 1rem; }
@media (max-width: 899px) {
  .changes__row {
    display: flex; gap: var(--sc-4); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter);
    padding-bottom: var(--sc-3); scrollbar-width: none;
  }
  .changes__row::-webkit-scrollbar { display: none; }
  .promise { flex: none; width: 78vw; max-width: 22rem; scroll-snap-align: start; }
  .promise:nth-child(2) { margin-top: 0; }
  .promise:last-child { margin-right: var(--sc-gutter); }
}

/* ------------------------------------------------------------ kelly ---- */
.kelly { padding-block: var(--pad); overflow: clip; }
.kelly__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.kelly__text > * + * { margin-top: var(--sc-4); }
.kelly__text .h2 { margin-bottom: var(--sc-6); }
.kelly__text .link { margin-top: var(--sc-6); }
.kelly__art { position: relative; padding-bottom: 8%; }
.kelly__main {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.1), 0 30px 60px -30px hsl(var(--sc-shadow-color) / 0.5);
}
.kelly__move { position: absolute; left: 0; right: 0; top: -7%; height: 114%; }
.kelly__move img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.kelly__inset {
  position: absolute; left: -12%; bottom: 0; width: 40%;
  border-radius: 16px; overflow: hidden;
  border: 6px solid var(--beige);
  box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.14), 0 18px 36px -18px hsl(var(--sc-shadow-color) / 0.5);
}
.kelly__inset img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 899px) {
  .kelly__grid { grid-template-columns: 1fr; }
  .kelly__art { width: min(88%, 26rem); margin-left: auto; }
  .kelly__inset { left: -14%; }
}

/* ---------------------------------------------------------- seasons ---- */
.seasons { padding-block: var(--pad); background: var(--sage); }
.seasons__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.seasons__text > * + * { margin-top: var(--sc-4); }
.seasons__text .h2 { margin-bottom: var(--sc-6); }
.seasons__text .body { color: var(--ink); }
.seasons__list { list-style: none; padding: 0; display: grid; gap: var(--sc-2); }
.seasons__list li {
  font-family: var(--sc-font-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.015em; color: var(--ink);
  padding-block: var(--sc-3); border-top: 1px solid hsl(150 10% 25% / 0.16);
  opacity: 0.38; transition: opacity 360ms var(--sc-ease-out);
}
.seasons__list li.is-on { opacity: 1; }
@media (max-width: 899px) { .seasons__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .seasons__list li { opacity: 1; } }

/* -------------------------------------------------------------- gym ---- */
.gym { background: var(--cream); padding-bottom: var(--pad); }
.gym__photo { height: min(78svh, 56vw); overflow: hidden; }
.gym__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.gym__text {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sc-6) clamp(2rem, 6vw, 6rem); padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.gym__text > div > * + * { margin-top: var(--sc-4); }
.gym__addr { font-weight: 600; color: var(--forest); }
@media (max-width: 899px) {
  .gym__photo { height: 62vw; min-height: 15rem; }
  .gym__text { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- peak ---- */
/* Not pinned. page.js grows "Stronger," a little (towards the left) and
   shrinks "not smaller." a little as the section passes through. */
.peak { background: var(--cream); padding-block: clamp(5.5rem, 12vw, 10rem); overflow: clip; }
.peak__inner { display: grid; justify-items: center; text-align: center; gap: clamp(2rem, 4vw, 3rem); }
.peak__words {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.5rem); line-height: 1; letter-spacing: -0.03em;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 0.28em;
}
.peak__strong, .peak__small { display: inline-block; }
.peak__strong { transform-origin: 100% 75%; }
.peak__small { transform-origin: 0 75%; color: var(--ink); }
.peak__strong em { font-weight: 500; }
.peak__copy { max-width: 40rem; display: grid; gap: var(--sc-4); justify-items: center; }
.peak__copy .body { margin-inline: auto; }

/* ------------------------------------------------------------- kick ---- */
.kick { padding-block: var(--pad); }
.kick__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sc-7) clamp(2.5rem, 7vw, 7rem); align-items: start;
}
.kick__head .h2 { margin-bottom: var(--sc-5); }
.kick__steps { list-style: none; padding: 0; display: grid; gap: var(--sc-6); }
.kick__steps li { padding-top: var(--sc-5); border-top: 1px solid hsl(25 20% 30% / 0.16); }
.kick__steps .h3 { margin-bottom: var(--sc-2); }
@media (max-width: 899px) { .kick__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- band ---- */
.band { background: var(--forest); color: var(--cream); padding-block: clamp(5rem, 10vw, 9rem); }
.band em { color: var(--rose-on-forest); }
.band__inner { display: grid; justify-items: center; text-align: center; gap: var(--sc-6); }
.band__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.btn--band { box-shadow: inset 0 0 0 1.5px hsl(30 50% 96% / 0.55), 0 10px 24px -12px hsl(150 30% 5% / 0.6); }
.btn--band:focus-visible { outline-color: var(--rose-on-forest); }
.band__note { color: hsl(30 30% 90% / 0.85); font-size: 1rem; }

/* ------------------------------------------------------------- foot ---- */
.foot { background: var(--beige); padding-block: var(--sc-8) var(--sc-6); font-size: 0.98rem; color: var(--ink-soft); }
.foot a { color: var(--ink); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sc-6); }
.wordmark--foot { font-size: 1.6rem; margin: 0; }
.foot__tag { font-family: var(--sc-font-display); font-style: italic; color: var(--rose); font-size: 1.15rem; margin-top: var(--sc-2); }
.foot__h { font-weight: 600; color: var(--ink); margin-bottom: var(--sc-2); }
.foot__base {
  margin-top: var(--sc-8); padding-top: var(--sc-5);
  background: linear-gradient(hsl(25 20% 30% / 0.14), hsl(25 20% 30% / 0.14)) content-box top / 100% 1px no-repeat;
  background-origin: content-box; background-clip: border-box;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sc-3); font-size: 0.9rem;
}
@media (max-width: 720px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* Hidden testimonial block, styled for the day it turns on. */
.voices { padding-block: var(--pad); background: var(--cream); }
.voices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--sc-6); margin-top: var(--sc-7); }
.voice { margin: 0; padding: var(--sc-6); background: var(--sage); border-radius: var(--radius); }
.voice p { font-family: var(--sc-font-display); font-size: 1.35rem; line-height: 1.35; }
.voice footer { margin-top: var(--sc-4); color: var(--ink-soft); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .bar { transition: none; }
  .bar.is-tucked { transform: none; }
}
