/* ============================================
   Dr Abdellah Bouchta — luxe medical
   ============================================ */

:root {
  --bg: #f8e2db;
  /* peachy pink — page bg */
  --bg-2: #f2d2c7;
  /* deeper peach */
  --bg-3: #e8bfb1;
  --ink: #0a0a0a;
  --ink-soft: #2a2520;
  --ink-mute: #7a6a60;
  --line: #0a0a0a14;
  --line-2: #0a0a0a22;
  --accent: #b08d5b;
  --accent-2: #8a6d3c;
  --accent-3: #f3d8b4;
  --accent-deep: #0a0a0a;
  --dark: #0a0a0a;
  /* black sections */
  --dark-2: #161616;
  --on-dark: #f8e2db;
  --on-dark-soft: #cfb9b0;
  --max: 1320px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

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

em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

/* Grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9500;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  mix-blend-mode: difference;
}

.cursor.is-hover {
  width: 56px;
  height: 56px;
  background: #fff;
  border-color: #fff;
}

@media (hover: none) {
  .cursor {
    display: none;
  }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}

.nav.is-scrolled {
  border-color: var(--line);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 15px;
}

.nav__logo img {
  height: 38px;
  width: auto;
  display: block;
}

.foot .nav__logo img {
  height: 44px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav__links a {
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
  white-space: nowrap;
}

.btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.btn[hidden],
[hidden] {
  display: none !important;
}

.btn--ghost {
  border: 1px solid var(--ink);
}

.btn--ghost:hover:not(:disabled) {
  background: var(--ink);
  color: var(--bg);
}

.btn--solid {
  background: var(--ink);
  color: var(--bg);
  padding: 13px 22px;
}

.btn--solid:hover:not(:disabled) {
  background: var(--accent);
}

.btn--solid svg {
  transition: transform .3s var(--ease);
}

.btn--solid:hover:not(:disabled) svg {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
  }
}

/* ============================================
   HERO — overlay-style face + chips
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.orb {
  position: absolute;
  top: 58%;
  left: 50%;
  width: 820px;
  height: 820px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-3), var(--accent) 38%, var(--accent-2) 70%, transparent 80%);
  filter: blur(80px);
  opacity: .55;
  animation: orb 16s var(--ease) infinite alternate;
  z-index: 0;
}

@keyframes orb {
  0% {
    transform: translate(-55%, -55%) scale(1);
  }

  50% {
    transform: translate(-45%, -45%) scale(1.08);
  }

  100% {
    transform: translate(-50%, -50%) scale(.96);
  }
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "●";
  margin-right: 10px;
  color: var(--accent);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: .35;
  }
}

.hero__title {
  font-size: clamp(40px, 7.6vw, 116px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 500;
  margin: 0 auto;
  max-width: 17ch;
}

.hero__title span {
  display: block;
  overflow: hidden;
}

/* Hero CTA — solid dark button (replaces email pill) */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 32px auto 0;
  padding: 8px 8px 8px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  box-shadow: 0 30px 60px -25px rgba(10, 10, 10, .55);
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.hero__cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 36px 70px -25px rgba(176, 141, 91, .55);
}

.hero__cta-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
  border-radius: 50%;
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.hero__cta:hover .hero__cta-arrow {
  transform: rotate(-12deg);
  background: #fff;
}

/* Legacy hero pill (kept for any residual use) */
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
  width: min(380px, 92%);
  box-shadow: 0 30px 60px -30px rgba(24, 19, 13, .18);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.hero__pill:focus-within {
  box-shadow: 0 30px 60px -20px rgba(176, 141, 91, .4);
  transform: translateY(-2px);
}

.hero__pill input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.hero__pill input::placeholder {
  color: var(--ink-mute);
}

.hero__pill button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.hero__pill button:hover {
  background: var(--accent);
  transform: rotate(-12deg);
}

/* The stage: face + orbit + chips */
.hero__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 80px auto 0;
  aspect-ratio: 11/8;
  min-height: 520px;
}

.hero__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  height: 70%;
  border: 1px solid var(--ink);
  opacity: .18;
  border-radius: 50%;
  transform: translate(-50%, -45%) rotate(-4deg);
  pointer-events: none;
  animation: orbitRot 60s linear infinite;
}

.hero__orbit--inner {
  width: 60%;
  height: 50%;
  opacity: .12;
  animation-direction: reverse;
  animation-duration: 90s;
}

