:root {
  --ink: #2d2520;
  --muted: #725f55;
  --paper: #fff8ef;
  --warm: #f3dfcd;
  --rose: #bd6f62;
  --sage: #7f9478;
  --mist: #dfe8df;
  --plum: #51364a;
  --clay: #a45743;
  --cream: #fffdf8;
  --line: rgba(69, 51, 40, 0.16);
  --shadow: 0 28px 80px rgba(81, 52, 36, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 8%, rgba(127, 148, 120, 0.22), transparent 28rem),
    radial-gradient(circle at top left, rgba(189, 111, 98, 0.18), transparent 30rem),
    linear-gradient(135deg, var(--cream), #f7f3ea 42%, var(--mist));
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(45, 37, 32, 0.035) 1px, transparent 1px);
  background-size: 100% 9px;
  mix-blend-mode: multiply;
  opacity: 0.45;
  z-index: 10;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.8rem;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  backdrop-filter: blur(20px);
  background: rgba(255, 248, 239, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand, nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(8.2rem, 13vw, 10.4rem);
  height: 4.55rem;
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.admin-brand-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--clay);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(164, 87, 67, 0.24);
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.section, .section-band {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5.5rem);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.section-band {
  background: linear-gradient(120deg, rgba(255, 253, 248, 0.72), rgba(223, 232, 223, 0.56), rgba(243, 223, 205, 0.42));
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.25rem, 6.7vw, 6.6rem);
  line-height: 0.94;
  font-weight: 500;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.95;
  font-weight: 500;
}

h3 {
  font-size: 1.55rem;
}

.hero-text, .doctor-copy p, .booking-intro p, .fit-copy p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions, .form-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-offer {
  max-width: 34rem;
  margin: 1.4rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(127, 148, 120, 0.34);
  border-radius: 1.25rem;
  background: rgba(223, 232, 223, 0.58);
}

.hero-offer span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--plum);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-offer strong {
  font-size: 1.15rem;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--clay), var(--plum));
  box-shadow: 0 18px 40px rgba(81, 54, 74, 0.22);
}

.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.full {
  width: 100%;
  border: 0;
  font-size: 1rem;
}

.hero-visual, .portrait {
  position: relative;
}

.hero-visual img, .portrait img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.hero-visual img {
  height: clamp(24rem, 58vh, 40rem);
}

.editorial-visual img {
  filter: saturate(0.86) contrast(0.98);
}

.portrait img {
  height: 36rem;
}

