/* Novari Wellness
   Colors, type, and spacing live here. Text lives in index.html. */

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #b79045;
  --gold-heading: #9a7840;
  --gold-ui: #7d6230;
  --burgundy: #7a3b3b;
  --ink: #262626;
  --muted: #575757;
  --paper: #fbfaf7;
  --sand: #f3f1ec;
  --card: #ffffff;
  --line: #e6e0d4;
  --shadow: 0 14px 40px rgba(90, 68, 28, 0.07);
  --radius: 24px;
  --header: 76px;
  --font: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-ui);
}

a:hover {
  color: var(--burgundy);
}

:focus-visible {
  outline: 3px solid var(--gold-ui);
  outline-offset: 3px;
}

::selection {
  background: #ead9b0;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.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;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

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

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--gold-heading);
}

h1 {
  font-size: clamp(40px, 5vw, 58px);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 16px;
}

h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 8px;
}

.lede,
.prose {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.section {
  padding: 72px 0;
}

.center {
  text-align: center;
}

.center h2,
.center .eyebrow {
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 16px;
  position: relative;
}

.logo img {
  height: 38px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  right: 0;
  top: 16px;
  z-index: 2;
  cursor: pointer;
}

.nav-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0 18px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-links a {
  display: block;
  padding: 12px 20px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.nav-links a:hover {
  color: var(--ink);
}

@media (max-width: 1079px) {
  .nav-toggle:checked ~ .nav-links {
    display: block;
    z-index: 5;
  }
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 3px solid var(--gold-ui);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-ui);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 18px 8px 8px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  border: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover {
  background: #6a5328;
  color: #fff;
}

.btn .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--gold-ui);
  flex: none;
}

.nav-links a.btn,
.nav-links a.btn:hover {
  display: inline-flex;
  margin: 8px 20px 4px;
  width: fit-content;
  padding: 8px 18px 8px 8px;
  color: #fff;
  background: var(--gold-ui);
  /* Framer draws a 1px border only while hovering. Keep the same width at
     rest so the label and icon do not reflow when the border color appears. */
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: normal;
  text-decoration: none;
  transform: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.nav-links a.btn:hover {
  /* Primary variant hover from the Framer component (P9D6qyA5F-hover):
     white fill, Brown token text and border (#7a3b3b). */
  background: #fff;
  color: #7a3b3b;
  border-color: #7a3b3b;
}

.nav-links a.btn:hover .dot {
  width: 26px;
  height: 26px;
  color: var(--gold-ui);
}

/* Hero */

.hero {
  padding: 36px 0 20px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-media {
  width: 100%;
  aspect-ratio: 1400 / 933;
  object-fit: cover;
  border-radius: 28px;
}

/* Pull quote */

.band {
  padding: 64px 0 24px;
}

.band blockquote {
  margin: 0 auto;
  max-width: 36rem;
  text-align: center;
}

.band p {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* About */

.about-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.portrait-card {
  position: relative;
  background: var(--card);
  border-radius: 28px;
  padding: 12px 12px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.portrait {
  width: 100%;
  aspect-ratio: 1100 / 1312;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 20px;
}

.portrait-card figcaption {
  margin-top: 16px;
  color: var(--gold-ui);
  font-size: 20px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.icon-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(80, 60, 40, 0.12);
  text-decoration: none;
}

.icon-btn:hover {
  background: #fff;
  color: var(--burgundy);
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-copy h2 {
  margin-bottom: 18px;
}

.specialties {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px;
}

.about-copy ul {
  margin: 0 0 16px;
  padding-left: 1.15em;
  color: var(--muted);
}

.about-copy li {
  margin: 4px 0;
}

.about-copy li::marker {
  color: var(--gold-ui);
}

/* Stats */

.stats {
  display: grid;
  gap: 28px;
  margin-top: 56px;
  background: var(--sand);
  border-radius: 28px;
  padding: 36px 22px;
  text-align: center;
}

.stat-value {
  margin: 0 0 8px;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gold-heading);
}

.stat-value.words {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  margin: 0 auto;
  max-width: 28ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* Services */

.service-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.service {
  display: grid;
  gap: 14px;
  background: var(--card);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.service picture {
  display: block;
}

.service img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
}

.service h3 {
  margin-bottom: 6px;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.section-intro {
  max-width: 22em;
  margin: 0 auto 28px;
}

#about,
#services,
#how-it-works,
#testimonials,
#get-started,
#booking {
  scroll-margin-top: 88px;
}

/* How it works */

.how {
  background-color: #f7f5f1;
  background-image:
    linear-gradient(rgba(247, 245, 241, 0.88), rgba(247, 245, 241, 0.92)),
    image-set(
      url("../images/curves.avif") type("image/avif"),
      url("../images/curves.webp") type("image/webp"),
      url("../images/curves.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--gold-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(80, 60, 20, 0.06);
  margin-bottom: 16px;
}

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 36px;
}

.steps li {
  position: relative;
  text-align: center;
  max-width: 36em;
  margin-inline: auto;
}

.step-num {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.steps p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.step-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  color: var(--ink);
  font-size: 14.5px;
  margin: 12px auto 0;
  max-width: 36ch;
}

.step-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--gold-ui);
}

.step-arrow {
  display: none;
}

/* Testimonials */

.quotes {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 8px 2px 22px;
  margin-top: 8px;
  scrollbar-color: #cbb98a transparent;
}

.quote {
  flex: 0 0 86%;
  scroll-snap-align: start;
  margin: 0;
  background: var(--card);
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  margin: 0;
  color: var(--burgundy);
  letter-spacing: 0.14em;
  font-size: 14px;
  line-height: 1;
}

.quote blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.quote figcaption {
  margin-top: auto;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
}

.scroll-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Get started */

.cta-band {
  padding: 28px 0 8px;
}

.cta-panel {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background-color: #e7e4df;
  background-image: image-set(
    url("../images/waves.avif") type("image/avif"),
    url("../images/waves.webp") type("image/webp"),
    url("../images/waves.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: 12% center;
}

.cta-card {
  width: min(560px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.booking {
  padding-top: 28px;
}

.booking h2 {
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
}

.booking .intro {
  text-align: center;
  max-width: 42em;
  margin: 0 auto 22px;
  color: var(--muted);
}

.scheduler-frame {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 28px 20px;
}

.scheduler-status {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.scheduler-status p {
  margin: 0 auto 18px;
  max-width: 42em;
}

.scheduler-status .btn {
  margin-inline: auto;
}

.scheduler-frame iframe {
  width: 100%;
  height: 0;
  border: 0;
  display: block;
  background: #fff;
}

.scheduler-frame.is-ready {
  padding: 0;
  min-height: 760px;
}

.scheduler-frame.is-ready .scheduler-status {
  display: none;
}

.scheduler-frame.is-ready iframe {
  height: 820px;
}

.scheduler-link {
  text-align: center;
  margin: 16px 0 0;
  font-size: 15px;
}

.scheduler-link a {
  font-weight: 500;
}

.fruit {
  margin: 28px 0 0;
  padding: 0;
}

.fruit img {
  width: 100%;
  height: auto;
}

/* Footer */

.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.footer-logo {
  text-decoration: none;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-name {
  margin: 0 0 4px;
  font-weight: 500;
  color: var(--ink);
}

.site-footer p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer a {
  font-weight: 500;
  text-underline-offset: 2px;
}

.scheduler-link a {
  text-underline-offset: 2px;
}

.copy {
  margin-top: 8px;
}

/* Desktop */

@media (min-width: 800px) {
  .wrap {
    width: min(1140px, calc(100% - 64px));
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 54px 0 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }

  .band {
    padding: 88px 0 36px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 48px 28px;
    margin-top: 72px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .service {
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
  }

  .service picture {
    width: 118px;
  }

  .service img {
    width: 118px;
    height: 92px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
  }

  .steps li {
    max-width: none;
    padding: 0 8px;
  }

  .step-arrow {
    display: block;
    position: absolute;
    width: 78px;
    height: 36px;
    right: -40px;
    top: 18px;
    color: var(--gold);
  }

  .quote {
    flex-basis: calc((100% - 32px) / 3);
  }

  .cta-panel {
    min-height: 480px;
    padding: 64px 24px;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    align-items: center;
  }

  .copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1080px) {
  .nav-toggle,
  .nav-burger {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    align-items: center;
    gap: 6px;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 15.5px;
  }

  .nav-links a.btn,
  .nav-links a.btn:hover {
    display: inline-flex;
    margin: 0 0 0 8px;
    padding: 7px 16px 7px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-links a.btn {
    transition: none;
  }
}
