/* ================================================================
   Karin Holt Acupuncture — Site Stylesheet
   karinholtacu.com
   ================================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --linen:      #F5F0E6;
  --pale-wood:  #EDE8D5;
  --pale-sage:  #C8D8C8;
  --forest:     #2A3E38;
  --near-black: #1C1C1A;
  --text:       #1C2E28;
  --text-muted: #6B8278;
  --text-light: #F5F0E6;
  --text-dim:   #A3B8AE;
  --sage:       #7A9E8E;
  --honey:      #D4B86A;
  --serif:      'EB Garamond', Georgia, serif;
  --sans:       'Nunito Sans', system-ui, sans-serif;
  --max:        1100px;
  --radius:     6px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--linen); color: var(--text); font-family: var(--sans); font-weight: 300; line-height: 1.85; }

/* ── Shared typography ───────────────────────────────────────── */
p { font-size: 0.95rem; line-height: 1.85; color: var(--text); margin-bottom: 1.25rem; font-family: var(--sans); font-weight: 300; }
p:last-child { margin-bottom: 0; }
.eyebrow { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 1rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.centered { text-align: center; margin: 0 auto; }

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  background: var(--linen);
  border-bottom: 1px solid rgba(107,130,120,0.2);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.site-nav .brand { font-family: var(--serif); font-size: 1.1rem; color: var(--text); text-decoration: none; }
.site-nav .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.site-nav .nav-links a { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.site-nav .nav-links a:hover,
.site-nav .nav-links a[aria-current="page"] { color: var(--sage); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.booking-icon { color: var(--forest); display: flex; align-items: center; }
.booking-icon svg { width: 20px; height: 20px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--forest); padding: 0.25rem;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.site-nav.nav-open .nav-toggle .icon-hamburger { display: none; }
.site-nav.nav-open .nav-toggle .icon-close { display: block; }

/* ── Shared components ───────────────────────────────────────── */
.honey-rule { width: 48px; height: 1px; background: var(--honey); margin: 0 auto 2rem; }
.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 2.25rem; border: 1px solid var(--honey); color: var(--text-light);
  border-radius: var(--radius); transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--honey); color: var(--forest); }
.btn-light { background: var(--text-light); color: var(--forest); border-color: var(--text-light); }
.btn-light:hover { background: var(--pale-wood); color: var(--forest); }
.text-link { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); text-decoration: none; border-bottom: 1px solid var(--sage); padding-bottom: 1px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--near-black); padding: 2.5rem 2rem; text-align: center; }
.site-footer p { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-dim); font-family: var(--sans); font-weight: 300; }

/* ── Section: divider style (about and for-providers pages) ──── */
/* When used without a surface modifier, .section is an internal  */
/* content divider with a rule above. Homepage sections override  */
/* these defaults via the surface-modifier classes below.         */
.section { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(107,130,120,0.2); }

/* ── Section: full-bleed colored surfaces (homepage) ─────────── */
/* These override .section defaults when both classes are present. */
.section-linen { background: var(--linen);     margin-top: 0; padding: 5rem 2rem; border-top: none; }
.section-wood  { background: var(--pale-wood); margin-top: 0; padding: 5rem 2rem; border-top: none; }
.section-sage  { background: var(--pale-sage); margin-top: 0; padding: 5rem 2rem; border-top: none; }
.section-linen h2,
.section-wood h2,
.section-sage h2 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.5rem; max-width: 680px; }
.section-linen .body-text,
.section-wood .body-text,
.section-sage .body-text { max-width: 680px; }
.section-linen .body-text p,
.section-wood .body-text p,
.section-sage .body-text p { font-size: 0.95rem; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { background: var(--forest); padding: 5rem 2rem; }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center; }
.hero .eyebrow { color: var(--text-dim); margin-bottom: 1.75rem; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 400;
  color: var(--text-light); line-height: 1.18; margin: 0 0 1.5rem;
}
.hero .subhead {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--text-dim);
  max-width: 480px; margin: 0 0 2rem; line-height: 1.75;
}
.hero .honey-rule { margin: 0; }
.hero-photo img { width: 100%; border-radius: var(--radius); display: block; }

/* ── Video section ────────────────────────────────────────────── */
.video-section { background: var(--linen); padding: 4rem 2rem 3rem; }
.video-wrap { max-width: 640px; margin: 0 auto; }
.video-wrap iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius); }
details.transcript { margin-top: 1rem; }
details.transcript summary {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); cursor: pointer; padding: 0.5rem 0;
}
details.transcript p { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.75rem; line-height: 1.8; }