.floating-note {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  width: min(15rem, 70%);
  padding: 1rem;
  color: var(--cream);
  background: rgba(45, 37, 32, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.4rem;
}

.floating-note span {
  display: block;
  color: #f4d0bd;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-heading {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit, .booking-card, details, .step {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 50px rgba(81, 52, 36, 0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  min-height: 24rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 50px rgba(81, 52, 36, 0.08);
}

.price-card.highlight {
  color: var(--cream);
  background: linear-gradient(145deg, var(--clay), var(--plum));
  box-shadow: 0 24px 70px rgba(81, 54, 74, 0.24);
}

.price-card span {
  color: var(--sage);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card.highlight span,
.price-card.highlight p {
  color: rgba(255, 250, 244, 0.82);
}

.price-card h3 {
  margin-bottom: 0.2rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  font-weight: 500;
}

.price-card p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.price-card .button {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-section h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.contact-card {
  min-height: 12rem;
  display: grid;
  align-content: space-between;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  text-decoration: none;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 50px rgba(81, 52, 36, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(81, 52, 36, 0.12);
}

.contact-card span {
  color: var(--sage);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  color: var(--plum);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.benefit {
  min-height: 18rem;
  padding: 1.5rem;
}

.benefit:nth-child(2) {
  background: rgba(223, 232, 223, 0.64);
}

.benefit:nth-child(3) {
  background: rgba(255, 247, 235, 0.76);
}

.benefit span {
  color: var(--sage);
  font-weight: 800;
}

.benefit p, .step span, details p, .safety-note, footer {
  color: var(--muted);
  line-height: 1.6;
}

.doctor, .booking {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.doctor {
  align-items: start;
}

.soft-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.soft-list li::before {
  content: "•";
  color: var(--clay);
  margin-right: 0.7rem;
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.fit-section h2 {
  max-width: 20ch;
  font-size: clamp(2.4rem, 4.8vw, 4.75rem);
  line-height: 1;
}

.fit-copy {
  position: sticky;
  top: 6rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fit-card {
  min-height: 13rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 253, 248, 0.68);
  box-shadow: 0 18px 50px rgba(81, 52, 36, 0.08);
}

.fit-card:nth-child(2), .fit-card:nth-child(3) {
  background: rgba(223, 232, 223, 0.58);
}

.fit-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--plum);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  min-height: 11rem;
  padding: 1.4rem;
  display: grid;
  align-content: space-between;
}

.step strong {
  font-size: 1.4rem;
}

.booking {
  align-items: start;
}

.safety-note {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--sage);
  background: rgba(127, 148, 120, 0.12);
}

.booking-card {
  padding: clamp(1rem, 3vw, 2rem);
}

.portal-shell {
  min-height: calc(100vh - 5.8rem);
  display: grid;
  place-items: center;
}

.portal-card {
  width: min(100%, 42rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
}

.portal-card h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.6rem);
}

.portal-card p,
.portal-item span,
.portal-item small {
  color: var(--muted);
  line-height: 1.55;
}

.portal-form {
  margin-top: 1.4rem;
}

.portal-dashboard h1 {
  max-width: none;
  font-size: clamp(2.75rem, 7vw, 5.4rem);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.portal-grid .booking-card h2 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.portal-list {
  display: grid;
  gap: 0.8rem;
}

.portal-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(69, 51, 40, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.46);
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 750;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
}

input, select {
  min-height: 3.2rem;
  padding: 0 1rem;
}

textarea {
  min-height: 8rem;
  padding: 1rem;
  resize: vertical;
}

.form-row > label {
  flex: 1 1 14rem;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 600;
  line-height: 1.45;
}

.consent input {
  width: 1.15rem;
  min-height: 1.15rem;
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--clay);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.admin-page h1 {
  max-width: 12ch;
}

.admin-secret-card {
  margin-bottom: 1.25rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.admin-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 253, 248, 0.58);
  overflow-wrap: anywhere;
}

.admin-item span,
.instagram-card small {
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.admin-item.compact {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}

.mini-button {
  min-height: 2.35rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.admin-section-head h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.instagram-admin {
  margin-top: 1.25rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.instagram-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 253, 248, 0.62);
}

.instagram-card h3 {
  margin-bottom: 0.4rem;
}

.instagram-card p {
  color: var(--muted);
  line-height: 1.55;
}

.status-pill {
  width: fit-content;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  color: var(--cream);
  background: var(--sage);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.asset-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 0.6rem;
  align-items: start;
}

.asset-preview img {
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--paper);
}

.error-text {
  color: #9d3528 !important;
  font-weight: 800;
}

.faq {
  max-width: 64rem;
  margin: 0 auto;
}

details {
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
}

summary {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.reveal {
  animation: rise 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 140ms; }
.delay-2 { animation-delay: 280ms; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  nav { display: none; }

  .site-header {
    min-height: 5.2rem;
    padding-block: 0.55rem;
  }

  .brand-logo {
    width: clamp(7.35rem, 34vw, 8.6rem);
    height: 4.1rem;
  }
  .hero, .doctor, .booking, .section-heading, .fit-layout {
    grid-template-columns: 1fr;
  }
  .benefit-grid, .steps, .fit-grid, .pricing-grid, .contact-grid, .admin-grid, .instagram-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }
  .admin-section-head {
    display: grid;
  }
  .admin-item.compact,
  .asset-preview {
    grid-template-columns: 1fr;
  }
  .fit-copy {
    position: static;
  }
  h1 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }
  .section, .section-band {
    padding-block: 4rem;
  }
  .hero-visual img, .portrait img {
    height: 26rem;
  }
  .floating-note {
    right: 1rem;
    bottom: 1rem;
    width: min(14rem, calc(100% - 2rem));
  }
  footer {
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .site-header {
    justify-content: center;
    min-height: 5rem;
    padding: 0.45rem 1rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-logo {
    width: clamp(6.6rem, 31vw, 7.35rem);
    height: 3.45rem;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    gap: 2rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 4.4rem);
    line-height: 0.96;
  }

  h2 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  h3 {
    font-size: 1.35rem;
  }

  .hero-text,
  .doctor-copy p,
  .booking-intro p,
  .fit-copy p {
    font-size: 1.05rem;
    line-height: 1.58;
  }

  .section,
  .section-band {
    padding: 3.2rem 1rem;
  }

  .hero.section-band {
    padding-top: 2.2rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 3.1rem;
  }

  .hero-offer,
  .booking-card,
  .price-card,
  .benefit,
  details,
  .step,
  .contact-card {
    border-radius: 1.05rem;
  }

  .price-card {
    min-height: auto;
    padding: 1.2rem;
  }

  .price-card h3 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .price-card p,
  .contact-card strong {
    font-size: 1rem;
  }

  .hero-visual img,
  .portrait img {
    height: min(24rem, 72vh);
    border-radius: 1.2rem;
  }

  .floating-note {
    width: min(15rem, calc(100% - 2rem));
    border-radius: 1rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  input,
  select,
  textarea {
    min-height: 3.35rem;
    font-size: 1rem;
  }

  .contact-section h2 {
    white-space: normal;
  }

  .contact-card {
    min-height: 8.5rem;
  }

  .portal-shell {
    min-height: auto;
    place-items: start;
  }

  .portal-card h1,
  .portal-dashboard h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 6.25rem;
    height: 3.15rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.75rem, 13.5vw, 3.45rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .section-heading {
    gap: 0.8rem;
    margin-bottom: 1.35rem;
  }

  .hero-visual img,
  .portrait img {
    height: 21rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