@keyframes orbitRot {
  from {
    transform: translate(-50%, -45%) rotate(0);
  }

  to {
    transform: translate(-50%, -45%) rotate(360deg);
  }
}

.hero__face {
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  width: clamp(560px, 78vw, 1000px);
  z-index: 2;
  pointer-events: none;
}

.hero__face img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(58, 46, 31, .18));
  animation: floaty 8s var(--ease) infinite alternate;
}

@keyframes floaty {
  to {
    transform: translateY(-10px);
  }
}

/* Chips */
.chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  box-shadow: 0 16px 40px -20px rgba(24, 19, 13, .2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  width: 220px;
}

.chip:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -20px rgba(176, 141, 91, .3);
}

.chip__plus {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 400;
  transition: transform .4s var(--ease), background .3s var(--ease);
}

.chip:hover .chip__plus {
  transform: rotate(180deg);
  background: var(--accent);
}

.chip strong {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink);
  font-weight: 600;
}

.chip small {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.chip[data-pos="tl"] {
  top: 12%;
  left: 4%;
}

.chip[data-pos="tr"] {
  top: 12%;
  right: 4%;
}

.chip[data-pos="bl"] {
  bottom: 22%;
  left: 0;
}

.chip[data-pos="br"] {
  bottom: 22%;
  right: 0;
}

@media (max-width: 980px) {
  .hero__stage {
    min-height: 460px;
    aspect-ratio: 4/5;
  }

  .chip {
    width: 180px;
    padding: 10px 14px;
  }

  .chip[data-pos="tl"] {
    top: 4%;
    left: 0;
  }

  .chip[data-pos="tr"] {
    top: 4%;
    right: 0;
  }

  .chip[data-pos="bl"] {
    bottom: 30%;
    left: 0;
  }

  .chip[data-pos="br"] {
    bottom: 30%;
    right: 0;
  }
}

@media (max-width: 600px) {
  .chip {
    width: 150px;
  }

  .chip strong {
    font-size: 10px;
  }

  .chip small {
    font-size: 11px;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 5;
}

.hero__scroll .line {
  width: 1px;
  height: 36px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero__scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

/* ============================================
   VISION HEAD
   ============================================ */
.vision {
  padding: 110px 28px 20px;
}

.vision__head {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.vision__head h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 500;
  max-width: 22ch;
}

.vision__sub {
  margin: 0;
  color: var(--ink-soft);
  max-width: 56ch;
  font-size: clamp(15px, 1.2vw, 17px);
}

@media (max-width: 880px) {
  .vision__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   BODY MAP — silhouette + 4 hotspots
   ============================================ */
.bodymap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 0 28px 40px;
}

.bodymap__viz {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 960px;
  padding-top: 20px;
}

.bodymap__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-3), transparent 60%);
  filter: blur(60px);
  opacity: .7;
  pointer-events: none;
}

.bodymap__img {
  position: relative;
  z-index: 1;
  max-height: 940px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 50px 80px rgba(40, 20, 10, .22));
  animation: floaty 10s var(--ease) infinite alternate;
}

/* Hotspots */
.hotspot {
  position: absolute;
  z-index: 3;
  width: 0;
  height: 0;
}

.hotspot__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(176, 141, 91, .18);
  cursor: pointer;
  transition: transform .3s var(--ease);
}

.hotspot__dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: .8;
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(.6);
    opacity: .9;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hotspot:hover .hotspot__dot {
  transform: scale(1.3);
  background: var(--ink);
  box-shadow: 0 0 0 8px rgba(24, 19, 13, .15);
}

.hotspot__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
}

.hotspot__card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px 16px;
  width: 240px;
  box-shadow: 0 20px 50px -25px rgba(24, 19, 13, .25);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.hotspot:hover .hotspot__card {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 30px 70px -25px rgba(176, 141, 91, .4);
}

.hotspot__num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--accent-2);
  font-size: 13px;
}

