/* ══════════════════════════════════════════════════════════════
   Дарья Седенкова — psychotherapist landing
   Light editorial · white + cream · mono meta · serif display
   Design language adapted from bymonolog studio aesthetics
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink:      #1a1712;   /* warm near-black */
  --ink-70:   #57504608; /* placeholder (unused) */
  --ink-body: #4a443b;
  --ink-mute: #8f877b;
  --paper:    #f7f4ef;   /* warm white — page bg */
  --cream:    #efe8dc;   /* cream panel */
  --cream-2:  #e7dfd1;   /* deeper cream */
  --white:    #fffdf9;
  --line:     #ddd4c5;   /* hairline */
  --line-2:   #cabfac;
  --accent:   #94795a;   /* muted clay/taupe */

  --max:      1240px;
  --gutter:   clamp(20px, 5vw, 68px);

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }

/* ── mono meta helper ── */
.mono {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}

/* ── section rubric (numbered hairline label) ── */
.rubric {
  display: flex; align-items: center; gap: 16px;
  padding-top: 20px; margin-bottom: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.rubric__no { color: var(--accent); }
.rubric__label { color: var(--ink-mute); }
.rubric__label::before { content: "— "; }
.rubric--light { border-color: rgba(247,244,239,.16); }
.rubric--light .rubric__label { color: rgba(247,244,239,.55); }
.rubric--light .rubric__no { color: var(--accent); }

/* ── titles ── */
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06;
  letter-spacing: -.012em; max-width: 18ch;
  margin-bottom: clamp(32px, 5vw, 60px);
}
.section-title em { font-style: italic; color: var(--accent); }
.eyebrow { color: var(--accent); margin-bottom: 18px; }
.section-note { color: var(--ink-mute); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 500;
  padding: 16px 26px; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover .arrow { transform: translateX(5px); }
.btn--dark  { background: var(--ink); color: var(--paper); }
.btn--dark:hover  { background: #000; transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }

/* ══════════ HEADER ══════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 14px;
  background: rgba(247,244,239,.72);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), padding .4s var(--ease),
              box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247,244,239,.9);
  backdrop-filter: saturate(180%) blur(16px);
  padding-block: 9px;
  box-shadow: 0 8px 24px -20px rgba(26,23,18,.5);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: .01em; }
.brand__role { color: var(--ink-mute); font-size: 10.5px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__link {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-body); transition: color .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link--cta {
  color: var(--ink); border: 1px solid var(--line-2);
  padding: 11px 18px; border-radius: 2px;
}
.nav__link--cta:hover { border-color: var(--ink); }
.nav__link--cta:hover .arrow { transform: translateX(4px); }

.burger { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ══════════ HERO ══════════ */
.hero { position: relative; overflow: hidden; padding-top: clamp(74px, 9vh, 96px); padding-bottom: clamp(28px, 3.5vw, 48px); }
.hero .container { position: relative; z-index: 1; }
.hero__flow {
  position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto;
  opacity: .55; pointer-events: none; z-index: 0;
}
.hero__topline {
  display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between;
  color: var(--ink-mute); padding-bottom: 12px; margin-bottom: clamp(16px, 2.2vw, 26px);
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 70px); line-height: 1.02;
  letter-spacing: -.02em; margin-bottom: 26px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-body); max-width: 44ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; margin: 0; display: flex; flex-direction: column; }
.hero__media .frame { flex: 1 1 0; min-height: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  border-radius: 3px; filter: grayscale(100%) contrast(1.02);
}
.hero__media figcaption {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-top: 14px; color: var(--ink-mute); line-height: 1.4;
}
.hero__media-no { font-size: 22px; color: var(--accent); letter-spacing: 0; }

