/* Hannah Head Spa & Massage — Shared Stylesheet */
:root {
  --primary: #C4622D;
  --secondary: #7A2E2C;
  --tertiary: #C39A4E;
  --green: #6E7B52;
  --bg: #F5EDE0;
  --surface: #ECE0CE;
  --text: #241B15;
  --muted: #7C6A58;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* --- Nav --- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  transition: background .3s, box-shadow .3s;
}
.site-nav.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 14px rgba(36,27,21,.08);
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; font-weight: 500;
  color: #fff; letter-spacing: .01em; transition: color .3s;
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: .68rem; font-family: 'Inter', sans-serif;
  font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  opacity: .72; margin-top: 1px; }
.site-nav.scrolled .nav-logo { color: var(--text); }
.nav-links {
  display: flex; align-items: center; gap: 26px; list-style: none;
}
.nav-links a {
  font-size: .8rem; letter-spacing: .08em; font-weight: 500; text-transform: uppercase;
  color: rgba(255,255,255,.8); transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.site-nav.scrolled .nav-links a { color: var(--muted); }
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 9px 20px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s;
}
.nav-cta:hover { background: var(--secondary); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: #fff; transition: background .3s; }
.site-nav.scrolled .nav-toggle span { background: var(--text); }

/* --- Sunrise Arc --- */
.arc-wrap { display: flex; justify-content: center; margin-bottom: 52px; }
.arc-wrap svg {
  opacity: 0; transform: scaleX(.55) translateY(12px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.arc-wrap.arc-visible svg { opacity: 1; transform: scaleX(1) translateY(0); }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 999px;
  font-size: .84rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  transition: opacity .2s, background .2s, color .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: .86; }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-garnet { background: var(--secondary); color: #fff; }
.btn-garnet:hover { opacity: .86; }

/* --- Hero Scrub (canvas) --- */
.hero-scrub { position: relative; height: 300vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; display: block; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    rgba(18,8,4,.78) 0%,
    rgba(18,8,4,.26) 45%,
    transparent 100%);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 0 36px 88px;
}
.hero-content { max-width: 760px; width: 100%; }
.hero-eyebrow {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
  color: var(--tertiary); margin-bottom: 16px;
}
.hero-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: 1.04; color: #fff; margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.38);
}
.hero-sub {
  color: rgba(255,255,255,.78); font-size: clamp(.95rem, 1.8vw, 1.1rem);
  margin-bottom: 34px; max-width: 48ch; line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 32px; bottom: 36px; z-index: 2;
  color: rgba(255,255,255,.4); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll svg { animation: scrollBounce 2.2s ease-in-out infinite; }
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 148px 36px 72px;
  background: var(--secondary); color: #fff;
  position: relative; overflow: clip;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(0,0,0,.3) 0%, transparent 65%);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: brightness(.42);
}
.page-hero-content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 14px;
}
.page-hero p { color: rgba(255,255,255,.72); font-size: 1rem; max-width: 46ch; margin: 0 auto; }

/* --- Sections --- */
.section { padding: 92px 32px; }
.section-surface { background: var(--surface); }
.section-garnet { background: var(--secondary); color: #fff; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-center { text-align: center; }
.section-center .arc-wrap { justify-content: center; }

.section-eyebrow {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
  color: var(--primary); margin-bottom: 12px; display: block;
}
.section-garnet .section-eyebrow { color: var(--tertiary); }
h2.section-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12;
  color: var(--text); margin-bottom: 20px;
}
.section-garnet h2.section-title { color: #fff; }
.section-lede {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem); line-height: 1.48;
  color: var(--secondary); max-width: 56ch; margin-bottom: 20px;
}
.section-garnet .section-lede { color: rgba(255,255,255,.82); }
.section-body { max-width: 60ch; color: var(--muted); line-height: 1.75; }
.section-body p + p { margin-top: .85em; }
.section-garnet .section-body { color: rgba(255,255,255,.68); }

/* Exhale */
.exhale { padding: 72px 32px 80px; background: var(--bg); }
.exhale .section-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.exhale .section-lede { margin-left: auto; margin-right: auto; }
.exhale .section-body { margin: 0 auto; text-align: center; }

/* --- Ritual --- */
.ritual-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.ritual-images {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 8px;
}
.ritual-images img { border-radius: 10px; width: 100%; object-fit: cover; }
.ritual-img-main { grid-column: 1 / -1; height: 320px; }
.ritual-img-sub { height: 200px; }

/* --- Services --- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 18px; margin-top: 40px;
}
.service-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid rgba(196,98,45,.14);
  transition: transform .22s, box-shadow .22s;
}
.section-surface .service-card { background: var(--surface); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.07); }
.service-card h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.15rem;
  color: var(--secondary); margin-bottom: 10px; line-height: 1.3;
}
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.62; }
.service-price {
  display: inline-block; margin-top: 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--primary); background: rgba(196,98,45,.09);
  padding: 4px 13px; border-radius: 999px;
}
.services-note {
  text-align: center; margin-top: 34px;
  font-size: .88rem; color: var(--muted); line-height: 1.65;
}
.services-note a { color: var(--primary); text-decoration: underline; }

/* --- Communal / Come Together --- */
.communal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px;
}
.communal-grid img { border-radius: 10px; width: 100%; height: 300px; object-fit: cover; }

/* --- Offer Card --- */
.offer-card {
  margin-top: 44px; background: var(--secondary); color: #fff;
  border-radius: var(--radius); padding: 38px 36px;
  max-width: 660px; margin-left: auto; margin-right: auto;
}
.offer-label {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--tertiary); display: block; margin-bottom: 14px;
}
.offer-card h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem); line-height: 1.32; margin-bottom: 14px;
}
.offer-card p { font-size: .92rem; color: rgba(255,255,255,.72); line-height: 1.7; }
.offer-terms {
  font-size: .76rem; color: rgba(255,255,255,.42); margin-top: 12px !important;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 40px;
}
.gallery-grid img {
  border-radius: 10px; width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: opacity .22s;
}
.gallery-grid img:hover { opacity: .88; }
.gallery-grid .g-wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-grid .g-tall { aspect-ratio: 3/4; }
.gallery-link { text-align: center; margin-top: 34px; }
.g-hidden { display: none; }
.gallery-loadmore-wrap { text-align: center; margin-top: 36px; }
.gallery-loadmore {
  background: transparent; border: 1.5px solid var(--primary); color: var(--primary);
  padding: 13px 32px; border-radius: 999px; cursor: pointer;
  font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.gallery-loadmore:hover { background: var(--primary); color: #fff; }

/* Full gallery page */
.full-gallery {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
}
.full-gallery figure { margin: 0; }
.full-gallery img {
  border-radius: 10px; width: 100%; aspect-ratio: 4/5; object-fit: cover;
  display: block;
}
.full-gallery .wide { grid-column: span 2; }
.full-gallery .wide img { aspect-ratio: 16/9; }
.full-gallery figcaption {
  font-size: .74rem; color: var(--muted); padding: 7px 2px 0; line-height: 1.45;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px;
}
.testimonial-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 30px 26px; border: 1px solid rgba(196,98,45,.1);
}
.section-surface .testimonial-card { background: var(--surface); }
.testimonial-card blockquote {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: 1.02rem; line-height: 1.65; color: var(--text); margin-bottom: 18px;
  quotes: '\201C' '\201D';
}
.testimonial-card blockquote::before { content: open-quote; }
.testimonial-card blockquote::after { content: close-quote; }
.testimonial-cite {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--primary); font-style: normal;
}
.testimonial-source {
  font-size: .72rem; color: var(--muted); margin-top: 22px; text-align: center;
}

/* --- Visit / Contact --- */
.visit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  margin-top: 40px;
}
.detail-block { margin-bottom: 28px; }
.detail-label {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--primary); display: block; margin-bottom: 7px;
}
.detail-block p { color: var(--text); line-height: 1.65; }
.detail-block a { color: var(--secondary); }
.detail-block a:hover { text-decoration: underline; }
.detail-map-link {
  display: inline-block; margin-top: 8px;
  font-size: .82rem; font-weight: 500; color: var(--primary);
}
.detail-map-link:hover { text-decoration: underline; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.social-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px;
  border: 1.5px solid rgba(122,46,44,.22);
  font-size: .8rem; font-weight: 500; color: var(--secondary);
  transition: background .2s, color .2s, border-color .2s;
}
.social-link:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.visit-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.visit-cta p { color: var(--muted); max-width: 40ch; }
.visit-hours-tag {
  display: inline-block; background: var(--surface); border-radius: 10px;
  padding: 18px 22px; font-size: .88rem; color: var(--text); line-height: 1.7;
  border: 1px solid rgba(196,98,45,.1);
}
.visit-hours-tag strong { color: var(--secondary); font-weight: 600; display: block; margin-bottom: 4px; }

/* Booking page */
.booking-frame {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(196,98,45,.12);
  min-height: 480px; background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 32px; text-align: center; gap: 20px;
}
.booking-frame p { color: var(--muted); max-width: 42ch; font-size: .95rem; }

/* --- Footer --- */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.65); padding: 52px 32px 32px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer-brand-name {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; font-weight: 400; color: #fff;
  display: block; margin-bottom: 10px;
}
.footer-brand p { font-size: .84rem; line-height: 1.72; }
.footer-col h4 {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--tertiary); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .86rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1160px; margin: 40px auto 0;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: .74rem; color: rgba(255,255,255,.3);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .ritual-grid { grid-template-columns: 1fr; gap: 36px; }
  .ritual-images { grid-template-columns: 1fr 1fr; }
  .ritual-img-main { height: 240px; }
  .ritual-img-sub { height: 150px; }
  .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-wide { grid-column: span 2; }
  .full-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-nav { padding: 16px 20px; }
  .nav-links { display: none; flex-direction: column; gap: 20px; }
  .nav-toggle { display: flex; }
  .site-nav.nav-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 26px 24px 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
  }
  .site-nav.nav-open .nav-links a { color: var(--muted); }
  .site-nav.nav-open .nav-links a:hover { color: var(--text); }
  .hero-overlay { padding: 0 22px 64px; }
  .hero-title { font-size: 2.5rem; }
  .section { padding: 64px 22px; }
  .exhale { padding: 56px 22px 64px; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .communal-grid { grid-template-columns: 1fr; }
  .communal-grid img { height: 260px; }
  .gallery-grid, .full-gallery { grid-template-columns: 1fr; }
  .gallery-grid .g-wide, .full-gallery .wide { grid-column: span 1; }
  .gallery-grid .g-wide { aspect-ratio: 4/5; }
  .full-gallery .wide img { aspect-ratio: 4/5; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .offer-card { padding: 28px 22px; }
  .page-hero { padding: 130px 22px 60px; }
}
