@font-face { font-family: 'Tienne'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/tienne-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Tienne'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/tienne-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Tienne'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/tienne-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Tinos'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/tinos-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/tinos-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Tinos'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/tinos-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/tinos-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-dark-base: #0d2a2c;
  --fg-dark-base-body: #cfe1dc;
  --fg-dark-base-heading: #eef5f2;
  --fg-dark-base-muted: #a3c1bb;
  --fg-dark-base-link: #e694cf;
  --fg-dark-base-inverse: #eef5f2;
  --bg-dark-card: #123638;
  --fg-dark-card-body: #cfe1dc;
  --fg-dark-card-heading: #eef5f2;
  --fg-dark-card-muted: #a3c1bb;
  --fg-dark-card-link: #e694cf;
  --fg-dark-card-inverse: #eef5f2;
  --bg-dark-elevated: #184142;
  --fg-dark-elevated-body: #cfe1dc;
  --fg-dark-elevated-heading: #eef5f2;
  --fg-dark-elevated-muted: #a3c1bb;
  --fg-dark-elevated-link: #e694cf;
  --fg-dark-elevated-inverse: #eef5f2;
  --brand-dark-accent: #e694cf;
  --brand-dark-accent-hover: #f4bde5;
  --brand-dark-on-accent: #0d2a2c;
  --focus-dark-ring: #e694cf;
  --focus-ring: var(--focus-dark-ring);
  --border-dark-default: #6a958f;
  --border-dark-subtle: #25504f;
}
.bg-surface-base { background: var(--bg-dark-base); --fg-body: var(--fg-dark-base-body); --fg-heading: var(--fg-dark-base-heading); --fg-muted: var(--fg-dark-base-muted); --fg-link: var(--fg-dark-base-link); --fg-inverse: var(--fg-dark-base-inverse); }
.bg-surface-card { background: var(--bg-dark-card); --fg-body: var(--fg-dark-card-body); --fg-heading: var(--fg-dark-card-heading); --fg-muted: var(--fg-dark-card-muted); --fg-link: var(--fg-dark-card-link); --fg-inverse: var(--fg-dark-card-inverse); }
.bg-surface-elevated { background: var(--bg-dark-elevated); --fg-body: var(--fg-dark-elevated-body); --fg-heading: var(--fg-dark-elevated-heading); --fg-muted: var(--fg-dark-elevated-muted); --fg-link: var(--fg-dark-elevated-link); --fg-inverse: var(--fg-dark-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

:root {
  --accent: var(--brand-dark-accent);
  --accent-hi: var(--brand-dark-accent-hover);
  --rule: var(--border-dark-default);
  --rule-soft: var(--border-dark-subtle);
  --head: 'Tienne', Georgia, serif;
  --text: 'Tinos', 'Times New Roman', serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 80rem;
  --measure: 40rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--fg-body);
}

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 400;
  color: var(--fg-heading);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); margin: 0 0 1.3rem; line-height: 1.12; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 2.8rem 0 0.9rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 0.4rem; }
p { margin: 0 0 1.15rem; }

main a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a.text-role-link:hover, main a:hover { color: var(--accent-hi); text-decoration-thickness: 2px; }

/* Header: one static row, brand left, inline links right, hairline beneath */
.site-header { position: relative; border-bottom: 1px solid var(--rule); }
.bar {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  max-width: var(--wide); margin: 0 auto; padding: 0.8rem var(--gutter);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem; min-width: 0;
  text-decoration: none; color: var(--fg-heading);
  overflow-wrap: normal;
}
.brand .site-logo { width: 2.2rem; height: 2.2rem; flex: none; }
.brand-name {
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  overflow-wrap: normal; word-break: normal; hyphens: manual;
}

/* Phone menu: a dropdown of wrapping pill chips */
.site-menu { flex: none; margin-left: auto; }
.site-menu > summary {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.9rem; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 0.95rem; line-height: 1.2; color: var(--fg-heading); white-space: nowrap; cursor: pointer;
}
.site-menu > summary:hover { border-color: var(--accent); }
.menu-label { overflow-wrap: normal; }
.menu-icon { position: relative; display: block; width: 0.75rem; height: 0.75rem; flex: none; }
.menu-icon::before {
  content: ""; position: absolute; inset: 0;
  border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: translateY(-25%) rotate(45deg); transition: transform 0.2s ease;
}
.site-menu[open] .menu-icon::before { transform: translateY(20%) rotate(-135deg); }
.site-menu > ul {
  list-style: none; margin: 0; padding: 1rem var(--gutter) 1.4rem;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  background: var(--bg-dark-card); border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.site-menu > ul a {
  display: block; padding: 0.55rem 1rem; border: 1px solid var(--rule); border-radius: 999px;
  text-decoration: none; font-size: 1rem; line-height: 1.3; color: var(--fg-dark-card-heading);
}
.site-menu > ul a:hover { border-color: var(--accent); color: var(--accent-hi); }

.site-nav { display: none; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 1.15rem; }
.site-nav a {
  display: block; padding: 0.3rem 0; white-space: nowrap;
  font-size: 0.86rem; text-decoration: none; color: var(--fg-heading);
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--accent-hi); border-bottom-color: var(--accent); }