/* ══════════ MARQUEE ══════════ */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding-block: clamp(26px, 4vw, 48px);
  border-block: 1px solid var(--line);
  background: var(--cream);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 34px;
  animation: marquee 38s linear infinite; will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(28px, 4.6vw, 60px); color: var(--ink); letter-spacing: -.01em;
}
.marquee__track i.mq-sep {
  flex: none; display: inline-block;
  width: clamp(13px, 1.5vw, 20px); height: clamp(13px, 1.5vw, 20px);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C13 8 16 11 24 12C16 13 13 16 12 24C11 16 8 13 0 12C8 11 11 8 12 0Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C13 8 16 11 24 12C16 13 13 16 12 24C11 16 8 13 0 12C8 11 11 8 12 0Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ══════════ ABOUT ══════════ */
.about { background: var(--cream); }
.about .rubric { border-color: var(--line-2); }
.about__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.about__media { margin: 0; }
.about__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; filter: grayscale(100%) contrast(1.02); }
.about__intro { font-family: var(--font-display); font-size: clamp(23px, 2.5vw, 33px); line-height: 1.3; font-weight: 400; margin-bottom: 26px; }
.about__body { color: var(--ink-body); margin-bottom: 38px; max-width: 54ch; }
.credentials { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.credentials li {
  position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line-2);
  color: var(--ink); font-size: 12.5px; letter-spacing: .04em; line-height: 1.5;
}
.credentials li::before { content: "◦"; position: absolute; left: 4px; top: 15px; color: var(--accent); font-size: 15px; }

/* ══════════ APPROACH ══════════ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(26px, 3vw, 40px); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; min-height: 260px;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -32px rgba(26,23,18,.45); }
.card__num { color: var(--accent); }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2vw, 27px); line-height: 1.18; margin: auto 0 14px; }
.card__text { color: var(--ink-body); font-size: 16px; }

/* ══════════ REQUESTS ══════════ */
.requests__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.requests .section-title { margin-bottom: 0; }
.requests__list { border-top: 1px solid var(--line); }
.requests__list li {
  display: flex; gap: 22px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(19px, 2vw, 26px); line-height: 1.25;
}
.requests__list li span { color: var(--accent); flex: none; }

/* ══════════ SYMPTOMS ══════════ */
.symptoms { background: var(--ink); color: var(--paper); }
.symptoms .section-title { color: var(--paper); }
.symptoms__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.symptom {
  background: #201b14; border: 1px solid rgba(247,244,239,.1); border-radius: 4px;
  padding: clamp(24px, 2.6vw, 36px); transition: background .4s var(--ease), transform .4s var(--ease);
  overflow: hidden;
}
.symptom:hover { background: #2a241b; transform: translateY(-3px); }
.symptom h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin-bottom: 12px; }
.symptom p { color: rgba(247,244,239,.58); font-size: 14.5px; }

/* ══════════ SPORT ══════════ */
.sport { background: var(--cream); }
.sport .rubric { border-color: var(--line-2); }
.sport__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.sport__intro { position: sticky; top: clamp(86px, 11vh, 108px); }
.sport__intro .section-title { margin-bottom: 20px; }
.sport__note { color: var(--ink-body); max-width: 46ch; }
.sport__list { border-top: 1px solid var(--line-2); }
.sport__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: clamp(20px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line-2);
  transition: padding-left .4s var(--ease);
}
.sport__list li:hover { padding-left: 12px; }
.sport__no { color: var(--accent); padding-top: 5px; }
.sport__list h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.2; margin-bottom: 8px; transition: color .4s var(--ease); }
.sport__list li:hover h3 { color: var(--accent); }
.sport__list p { color: var(--ink-body); font-size: 15.5px; }

/* ══════════ PROCESS ══════════ */
.process__list { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 90px 1fr; gap: clamp(18px, 4vw, 60px);
  padding: clamp(28px, 4vw, 50px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.step__num { font-size: 15px; color: var(--accent); padding-top: 8px; }
.step__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 33px); line-height: 1.15; margin-bottom: 14px; }
.step__text { color: var(--ink-body); max-width: 62ch; }

