/* =========================================================
   Spavelle — aesthetic care studio
   Tokens, layout primitives, and block styles
   ========================================================= */

:root {
  --stone: #f7f5f0;
  --merino: #f2efe5;
  --peach: #efe8db;
  --cedar: #411f15;
  --cedar-deep: #2b1410;
  --woody: #453030;
  --ink: #1c1512;
  --muted: #5b5b62;
  --line: rgba(65, 31, 21, 0.14);
  --line-soft: rgba(65, 31, 21, 0.08);
  --white: #ffffff;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 4px;
  --shell: 1320px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

::selection { background: var(--cedar); color: var(--stone); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cedar);
  color: var(--stone);
  padding: 12px 20px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- typography ---------- */

.h1, .h2, .h3, .h4 {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: inherit;
}
.h1 { font-size: clamp(2.6rem, 6vw, 4.375rem); letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.9rem, 3.9vw, 3.125rem); line-height: 1.06; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.12; }
.h4 { font-size: clamp(1.15rem, 1.5vw, 1.375rem); line-height: 1.2; letter-spacing: -0.02em; }

.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
}
.on-dark .lede, .section--cedar .lede { color: rgba(247, 245, 240, 0.74); }

.mono-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--cedar .mono-label { color: rgba(247, 245, 240, 0.62); }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 7vw, 116px) 0; position: relative; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--merino { background: var(--merino); }
.section--peach { background: var(--peach); }
.section--cedar { background: var(--cedar); color: var(--stone); }
.section--cedar .h2, .section--cedar .h3, .section--cedar .h4 { color: var(--stone); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
  flex-wrap: wrap;
}
.sec-head__text { display: flex; flex-direction: column; gap: 1rem; max-width: 34ch; }
.sec-head__side { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- eyebrow / pills ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--woody);
  background: rgba(255, 255, 255, 0.5);
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--glass {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}
.eyebrow--dark { border-color: rgba(247, 245, 240, 0.28); color: rgba(247, 245, 240, 0.86); background: transparent; }

.chip-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.chip:hover { border-color: rgba(65, 31, 21, 0.36); }
.chip.is-active { background: var(--cedar); border-color: var(--cedar); color: var(--stone); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }

.btn--dark { background: var(--cedar); color: var(--stone); }
.btn--dark:hover { background: var(--cedar-deep); }
.btn--light { background: var(--stone); color: var(--cedar); }
.btn--light:hover { background: #fff; }
.btn--glass {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn--outline { border-color: var(--line); color: var(--cedar); background: transparent; }
.btn--outline:hover { border-color: var(--cedar); background: rgba(65, 31, 21, 0.04); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cedar);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow svg { width: 12px; height: 12px; }
.link-arrow:hover { border-color: currentColor; gap: 0.65rem; }
.section--cedar .link-arrow { color: var(--stone); }

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { background: rgba(65, 31, 21, 0.06); border-color: rgba(65, 31, 21, 0.32); }
.icon-btn[disabled] { opacity: 0.35; pointer-events: none; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #f7f5f0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line-soft); box-shadow: 0 12px 30px -28px rgba(28, 21, 18, 0.6); }
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}
.header__call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--woody);
  white-space: nowrap;
}
.header__call svg { width: 15px; height: 15px; opacity: 0.66; }
.header__call:hover { color: var(--cedar); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: center;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--cedar);
}
.brand svg { width: 26px; height: 26px; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }

.burger {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span {
  width: 22px;
  height: 1.5px;
  background: var(--cedar);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--stone);
  padding: 104px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.nav-open .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-panel__list { display: flex; flex-direction: column; }
.nav-panel__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--cedar);
}
.nav-panel__list a span { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--muted); }
.nav-panel__foot { display: flex; flex-direction: column; gap: 1rem; margin-top: auto; }

/* ---------- hero ---------- */