@media (min-width: 1024px) {
  .bar { padding: 0.9rem 1.5rem; }
  .site-menu { display: none; }
  .site-nav { display: block; }
}
@media (min-width: 1200px) {
  .bar { padding: 1rem var(--gutter); }
  .brand-name { font-size: 1.15rem; }
  .site-nav > ul { gap: 1.8rem; }
  .site-nav a { font-size: 0.95rem; }
}

/* Breadcrumbs */
.breadcrumbs { max-width: var(--wide); margin: 1.25rem auto 0; padding: 0 var(--gutter); font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--fg-muted); }

/* Photos: arch-topped frame, like a treatment-room mirror */
.photo-hero, .photo-inline { margin: 0 0 2.4rem; }
.photo-hero img, .photo-inline img {
  display: block; width: 100%;
  border-radius: 12rem 12rem 0 0;
  border-bottom: 3px solid var(--rule-soft);
}
.photo-hero img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-inline img { border-radius: 6rem 6rem 0 0; }

/* Face map: mint line drawing with filled treatment zones */
.face-map { display: block; width: 100%; height: auto; }
.face-map .ln path { fill: none; stroke: var(--fg-heading); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.face-map .ln .soft { stroke: var(--fg-muted); stroke-width: 0.9; }
.face-map .zone > * { fill: var(--accent); fill-opacity: 0.16; stroke: var(--accent); stroke-width: 1; }
.face-map .dot circle { fill: var(--accent); }

/* Home: split opener */
.home { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem) var(--gutter) 3rem; }
.opener { display: grid; gap: 2.5rem; align-items: center; }
.opener-art { order: 2; margin: 0; padding: clamp(1rem, 3vw, 2rem); background: var(--bg-dark-card); border-radius: 50% 50% 1.5rem 1.5rem / 30% 30% 1.5rem 1.5rem; }
.opener-art .face-map { max-width: 24rem; margin: 0 auto; }
.zone-key ul {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.35rem 1.2rem;
  font-size: 0.92rem; line-height: 1.45;
}
.zone-key li { display: flex; align-items: baseline; gap: 0.55rem; }
.zone-key li::before {
  content: ""; flex: none; width: 0.65rem; height: 0.65rem; border-radius: 50%;
  background: var(--accent);
}
.opener-copy h1 { max-width: 16ch; }
.opener-lines .display-line { font-size: 1.2rem; line-height: 1.75; max-width: 34rem; margin: 0 0 0.8rem; }
.first-visit { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 32rem; border-top: 1px solid var(--rule-soft); }
.first-visit li { border-bottom: 1px solid var(--rule-soft); }
.first-visit a { display: block; padding: 0.75rem 0; font-size: 1.05rem; line-height: 1.45; text-decoration: none; }
.first-visit a:hover { text-decoration: underline; }

