/* ==========================================================================
   PNOE Wellness — Single-page site
   Quiet luxury, warm and calm. Cormorant Garamond (editorial) + Montserrat (UI).
   ========================================================================== */

:root {
  --green: #536556;
  --green-deep: #3F433E;
  --sage: #8D9A89;
  --sand: #C9B59E;
  --ivory: #F5EEE5;
  --ivory-soft: #FAF7F2;
  --taupe: #B9AA99;
  --charcoal: #3F433E;
  --white: #FFFFFF;

  --font-editorial: 'Cormorant Garamond', 'Georgia', serif;
  --font-ui: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1180px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --header-h: 94px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 24px;

  --shadow-soft: 0 20px 50px -25px rgba(63, 67, 62, 0.35);
  --shadow-card: 0 14px 34px -18px rgba(63, 67, 62, 0.24);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory-soft);
  color: var(--charcoal);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-editorial); font-weight: 500; color: var(--green-deep); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--sage); color: var(--white); }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
h1, .h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; }
h3, .h3 { font-size: 1.3rem; line-height: 1.3; }
.h3-size { font-size: clamp(1.6rem, 2.6vw, 2rem) !important; }
.lede { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; color: var(--charcoal); }
.lede-serif { font-family: var(--font-editorial); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--green-deep); font-weight: 500; }
.small { font-size: 0.88rem; color: var(--charcoal); opacity: 0.75; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.center { text-align: center; }
.divider { width: 44px; height: 1px; background: var(--taupe); margin: 1.4rem auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--ivory-soft); box-shadow: 0 14px 30px -14px rgba(83, 101, 86, 0.55); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-primary:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-ghost:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.btn-light { background: var(--ivory-soft); color: var(--green-deep); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

.text-link {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--green), var(--green));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.text-link:hover { background-size: 0% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { background: rgba(250, 247, 242, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(63,67,62,0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }

.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 52px; width: 52px; border-radius: 50%; }
.brand-word { font-family: var(--font-editorial); font-size: 1.3rem; color: var(--green-deep); }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.main-nav a { position: relative; padding: 0.3rem 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right var(--dur) var(--ease); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--green-deep); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }

/* ---------- Language switch ---------- */
.lang-switch { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; }
.lang-switch button { background: none; border: none; padding: 0.2rem 0.35rem; color: var(--charcoal); opacity: 0.55; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.lang-switch button.active { color: var(--green-deep); opacity: 1; font-weight: 700; }
.lang-switch span { color: var(--charcoal); opacity: 0.55; }
.mobile-nav .lang-switch { font-size: 1rem; margin-top: 0.4rem; }
.mobile-nav .lang-switch button.active { color: var(--green-deep); opacity: 1; }
.mobile-nav .lang-switch button { color: var(--charcoal); opacity: 0.6; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(640px, 92vh, 920px); display: flex; align-items: center; color: var(--green-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 1; width: 100%; text-align: center; padding: calc(var(--header-h) + 2rem) 0 3rem; }
.hero-logo { width: 240px; height: 240px; margin: 0 auto 1.6rem; border-radius: 50%; box-shadow: var(--shadow-soft); }
.hero .eyebrow { color: var(--sage); }
.hero h1 { color: var(--green-deep); margin-top: 0.3rem; }
.hero .lede { color: var(--charcoal); opacity: 0.9; max-width: 46ch; margin: 1.3rem auto 0; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.1rem; }
.hero .btn-ghost { border-color: var(--green-deep); }
.hero .btn-ghost:hover { background: rgba(63,67,62,0.08); }

/* ---------- Sections ---------- */
.bg-ivory { background: var(--ivory-soft); }
.bg-sand { background: var(--ivory); }

.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }

.media-frame { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-soft); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio-portrait { aspect-ratio: 4/5; }
.media-frame.ratio-tall { aspect-ratio: 3/4; }
.media-frame.ratio-compact { aspect-ratio: 5/4; max-width: 400px; margin: 0 auto; }

.prose > * + * { margin-top: 1.1rem; }
.tilt { font-weight: 600; }

/* ---------- About band (full-bleed) ---------- */
.about-band { position: relative; padding: clamp(4rem, 9vw, 6rem) 0; overflow: hidden; color: var(--green-deep); }
.about-media { position: absolute; inset: 0; z-index: 0; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.about-band .eyebrow { color: var(--green-deep); opacity: 0.75; }
.about-band h2 { color: var(--green-deep); margin-top: 0.3rem; }
.about-band .lede { color: var(--charcoal); }

/* ---------- Treatments ---------- */
.tabs { display: flex; justify-content: center; gap: 0.6rem; margin: 2.6rem 0 2.4rem; }
.tab-btn {
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--taupe);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tab-btn.active, .tab-btn:hover { background: var(--green); color: var(--ivory-soft); border-color: var(--green); }
.tab-btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.tab-panel { display: none; max-width: 760px; margin: 0 auto; }
.tab-panel.active { display: block; }

.treatment-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(185,170,153,0.35); }
.treatment-row:first-child { padding-top: 0; }
.treatment-main h3 { display: inline; font-weight: 700; font-size: 1.4rem; }
.treatment-tagline { font-family: var(--font-editorial); font-style: italic; color: var(--green-deep); font-size: 1.05rem; margin-left: 0.6rem; }
.treatment-desc { font-size: 0.96rem; color: var(--charcoal); opacity: 0.85; margin-top: 0.5rem; max-width: 56ch; }
.treatment-meta { flex-shrink: 0; text-align: right; font-family: var(--font-editorial); font-size: 1.05rem; color: var(--green-deep); white-space: nowrap; }

.mini-cta { text-align: center; margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid rgba(185,170,153,0.35); }

/* ---------- Feeling band (full-bleed atmospheric) ---------- */
.feeling { position: relative; min-height: clamp(440px, 58vh, 620px); display: flex; align-items: center; justify-content: center; color: var(--ivory-soft); text-align: center; overflow: hidden; }
.feeling-media { position: absolute; inset: 0; z-index: 0; }
.feeling-media img { width: 100%; height: 100%; object-fit: cover; }
.feeling-media::after { content: ''; position: absolute; inset: 0; background: rgba(63,67,62,0.56); }
.feeling-inner { position: relative; z-index: 1; max-width: 620px; padding: 3rem var(--gutter); }
.feeling .eyebrow { color: var(--sand); }
.feeling h2 { color: var(--ivory-soft); margin-top: 0.6rem; }
.feeling p { color: rgba(245,238,229,0.9); margin-top: 1.1rem; }
.feeling .lede-serif { color: var(--ivory-soft); margin-top: 1.3rem; }

/* ---------- Instagram ---------- */
.insta-strip { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 0 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.insta-strip::-webkit-scrollbar { height: 6px; }
.insta-strip::-webkit-scrollbar-thumb { background: var(--taupe); border-radius: 999px; }
.insta-strip a { flex: 0 0 auto; width: 200px; aspect-ratio: 1/1; border-radius: var(--radius-m); overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow-card); }
.insta-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.insta-strip a:hover img { transform: scale(1.06); }

/* ---------- Contact & Book (merged) ---------- */
.cb-section { position: relative; overflow: hidden; color: #000; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.cb-media { position: absolute; inset: 0; z-index: 0; }
.cb-media img { width: 100%; height: 100%; object-fit: cover; }
.cb-section .wrap { position: relative; z-index: 1; }
.cb-section .eyebrow { color: #000; font-weight: 600; }
.cb-section h2 { color: #000; font-weight: 500; }
.cb-section .lede { color: #000; font-weight: 400; }

.cb-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; margin-top: 2.2rem; }
.cb-info { display: flex; flex-direction: column; gap: 1.15rem; }
.cb-info-row h4 { font-family: var(--font-ui); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: #000; font-weight: 700; margin-bottom: 0.4rem; }
.cb-info-row p { font-size: 0.95rem; color: #000; font-weight: 500; }
.cb-info-row p + p { margin-top: 0.2rem; }
.cb-info-row p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cb-info-row .note { font-size: 0.84rem; font-style: italic; color: #000; opacity: 0.85; margin-top: 0.25rem; }
.cb-info-row a.text-link { margin-top: 0.3rem; display: inline-block; color: #000; background-image: linear-gradient(#000,#000); font-weight: 700; }

.cb-form-card { background: rgba(255,255,255,0.6); border: 1px solid rgba(185,170,153,0.35); border-radius: var(--radius-l); padding: clamp(1.2rem, 3vw, 1.7rem); }
.cb-form-card h3 { font-size: 1.1rem; margin-bottom: 0.9rem; color: #000; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(185,170,153,0.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; background: none; border: none; text-align: left; font-family: var(--font-editorial); font-size: 1.1rem; color: var(--green-deep); }
.faq-q:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--green); top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a-inner { padding-bottom: 1.1rem; max-width: 64ch; opacity: 0.85; font-size: 0.94rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(245,238,229,0.82); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(245,238,229,0.14); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand img { height: 48px; width: 48px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-editorial); font-size: 1.25rem; color: var(--ivory-soft); }
.footer-tagline { font-family: var(--font-editorial); font-style: italic; color: var(--sand); font-size: 1.25rem; max-width: 26ch; }
.footer-sub { font-size: 0.85rem; margin-top: 0.5rem; color: rgba(245,238,229,0.65); }
.footer-col h4 { font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; color: rgba(245,238,229,0.82); margin-bottom: 0.65rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; }
.footer-icons { display: flex; gap: 0.8rem; }
.footer-legal { font-size: 0.76rem; color: rgba(245,238,229,0.45); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(245,238,229,0.3);
  color: rgba(245,238,229,0.9);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon-btn:hover { background: rgba(245,238,229,0.1); border-color: var(--sand); color: var(--sand); transform: translateY(-2px); }
.icon-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ---------- Reviews (horizontal scroll) ---------- */
.review-strip { display: flex; gap: 1rem; overflow-x: auto; padding: 0.3rem 0 0.8rem; margin-top: 1.6rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.review-strip::-webkit-scrollbar { height: 6px; }
.review-strip::-webkit-scrollbar-thumb { background: var(--taupe); border-radius: 999px; }
.review-card { flex: 0 0 auto; width: 290px; background: var(--ivory-soft); border: 1px solid rgba(185,170,153,0.35); border-radius: var(--radius-m); padding: 1.3rem; display: flex; flex-direction: column; scroll-snap-align: start; }
.review-stars { color: var(--sand); font-size: 0.9rem; letter-spacing: 0.15em; }
.review-quote { font-size: 0.9rem; line-height: 1.6; color: var(--charcoal); margin-top: 0.8rem; flex-grow: 1; }
.review-name { font-family: var(--font-editorial); font-size: 1.02rem; color: var(--green-deep); margin-top: 1rem; }
.review-source { font-size: 0.74rem; color: var(--taupe); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }

/* ---------- Booking form ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.9rem; }
.form-field:first-child, .form-row:first-child .form-field { margin-top: 0; }
.form-field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #000; }
.form-field input, .form-field textarea {
  border: 1px solid var(--taupe);
  border-radius: var(--radius-s);
  padding: 0.6rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: rgba(255,255,255,0.7);
  transition: border-color var(--dur) var(--ease);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--green); }
.form-field textarea { resize: vertical; min-height: 64px; }
.book-submit { margin-top: 1.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.book-note { font-size: 0.78rem; color: #000; opacity: 0.75; max-width: 46ch; }
.book-note a { color: #000; font-weight: 700; opacity: 1; }

/* ---------- Reveal-on-scroll (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

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

/* ---------- Mobile nav panel ---------- */
.mobile-nav { position: fixed; inset: 0; background: var(--ivory-soft); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transform: translateY(-100%); transition: transform 0.5s var(--ease); }
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-family: var(--font-editorial); font-size: 1.8rem; color: var(--green-deep); }
.mobile-nav .btn { margin-top: 0.8rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-copy { order: 2; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .about-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .cb-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .treatment-row { flex-direction: column; gap: 0.3rem; }
  .treatment-meta { text-align: left; }
  .insta-strip a { width: 150px; }
  .review-card { width: 260px; }
  .tabs { gap: 0.4rem; }
  .tab-btn { padding: 0.6rem 1.2rem; font-size: 0.72rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

[hidden] { display: none !important; }