/* ── Pullquote strip ──────────────────────────────────────────── */
.pullquote-strip { background: var(--forest); padding: 4rem 2rem; text-align: center; }
.pullquote-strip blockquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: var(--text-light); max-width: 680px; margin: 0 auto; line-height: 1.55;
}

/* ── Cards (homepage two-card structure) ─────────────────────── */
.card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 780px; margin-top: 2.5rem; }
.card { background: var(--linen); border-radius: var(--radius); border: 1px solid rgba(107,130,120,0.25); padding: 2rem; }
.card h3 { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.card p { font-size: 0.92rem; }
.section-wood .card { background: var(--linen); }

/* ── Cancer section ───────────────────────────────────────────── */
.cancer-section { background: var(--pale-sage); padding: 5rem 2rem; }
.cancer-section .eyebrow { color: var(--forest); }
.cancer-section h2 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.5rem; max-width: 640px; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials { background: var(--pale-wood); padding: 5rem 2rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: var(--max); margin: 2rem auto 0; }
.testimonial { background: var(--linen); border-radius: var(--radius); padding: 1.75rem 2rem; }
.testimonial blockquote { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.65; color: var(--text); margin-bottom: 1rem; }
.testimonial cite { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-style: normal; }

/* ── Conditions tag cloud ─────────────────────────────────────── */
.conditions { background: var(--linen); padding: 4rem 2rem; text-align: center; }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 780px; margin: 2rem auto 0; }
.tag { font-family: var(--sans); font-size: 0.78rem; font-weight: 300; letter-spacing: 0.06em; color: var(--text); border: 1px solid var(--sage); border-radius: 999px; padding: 0.4rem 1.1rem; }

/* ── About strip (homepage) ───────────────────────────────────── */
.about-strip { background: var(--pale-wood); padding: 5rem 2rem; }
.about-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.credentials .eyebrow { margin-bottom: 1.25rem; }
.credentials ul { list-style: none; }
.credentials li { font-family: var(--sans); font-size: 0.88rem; font-weight: 300; color: var(--text); padding: 0.3rem 0; border-bottom: 1px solid rgba(107,130,120,0.2); }
.credentials li:last-child { border-bottom: none; }
.about-copy p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.about-copy .pullquote-inline { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-muted); margin: 1.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--honey); }

/* ── CTA section ──────────────────────────────────────────────── */
.cta-section { background: var(--forest); padding: 6rem 2rem; text-align: center; }
.cta-section h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.3; }
.cta-section p { color: var(--text-dim); max-width: 480px; margin: 0 auto 2.5rem; font-size: 0.95rem; }
.cta-note { font-size: 0.78rem !important; color: var(--text-dim) !important; margin-top: 1.25rem !important; letter-spacing: 0.06em; }

/* ================================================================
   About page — scoped to body.page-about
   ================================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.page-about .page-wrap { max-width: 680px; margin: 0 auto; padding: 5rem 2rem 8rem; animation: fadeUp 0.5s ease both; }
.page-about .page-header { margin-bottom: 3.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(107,130,120,0.25); }
.page-about h1 { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; line-height: 1.15; color: var(--text); margin-bottom: 1.25rem; }
.page-about .opening-quote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.25rem; }
.page-about .orient { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; font-family: var(--sans); font-weight: 300; }
.page-about h2 { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.page-about .about-photo { margin: 0 0 2.5rem; }
.page-about .about-photo img { width: 100%; max-width: 480px; border-radius: var(--radius); display: block; }
.page-about .pull-quote { margin: 2.25rem 0; padding: 1.5rem 1.75rem; background: var(--pale-sage); border-left: 3px solid var(--forest); border-radius: 0 var(--radius) var(--radius) 0; }
.page-about .pull-quote p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--text); margin-bottom: 0; }
.page-about .closing { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid rgba(107,130,120,0.2); }
.page-about .closing-text { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; }
.page-about .cta-link { display: inline-block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); text-decoration: none; border-bottom: 1px solid var(--sage); padding-bottom: 2px; }

/* ================================================================
   For Providers page — scoped to body.page-for-providers
   ================================================================ */
