/* ── Leah Podiatry — warm editorial-clinical ─────────────────────────────
   Porcelain ground, deep pine ink, soft clay accent.
   Fraunces (display) + Karla (body).                                       */

:root {
  --porcelain: #faf6f0;
  --porcelain-deep: #f3ecdf;
  --ink: #203a33;
  --ink-soft: #4a6058;
  --clay: #c2683f;
  --clay-soft: #e8c9b4;
  --sage: #9db8a5;
  --line: #ddd2c0;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--porcelain);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }

em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--porcelain) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.wordmark .mark { width: 30px; height: 30px; color: var(--clay); }

.wordmark-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.wordmark-text em { font-weight: 300; color: var(--ink-soft); }

.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); }

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding-bottom: 3px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--clay);
  transition: width 0.25s ease;
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sm { padding: 11px 22px; font-size: 14px; }

.btn-solid {
  background: var(--ink);
  color: var(--porcelain);
}

.btn-solid:hover {
  background: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(194, 104, 63, 0.28);
}

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

.btn-ghost:hover {
  background: var(--ink);
  color: var(--porcelain);
  transform: translateY(-2px);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 100px);
  max-width: 1280px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(46px, 6.5vw, 84px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.accent-script {
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 38px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }

.arch-art { width: min(100%, 420px); color: var(--clay); }

.arch {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: draw 1.6s ease forwards;
}

.arch.a2 { color: var(--sage); animation-delay: 0.25s; }
.arch.a3 { color: var(--ink); animation-delay: 0.5s; }

.arch-dot {
  fill: var(--clay);
  opacity: 0;
  animation: pop 0.5s ease 1.4s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { from { opacity: 0; transform: scale(0.3); transform-origin: center; }
                  to   { opacity: 1; transform: scale(1); } }

/* ── Trust strip ──────────────────────────────────────────────────────── */

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--porcelain-deep);
}

.strip-item {
  padding: 28px clamp(20px, 3vw, 48px);
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 19px);
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.strip-item + .strip-item { border-left: 1px solid var(--line); }

.strip-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--clay);
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 130px) clamp(20px, 5vw, 64px);
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vh, 64px); }

.section-head h2, .about-copy h2, .book-panel h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 18px;
}

.section-sub { color: var(--ink-soft); font-size: 18px; }

/* ── Treatment cards ──────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 28px 0 28px;
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--clay-soft);
  box-shadow: 0 18px 40px rgba(32, 58, 51, 0.1);
}

.card-icon { width: 42px; height: 42px; color: var(--clay); margin-bottom: 18px; }

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

.card p { color: var(--ink-soft); font-size: 15.5px; }

/* ── About ────────────────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.portrait-slot {
  aspect-ratio: 5 / 6;
  max-width: 380px;
  border-radius: 190px 190px 0 0;
  background: var(--porcelain-deep);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--sage);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-slot svg { width: 45%; }

.about-copy p { margin-bottom: 18px; color: var(--ink-soft); font-size: 17.5px; }

.about-copy p em { color: var(--clay); font-family: var(--serif); font-size: 1.05em; }

.about-note {
  font-size: 14.5px !important;
  border-left: 3px solid var(--clay-soft);
  padding-left: 16px;
  color: var(--ink-soft);
}

/* ── Steps ────────────────────────────────────────────────────────────── */

.visit { background: transparent; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  counter-reset: step;
}

.step { position: relative; padding-top: 18px; }

.step-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(84px, 9vw, 130px);
  line-height: 1;
  color: var(--clay-soft);
  display: block;
  margin-bottom: -34px;
  user-select: none;
}

.step h3 { font-size: 24px; margin-bottom: 10px; position: relative; }

.step p { color: var(--ink-soft); font-size: 15.5px; position: relative; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq-list { max-width: 760px; }

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 28px;
  color: var(--clay);
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list summary:hover { color: var(--clay); }

.faq-list details p {
  color: var(--ink-soft);
  padding: 0 0 22px;
  max-width: 62ch;
}

/* ── Booking panel ────────────────────────────────────────────────────── */

.book { padding-top: 0; }

.book-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--porcelain);
  border-radius: 0 64px 0 64px;
  padding: clamp(56px, 9vh, 96px) clamp(28px, 6vw, 96px);
  text-align: center;
}

.book-panel .eyebrow { color: var(--clay-soft); }

.book-panel h2 { color: #fdfaf5; }

.book-panel p {
  color: #c5d2cb;
  max-width: 52ch;
  margin: 0 auto 14px;
}

.book-arch {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 45%;
  color: rgba(232, 201, 180, 0.25);
  pointer-events: none;
}

.book-soon {
  display: inline-block;
  margin-top: 22px !important;
  padding: 13px 30px;
  border: 1px solid rgba(232, 201, 180, 0.45);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.book-soon strong { color: var(--clay-soft); }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 56px 20px 48px;
}

.foot-mark svg { width: 34px; color: var(--clay); }

.foot-name { font-family: var(--serif); font-size: 24px; margin: 10px 0 4px; }

.foot-line { color: var(--ink-soft); font-size: 15px; }

.foot-small { color: var(--sage); font-size: 13px; margin-top: 22px; }

/* ── Reveals ──────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .arch { animation: none; stroke-dashoffset: 0; }
  .arch-dot { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .arch-art { width: min(60%, 300px); }
  .about { grid-template-columns: 1fr; }
  .portrait-slot { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .strip { grid-template-columns: 1fr; }
  .strip-item + .strip-item { border-left: none; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
}