.hotspot__card h3 {
  margin: 6px 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.hotspot__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

/* Hotspot positions — anatomically tuned for the body image */

/* 01 · Face — dot on face, card to LEFT */
.hotspot[data-pos="face"] {
  left: 49%;
  top: 13%;
}

.hotspot[data-pos="face"] .hotspot__line {
  right: 0;
  top: 0;
  width: 130px;
  background: linear-gradient(270deg, var(--accent), transparent);
}

.hotspot[data-pos="face"] .hotspot__card {
  right: calc(100% + 130px);
  top: -32px;
  text-align: right;
}

/* 02 · Skin / Médecine — dot on cheek, card to RIGHT */
.hotspot[data-pos="skin"] {
  left: 50%;
  top: 9%;
}

.hotspot[data-pos="skin"] .hotspot__line {
  left: 0;
  top: 0;
  width: 130px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hotspot[data-pos="skin"] .hotspot__card {
  left: calc(0% + 130px);
  top: -32px;
}

/* 03 · Bust / Mammaire — dot on chest, card to LEFT */
.hotspot[data-pos="bust"] {
  left: 51%;
  top: 30%;
}

.hotspot[data-pos="bust"] .hotspot__line {
  right: 0;
  top: 0;
  width: 130px;
  background: linear-gradient(270deg, var(--accent), transparent);
}

.hotspot[data-pos="bust"] .hotspot__card {
  right: calc(100% + 130px);
  top: -16px;
  text-align: right;
}

/* 04 · Waist / Silhouette — dot on waist, card to RIGHT */
.hotspot[data-pos="waist"] {
  left: 50%;
  top: 40%;
}

.hotspot[data-pos="waist"] .hotspot__line {
  left: 0;
  top: 0;
  width: 130px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hotspot[data-pos="waist"] .hotspot__card {
  left: calc(0% + 130px);
  top: -16px;
}

@media (max-width: 880px) {
  .bodymap__viz {
    min-height: auto;
    flex-direction: column;
    gap: 20px;
  }

  .bodymap__img {
    max-height: 380px;
    margin: 0 auto;
  }

  .hotspot {
    display: none;
  }

  .bodymap::after {
    content: "";
    display: block;
    height: 0;
  }

  .bodymap__mobile {
    display: grid;
    gap: 14px;
    margin-top: 30px;
  }
}

/* Mobile fallback list */
.bodymap__mobile {
  display: none;
}

@media (max-width: 880px) {
  .bodymap__mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 600px;
    margin: 24px auto 0;
  }

  .bodymap__mobile-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
  }

  .bodymap__mobile-card span {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--accent-2);
    font-size: 13px;
  }

  .bodymap__mobile-card h3 {
    margin: 4px 0 6px;
    font-size: 16px;
    font-weight: 600;
  }

  .bodymap__mobile-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
  }
}

/* ============================================
   DOCTOR — full-width black section
   ============================================ */
.doctor {
  background: var(--dark);
  color: var(--on-dark);
  padding: 140px 28px;
  margin: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.doctor::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 226, 219, .06), transparent 65%);
  pointer-events: none;
}

.doctor__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 980px) {
  .doctor__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.doctor__media {
  position: relative;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

/* Warm peach halo behind portrait — pops the doctor off the black section */
.doctor__media-glow {
  position: absolute;
  inset: -10% -14% -8% -14%;
  background:
    radial-gradient(60% 50% at 30% 30%, var(--bg-2), transparent 70%),
    radial-gradient(55% 45% at 75% 70%, var(--accent-3), transparent 70%);
  filter: blur(50px);
  opacity: .55;
  z-index: 0;
  border-radius: 50%;
  animation: docGlow 8s var(--ease) infinite alternate;
}

@keyframes docGlow {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: .45;
  }

  100% {
    transform: scale(1.06) rotate(6deg);
    opacity: .7;
  }
}

.doctor__media-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, black, black);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(248, 226, 219, .12);
}

.doctor__media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 1.4s var(--ease);
}

.doctor__media:hover .doctor__media-card img {
  transform: scale(1.04);
}

.doctor__media-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(248, 226, 219, .22);
  border-radius: 14px;
  pointer-events: none;
}

/* Rotating circular "30 ANS" badge — top-right, slightly overflowing */
.doctor__badge {
  position: absolute;
  top: -38px;
  right: -36px;
  width: 150px;
  height: 150px;
  z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
}

.doctor__badge-ring {
  width: 100%;
  height: 100%;
  animation: badgeSpin 22s linear infinite;
}

@keyframes badgeSpin {
  to {
    transform: rotate(360deg);
  }
}

.doctor__badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.doctor__badge-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 50px;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
}

.doctor__badge-label {
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--accent-3);
  font-weight: 500;
  margin-top: 4px;
}

/* Lauréat pill — bottom-left, slightly overflowing */
.doctor__pill {
  position: absolute;
  bottom: 32px;
  left: -22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55);
}

