/* Zen Shiatsu — Alice Doherty
   Shared styles for all pages (Paper & Indigo — see design-direction.md) */

:root {
  --paper: #fbf7f0;
  --sand: #f1e9dc;
  --line: #e2d8c8;
  --indigo: #1f2360;
  --indigo-2: #2b3080;
  --ink: #15172e;
  --muted: #5d6080;
  --gold: #e0b45a;        /* decoration only — never text on paper */
  --indigo-soft: #e8e9f4;  /* booking band — the original light lavender */
  --line-soft: #c3c6e0;
  --on-indigo: #f1e9dc;
  --on-indigo-muted: rgba(241, 233, 220, .72);
  --line-dark: rgba(241, 233, 220, .2);
  --radius: 6px;
  --space: clamp(80px, 12vw, 144px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.65 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 300; line-height: 1.05; letter-spacing: -.015em; color: var(--indigo); }
h1 i, h2 i, h2 em { font-style: italic; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: var(--paper); padding: 8px 14px; z-index: 50; font-weight: 600; }
.skip:focus { left: 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.on-dark .tag { color: var(--gold); }
.kanji { font-family: "Yuji Syuku", serif; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 15px 28px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .2s, color .2s; }
.btn.indigo { background: var(--indigo); color: var(--paper); }
.btn.indigo:hover { background: var(--indigo-2); }
.btn.sand { background: var(--on-indigo); color: var(--indigo); }
.btn.sand:hover { background: var(--paper); }
.btn.outline { border: 1px solid var(--indigo); color: var(--indigo); }
.btn.outline:hover { background: var(--indigo); color: var(--paper); }
.actions { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; margin-top: 40px; }
.text-link { display: inline-block; font-weight: 600; font-size: 15px; color: var(--indigo); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--indigo); }

/* ---------- Ambient background animations (js/ambient.js) ---------- */
.ambient { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.has-video > .bg-video { opacity: 1; }
.hero-art.has-video::before, .hero-art.has-video .ambient, .hero-art.has-video .kanji, .hero-art.has-video figcaption { visibility: hidden; }
.booking.has-video .ambient { display: none; }
.booking.has-video::after { content: ""; position: absolute; inset: 0; background: rgba(232, 233, 244, .85); z-index: 0; }
.video-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 3; background: rgba(251, 247, 240, .9); color: var(--indigo); border: 0; border-radius: 999px; padding: 7px 14px; font: 600 11px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.video-toggle:hover { background: var(--paper); }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes drift { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 18px)); } }

/* ---------- Header / nav ---------- */
.masthead { position: relative; overflow: hidden; }
.page .masthead::after { animation: drift 14s ease-in-out infinite; content: "指圧"; font-family: "Yuji Syuku", serif; position: absolute; right: -1vw; top: 58%; transform: translateY(-50%); writing-mode: vertical-rl; white-space: nowrap; line-height: 1; color: var(--gold); opacity: .16; pointer-events: none; font-size: 260px; }