/* ══════════ PRICING ══════════ */
.pricing__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(30px, 4vw, 52px); }
.pricing__head .section-title { margin-bottom: 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.price {
  background: var(--white); border: 1px solid var(--line); border-radius: 5px;
  padding: clamp(28px, 3.2vw, 46px); display: flex; flex-direction: column;
}
.price--accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price__tag { color: var(--accent); margin-bottom: 22px; }
.price--accent .price__tag { color: var(--accent); }
.price__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); }
.price__value { font-family: var(--font-display); font-size: clamp(48px, 6.5vw, 78px); font-weight: 500; line-height: 1; margin: 14px 0 20px; }
.price__value span { font-size: .42em; color: var(--accent); }
.price__sub { color: var(--accent); margin: -12px 0 18px; letter-spacing: .06em; }
.price__desc { color: var(--ink-body); margin-bottom: 30px; flex: 1; }
.price--accent .price__desc { color: rgba(247,244,239,.66); }
.price .btn { align-self: flex-start; }

/* ══════════ FAQ ══════════ */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.faq__grid .section-title { margin-bottom: 0; position: sticky; top: clamp(86px, 11vh, 108px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) 0; color: var(--ink);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.25; transition: color .35s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent); transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a { height: 0; overflow: hidden; transition: height .42s var(--ease); }
.faq__a-inner p { color: var(--ink-body); max-width: 60ch; padding-bottom: clamp(20px, 2.4vw, 28px); font-size: 16px; }
.faq__a-inner a { color: var(--accent); border-bottom: 1px solid var(--line-2); transition: border-color .3s var(--ease); }
.faq__a-inner a:hover { border-color: var(--accent); }

/* ══════════ CONTACT ══════════ */
.contact { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.contact__flow { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; opacity: .28; pointer-events: none; z-index: 0; }
.contact__inner { position: relative; z-index: 1; }
.contact__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 6vw, 78px); line-height: 1.02; letter-spacing: -.02em; margin: clamp(24px, 4vw, 44px) 0 24px; }
.contact__title em { font-style: italic; color: var(--accent); }
.contact__lead { color: rgba(247,244,239,.62); max-width: 46ch; margin-bottom: clamp(40px, 6vw, 64px); font-size: 18px; }
.contact__links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(247,244,239,.14); border: 1px solid rgba(247,244,239,.14);
  border-radius: 5px; overflow: hidden;
}
.contact__link { background: var(--ink); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; transition: background .4s var(--ease); }
a.contact__link:hover { background: #241f18; }
a.contact__link:hover .arrow { transform: translateX(5px); }
.contact__label { color: var(--accent); }
.contact__value { font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 24px); }