.doctor__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Hand-drawn signature flourish */
.doctor__sig {
  position: absolute;
  bottom: -34px;
  right: 20px;
  width: 140px;
  height: 32px;
  z-index: 3;
  opacity: .5;
}

.doctor__sig svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .doctor__badge {
    width: 110px;
    height: 110px;
    top: -22px;
    right: -10px;
  }

  .doctor__badge-num {
    font-size: 38px;
  }

  .doctor__pill {
    left: 0;
    bottom: 18px;
    font-size: 10px;
  }

  .doctor__sig {
    display: none;
  }
}

.doctor .eyebrow {
  color: var(--on-dark-soft);
}

.doctor .eyebrow::before {
  color: var(--bg);
}

.doctor__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 500;
  max-width: 18ch;
  color: var(--on-dark);
}

.doctor__role {
  margin: 0 0 26px !important;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--accent) !important;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.doctor__role::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

.doctor__copy>p {
  margin: 0 0 20px;
  color: var(--on-dark-soft);
  font-size: clamp(15px, 1.15vw, 17px);
  max-width: 54ch;
  line-height: 1.65;
}

.doctor__copy>p:last-of-type {
  margin-bottom: 32px;
}

.doctor__copy strong {
  color: var(--bg);
  font-weight: 600;
}

.doctor__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(248, 226, 219, .04);
  border: 1px solid rgba(248, 226, 219, .1);
  border-radius: 12px;
  font-size: 14px;
  color: var(--on-dark-soft);
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.doctor__list li:hover {
  transform: translateX(4px);
  border-color: var(--bg);
  background: rgba(248, 226, 219, .08);
}

.doctor__list strong {
  color: var(--bg);
}

.doctor__list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  margin-top: 7px;
  flex: 0 0 auto;
}

.doctor .btn--solid {
  background: var(--bg);
  color: var(--dark);
}

.doctor .btn--solid:hover {
  background: #fff;
  color: var(--dark);
}

/* ============================================
   CREDENTIALS MARQUEE
   ============================================ */
.credentials {
  padding: 0 0 100px;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee figure {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 26px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.marquee figure::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.marquee figure:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.marquee figure:hover::before {
  background: var(--accent-3);
}

.marquee figure.now {
  background: var(--ink);
  color: var(--accent-3);
}

.marquee figure.now::before {
  background: var(--accent);
}

/* ============================================
   PROCEDURES
   ============================================ */
.how {
  padding: 60px 28px 140px;
  max-width: var(--max);
  margin: 0 auto;
}

.how__head {
  margin-bottom: 60px;
  max-width: 60ch;
}

.how__head h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 500;
  max-width: 18ch;
}

.how__sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17px);
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.step {
  position: relative;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex;
  flex-direction: column;
}

.step:hover {
  box-shadow: 0 40px 80px -40px rgba(24, 19, 13, .25);
}

.step__num {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.step__art {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  margin-bottom: 24px;
}

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

.step:hover .step__art img {
  transform: scale(1.06);
}

.step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.step>p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.step__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.step__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.feature__link {
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 500;
  margin-top: auto;
}

.feature__link:hover {
  color: var(--ink);
}

/* ============================================
   PATIENTS / RESULTS — arc carousel (dark)
   ============================================ */
.results {
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
}

.results::before {
  content: "";
  position: absolute;
  inset: -200px auto auto -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 226, 219, .06), transparent 65%);
  pointer-events: none;
}

.results__head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
  padding: 0 28px;
}

.results .eyebrow {
  color: var(--on-dark-soft);
}

.results .eyebrow::before {
  color: var(--bg);
}

.results__head h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 500;
  color: var(--on-dark);
}

.results__head>p {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: clamp(15px, 1.2vw, 17px);
}

.results__carousel {
  position: relative;
  height: 620px;
  padding-top: 60px;
}

.results__carousel::before,
.results__carousel::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 8%;
  z-index: 3;
  pointer-events: none;
}
.results__carousel::before { left: 0;  background: linear-gradient(90deg, var(--dark), transparent); }
.results__carousel::after  { right: 0; background: linear-gradient(270deg, var(--dark), transparent); }

.results__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  position: absolute;
  left: 0;
  top: 50%;
  padding: 0 30px;
  animation: pscroll 60s linear infinite;
  will-change: transform;
}

.results__carousel:hover .results__track {
  animation-play-state: paused;
}

@keyframes pscroll {
  from {
    transform: translate(0, -50%);
  }

  to {
    transform: translate(-50%, -50%);
  }
}

.pcard {
  height: clamp(200px, 24vw, 280px);
  aspect-ratio: var(--ar, 2 / 1);
  width: auto;
  max-width: min(88vw, 580px);
  border-radius: 20px;
  overflow: hidden;
  flex: 0 0 auto;
  position: relative;
  margin: 0;
  cursor: pointer;
  will-change: transform;
  transition: filter .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 20px 50px -25px rgba(24, 19, 13, .25);
}

.pcard[data-tone="rose"] {
  background: linear-gradient(135deg, #f5d4cf, #e6a48f 60%, #d68a72);
}

.pcard[data-tone="rose-deep"] {
  background: linear-gradient(135deg, #e6a48f, #b06a6a 60%, #8a4848);
}

.pcard[data-tone="cream"] {
  background: linear-gradient(135deg, #efe7da, #c9b69a);
}

.pcard[data-tone="champagne"] {
  background: linear-gradient(135deg, #f3d8b4, #b08d5b 70%, #8a6d3c);
}

.pcard[data-tone="warm"] {
  background: linear-gradient(135deg, #f0c8a8, #c97c54);
}

.pcard[data-tone="ink"] {
  background: linear-gradient(135deg, #3a2e1f, #1a1612);
}

.pcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 1.4s var(--ease), filter .6s var(--ease);
  filter: saturate(1.05);
}

.pcard:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 18%, transparent 60%, rgba(0, 0, 0, .7) 100%);
  pointer-events: none;
}

.pcard::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  pointer-events: none;
}

.pcard__chip {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  z-index: 4;
}

.pcard__label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
  z-index: 4;
}

.pcard:hover {
  box-shadow: 0 30px 70px -25px rgba(176, 141, 91, .45);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.gallery {
  padding: 60px 28px 140px;
  max-width: var(--max);
  margin: 0 auto;
}

.gallery__head {
  margin-bottom: 60px;
  max-width: 720px;
}

.gallery__head h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 500;
}

.gallery__lead {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17px);
}

.gallery__lead strong {
  color: var(--accent-2);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.2em;
}

.reviews {
  columns: 3;
  column-gap: 20px;
}

@media (max-width: 980px) {
  .reviews {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .reviews {
    columns: 1;
  }
}

.review {
  break-inside: avoid;
  margin: 0 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}

.review:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.review__stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .15em;
  margin-bottom: 14px;
}

.review blockquote {
  margin: 0 0 18px;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
}

.review figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

.review figcaption span {
  color: var(--ink-mute);
}

.gallery__foot {
  margin-top: 40px;
  text-align: center;
}

/* ============================================
   RDV — multi-step form
   ============================================ */
.rdv {
  position: relative;
  padding: 140px 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-2));
  overflow: hidden;
}

.rdv::before {
  content: "";
  position: absolute;
  inset: auto 50% -260px auto;
  width: 700px;
  height: 700px;
  transform: translateX(50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  filter: blur(60px);
  opacity: .5;
  pointer-events: none;
}

.rdv__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 60px;
  position: relative;
}

.rdv__head h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 500;
}

.rdv__head>p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17px);
}

.rdv__form {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px 44px 36px;
  box-shadow: 0 60px 120px -60px rgba(24, 19, 13, .25);
}

@media (max-width: 600px) {
  .rdv__form {
    padding: 28px 20px 24px;
    border-radius: 20px;
  }
}

/* Progress stepper — connecting rail + dot indicators */
.rdv__progress {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.rdv__progress::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  height: 1px;
  background: var(--line-2);
  z-index: 0;
}

.rdv__progress li {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  font-size: 12px;
  color: var(--ink-mute);
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: color .3s var(--ease);
}

.rdv__progress li::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.rdv__progress li span {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--ink-mute);
  font-size: 14px;
  transition: color .3s var(--ease);
  pointer-events: none;
}

.rdv__progress li b {
  font-weight: 500;
  color: inherit;
  letter-spacing: .02em;
}

.rdv__progress li.is-done {
  color: var(--accent-2);
}

.rdv__progress li.is-done::before {
  background: var(--accent);
  border-color: var(--accent);
}

.rdv__progress li.is-done span {
  color: #fff;
}

.rdv__progress li.is-active {
  color: var(--ink);
}

.rdv__progress li.is-active::before {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, .08);
}

