/* ==========================================================================
   Adrienn Lencses — coaching site
   Palette drawn from her own photographs: plaster walls, aubergine top,
   olive corduroy sofa, ochre cushion, petrol-blue chair.
   ========================================================================== */

:root {
  --plaster: #F1EFE9;
  --chalk:   #FBFAF6;
  --ink:     #2A2430;
  --plum:    #4C3852;
  --olive:   #5F6E48;   /* text-safe */
  --olive-soft: #74855A; /* decorative fills only */
  --ochre:   #C8912F;
  --petrol:  #1F5375;

  --rule: rgba(42, 36, 48, 0.14);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 2px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- base ---------- */
body {
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 1.02rem + 0.22vw, 1.1875rem);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
  letter-spacing: -0.018em;
  line-height: 1.05;
  color: var(--plum);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
h3 {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--ink);
}

p + p { margin-top: 1em; }
strong { font-weight: 700; }

a { color: var(--petrol); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum); }

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 100;
  background: var(--plum); color: var(--chalk);
  padding: 0.6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--chalk); }

/* ---------- layout ---------- */
.wrap {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}
@media (min-width: 40em) { .wrap { width: min(100% - 4rem, 1180px); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.measure { max-width: var(--measure); }
.lede {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  color: rgba(42, 36, 48, 0.86);
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 1.25rem;
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* tinted section bands */
.band--plum { background: var(--plum); color: #EDE6EC; }
.band--plum h2, .band--plum h3, .band--plum .display { color: #FBFAF6; }
.band--plum .eyebrow { color: #C6AE7E; }
.band--plum a { color: #E7CE9A; }
.band--plum a:hover { color: #FBFAF6; }
.band--olive { background: rgba(116, 133, 90, 0.11); }
.band--chalk { background: var(--chalk); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(241, 239, 233, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.9rem;
}

.brand { text-decoration: none; color: var(--plum); line-height: 1.1; display: block; }
.brand__name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: 1.28rem; letter-spacing: -0.015em;
}
.brand__role {
  display: block;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.19em;
  text-transform: uppercase; color: var(--olive); margin-top: 0.18rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list { display: flex; gap: clamp(1rem, 2.2vw, 2rem); flex-wrap: wrap; }
.nav__list a {
  text-decoration: none; color: var(--ink);
  font-size: 0.9rem; font-weight: 500;
  padding-block: 0.35rem;
  border-bottom: 1.5px solid transparent;
}
.nav__list a:hover { border-bottom-color: var(--olive-soft); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--ochre); }

.lang {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
}
.lang a { text-decoration: none; color: rgba(42, 36, 48, 0.72); }
.lang a:hover { color: var(--plum); }
.lang [aria-current="true"] { color: var(--plum); }
.lang__sep { color: var(--rule); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 0.45rem 0.7rem; cursor: pointer;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}

@media (max-width: 47.99em) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--chalk); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; width: 100%; }
  .nav__list a { display: block; padding-block: 0.8rem; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--plum); }
  .lang { padding-top: 1rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--plum); color: var(--chalk); }
.btn--primary:hover { background: var(--ink); color: var(--chalk); }
.btn--ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--ghost:hover { background: var(--plum); color: var(--chalk); }
.btn--light { background: var(--ochre); color: #241C10; }
.btn--light:hover { background: #E0A63C; color: #241C10; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin-top: 2rem; }

.textlink {
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
  text-decoration: none; border-bottom: 1.5px solid var(--ochre);
  padding-bottom: 2px; color: var(--plum);
}
.textlink:hover { border-bottom-color: var(--plum); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: var(--section-y); }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 56em) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem, 6vw, 5.5rem); }
}
.hero__title { margin-bottom: 1.5rem; }
.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%;
  border-radius: var(--radius);
}
.hero__figure { isolation: isolate; }
.hero__figure::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 42%; height: 38%; background: rgba(116, 133, 90, 0.22);
  z-index: 0; border-radius: var(--radius);
}
.hero__figure picture { position: relative; z-index: 1; display: block; }
.hero__places {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(42, 36, 48, 0.72); margin-top: 1.75rem;
}

/* ---------- the scale (signature element) ---------- */
.scale-block { background: var(--chalk); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.scale { margin-top: 2.5rem; }
.scale__track {
  position: relative;
  display: grid; grid-template-columns: repeat(11, 1fr);
  gap: clamp(2px, 0.6vw, 8px);
  margin-bottom: 2rem;
}
.scale__track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--rule);
}
.scale__step {
  position: relative;
  background: var(--plaster);
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  aspect-ratio: 1;
  cursor: pointer;
  font-family: var(--body);
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  font-weight: 700;
  color: rgba(42, 36, 48, 0.55);
  display: grid; place-items: center;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.scale__step:hover { border-color: var(--olive-soft); color: var(--plum); }
.scale__step[aria-pressed="true"] {
  background: var(--ochre); border-color: var(--ochre); color: #241C10;
  transform: scale(1.14);
}
.scale__ends {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(42, 36, 48, 0.72);
  margin-top: -1.2rem; margin-bottom: 2.25rem;
  gap: 1rem;
}
.scale__ends span:last-child { text-align: right; }

.scale__out { min-height: 8.5rem; }
.scale__q {
  font-family: var(--display);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(1.35rem, 1.05rem + 1.35vw, 2.1rem);
  line-height: 1.22; color: var(--plum); max-width: 26ch;
}
.scale__q + .scale__q { margin-top: 0.9rem; color: rgba(76, 56, 82, 0.65); }
.scale__note {
  margin-top: 1.6rem; font-size: 0.95rem; max-width: 46ch;
  color: rgba(42, 36, 48, 0.78);
  padding-left: 1rem; border-left: 2px solid var(--olive);
}
.scale__placeholder { color: rgba(42, 36, 48, 0.7); font-size: 1rem; max-width: 34ch; }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 44em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56em) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--chalk); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); border: 1px solid var(--rule); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: rgba(42, 36, 48, 0.82); }