.hero { padding: 0 clamp(8px, 1.2vw, 18px) 0; position: relative; }
.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(540px, 84vh, 780px);
  background: #22150f;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 18, 13, 0.72) 0%, rgba(28, 18, 13, 0.16) 34%, rgba(28, 18, 13, 0.34) 62%, rgba(24, 14, 10, 0.92) 100%),
    linear-gradient(88deg, rgba(32, 19, 13, 0.82) 0%, rgba(32, 19, 13, 0.18) 58%, rgba(32, 19, 13, 0.36) 100%);
}
.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: clamp(540px, 84vh, 780px);
  padding: clamp(1.5rem, 3.4vw, 3.5rem);
  color: #fff;
}
.hero__top { display: flex; }
.hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.hero__title { max-width: 17ch; }
.hero__copy { display: flex; flex-direction: column; gap: 1.5rem; max-width: 38ch; justify-self: end; }
.hero__copy p { font-size: clamp(0.95rem, 1.05vw, 1.02rem); line-height: 1.62; color: rgba(255, 255, 255, 0.9); }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero__ribbon {
  position: absolute;
  left: -8%;
  width: 116%;
  bottom: 4px;
  z-index: 2;
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero__ribbon-row {
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero__ribbon-track { animation-duration: 40s; }
.hero__ribbon-text {
  font-size: clamp(1.35rem, 3.3vw, 2.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.44);
  white-space: nowrap;
}
.hero__ribbon .marquee__dot { width: 6px; height: 6px; background: rgba(255, 255, 255, 0.36); }

/* ---------- trust strip ---------- */

.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 1.6rem 0; overflow: hidden; background: var(--stone); }
.trust__label { text-align: center; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-right: clamp(2rem, 5vw, 4.5rem); flex: 0 0 auto; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: 1.05rem; letter-spacing: 0.02em; color: rgba(65, 31, 21, 0.52); white-space: nowrap; }
.marquee__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(65, 31, 21, 0.28); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__left { display: flex; flex-direction: column; gap: 1.75rem; }
.about__wordmark { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.94; letter-spacing: -0.045em; color: var(--stone); }
.about__text { color: rgba(247, 245, 240, 0.74); max-width: 44ch; font-size: clamp(0.98rem, 1.1vw, 1.06rem); line-height: 1.68; }
.about__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.stat {
  border: 1px solid rgba(247, 245, 240, 0.22);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: rgba(247, 245, 240, 0.9);
}
.stat b { font-weight: 500; color: #fff; font-size: 1rem; }
.about__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 0.5rem; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- feature cards ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 268px;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -34px rgba(28, 21, 18, 0.5); }
.feature__num { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--muted); }
.feature__title { margin-top: auto; }
.feature p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; }

/* ---------- accordion (services) ---------- */

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.15rem, 2vw, 1.7rem) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.acc__num { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted); }
.acc__title { font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.03em; color: var(--cedar); transition: color 0.25s var(--ease); }
.acc__btn:hover .acc__title { color: var(--woody); }
.acc__sign {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.acc__sign svg { width: 13px; height: 13px; }
.acc__btn[aria-expanded="true"] .acc__sign { background: var(--cedar); border-color: var(--cedar); color: var(--stone); transform: rotate(45deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 0 0 clamp(1.5rem, 2.5vw, 2.25rem) calc(58px + 1.25rem);
}
.acc__body p { color: var(--muted); font-size: 0.96rem; line-height: 1.66; max-width: 52ch; }
.acc__media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10; }
.acc__media img { width: 100%; height: 100%; object-fit: cover; }
.acc__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

/* ---------- treatment cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tcard {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tcard:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -40px rgba(28, 21, 18, 0.55); }
.tcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--peach); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.04); }
.tcard__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.tcard__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tcard__num { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); }
.tcard__cat { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--woody); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem; }
.tcard p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.tcard__foot { margin-top: auto; padding-top: 0.85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tcard__price { font-size: 0.9rem; color: var(--cedar); }

/* ---------- process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.step { border-top: 1px solid rgba(247, 245, 240, 0.24); padding-top: 1.35rem; display: flex; flex-direction: column; gap: 0.85rem; }
.step__tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 245, 240, 0.6); }
.step h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; font-weight: 400; }
.step p { font-size: 0.9rem; line-height: 1.62; color: rgba(247, 245, 240, 0.66); max-width: 30ch; }

/* ---------- before / after ---------- */

.compare-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.compare {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--peach);
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}
.compare__layer { position: absolute; inset: 0; background-size: cover; background-position: center; }
.compare__layer--after { clip-path: inset(0 0 0 52%); }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--cedar);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -12px rgba(20, 12, 8, 0.7);
}
.compare__knob svg { width: 18px; height: 18px; }
.compare__tag {
  position: absolute;
  bottom: 1rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(20, 12, 8, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.compare__tag--before { left: 1rem; }
.compare__tag--after { right: 1rem; }
.compare-note { display: flex; flex-direction: column; gap: 1.25rem; }
.compare-note__list { display: flex; flex-direction: column; gap: 0.75rem; }
.compare-note__list li { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--muted); }
.compare-note__list li::before { content: ""; width: 6px; height: 6px; margin-top: 0.5rem; border-radius: 50%; background: var(--cedar); flex: 0 0 auto; opacity: 0.5; }

/* ---------- team ---------- */

.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.team-nav { display: flex; gap: 0.6rem; }
.team {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.team::-webkit-scrollbar { display: none; }
.member { flex: 0 0 clamp(230px, 24vw, 300px); scroll-snap-align: start; }
.member__media { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--peach); }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.member:hover .member__media img { transform: scale(1.03); }
.member__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.85rem; }
.member__name { font-size: 1.02rem; letter-spacing: -0.02em; color: var(--cedar); }
.member__role { font-size: 0.78rem; color: var(--muted); }
.member__socials { display: flex; gap: 0.35rem; }
.member__socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--woody);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.member__socials a:hover { background: var(--cedar); color: var(--stone); border-color: var(--cedar); }
.member__socials svg { width: 11px; height: 11px; }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: #fff;
}
.plan--featured { background: var(--cedar); color: var(--stone); border-color: var(--cedar); }
.plan__head { display: flex; flex-direction: column; gap: 0.55rem; }
.plan__name { font-size: 1.1rem; letter-spacing: -0.02em; }
.plan__price { font-size: clamp(2.4rem, 3.4vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.plan__price small { font-size: 0.8rem; letter-spacing: 0; opacity: 0.62; margin-left: 0.3rem; }
.plan p { font-size: 0.9rem; line-height: 1.6; color: var(--muted); }
.plan--featured p { color: rgba(247, 245, 240, 0.72); }
.plan__list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.25rem; }
.plan__list li { display: flex; gap: 0.6rem; font-size: 0.9rem; align-items: flex-start; }
.plan__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 0.22rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.45;
  background: radial-gradient(circle, currentColor 0 2.6px, transparent 3px);
}
.plan .btn { margin-top: auto; }

/* ---------- testimonials ---------- */

.quotes { position: relative; }
.quote { display: none; flex-direction: column; gap: 1.75rem; }
.quote.is-active { display: flex; animation: fade-up 0.6s var(--ease); }
.quote__text { font-size: clamp(1.35rem, 2.9vw, 2.25rem); line-height: 1.3; letter-spacing: -0.028em; max-width: 44ch; }
.quote__author { display: flex; align-items: center; gap: 0.85rem; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--peach); flex: 0 0 auto; }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-size: 0.94rem; color: var(--cedar); }
.quote__role { font-size: 0.78rem; color: var(--muted); }
.quotes__nav { display: flex; align-items: center; gap: 0.6rem; margin-top: 2rem; }
.quote-dots { display: flex; gap: 0.35rem; margin-left: 0.5rem; }
.quote-dots button {
  width: 26px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(65, 31, 21, 0.2);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.quote-dots button.is-active { background: var(--cedar); }

/* ---------- article cards ---------- */

.acard { display: flex; flex-direction: column; gap: 1rem; }
.acard__media { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; background: var(--peach); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.acard:hover .acard__media img { transform: scale(1.04); }
.acard__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.acard__title { font-size: clamp(1.1rem, 1.5vw, 1.3rem); letter-spacing: -0.025em; line-height: 1.25; color: var(--cedar); }
.acard p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.acard.is-hidden { display: none; }

/* ---------- form ---------- */

.form-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); }
.form-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 245, 240, 0.62); }
.field label span { color: rgba(247, 245, 240, 0.5); }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.28);
  color: var(--stone);
  padding: 0.7rem 0;
  font: inherit;
  font-size: 0.98rem;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 78px; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(247, 245, 240, 0.5);
  outline-offset: 2px;
  border-bottom-color: var(--stone);
}
.field select { padding-right: 1.9rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 245, 240, 0.38); }
.field__error { font-size: 0.76rem; color: #f0b7a4; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #f0b7a4; }
.form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form__note { font-size: 0.78rem; color: rgba(247, 245, 240, 0.5); max-width: 34ch; }
.form__status {
  display: none;
  align-items: flex-start;
  gap: 0.85rem;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(247, 245, 240, 0.24);
  font-size: 0.9rem;
  line-height: 1.55;
}
.form__status.is-visible { display: flex; }
.form__status--error { background: rgba(214, 106, 74, 0.16); border-color: rgba(240, 183, 164, 0.42); }
.form__status svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.form.is-submitting { opacity: 0.72; pointer-events: none; }

.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list__item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(247, 245, 240, 0.18); font-size: 0.92rem; }
.contact-list__item dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 245, 240, 0.5); padding-top: 0.18rem; }
.contact-list__item dd { margin: 0; color: rgba(247, 245, 240, 0.86); }

/* ---------- footer ---------- */

.footer { background: var(--merino); padding: clamp(3rem, 6vw, 5.5rem) 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr)); gap: clamp(1.75rem, 4vw, 3.5rem); }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; max-width: 32ch; }
.footer__brand p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.footer__col h4 { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a, .footer__col li { font-size: 0.92rem; color: var(--woody); }
.footer__col a:hover { color: var(--cedar); text-decoration: underline; text-underline-offset: 3px; }
.footer__word {
  font-size: clamp(3.2rem, 13vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: rgba(65, 31, 21, 0.14);
  margin: clamp(2rem, 4vw, 3.5rem) 0 1.5rem;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__socials { display: flex; gap: 0.4rem; }
.footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.footer__socials a:hover { background: var(--cedar); color: var(--stone); border-color: var(--cedar); }
.footer__socials svg { width: 13px; height: 13px; }

/* ---------- inner pages ---------- */

.page-hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero__inner { display: flex; flex-direction: column; gap: 1.25rem; max-width: 62ch; }
.page-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.crumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }
.crumbs a:hover { color: var(--cedar); }
.crumbs span { opacity: 0.5; }

.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail__main { display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.75rem); }
.detail__media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 10; background: var(--peach); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 1rem; }
.aside-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.35rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: 1rem; }
.aside-card__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.88rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line-soft); }
.aside-card__row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.aside-card__row span:first-child { color: var(--muted); font-size: 0.8rem; }

.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 1.15rem; }
.prose p { font-size: 1rem; line-height: 1.72; color: var(--muted); }
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.025em; font-weight: 400; color: var(--cedar); margin-top: 0.5rem; }
.prose strong { color: var(--ink); font-weight: 500; }

.numbered { display: flex; flex-direction: column; }
.numbered__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.4rem, 2.4vw, 2rem) 0;
  border-top: 1px solid var(--line);
}
.numbered__item:last-child { border-bottom: 1px solid var(--line); }
.numbered__num { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--muted); }
.numbered__body { display: flex; flex-direction: column; gap: 0.7rem; }
.numbered__body h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.025em; font-weight: 400; color: var(--cedar); }
.numbered__body p { font-size: 0.96rem; line-height: 1.7; color: var(--muted); max-width: 62ch; }

.bullet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1.5rem; }
.bullet-list li { display: flex; gap: 0.6rem; font-size: 0.94rem; color: var(--woody); }
.bullet-list li::before { content: ""; width: 5px; height: 5px; margin-top: 0.55rem; border-radius: 50%; background: var(--cedar); opacity: 0.6; flex: 0 0 auto; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.benefit { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; background: rgba(255, 255, 255, 0.6); }
.benefit h4 { font-size: 1rem; letter-spacing: -0.02em; font-weight: 500; color: var(--cedar); }
.benefit p { font-size: 0.88rem; line-height: 1.6; color: var(--muted); }

.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.expect__item { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.expect__step { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.expect__item h4 { font-size: 1.05rem; letter-spacing: -0.02em; font-weight: 500; color: var(--cedar); }
.expect__item p { font-size: 0.88rem; line-height: 1.6; color: var(--muted); }

.article-head { display: flex; flex-direction: column; gap: 1rem; max-width: 68ch; }
.article-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.author-row { display: flex; align-items: center; gap: 0.7rem; }
.author-row__avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--peach); }
.author-row__avatar img { width: 100%; height: 100%; object-fit: cover; }

.marquee-banner { overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--merino); }
.marquee-banner .marquee__item { font-size: clamp(1.5rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; color: var(--cedar); }
.marquee-banner .marquee__dot { width: 7px; height: 7px; background: rgba(65, 31, 21, 0.35); }
.marquee-banner .marquee__track { animation-duration: 26s; }

.empty-state { border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ---------- reveal motion ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal],
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none !important; }
  .quote.is-active { animation: none; }
  * { transition-duration: 0.001ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .about, .compare-wrap, .form-section, .detail, .hero__main { grid-template-columns: minmax(0, 1fr); }
  .feature-grid, .card-grid, .plans, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { row-gap: 2rem; }
  .hero__copy { justify-self: start; max-width: 52ch; }
  .detail__aside { position: static; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__media, .hero__inner { min-height: 70vh; }
  .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .header__call { display: none; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .header__actions .btn { display: none; }
  .acc__body { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .acc__btn { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .bullet-list, .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .quote__text { max-width: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --radius-xl: 22px; --radius-lg: 18px; }
  .section { padding: 48px 0; }
  .hero { padding: 0 8px; }
  .hero__media, .hero__inner { min-height: min(78vh, 620px); }
  .hero__inner { padding: 1.1rem 1.1rem 1.6rem; gap: 1.5rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .feature-grid, .card-grid, .plans, .steps, .expect, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .about__stats { grid-template-columns: minmax(0, 1fr); }
  .numbered__item { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .footer__word { font-size: clamp(2.6rem, 16vw, 5rem); }
  .compare { aspect-ratio: 4 / 5; }
  .quotes__nav { flex-wrap: wrap; }
  .field label { font-size: 0.68rem; }
  .form__actions .btn { width: 100%; }
  .trust { padding: 1.25rem 0; }
  .marquee__item { font-size: 0.95rem; }
}

/* ---------- counters, detail and misc refinements ---------- */

.card-grid { counter-reset: tcard; }
.card-grid .tcard__num::before {
  counter-increment: tcard;
  content: "0" counter(tcard, decimal-leading-zero);
}

.numbered__body h2 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--cedar);
}

.acc__meta .chip { cursor: default; }

.footer { overflow: hidden; }

.page-hero + .section { padding-top: 0; }

.aside-card .h4 { letter-spacing: -0.02em; }

.detail__main .benefit { background: var(--merino); border-color: transparent; gap: 0.75rem; }

@media (max-width: 640px) {
  .hero__ribbon-text { font-size: 1.15rem; }
  .hero__ribbon { transform: rotate(-3deg); }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
