/* ================================================
   JE Coaching Co. — layout + sections
   ================================================ */

/* =================================================================
   FRAME — full-width body padding handled in tokens.
   Each section is inside the frame; light sections edge-to-edge of
   the inner area, dark sections sit as inset rounded cards.
   ================================================================= */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 100; pointer-events: none;
}
.scroll-progress__bar {
  height: 100%; width: 0;
  background: var(--ink);
  transition: width 60ms linear;
}

/* =================================================================
   NAV — slim, top of page, inside the frame
   ================================================================= */
.nav {
  position: sticky;
  top: var(--frame);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav__brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}
.nav__brand .light {
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0;
}
.nav__menu {
  display: flex; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav__menu a:hover::after { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: -0.002em;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.pill .glyph {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.pill:hover { background: var(--ink); color: var(--paper); }
.pill:hover .glyph { transform: rotate(90deg); }
.pill--dark { background: rgba(250,248,244,0.10); color: var(--paper); }
.pill--dark:hover { background: var(--paper); color: var(--ink); }
.pill--ghost {
  background: transparent;
  border-color: var(--ink);
}
.pill--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =================================================================
   SECTION — rigid pattern
   ================================================================= */
.section {
  position: relative;
  padding: var(--pad-section) 0;
}
.section--dark {
  background: var(--dark);
  color: var(--dark-on);
  border-radius: var(--r-lg);
  padding: var(--pad-section) var(--gutter);
  margin: 0 0 var(--frame);
}
.section + .section { border-top: 1px solid var(--rule); }
.section--dark + .section,
.section + .section--dark { border-top: none; }

/* Section header */
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: clamp(40px, 5vw, 72px);
}
.section__body {
  display: grid;
  gap: clamp(20px, 3vw, 48px);
}

/* The "title block" — H1 + H2 + CTA, left-aligned per Kanso */
.title-block {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.title-block .h2 {
  margin-top: -6px;
  max-width: 56ch;
}
.title-block .cta-row {
  display: inline-flex; gap: 10px; flex-wrap: wrap;
  margin-top: 8px;
}

/* =================================================================
   ANIMATIONS — reveal
   ================================================================= */
.r-up    { opacity: 0; transform: translateY(24px); }
.r-fade  { opacity: 0; }
.r-up, .r-fade {
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
.r-up.is-in, .r-fade.is-in { opacity: 1; transform: translate(0, 0); }
[data-stagger] > *:nth-child(1).is-in { transition-delay: 0.05s; }
[data-stagger] > *:nth-child(2).is-in { transition-delay: 0.16s; }
[data-stagger] > *:nth-child(3).is-in { transition-delay: 0.28s; }
[data-stagger] > *:nth-child(4).is-in { transition-delay: 0.40s; }
[data-stagger] > *:nth-child(5).is-in { transition-delay: 0.52s; }
[data-stagger] > *:nth-child(6).is-in { transition-delay: 0.64s; }
[data-stagger] > *:nth-child(7).is-in { transition-delay: 0.76s; }
[data-stagger] > *:nth-child(8).is-in { transition-delay: 0.88s; }

@media (prefers-reduced-motion: reduce) {
  .r-up, .r-fade { opacity: 1; transform: none; transition: none; }
}

/* =================================================================
   HERO — signature wordmark + opening line + full image
   ================================================================= */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 40px); }
.hero__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(32px, 5vw, 64px);
}
.hero__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__brand .sig {
  font-family: 'Caveat', cursive;
  font-weight: 400;
  font-size: 1.4em;
  color: var(--ink);
  line-height: 0.9;
}
.hero__brand .wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.34em;
  text-transform: uppercase;
  border-top: 1px solid var(--ink);
  padding-top: 8px;
  display: inline-block;
  width: fit-content;
}
.hero__copy {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 36ch;
  margin: 0;
  margin-left: auto;
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-soft);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.hero__media:hover img { transform: scale(1.02); }

/* =================================================================
   ABOUT — 02
   ================================================================= */
.about__h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 clamp(40px, 5vw, 72px);
  text-wrap: balance;
}
.about__h1 .trail { color: var(--ink-mute); }

.about__band {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(20px, 3vw, 32px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(28px, 4vw, 48px);
  align-items: center;
}
.about__stats {
  display: flex; flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 40px);
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 16px);
}
.about__stats .item { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink-mute); }
.about__stats .item .v { color: var(--ink); font-weight: 500; }
.about__stats .sep { color: var(--ink-faint); }
.about__tag {
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 16px);
  color: var(--ink-mute);
  text-align: right;
  max-width: 44ch;
  margin-left: auto;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bento-gap);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 18/7;
  position: relative;
}
.about__cell {
  position: relative;
  background: var(--paper-soft);
  overflow: hidden;
}
.about__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease);
}
.about__cell:hover img { transform: scale(1.04); }