.page-for-providers .page-wrap { max-width: 780px; margin: 0 auto; padding: 5rem 2rem 8rem; }
.page-for-providers h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1.2; color: var(--text); margin-bottom: 1.5rem; }
.page-for-providers .intro { font-size: 1rem; color: var(--text-muted); font-style: italic; margin-bottom: 3rem; font-family: var(--sans); }
.page-for-providers h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 1.25rem; }
ul.indications { list-style: none; margin: 1rem 0 1.25rem; }
ul.indications li { font-family: var(--sans); font-size: 0.92rem; font-weight: 300; color: var(--text); padding: 0.4rem 0 0.4rem 1.5rem; border-bottom: 1px solid rgba(107,130,120,0.15); position: relative; }
ul.indications li:last-child { border-bottom: none; }
ul.indications li::before { content: '—'; position: absolute; left: 0; color: var(--text-muted); }
.referral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.referral-card { background: var(--pale-wood); border-radius: var(--radius); padding: 1.75rem; }
.referral-card h3 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.75rem; }
.referral-card p { font-size: 0.88rem; }
.contact-block { background: var(--forest); border-radius: var(--radius); padding: 2.5rem; margin-top: 3rem; color: var(--text-light); }
.contact-block h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--text-light); margin-bottom: 1rem; }
.contact-block p { color: var(--text-dim); font-size: 0.92rem; }
.contact-block .contact-info { color: var(--text-light); font-size: 0.95rem; margin-top: 1.25rem; }

/* ================================================================
   Your Visit page
   ================================================================ */
.page-header { padding: 5rem 2rem 4rem; max-width: 680px; margin: 0 auto; }
.page-header h1 { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; line-height: 1.2; margin-bottom: 1rem; }
.before-section { background: var(--pale-wood); padding: 4rem 2rem; }
.before-section h2 { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2rem; text-align: center; }
.before-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: var(--max); margin: 0 auto; }
.before-card { background: var(--linen); border-radius: var(--radius); padding: 1.75rem; }
.before-card h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.75rem; }
.before-card p { font-size: 0.88rem; }
.expect-section { background: var(--linen); padding: 5rem 2rem; }
.expect-section h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; margin-bottom: 3rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.steps { max-width: 680px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(107,130,120,0.2); }
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num { font-family: var(--serif); font-size: 1.8rem; color: var(--text-muted); line-height: 1; padding-top: 0.1rem; }
.step-content h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.75rem; }
.finding-section { background: var(--pale-wood); padding: 5rem 2rem; }
.finding-inner { max-width: 680px; margin: 0 auto; }
.finding-section h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; margin-bottom: 1.5rem; }
.finding-section h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 2rem 0 0.75rem; }
.map-embed { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 380px; border: none; display: block; }

/* ================================================================
   Book page
   ================================================================ */
.book-section { background: var(--linen); padding: 3rem 2rem 6rem; }
.book-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
.book-main p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.book-main-new { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(107,130,120,0.2); }
.book-contact { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(107,130,120,0.2); }
.book-contact p { font-size: 0.92rem; margin-top: 0.75rem; }
.book-contact a { color: var(--sage); text-decoration: none; }
.book-aside .location-card { background: var(--pale-wood); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem; }
.book-aside .location-card h3 { font-family: var(--sans); font-size: 0.92rem; font-weight: 600; color: var(--forest); margin: 0.5rem 0 0.5rem; }
.book-aside .location-card p { font-size: 0.88rem; }
.captcha-widget { background: var(--pale-wood); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; max-width: 360px; }
.captcha-prompt { font-size: 0.88rem; margin-bottom: 0.75rem; }
.captcha-question { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--forest); display: block; margin-bottom: 0.75rem; }
.captcha-row { display: flex; gap: 0.5rem; }
.captcha-input { width: 100px; padding: 0.5rem 0.75rem; border: 1px solid rgba(107,130,120,0.4); border-radius: var(--radius); font-size: 0.95rem; font-family: var(--sans); background: var(--linen); color: var(--text); }
.captcha-btn { padding: 0.5rem 1.25rem; border: none; border-radius: var(--radius); background: var(--forest); color: var(--text-light); cursor: pointer; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.captcha-btn:hover { background: var(--sage); }
.captcha-error { color: #b94040; font-size: 0.85rem; margin-top: 0.6rem !important; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .before-grid { grid-template-columns: repeat(2, 1fr); }
  .book-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-aside { order: -1; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 480px; }
}
@media (max-width: 720px) {
  .card-pair { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-nav .nav-links { display: none; }
  .site-nav.nav-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--linen);
    border-bottom: 1px solid rgba(107,130,120,0.2);
    padding: 1rem 2rem 1.5rem; gap: 0; z-index: 99;
  }
  .site-nav.nav-open .nav-links li { border-bottom: 1px solid rgba(107,130,120,0.15); }
  .site-nav.nav-open .nav-links li:last-child { border-bottom: none; }
  .site-nav.nav-open .nav-links a { display: block; padding: 0.75rem 0; font-size: 0.72rem; }
  .nav-toggle { display: flex; }
  .page-about h1 { font-size: 2.1rem; }
  .page-about .page-wrap { padding: 3rem 1.5rem 6rem; }
}
@media (max-width: 600px) {
  .before-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 2.1rem; }
  .referral-grid { grid-template-columns: 1fr; }
  .page-for-providers h1 { font-size: 1.9rem; }
}