.rdv__progress li.is-active span {
  color: var(--bg);
}

@media (max-width: 600px) {
  .rdv__progress li b {
    display: none;
  }
}

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

  .rdv__progress li b {
    display: none;
  }
}

/* Steps */
.rdv__step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.rdv__step.is-active {
  display: block;
  animation: fadeIn .5s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.rdv__step legend {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin-bottom: 28px;
  padding: 0;
}

.rdv__step legend::before {
  content: "—";
  display: inline-block;
  margin-right: 12px;
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

/* Choice cards (radio) */
.rdv__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.choice:hover {
  border-color: var(--accent);
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -15px rgba(176, 141, 91, .35);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg);
  box-shadow: 0 14px 30px -14px rgba(10, 10, 10, .25);
}

.choice:has(input:checked)::before {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 0 0 4px #fff;
}

.choice strong {
  font-size: 14.5px;
  font-weight: 600;
  display: block;
  letter-spacing: -.005em;
}

.choice small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 3px;
  line-height: 1.45;
}

.choice--wide {
  grid-column: 1 / -1;
}

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

/* Fields grid */
.rdv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field>span {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

.field>span small {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-mute);
  margin-left: 4px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176, 141, 91, .15);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

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

/* Pills (radio group) */
.field--group span {
  margin-bottom: 4px;
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pills label {
  cursor: pointer;
}

.pills label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pills label span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  font-size: 13.5px;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.pills label span small {
  color: var(--ink-mute);
  margin-left: 4px;
  font-size: 11px;
}

.pills label:hover span {
  border-color: var(--accent);
}

.pills label input:checked+span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.pills label input:checked+span small {
  color: var(--accent-3);
}

/* Summary list */
.rdv__summary {
  margin: 0 0 24px;
  padding: 18px 20px;
  background: var(--bg);
  border-radius: 12px;
}

.rdv__summary div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.rdv__summary div:last-child {
  border-bottom: 0;
}

.rdv__summary dt {
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rdv__summary dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

/* Privacy */
.rdv__privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}

.rdv__privacy input {
  margin-top: 3px;
  accent-color: var(--accent);
}

/* Success */
.rdv__success {
  text-align: center;
  padding: 30px 0;
  animation: fadeIn .6s var(--ease);
}

.rdv__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-3);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  animation: pop .5s var(--ease);
}

.rdv__success-icon svg {
  width: 32px;
  height: 32px;
}

@keyframes pop {
  from {
    transform: scale(.4);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.rdv__success h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.rdv__success p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Form nav */
.rdv__nav {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.rdv__nav .rdv__prev {
  justify-self: start;
}

.rdv__nav .rdv__next,
.rdv__nav .rdv__submit {
  justify-self: end;
}

.rdv__counter {
  justify-self: center;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

.rdv__counter b {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--ink);
  font-size: 22px;
  margin-right: 2px;
  font-weight: 400;
}

@media (max-width: 600px) {
  .rdv__nav {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .rdv__counter {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 4px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.foot {
  position: relative;
  background: var(--accent-deep);
  color: #cfc4af;
  padding: 80px 28px 0;
  overflow: hidden;
}

.foot a {
  color: #f6f1ea;
}

.foot__top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto 60px;
}

@media (max-width: 760px) {
  .foot__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.foot__top .nav__logo {
  color: #fff;
}

.foot__top .nav__logo img {
  filter: brightness(0) invert(1);
}

.foot__desc {
  color: #bdb097;
  font-size: 14.5px;
  max-width: 60ch;
  line-height: 1.65;
  margin: 0;
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto 60px;
}

@media (max-width: 760px) {
  .foot__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.foot__cols h4 {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 500;
}

.foot__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.foot__cols a {
  transition: color .25s var(--ease);
}

.foot__cols a:hover {
  color: var(--accent-3);
}

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid #ffffff14;
  font-size: 13px;
  color: #8a7e6b;
  flex-wrap: wrap;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.foot__bottom a {
  margin-left: 18px;
  color: #cfc4af;
}

.foot__giant {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(120px, 28vw, 460px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px #ffffff20;
  text-align: center;
  margin-top: 30px;
  user-select: none;
  pointer-events: none;
}

/* ============================================
   REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero__title span.reveal {
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  opacity: 1;
}

.hero__title span.reveal.is-in {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal.is-in,
  * {
    animation: none !important;
    transition: none !important;
  }

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