/* ══════════ TELEGRAM CHANNEL ══════════ */
.channel {
  position: relative; z-index: 1;
  margin-top: clamp(20px, 3vw, 34px);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(247,244,239,.16); border-radius: 6px;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.channel:hover { background: #241f18; border-color: rgba(247,244,239,.32); transform: translateY(-3px); }
.channel:hover .arrow { transform: translateX(5px); }
.channel__label { display: block; color: var(--accent); margin-bottom: 12px; }
.channel__desc { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.4; color: rgba(247,244,239,.8); max-width: 58ch; }
.channel__cta { flex: none; color: var(--paper); padding: 13px 22px; border: 1px solid rgba(247,244,239,.3); border-radius: 100px; transition: background .35s var(--ease), color .35s var(--ease); }
.channel:hover .channel__cta { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ══════════ FOOTER ══════════ */
.site-footer { background: var(--ink); color: rgba(247,244,239,.5); padding-block: 26px; border-top: 1px solid rgba(247,244,239,.1); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer__name { font-family: var(--font-display); color: var(--paper); font-size: 15px; letter-spacing: normal; text-transform: none; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.footer__dev { color: rgba(247,244,239,.42); }
.footer__dev a { color: rgba(247,244,239,.6); transition: color .3s var(--ease); }
.footer__dev a:hover { color: var(--accent); }

/* ══════════ REVEAL ══════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 900px) {
  .hero__grid, .about__grid, .requests__grid, .sport__grid, .faq__grid { grid-template-columns: 1fr; }
  .sport__intro { position: static; margin-bottom: 20px; }
  .faq__grid .section-title { position: static; margin-bottom: 20px; }
  .hero { padding-top: clamp(96px, 15vh, 122px); padding-bottom: clamp(36px, 7vw, 60px); }
  .hero__grid { align-items: start; gap: 32px; }
  .hero__title { margin-bottom: 22px; }
  .hero__lead { margin-bottom: 30px; }
  .hero__media { display: block; margin-top: 8px; }
  .hero__media img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .about__media { order: 2; }
  .cards-3, .pricing__grid, .contact__links { grid-template-columns: 1fr; }
  .symptoms__grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }

  /* header backdrop-filter creates a containing block for fixed children —
     disable it on mobile so the nav drawer positions against the viewport */
  .site-header, .site-header.is-scrolled {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(247,244,239,.97);
  }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 350px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: clamp(18px, 3.4vh, 28px); padding: 92px var(--gutter) 40px; background: var(--paper);
    box-shadow: -20px 0 60px -30px rgba(26,23,18,.5);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .5s var(--ease); z-index: 45;
  }
  .nav.is-open { transform: none; }
  .nav__link { font-size: 15px; }
  .burger { display: block; z-index: 45; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .symptoms__grid, .contact__links { grid-template-columns: 1fr; }
  .channel { flex-direction: column; align-items: flex-start; gap: 20px; }
  .brand__role { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   INTERACTIONS · HOVER · SCROLL  (enhancement layer)
   ══════════════════════════════════════════════════════════════ */

/* ── scroll progress bar ── */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: var(--accent); transform-origin: left;
  transition: width .1s linear;
}

/* ── image frames: zoom on hover, parallax host ── */
.frame { display: block; overflow: hidden; border-radius: 3px; will-change: transform; }

/* ── nav: sliding underline ── */
.nav__link:not(.nav__link--cta) { position: relative; }
.nav__link:not(.nav__link--cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1px; background: var(--ink); transition: right .38s var(--ease);
}
.nav__link:not(.nav__link--cta):hover::after { right: 0; }

/* ── buttons: clean background hovers (text always readable) ── */
.btn--light:hover { background: #fff; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── nav CTA: animated fill on hover ── */
.nav__link--cta { transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.nav__link--cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── scrollspy: active nav link ── */
.nav__link.is-active { color: var(--ink); }
.nav__link:not(.nav__link--cta).is-active::after { right: 0; }

/* ── cards: title + number react ── */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover::after { transform: scaleX(1); }
.card__title, .card__num { transition: color .4s var(--ease); }
.card:hover .card__title { color: var(--accent); }

/* ── requests list: slide + number ── */
.requests__list li { transition: padding-left .4s var(--ease), color .4s var(--ease); }
.requests__list li span { transition: color .4s var(--ease); }
.requests__list li:hover { padding-left: 14px; }
.requests__list li:hover span { color: var(--ink); }

/* ── symptoms: heading nudge + accent bar ── */
.symptom { position: relative; }
.symptom::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.symptom:hover::before { transform: scaleY(1); }
.symptom h3 { transition: transform .4s var(--ease); }
.symptom:hover h3 { transform: translateX(6px); }

/* ── credentials rows ── */
.credentials li { transition: padding-left .4s var(--ease), background .4s var(--ease); }
.credentials li:hover { padding-left: 38px; }

/* ── process steps ── */
.step { transition: background .45s var(--ease); }
.step__title { transition: color .4s var(--ease); }
.step:hover .step__title { color: var(--accent); }

/* ── price cards lift ── */
.price { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -34px rgba(26,23,18,.5); }

/* ── contact links accent bar ── */
.contact__link { position: relative; }
a.contact__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
a.contact__link:hover::after { transform: scaleX(1); }

/* ── staggered reveal children get delays via inline --d (set in JS) ── */
.reveal { transition-delay: var(--d, 0ms); }

/* ── marquee edge fade ── */
.marquee { position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--cream), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }
