/* ==========================================================================
   L'écrin nature — Épilations & coaching de vie, Chartres
   Design system : éditorial, botanique, chaleureux
   ========================================================================== */

:root {
  /* Palette */
  --ivory: #fbf7ef;
  --cream: #f2ebdd;
  --cream-deep: #ebe1cf;
  --sand: #e2d4be;
  --forest: #1e3126;
  --forest-soft: #2b4334;
  --sage: #5c6f57;
  --sage-light: #cbd5c4;
  --terra: #9d5741;
  --terra-soft: #c07f68;
  --gold: #b3925c;
  --ink: #1e3126;
  --ink-soft: #4d5c51;
  --ink-muted: #64705f;
  --line: rgba(30, 49, 38, 0.14);
  --line-strong: rgba(30, 49, 38, 0.28);
  --white: #fffdf8;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 88px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15.5px, 0.35vw + 14.6px, 17px);
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--sage-light);
  color: var(--forest);
}

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

/* Base layout
   ========================================================================== */

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

.container--narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(68px, 8.5vw, 120px);
  position: relative;
}

.section--tight {
  padding-block: clamp(52px, 6vw, 80px);
}

.section--cream {
  background: var(--cream);
}

.section--forest {
  background: var(--forest);
  color: rgba(251, 247, 239, 0.82);
}

.section--hairline {
  border-top: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--forest);
  color: var(--ivory);
  padding: 12px 20px;
  font-size: 13px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Typography
   ========================================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--forest);
  letter-spacing: -0.012em;
  line-height: 1.02;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--forest);
  font-size: clamp(2.45rem, 4.5vw, 4rem);
  line-height: 0.99;
  letter-spacing: -0.015em;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--forest);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--forest);
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  line-height: 1.2;
}

.section--forest h1,
.section--forest h2,
.section--forest h3 {
  color: var(--ivory);
}

.lead {
  font-size: clamp(1.02rem, 0.5vw + 0.92rem, 1.16rem);
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 46ch;
}

p + p {
  margin-top: 1.15em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

.section--forest .eyebrow {
  color: var(--sage-light);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

.italic {
  font-style: italic;
}

.text-center {
  text-align: center;
}

.muted {
  color: var(--ink-muted);
}

.small {
  font-size: 0.82rem;
  line-height: 1.65;
}

/* Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px 14px;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  border-radius: 2px;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease), transform 0.45s var(--ease);
  cursor: pointer;
}

.btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.btn--light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--forest);
}

.btn--light:hover {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(251, 247, 239, 0.6);
}

.btn--full {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), gap 0.35s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--terra);
  border-color: var(--terra);
  gap: 14px;
}

.section--forest .link-arrow {
  color: var(--ivory);
  border-color: rgba(251, 247, 239, 0.35);
}

.section--forest .link-arrow:hover {
  color: var(--sage-light);
  border-color: var(--sage-light);
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(30, 49, 38, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 72px;
}

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--forest);
  flex: none;
}

.wordmark__mark {
  width: 34px;
  height: 40px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("../img/mark.svg") no-repeat center / contain;
  mask: url("../img/mark.svg") no-repeat center / contain;
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.wordmark__name em {
  font-style: italic;
  font-weight: 300;
  color: var(--forest-soft);
}

.wordmark__tag {
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.49rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  white-space: nowrap;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}

.nav__link {
  position: relative;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.35s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--forest);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  flex: none;
  padding: 13px 22px 12px;
  font-size: 0.64rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.menu-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-toggle__lines span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 86px) clamp(64px, 8vw, 110px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(203, 213, 196, 0.45), transparent 70%),
    radial-gradient(45% 45% at 8% 92%, rgba(226, 212, 190, 0.5), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero__title {
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero__title .line {
  display: block;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--forest-soft);
}

.hero__lead {
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.hero__footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__footnote::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
}

.hero__media {
  position: relative;
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.frame--arch {
  border-radius: 50% 50% 3px 3px / 34% 34% 3px 3px;
}

.frame--arch img {
  aspect-ratio: 4 / 3;
}

.frame--portrait img {
  aspect-ratio: 4 / 5;
}

.frame--landscape img {
  aspect-ratio: 3 / 2;
}

.frame--wide img {
  aspect-ratio: 21 / 9;
}

a:hover > .frame img,
.frame:hover img {
  transform: scale(1.03);
}

.hero__badge {
  position: absolute;
  left: clamp(-8px, -1vw, 0px);
  bottom: 26px;
  background: var(--ivory);
  padding: 20px 24px;
  max-width: 250px;
  box-shadow: 0 24px 48px -34px rgba(30, 49, 38, 0.55);
  border: 1px solid rgba(30, 49, 38, 0.06);
}

.hero__badge span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--forest);
}

.hero__badge small {
  display: block;
  margin-top: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Signature strip */
.signature-strip {
  border-block: 1px solid var(--line);
  background: rgba(242, 235, 221, 0.5);
}

.signature-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding-block: 18px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

.signature-strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage);
  flex: none;
}

/* Editorial split
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split--center {
  align-items: center;
}

.split__aside {
  position: relative;
}

.sticky-note {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  line-height: 1.24;
  color: var(--forest);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.pull-quote--light {
  color: var(--ivory);
  border-color: rgba(251, 247, 239, 0.25);
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.signature::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--line-strong);
  flex: none;
}

/* Pillars
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(44px, 5vw, 68px);
}

.pillar {
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--terra);
  margin-bottom: 14px;
}

.pillar h3 {
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Universe cards
   ========================================================================== */

.universes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}

.universe:nth-child(2) {
  margin-top: clamp(0px, 5vw, 68px);
}

.universe .frame {
  margin-bottom: 26px;
}

.universe__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.universe__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sage);
}

.universe h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  margin-bottom: 12px;
}

.universe p {
  max-width: 44ch;
  margin-bottom: 22px;
}

/* Full-bleed quote band
   ========================================================================== */

.band {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 42vw, 520px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  isolation: isolate;
}

.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(30, 49, 38, 0.45) 0%,
    rgba(30, 49, 38, 0.55) 55%,
    rgba(30, 49, 38, 0.68) 100%
  );
}

.band__inner {
  padding: clamp(48px, 7vw, 84px) var(--gutter);
  max-width: 780px;
}

.band blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 26px;
}

.band cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.75);
}

/* Steps / timeline
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
  margin-top: clamp(40px, 5vw, 62px);
}

.step {
  position: relative;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra);
}

.step__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--sage);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.68;
}

/* Feature list
   ========================================================================== */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(38px, 4.5vw, 58px);
}

.feature {
  background: var(--ivory);
  padding: clamp(24px, 3vw, 38px);
}

.section--cream .feature {
  background: var(--cream);
}

.feature__icon {
  width: 30px;
  height: 30px;
  color: var(--sage);
  margin-bottom: 18px;
}

.feature h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.92rem;
  line-height: 1.68;
}

/* Cards grid (services, themes)
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(38px, 4.5vw, 56px);
}

.cards--two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.section--cream .card {
  background: var(--ivory);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 50px -42px rgba(30, 49, 38, 0.55);
}

.card__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--sage);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.card__list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.card__list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 1px;
  background: var(--sage);
}

/* Price / note panel */
.note-panel {
  margin-top: clamp(34px, 4vw, 50px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}

.note-panel p {
  max-width: 60ch;
  font-size: 0.95rem;
  margin: 0;
}

/* Accordion FAQ
   ========================================================================== */

.faq {
  margin-top: clamp(34px, 4vw, 50px);
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.4vw, 1.35rem);
  font-weight: 400;
  color: var(--forest);
  transition: color 0.3s var(--ease);
}

.faq__question:hover {
  color: var(--terra);
}

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}

.faq__answer > div {
  padding: 0 0 24px;
  max-width: 66ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Quote card / testimonial-free trust block
   ========================================================================== */

.trust {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.trust__list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.trust__item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
}

.trust__item svg {
  width: 20px;
  height: 20px;
  color: var(--sage);
  margin-top: 4px;
}

.trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--forest);
  margin-bottom: 2px;
}

.trust__item span {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* CTA panel
   ========================================================================== */

.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: rgba(251, 247, 239, 0.8);
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 50% -20%, rgba(203, 213, 196, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-panel__inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.cta-panel h2 {
  color: var(--ivory);
  margin-bottom: 20px;
}

.cta-panel p {
  margin-bottom: 32px;
  color: rgba(251, 247, 239, 0.75);
}

/* Page hero
   ========================================================================== */

.page-hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 78px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 88% 10%, rgba(203, 213, 196, 0.4), transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero .lead {
  padding-bottom: 8px;
}

.page-hero__note {
  margin-top: 26px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.coaching-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.coaching-brand img {
  width: 58px;
  height: auto;
  flex: none;
}

.coaching-brand strong,
.coaching-brand span {
  display: block;
}

.coaching-brand strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--forest);
}

.coaching-brand span {
  max-width: 24ch;
  margin-top: 5px;
  font-size: 0.64rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Intro with image
   ========================================================================== */

.editorial {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.editorial--reverse .editorial__media {
  order: 2;
}

.editorial__body h2 {
  margin-bottom: 22px;
}

.caption {
  margin-top: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 46px);
}

.form-panel h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.form-panel form > p {
  margin-bottom: 30px;
  font-size: 0.94rem;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.field .optional {
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 11px;
  font-size: 0.98rem;
  color: var(--forest);
  transition: border-color 0.3s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.6;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234d5c51' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--forest);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa396;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: var(--terra);
}

.field__error {
  display: none;
  margin-top: 7px;
  font-size: 0.74rem;
  color: var(--terra);
  letter-spacing: 0.01em;
}

.field.has-error .field__error {
  display: block;
}

.field--check {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 26px;
}

.field--check input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
  padding: 0;
  border: 0;
  accent-color: var(--forest);
}

.field--check label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.55;
  color: var(--ink-muted);
}

.field--check.has-error label {
  color: var(--terra);
}

.field--check .field__error {
  flex-basis: 100%;
  margin-left: 28px;
  margin-top: -2px;
}

.form-note {
  margin-top: 16px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.form-note a {
  white-space: nowrap;
}

.form-success {
  display: none;
  padding: 6px 0 10px;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--forest);
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.form-success__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.form-success__actions .btn {
  width: 100%;
}

.form-success__recap {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  white-space: pre-line;
  line-height: 1.7;
}

.contact-info {
  display: grid;
  gap: 30px;
}

.info-block {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.info-block h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.info-block p {
  font-size: 0.94rem;
  line-height: 1.7;
}

.info-block a {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.info-block a:hover {
  color: var(--terra);
  border-color: var(--terra);
}

.map-card {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(0.35) saturate(0.8) contrast(0.95);
}

.map-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Footer
   ========================================================================== */

.site-footer {
  background: var(--forest);
  color: rgba(251, 247, 239, 0.72);
  padding-top: clamp(48px, 6vw, 76px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer-brand .wordmark {
  color: var(--ivory);
  margin-bottom: 18px;
}

.footer-brand .wordmark__mark {
  color: var(--ivory);
}

.footer-brand .wordmark__name em {
  color: rgba(251, 247, 239, 0.8);
}

.footer-brand .wordmark__tag {
  color: var(--sage-light);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 34ch;
  color: rgba(251, 247, 239, 0.62);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col p {
  font-size: 0.88rem;
  color: rgba(251, 247, 239, 0.7);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--ivory);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(251, 247, 239, 0.14);
  font-size: 0.72rem;
  color: rgba(251, 247, 239, 0.62);
}

.footer-bottom a {
  border-bottom: 1px solid rgba(251, 247, 239, 0.25);
}

.footer-bottom a:hover {
  color: var(--ivory);
}

/* Ornament
   ========================================================================== */

.ornament {
  display: flex;
  justify-content: center;
  color: var(--sage);
  padding-block: 8px;
}

.ornament svg {
  width: 54px;
  height: 24px;
}

/* Reveal animation
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .nav__link {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .header-cta {
    padding: 12px 16px 11px;
    font-size: 0.58rem;
  }

  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 95;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 32px var(--gutter) 48px;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
      visibility 0.4s;
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--forest);
  }

  .nav__link::after {
    display: none;
  }

  .nav .btn {
    margin-top: 26px;
    width: 100%;
    font-size: 0.68rem;
  }

  .header-cta {
    display: none;
  }

  .hero__inner,
  .page-hero__inner,
  .split,
  .split--reverse,
  .editorial,
  .contact-grid,
  .trust {
    grid-template-columns: 1fr;
  }

  .editorial--reverse .editorial__media {
    order: 0;
  }

  .hero__media {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__badge {
    left: auto;
    right: 16px;
    bottom: 16px;
  }

  .page-hero__inner {
    align-items: start;
  }

  .page-hero h1 {
    max-width: 18ch;
  }

  .pillars,
  .steps,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .universes {
    grid-template-columns: 1fr;
  }

  .universe:nth-child(2) {
    margin-top: 0;
  }

  .sticky-note {
    position: static;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wordmark__name {
    font-size: 1.28rem;
  }

  .wordmark__tag {
    font-size: 0.44rem;
    letter-spacing: 0.18em;
  }

  .wordmark__mark {
    width: 28px;
    height: 34px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__badge {
    max-width: 210px;
    padding: 16px 18px;
  }

  .hero__badge span {
    font-size: 1.05rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .link-arrow {
    margin-inline: auto;
  }

  .pillars,
  .steps,
  .cards,
  .cards--two,
  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 24px;
  }

  .note-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .note-panel .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .signature-strip__inner {
    gap: 8px 14px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .form-success__actions .btn {
    width: 100%;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