@media (min-width: 860px) {
  .opener-art { order: 0; }
  .opener { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
}

.relaxers { margin-top: clamp(3rem, 7vw, 5.5rem); }
.relaxers > h2 { margin-top: 0; }
.relaxer-cards {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.relaxer { padding: 1.6rem 1.5rem 1.4rem; border-radius: 0.4rem; border-top: 3px solid var(--accent); }
.relaxer h3 { margin: 0.9rem 0 0.3rem; font-family: var(--head); font-weight: 400; font-size: 1.5rem; }
.relaxer p { font-size: 1rem; line-height: 1.7; }
.relaxer a { font-size: 1rem; }
.vial { display: block; width: 1.2rem; height: 2rem; }
.vial .cap { fill: var(--accent); }
.vial .glass { fill: none; stroke: var(--fg-heading); stroke-width: 1.3; stroke-linejoin: round; }
.vial .fill { fill: var(--accent); opacity: 0.35; }

.home-body { max-width: var(--measure); margin: clamp(3rem, 7vw, 5rem) 0 0; }

/* Article: two columns, sticky side map */
.article { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 3.5rem; }
.article-head h1 { max-width: 22ch; }
.article-grid { display: grid; gap: 2.5rem; }
.article-main { max-width: var(--measure); counter-reset: sub; }
.article-main h2 { counter-increment: sub; display: flex; gap: 0.75rem; align-items: baseline; }
.article-main h2::before {
  content: counter(sub); flex: none; overflow-wrap: normal; white-space: nowrap;
  font-family: var(--head); color: var(--accent);
  font-size: 0.75em; min-width: 1.2em;
}
.article-main blockquote {
  margin: 2rem 0; padding: 0 0 0 1.2rem; border-left: 1px solid var(--accent);
  font-family: var(--head); font-size: 1.3rem; line-height: 1.55; color: var(--fg-heading);
}
.article-aside { align-self: start; }
.aside-map { margin: 0; padding: 1.2rem; background: var(--bg-dark-card); border-radius: 50% 50% 0.6rem 0.6rem / 24% 24% 0.6rem 0.6rem; }
.face-mini { max-width: 10rem; margin: 0 auto; }
.aside-map figcaption { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.55; }
.aside-link { margin-top: 1rem; font-size: 0.95rem; line-height: 1.5; }
@media (min-width: 960px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 16rem; gap: 4rem; }
  .article-aside { position: sticky; top: 1.5rem; }
}

/* Topic hub: grid of pages */
.hub { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 3.5rem; }
.hub-head h1 { max-width: 20ch; }
.hub-body { max-width: var(--measure); }
.hub-pages { margin-top: 3rem; }
.hub-pages > ul {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.hub-pages > ul > li {
  padding: 1.2rem 1.2rem 1.3rem 3.6rem; position: relative; background: var(--bg-dark-card); border-radius: 0.4rem;
}
.hub-pages > ul > li::before {
  content: ""; position: absolute; left: 1rem; top: 1.25rem; width: 1.7rem; height: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 38'%3E%3Cpath d='M16 2C25 2 29 9 29 17C29 26 23 34 16 36C9 34 3 26 3 17C3 9 7 2 16 2Z' fill='none' stroke='%23eef5f2' stroke-width='1.4'/%3E%3Cellipse cx='16' cy='9' rx='8' ry='3' fill='%23e694cf' fill-opacity='0.45'/%3E%3Ccircle cx='11' cy='16' r='1.6' fill='%23eef5f2'/%3E%3Ccircle cx='21' cy='16' r='1.6' fill='%23eef5f2'/%3E%3Cellipse cx='16' cy='27' rx='5' ry='2.2' fill='%23e694cf'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hub-pages > ul a { font-family: var(--head); font-size: 1.12rem; line-height: 1.4; text-decoration: none; }
.hub-pages > ul a:hover { text-decoration: underline; }

/* About: one reading column with margin note and contour */
.about { position: relative; max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 3.5rem; overflow: hidden; }
.contour {
  position: absolute; right: -2rem; top: 2rem; width: clamp(10rem, 28vw, 20rem); height: auto; pointer-events: none;
}
.contour path { fill: none; stroke: var(--rule-soft); stroke-width: 1.4; stroke-linecap: round; }
.about-col { position: relative; max-width: var(--measure); }
.margin-note {
  margin: 0 0 2rem; padding: 0.9rem 1rem; border-radius: 0.4rem;
  font-size: 0.95rem; line-height: 1.6;
}
.margin-note p { margin: 0; }
@media (min-width: 1100px) {
  .about-col { margin-left: 15rem; }
  .margin-note { position: absolute; left: -15rem; top: 0.5rem; width: 12.5rem; margin: 0; }
}

/* Contact: full-width form first, checklist and notes below */
.contact { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--gutter) 3.5rem; }
.ask-form {
  display: grid; gap: 1.2rem; padding: 0 0 2.2rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.field { display: grid; gap: 0.4rem; }
.field-label { font-family: var(--head); font-size: 1.1rem; color: var(--fg-heading); }
.field input, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--fg-dark-card-body); background: var(--bg-dark-card);
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0.35rem 0.35rem 0 0; padding: 0.7rem 0.9rem; width: 100%;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ask-button {
  justify-self: start; font: inherit; font-size: 1.05rem;
  padding: 0.7rem 1.8rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--brand-dark-on-accent);
}
.ask-button:hover { background: var(--accent-hi); }
.contact-below { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .contact-below { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.consult-list h2 { margin-top: 0; }
.consult-list ul { list-style: none; margin: 0; padding: 0; }
.consult-list li { position: relative; padding: 0.6rem 0 0.6rem 2.2rem; line-height: 1.6; border-bottom: 1px solid var(--rule-soft); }
.consult-list li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem; width: 1.2rem; height: 1.2rem; border-radius: 0.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='1' y='1' width='18' height='18' rx='4' fill='none' stroke='%236a958f' stroke-width='1.4'/%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' fill='none' stroke='%23e694cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.contact-body > :first-child { margin-top: 0; }

/* Thank you: a large check row, then two inline links */
.thanks { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) 4rem; }
.thanks-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem clamp(1.5rem, 4vw, 3rem); margin-bottom: 2.2rem; }
.thanks-check { flex: none; width: clamp(5.5rem, 14vw, 8.5rem); height: auto; }
.thanks-check .ring { fill: var(--bg-dark-card); stroke: var(--accent); stroke-width: 2; }
.thanks-check .ring-dots { fill: none; stroke: var(--rule); stroke-width: 1.2; stroke-dasharray: 2 6; }
.thanks-check .tick { fill: none; stroke: var(--fg-heading); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.thanks-title { flex: 1 1 16rem; }
.thanks-title h1 { margin: 0; }
.thanks-body { max-width: var(--measure); }
.thanks-links { max-width: var(--measure); margin-top: 1.5rem; font-size: 1.2rem; line-height: 1.7; }

/* Footer */
.site-footer { margin-top: 2rem; padding: 2.2rem var(--gutter) 2.6rem; }
.footer-inner { max-width: var(--wide); margin: 0 auto; display: grid; gap: 0.6rem; }
.footer-name { font-family: var(--head); font-size: 1.3rem; margin: 0; }
.footer-line { margin: 0; font-size: 1rem; max-width: 38rem; }
.footer-links { margin: 0.4rem 0 0; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