.about__play {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.about__play .circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(250,248,244,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(250,248,244,0.4);
  display: inline-flex; align-items: center; justify-content: center;
}
.about__play .circle svg { width: 22px; height: 22px; fill: var(--paper); }
.about__play .label {
  font-family: var(--font-body); font-size: 14px;
}

@media (max-width: 880px) {
  .hero__top { grid-template-columns: 1fr; }
  .hero__copy { margin-left: 0; }
  .about__band { grid-template-columns: 1fr; }
  .about__tag { text-align: left; margin-left: 0; }
  .about__grid { grid-template-columns: 1fr 1fr; aspect-ratio: 4/5; }
}

/* =================================================================
   WORK WITH ME — Bento (4 cols, tight gutters)
   ================================================================= */
.bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: var(--bento-gap);
}
.bento__col {
  display: grid;
  gap: var(--bento-gap);
  align-content: stretch;
}

.bento__cell {
  position: relative;
  background: var(--paper-soft);
  border-radius: var(--r-md);
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t-fast) var(--ease);
}
.bento__cell--image { padding: 0; background: var(--ink); min-height: 320px; }
.bento__cell--image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease);
}
.bento__cell--image:hover img { transform: scale(1.03); }
.bento__cell--image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.bento__cell--accent {
  background: var(--ink);
  color: var(--paper);
}
.bento__cell--accent .h3 { color: var(--paper); }
.bento__cell--accent .body { color: var(--dark-mute); }

.bento__title-top { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.2; letter-spacing: -0.012em; color: var(--ink); margin: 0; }
.bento__cell--accent .bento__title-top,
.bento__cell--image  .bento__title-top { color: var(--paper); }

.bento__icon {
  width: 22px; height: 22px;
  color: var(--ink);
  margin-bottom: 4px;
}
.bento__cell--accent .bento__icon,
.bento__cell--image .bento__icon { color: var(--paper); }

.bento__price {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  align-self: flex-start;
  margin-top: auto;
}
.bento__cell--accent .bento__price { color: var(--dark-mute); }

.bento__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body); font-size: 13px;
  align-self: flex-start;
  margin-top: auto;
  border: 1px solid var(--ink);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.bento__cta:hover { background: var(--ink); color: var(--paper); }
.bento__cta .glyph { transition: transform 0.4s var(--ease); }
.bento__cta:hover .glyph { transform: rotate(90deg); }
.bento__cell--image .bento__cta { background: var(--paper); color: var(--ink); border-color: transparent; }

/* Image card with overlay label */
.bento__overlay-title {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.bento__overlay-sub {
  position: absolute;
  bottom: 22px; right: 24px;
  z-index: 2;
  color: var(--dark-mute);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.bento__overlay-top {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: -0.012em;
}
.bento__copy-year {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper); opacity: 0.7;
  letter-spacing: 0.05em;
}

/* Tracks list */
.bento__tracks {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.bento__tracks li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--ink);
}
.bento__cell--accent .bento__tracks li { color: var(--paper); }
.bento__tracks .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
  flex-shrink: 0;
}

/* Testimonial bento card */
.bento__testi-rating {
  display: flex; justify-content: space-between; align-items: center;
}
.bento__avatars { display: flex; }
.bento__avatars .av {
  width: 28px; height: 28px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--paper-soft);
  margin-left: -10px;
}
.bento__avatars .av:first-child { margin-left: 0; }
.bento__avatars .av img { width: 100%; height: 100%; object-fit: cover; }
.bento__cell--accent .bento__avatars .av { border-color: var(--dark-soft); }
.bento__cell--image .bento__avatars .av { border-color: var(--ink); }

.bento__rate {
  font-family: var(--font-body);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px;
}
.bento__rate svg { width: 12px; height: 12px; }
.bento__quote {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.bento__cell--accent .bento__quote { color: var(--paper); }
.bento__stars { display: inline-flex; gap: 2px; color: var(--ink); }
.bento__stars svg { width: 11px; height: 11px; }

.bento__author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); }
.bento__author .av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.bento__author .av img { width: 100%; height: 100%; object-fit: cover; }
.bento__author .name { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink); }
.bento__author .role { font-family: var(--font-body); font-size: 12px; color: var(--ink-mute); }
.bento__cell--accent .bento__author { border-top-color: var(--dark-rule); }
.bento__cell--accent .bento__author .name { color: var(--paper); }
.bento__cell--accent .bento__author .role { color: var(--dark-mute); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
}

/* =================================================================
   SERVICES — dark inset card with vertical service list
   Numbers WIPE off to the right on hover.
   ================================================================= */
.svc {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  gap: clamp(2px, 0.5vw, 8px);
}
.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(14px, 1.6vw, 22px) 0;
  border-bottom: 1px solid var(--dark-rule);
  cursor: pointer;
}
.svc__row:last-child { border-bottom: none; }

.svc__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--dark-on);
  margin: 0;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}