.site-header { position: sticky; top: 0; z-index: 20; padding: 20px 0; background: rgba(251, 247, 240, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, padding .2s; }
.site-header.scrolled { border-bottom-color: var(--line); padding: 14px 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--indigo); }
.logo .seal { width: 42px; height: 42px; border: 1px solid var(--indigo); border-radius: 50%; display: grid; place-items: center; font-size: 21px; }
.logo b { font-family: "Fraunces", serif; font-weight: 500; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.logo small { display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; gap: 30px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav .cta { background: var(--indigo); color: var(--paper); padding: 12px 20px; border-radius: 999px; border: 0; }
.nav .cta:hover { background: var(--indigo-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--indigo); color: var(--indigo); border-radius: 999px; padding: 8px 18px; font: 600 12px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

/* ---------- Home hero ---------- */
.hero-body, .facts { position: relative; z-index: 1; }
.hero-body { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(52px, 8vw, 112px); max-width: 9ch; margin: 22px 0 28px; }
.hero p { max-width: 32em; font-size: 18px; color: var(--muted); }
.hero-art { position: relative; aspect-ratio: 4/5; background: var(--sand); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.hero-art::before { z-index: 1; animation: breathe 9s ease-in-out infinite; content: ""; position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; }
.hero-art .kanji { z-index: 2; position: relative; font-size: clamp(120px, 17vw, 220px); line-height: 1; color: var(--indigo); }
.hero-art figcaption { z-index: 2; position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts .wrap > div { padding: 24px 24px 24px 0; }
.facts .wrap > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts b { font-family: "Fraunces", serif; font-weight: 300; font-size: 21px; line-height: 1.3; color: var(--indigo); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; z-index: 2; padding: clamp(40px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(46px, 7vw, 96px); max-width: 12ch; margin: 20px 0 26px; }
.page-hero p { max-width: 34em; font-size: 18px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: var(--space) 0; }
section.tight { padding: calc(var(--space) * .7) 0; }
.soft { background: var(--sand); }
.dark { background: var(--indigo); color: var(--on-indigo); }
.dark h2, .dark h3 { color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 60px); margin-top: 16px; }
.section-head p { color: var(--muted); margin-top: 20px; max-width: 36em; }
.dark .section-head p { color: var(--on-indigo-muted); }
.lede { color: var(--muted); max-width: 36em; }
.lede + .lede { margin-top: 1em; }

/* Statement — a single quiet line */
.statement { text-align: center; }
.statement p { font-family: "Fraunces", serif; font-weight: 300; font-style: italic; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.2; color: var(--indigo); max-width: 18em; margin: 22px auto 0; letter-spacing: -.01em; }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.split h2 { grid-column: 1 / 8; font-size: clamp(36px, 4.8vw, 62px); }
.split .body { grid-column: 8 / 13; align-self: end; }

/* Glossary (ki, meridians, tsubos) */
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.term { padding: 40px 34px 44px; }
.term + .term { border-left: 1px solid var(--line); }
.term .kanji { display: block; font-size: 64px; color: var(--indigo); line-height: 1; min-height: 64px; }
.term h3 { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.term p { color: var(--ink); }
.glossary + .text-link { margin-top: 36px; }

/* Steps (treatment journey) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: step; }
.steps li { list-style: none; padding: 36px 32px 0 0; counter-increment: step; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.steps li::before { content: "0" counter(step); display: block; font-family: "Fraunces", serif; font-weight: 300; font-size: 44px; line-height: 1; color: var(--indigo); margin-bottom: 28px; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.photo { position: relative; max-width: 380px; }
.photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.photo .badge { position: absolute; left: -20px; bottom: 32px; background: var(--paper); color: var(--indigo); border: 1px solid var(--line); padding: 18px 22px; border-radius: var(--radius); }
.photo .badge b { font-family: "Fraunces", serif; font-weight: 300; font-size: 44px; line-height: 1; display: block; }
.photo .badge span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about h2 { font-size: clamp(36px, 4.6vw, 58px); margin: 16px 0 28px; }
.about .text-link { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--indigo); }

/* Quote */
.quote-block { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-block .mark { display: block; font-family: "Fraunces", serif; font-size: 120px; line-height: .6; height: 48px; color: var(--gold); }
.quote-block p { font-family: "Fraunces", serif; font-weight: 300; font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; color: var(--indigo); margin: 24px 0 28px; }
.quote-block cite { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Prices + quote */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--radius); padding: 48px; border: 1px solid var(--line); }
.panel.prices { background: var(--sand); border-color: var(--sand); }
.panel.prices h2 { font-size: 44px; margin: 14px 0 32px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.row span { font-size: 17px; color: var(--indigo); font-weight: 500; }
.row span small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.row b { font-family: "Fraunces", serif; font-weight: 300; font-size: 48px; line-height: 1; color: var(--indigo); }
.panel.prices .note { margin-top: 20px; color: var(--muted); font-size: 15px; }
.panel.quote { background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; }
.panel.quote .mark { font-family: "Fraunces", serif; font-size: 120px; line-height: .6; height: 40px; color: var(--gold); }
.panel.quote p { font-family: "Fraunces", serif; font-weight: 300; font-style: italic; font-size: 28px; line-height: 1.35; color: var(--indigo); margin: 24px 0; }
.panel.quote cite { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; text-decoration: none; display: block; color: var(--indigo); transition: background .2s, color .2s, border-color .2s; }
a.contact-card:hover { background: var(--indigo); border-color: var(--indigo); color: var(--paper); }
a.contact-card:hover small, a.contact-card:hover .go { color: var(--on-indigo-muted); }
.contact-card small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; margin: 18px 0 14px; word-break: break-word; }
.contact-card .go { font-size: 15px; font-weight: 600; color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.area { padding: 28px 24px 0 0; }
.area + .area { border-left: 1px solid var(--line); padding-left: 24px; }
.area h3 { font-size: 32px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: "Fraunces", serif; font-weight: 300; font-size: 25px; line-height: 1.3; color: var(--indigo); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Inter", sans-serif; font-weight: 300; font-size: 26px; color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 40em; }
.faq-layout { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq-layout .section-head { margin-bottom: 0; }

/* Booking band */
.booking { position: relative; overflow: hidden; background: var(--indigo-soft); color: var(--ink); text-align: center; }
.booking .wrap { position: relative; z-index: 1; }
.booking h2 { color: var(--indigo); font-size: clamp(40px, 5.6vw, 72px); margin: 18px auto 0; }
.booking .phone { display: inline-block; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(44px, 8vw, 104px); line-height: 1.05; color: var(--indigo); text-decoration: none; margin: 28px 0 10px; letter-spacing: -.02em; border-bottom: 1px solid transparent; }
.booking .phone:hover { border-bottom-color: var(--gold); }
.booking .email { display: block; color: var(--muted); font-size: 17px; }
.booking .email a { color: var(--indigo); }
.booking .actions { justify-content: center; }
.place-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; list-style: none; }
.place-tags li { border: 1px solid var(--line-soft); background: rgba(251, 247, 240, .6); border-radius: 999px; padding: 6px 16px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); color: var(--muted); padding: 72px 0 32px; font-size: 15px; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer p { margin-top: 18px; max-width: 26em; }
.site-footer h4 { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; color: var(--indigo); }
.site-footer a { text-decoration: none; color: var(--indigo); }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.site-footer .base { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Responsive ---------- */
/* Header: tighter links on small laptops, Menu button from 960px down (5 links + CTA need ~950px) */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav .cta { padding: 12px 16px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: calc(100% + 14px); left: 0; right: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; box-shadow: 0 24px 48px -24px rgba(21, 23, 46, .25); margin: 0 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { border-bottom-color: var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--indigo-2); }
  .nav .cta { margin-top: 18px; text-align: center; padding: 15px; }
}
@media (max-width: 960px) {
  .steps, .areas { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3), .area:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 36px; }
  .area:nth-child(n+3) { padding-top: 28px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16/9; }
  .hero-art .kanji { font-size: 110px; }
  .hero-art::before { width: auto; height: 78%; }
  .hero-art figcaption { display: none; }
  /* Phone: image sits between the headline and the intro text */
  .hero-grid { gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero-grid > div:first-child > * { order: 4; }
  .hero-grid > div:first-child > .tag { order: 1; justify-self: start; }
  .hero-grid > div:first-child > h1 { order: 2; }
  .hero-grid > .hero-art { order: 3; margin: 0 0 28px; }
  .split h2, .split .body { grid-column: 1 / -1; }
  .duo, .about, .contact-grid { grid-template-columns: 1fr; }
  .glossary { grid-template-columns: 1fr; }
  .term + .term { border-left: 0; border-top: 1px solid var(--line); }
  .facts .wrap { grid-template-columns: 1fr; }
  .facts .wrap > div, .facts .wrap > div + div { padding: 18px 0; border-left: 0; }
  .facts .wrap > div + div { border-top: 1px solid var(--line); }
  .photo { max-width: 360px; }
  .photo .badge { left: 12px; }
  .panel, .contact-card { padding: 32px 24px; }
  .page .masthead::after { font-size: 180px; }
}
@media (max-width: 540px) {
  .steps, .areas, .site-footer .cols { grid-template-columns: 1fr; }
  .steps li + li, .area + .area { border-left: 0; padding-left: 0; }
  .steps li + li { margin-top: 36px; }
  .area + .area { padding-top: 28px; }
  .logo small { display: none; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .panel.quote p { font-size: 23px; }
  .faq summary { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Additions from gallery research (see design-direction.md) ---------- */
/* Hero credentials line (socialproofexamples: social proof microcopy) */
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero .proof span { display: inline-flex; align-items: center; gap: 10px; }
.hero .proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Price cards (pricingpages.design: few tiers, what's included, CTA per tier) */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; background: var(--paper); }
.price-card .price { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(64px, 7vw, 88px); line-height: 1; color: var(--indigo); margin: 22px 0 14px; }
.price-card > p { font-family: "Fraunces", serif; font-weight: 300; font-style: italic; font-size: 22px; color: var(--indigo); }
.price-card ul { list-style: none; margin: 24px 0 36px; border-top: 1px solid var(--line); }
.price-card li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 1px; background: var(--gold); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.pricing-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); }
.pricing-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* Mobile quick-contact bar (navbar.gallery / Landbook "bottom navigation") */
.action-bar { display: none; }
@media (max-width: 860px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 240, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .action-bar a { text-align: center; text-decoration: none; padding: 13px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--indigo); color: var(--indigo); }
  .action-bar a:first-child { background: var(--indigo); color: var(--paper); }
  body { padding-bottom: 72px; }
  .pricing { grid-template-columns: 1fr; }
  .price-card { padding: 32px 24px; }
}

/* ---------- WordPress: blog and editor content (index.php) ---------- */
.entry-content { max-width: 720px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 1.6em; }
.entry-content h3 { font-size: 26px; margin-top: 1.4em; }
.entry-content a { color: var(--indigo); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content img { height: auto; border-radius: var(--radius); }
.entry-content blockquote { border-left: 2px solid var(--gold); padding-left: 24px; font-family: "Fraunces", serif; font-style: italic; font-size: 24px; color: var(--indigo); }
.post-list { list-style: none; max-width: 760px; border-top: 1px solid var(--line); }
.post-list li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-list a { text-decoration: none; }
.post-list h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 12px; }
.post-list p { color: var(--muted); }
.nav-links { display: flex; gap: 16px; margin-top: 32px; }

/* ---------- Contact form (page-contact.php) ---------- */
.contact-form-wrap { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.contact-form-wrap .section-head { margin-bottom: 0; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-form label small { font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: none; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 400 17px/1.5 "Inter", system-ui, sans-serif; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--indigo) 50%), linear-gradient(135deg, var(--indigo) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--muted); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(31, 35, 96, .12); }
.contact-form ::placeholder { color: #8a8ca6; }
.contact-form .actions-row { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 6px; }
.contact-form button { border: 0; cursor: pointer; font-family: "Inter", sans-serif; }
.contact-form .fineprint { font-size: 14px; color: var(--muted); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; font-size: 16px; }
.form-note.ok { background: var(--sand); color: var(--indigo); border-left: 3px solid var(--gold); }
.form-note.err { background: #f8e6e3; color: #7a2a20; border-left: 3px solid #b8463a; }
.form-note a { color: inherit; }
@media (max-width: 860px) {
  .contact-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .actions-row .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- Treatments (page-treatments.php, home price cards) ---------- */
.pricing.three { grid-template-columns: repeat(3, 1fr); }
.price-card .price small { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 10px; vertical-align: middle; }
.package-strip { display: grid; grid-template-columns: auto repeat(3, 1fr); align-items: center; gap: 0 24px; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; background: var(--paper); }
.package-strip > a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0; text-decoration: none; color: var(--indigo); border-left: 1px solid var(--line); padding-left: 24px; }
.package-strip > a span { font-weight: 500; }
.package-strip > a small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.package-strip > a b { font-family: "Fraunces", serif; font-weight: 300; font-size: 32px; line-height: 1; }
.package-strip > a:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.pricing-note:has(.text-link) { flex-wrap: wrap; }
.pricing-note .text-link { margin-left: 8px; }
@media (max-width: 860px) { .pricing-note .text-link { margin-left: 18px; } }

.treatments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px 36px; background: var(--paper); scroll-margin-top: 110px; }
.treatment .kanji { font-size: 52px; line-height: 1; color: var(--indigo); min-height: 52px; }
.treatment h3 { font-size: clamp(26px, 2.4vw, 32px); margin: 26px 0 12px; }
.treatment .summary { font-family: "Fraunces", serif; font-weight: 300; font-style: italic; font-size: 20px; line-height: 1.4; color: var(--indigo); margin-bottom: 16px; }
.treatment > p:not(.summary) { color: var(--muted); font-size: 16px; }
.treatment > p + p { margin-top: 12px; }
.t-includes { list-style: none; border-top: 1px solid var(--line); }
.t-includes li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; position: relative; }
.t-includes li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 1px; background: var(--gold); }
.t-prices { margin: auto 0 0; padding-top: 28px; }
.t-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.t-prices dt { color: var(--indigo); font-weight: 500; }
.t-prices dd { font-family: "Fraunces", serif; font-weight: 300; font-size: 40px; line-height: 1; color: var(--indigo); }
.treatment .text-link { margin-top: 20px; align-self: flex-start; }
.t-notes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.t-notes li { padding: 28px 28px 0 0; }
.t-notes li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.t-notes b { display: block; font-family: "Fraunces", serif; font-weight: 300; font-size: 24px; color: var(--indigo); margin-bottom: 8px; }
.t-notes span { color: var(--muted); }
.t-notes a { color: var(--indigo); }
@media (max-width: 1080px) {
  .treatments, .pricing.three { grid-template-columns: 1fr 1fr; }
  .package-strip { grid-template-columns: 1fr; padding: 8px 24px; }
  .package-strip > .tag { padding-top: 16px; }
  .package-strip > a { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .treatments, .pricing.three, .t-notes { grid-template-columns: 1fr; }
  .treatment { padding: 32px 24px 28px; }
  .t-notes li, .t-notes li + li { border-left: 0; padding: 22px 0 0; }
  .t-notes li + li { margin-top: 22px; border-top: 1px solid var(--line); }
}