/* split: text + image */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--narrow-img { grid-template-columns: 1.15fr 0.85fr; }
  .split--img-first > :first-child { order: 2; }
  .split--img-first > :last-child { order: 1; }
}
.split figure img { border-radius: var(--radius); width: 100%; }
.figcap {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(42, 36, 48, 0.45); margin-top: 0.7rem;
}

/* ---------- steps (a real sequence) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 3rem; }
.step {
  display: grid; gap: 0.4rem 1.75rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 44em) { .step { grid-template-columns: 4.5rem 1fr; } }
.step__num {
  counter-increment: step;
  font-family: var(--display);
  font-variation-settings: "WONK" 1;
  font-size: 1.5rem; color: var(--olive); line-height: 1;
}
.step__num::before { content: "0" counter(step); }
.step p { color: rgba(42, 36, 48, 0.82); font-size: 0.98rem; margin-top: 0.35rem; }
.band--plum .step { border-color: rgba(251, 250, 246, 0.18); }
.band--plum .step p { color: rgba(237, 230, 236, 0.82); }
.band--plum .step__num { color: #C6AE7E; }

/* ---------- credentials ---------- */
.creds { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 50em) { .creds { grid-template-columns: auto 1fr; } }
.creds__badges { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.creds__badges img { width: clamp(88px, 12vw, 120px); height: auto; }
.creds__list { display: grid; gap: 0; }
.cred {
  display: grid; gap: 0.15rem 1.5rem;
  padding-block: 0.95rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
}
.cred:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 40em) { .cred { grid-template-columns: 1fr auto; align-items: baseline; } }
.cred__what { font-weight: 700; color: var(--plum); }
.cred__where { color: rgba(42, 36, 48, 0.72); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding-block: 1.35rem; padding-right: 2.5rem;
  position: relative;
  font-weight: 700; font-size: 1.02rem; color: var(--plum);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display); font-size: 1.5rem; font-weight: 300;
  color: var(--olive); line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--ink); }
.faq__a { padding-bottom: 1.5rem; max-width: 60ch; font-size: 0.98rem; color: rgba(42, 36, 48, 0.85); }

/* ---------- prose lists ---------- */
.ticks { display: grid; gap: 0.8rem; margin-top: 1.75rem; }
.ticks li { position: relative; padding-left: 1.9rem; font-size: 1rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.85rem; height: 1px; background: var(--ochre);
}

/* ---------- pull quote ---------- */
.pull {
  font-family: var(--display);
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  line-height: 1.2; color: var(--plum);
  max-width: 22ch;
}
.pull cite {
  display: block; margin-top: 1.25rem;
  font-family: var(--body); font-style: normal;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--olive);
}
.band--plum .pull { color: #FBFAF6; }
.band--plum .pull cite { color: #C6AE7E; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 1.25rem; max-width: 34rem; margin-top: 2.5rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(42, 36, 48, 0.7); }
.field input, .field textarea {
  background: var(--chalk);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(31, 83, 117, 0.15); }
.field textarea { min-height: 9rem; resize: vertical; }
.form__note { font-size: 0.85rem; color: rgba(42, 36, 48, 0.72); max-width: 34rem; }
.form__status { font-size: 0.95rem; font-weight: 700; }
.form__status[data-state="ok"] { color: var(--olive); }
.form__status[data-state="error"] { color: #A23B2E; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.contact-lines { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-lines dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); }
.contact-lines dd { font-size: 1.08rem; margin-top: 0.15rem; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-lines a:hover { border-bottom-color: var(--petrol); }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .btn-row { justify-content: flex-start; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: rgba(241, 239, 233, 0.78);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.92rem;
}
.site-footer a { color: rgba(241, 239, 233, 0.78); text-decoration: none; border-bottom: 1px solid rgba(241, 239, 233, 0.25); }
.site-footer a:hover { color: #fff; border-bottom-color: #fff; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 44em) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h2 {
  font-family: var(--display); font-size: 1.3rem; color: var(--chalk);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.site-footer__head { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 239, 233, 0.6); margin-bottom: 0.9rem; }
.site-footer li + li { margin-top: 0.5rem; }
.site-footer__base {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(241, 239, 233, 0.16);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.8rem; color: rgba(241, 239, 233, 0.62);
}

/* ---------- scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- language splash (root index) ---------- */
.splash {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 2rem;
}
.splash__inner { max-width: 30rem; }
.splash h1 { margin-bottom: 0.5rem; }
.splash p { color: rgba(42, 36, 48, 0.65); margin-bottom: 2.5rem; }
.splash .btn-row { justify-content: center; }

.site-footer__badge {
  width: 86px; height: auto; margin-bottom: 1.25rem;
  background: var(--chalk); border-radius: 50%; padding: 4px;
}