.svc__title .label {
  display: inline-block;
  transition: transform 0.6s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.svc__title .label--rest  { transform: translateX(0); }
.svc__title .label--hover {
  position: absolute; left: 0; top: 0;
  color: var(--dark-on);
  transform: translateX(105cqw);
}
.svc__row:hover .svc__title .label--rest  { transform: translateX(-105cqw); }
.svc__row:hover .svc__title .label--hover { transform: translateX(0); }

/* Number on right — WIPES horizontally off-screen on hover, arrow comes IN from left */
.svc__num {
  position: relative;
  width: 96px; height: 80px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: flex-end;
}
.svc__num .face {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease);
  will-change: transform, opacity;
}
.svc__num .face--num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 68px);
  letter-spacing: -0.025em;
  color: var(--dark-mute);
  transform: translateX(0);
}
.svc__num .face--arrow {
  transform: translateX(-100%);
  opacity: 0;
}
.svc__num .face--arrow svg {
  width: 36px; height: 36px;
  color: var(--dark-on);
}
.svc__row:hover .svc__num .face--num   { transform: translateX(120%); opacity: 0; }
.svc__row:hover .svc__num .face--arrow { transform: translateX(0);    opacity: 1; }

@media (max-width: 760px) {
  .svc__num { width: 56px; height: 50px; }
  .svc__num .face--num { font-size: 32px; }
  .svc__num .face--arrow svg { width: 22px; height: 22px; }
}

/* =================================================================
   PROCESS — kept (drawer accordion); slightly refined to match Kanso
   ================================================================= */
.process {
  background: var(--paper-soft);
  border-radius: var(--r-md);
  padding: 12px;
}
.process__step {
  position: relative;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.process__step + .process__step { margin-top: 4px; }
.process__step:hover { background: rgba(255,255,255,0.55); border-color: var(--rule); }

.process__head {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
}
.process__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.process__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.014em;
  color: var(--ink); margin: 0;
}
.process__toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 14px;
  transition: transform 0.5s var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.process__step.is-open .process__toggle {
  transform: rotate(45deg);
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}

.process__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.process__step.is-open .process__body { max-height: 360px; }
.process__inner {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  padding: 0 28px 22px;
  align-items: start;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease) 0.1s, transform 0.4s var(--ease) 0.1s;
}
.process__step.is-open .process__inner { opacity: 1; transform: none; }
.process__desc {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.6;
  color: var(--ink-mute); margin: 0;
  max-width: 60ch;
}
.process__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: flex-end; max-width: 280px;
}
.process__tag {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
}
@media (max-width: 760px) {
  .process__head { grid-template-columns: 60px 1fr auto; padding: 18px 16px; gap: 14px; }
  .process__inner { grid-template-columns: 1fr; padding: 0 16px 18px; }
  .process__tags { justify-content: flex-start; max-width: none; }
}

/* =================================================================
   TESTIMONIALS — dark, 3-card carousel
   ================================================================= */
.testi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bento-gap);
}
.testi__card {
  position: relative;
  background: var(--dark-soft);
  border: 1px solid var(--dark-rule);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
}
.testi__card--video {
  padding: 0;
  background: var(--dark-soft);
  overflow: hidden;
}
.testi__card--video img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.testi__card--video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%);
}
.testi__rating-top {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
}
.testi__stars {
  display: inline-flex; gap: 2px;
  color: var(--dark-faint);
}
.testi__stars svg { width: 12px; height: 12px; }
.testi__score {
  font-family: var(--font-body); font-size: 12px;
  color: var(--dark-on);
}
.testi__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(250,248,244,0.18);
  border: 1px solid rgba(250,248,244,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; justify-content: center;
}
.testi__play svg { width: 18px; height: 18px; fill: var(--paper); }

.testi__author-bottom {
  position: absolute; left: 20px; bottom: 20px;
  z-index: 3;
}
.testi__author-bottom .name {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--paper);
  display: block;
}
.testi__author-bottom .role {
  font-family: var(--font-body); font-size: 12px;
  color: var(--dark-mute);
}

.testi__quote {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.4;
  color: var(--dark-on);
  margin: 0;
  flex-grow: 1;
}
.testi__foot {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-rule);
}
.testi__foot .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--dark-soft); }
.testi__foot .av img { width: 100%; height: 100%; object-fit: cover; }
.testi__foot .meta { display: grid; gap: 1px; }
.testi__foot .name { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--paper); }
.testi__foot .role { font-family: var(--font-body); font-size: 12px; color: var(--dark-mute); }

.testi__nav {
  display: inline-flex; gap: 8px;
}
.testi__nav button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(250,248,244,0.08);
  color: var(--dark-on);
  border: 1px solid var(--dark-rule);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.testi__nav button:hover { background: var(--paper); color: var(--ink); }
.testi__nav svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .testi { grid-template-columns: 1fr; }
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  padding: clamp(64px, 8vw, 112px) 0 24px;
  border-top: 1px solid var(--rule);
}
.footer__big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(72px, 14vw, 240px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 40px;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.05em;
}
.footer__big .sig {
  font-family: 'Caveat', cursive;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-right: 0.04em;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--rule);
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400;
  letter-spacing: -0.002em;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__col a {
  font-family: var(--font-body); font-size: 14px;
  position: relative;
}
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: currentColor;
  transition: width 0.4s var(--ease);
}
.footer__col a:hover::after { width: 100%; }

.footer__legal {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-mute);
}
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }
