/* === Tokens === */
:root {
  --sky-1: #B8CFE5; --sky-2: #D6E4F0; --sky-3: #EAF1F8;
  --cloud: #F8FBFE; --ink: #14304D; --muted: #2C4A6B;
  --rule: rgba(20,48,77,0.18); --gold: #C9A86A;
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --max:   1180px; --reading: 660px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--muted); background: var(--cloud); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: 20px; }
em { font-style: italic; }
p  { margin: 0 0 1.2em; }
.label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #8aa0b8; font-weight: 500; }
.subtitle { font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.reading   { max-width: var(--reading); margin: 0 auto; }
section    { padding: 80px 0; }
hr.rule    { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Age bar — sits at the TOP, above the header */
.age-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 250; background: var(--ink); color: rgba(255,255,255,0.92); padding: 12px 24px; display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 13px; line-height: 1.5; flex-wrap: wrap; box-sizing: border-box; }
.age-bar span { max-width: 720px; }
.age-bar button { background: var(--cloud); color: var(--ink); border: 0; padding: 9px 20px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; cursor: pointer; border-radius: 100px; -webkit-tap-highlight-color: transparent; flex-shrink: 0; }
.age-bar button:active, .age-bar button:hover { opacity: 0.85; }
.age-bar-open .site-header { top: 60px; }
.age-bar-open { padding-top: 60px; }
@media (max-width: 720px) {
  .age-bar { padding: 10px 14px; gap: 10px; font-size: 12px; flex-direction: column; text-align: center; }
  .age-bar button { padding: 10px 22px; font-size: 11px; }
  .age-bar-open { padding-top: 100px; }
  .age-bar-open .site-header { top: 100px; }
}

/* Header */
.site-header { position: sticky; top: 0; background: rgba(248,251,254,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); z-index: 50; }
.site-header .inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; max-width: var(--max); margin: 0 auto; gap: 16px; min-height: 60px; }
.site-header nav { display: flex; gap: 28px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }
.site-header .logo { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.site-header .cta { padding: 10px 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); transition: background .2s, color .2s; white-space: nowrap; }
.site-header .cta:hover { background: var(--ink); color: var(--cloud); }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--ink); padding: 4px 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Hero */
.hero { position: relative; min-height: 520px; padding: 140px 32px 60px; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 30%, var(--sky-3) 55%, var(--cloud) 100%); overflow: hidden; text-align: center; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 40%, var(--cloud) 100%); pointer-events: none; }
.hero::after  { content: ''; position: absolute; left: 0; right: 0; bottom: 28%; height: 90px; pointer-events: none; background:
  radial-gradient(ellipse 120px 36px at 12% 60%, #fff 0%, rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 160px 44px at 38% 50%, #fff 0%, rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 130px 38px at 65% 65%, #fff 0%, rgba(255,255,255,0) 70%),
  radial-gradient(ellipse 110px 32px at 88% 55%, #fff 0%, rgba(255,255,255,0) 70%); }
.hero .label-top { position: relative; z-index: 1; margin-bottom: 24px; }
.hero h1 { position: relative; z-index: 1; }
.hero .lede { position: relative; z-index: 1; max-width: 560px; margin: 24px auto 0; color: var(--muted); }
.hero-small { min-height: 320px; padding-top: 120px; padding-bottom: 40px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 2px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; transition: opacity .2s, transform .2s; }
.btn-primary { background: var(--ink); color: var(--cloud); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cloud); }

/* Grids */
.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.t-card { display: block; }
.t-card .photo { aspect-ratio: 3/4; background: var(--sky-3); border-radius: 8px; overflow: hidden; }
.t-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.t-card:hover .photo img { transform: scale(1.03); }
.t-card .name { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-top: 14px; }
.t-card .meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8aa0b8; margin-top: 4px; }

.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.s-card { border-top: 1px solid var(--ink); padding-top: 18px; display: block; }
.s-card .num { font-size: 11px; letter-spacing: 0.3em; color: #8aa0b8; }
.s-card .nm  { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 6px 0 10px; }
.s-card .ds  { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Therapist profile */
.profile-grid { display: grid; grid-template-columns: 260px 1fr 280px; gap: 40px; align-items: start; }
.stats-col, .rates-col { font-size: 13px; }
.stats-table, .rates-table { width: 100%; border-collapse: collapse; }
.stats-table td, .rates-table td { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.stats-table td:first-child, .rates-table td:first-child { color: #8aa0b8; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.stats-table td:last-child, .rates-table td:last-child { text-align: right; color: var(--ink); font-family: var(--serif); font-size: 16px; }
.rates-table td:last-child { font-size: 17px; }
.stats-table tr:last-child td, .rates-table tr:last-child td { border-bottom: none; }

.hero-photo { aspect-ratio: 3/4; background: var(--sky-3); border-radius: 6px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags .tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border: 1px solid var(--rule); color: var(--muted); border-radius: 100px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gallery-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

/* Mobile sticky CTA — mobile only. Sits ABOVE age-bar (higher bottom offset, higher z-index). */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; background: #25D366; color: #fff; text-align: center; padding: 14px 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; z-index: 250; align-items: center; justify-content: center; gap: 10px; -webkit-tap-highlight-color: transparent; }
.mobile-cta:active { background: #1ea857; }
@media (max-width: 880px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 56px; }
}

/* Carousel */
.carousel { position: relative; overflow: hidden; border-radius: 8px; background: var(--sky-3); }
.carousel-track { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc(25% - 5px); scroll-snap-align: start; aspect-ratio: 3/4; background: var(--sky-3); border-radius: 6px; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); border: 1px solid var(--rule); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-prev:hover, .carousel-next:hover { background: var(--ink); color: var(--cloud); }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); transition: background .2s, transform .2s; }
.carousel-dot.active { background: var(--ink); transform: scale(1.4); }

/* Tabs */
.tabs { max-width: 880px; margin: 0 auto; }
.tab-nav { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 36px; flex-wrap: wrap; }
.tab-btn { padding: 16px 28px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; font-weight: 500; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Book banner */
.book-banner { background: var(--ink); padding: 32px 0; }

/* You may also like */
.like-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.like-card { display: block; }
.like-photo { aspect-ratio: 3/4; background: var(--sky-3); border-radius: 6px; overflow: hidden; }
.like-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.like-card:hover .like-photo img { transform: scale(1.04); }
.like-name { margin-top: 12px; font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: 0.04em; }
.like-meta { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8aa0b8; margin-top: 2px; }
@media (max-width: 880px) {
  .like-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex: 0 0 calc(50% - 3px); }
  .tab-btn { padding: 14px 14px; font-size: 10px; letter-spacing: 0.18em; }
}
@media (max-width: 520px) {
  .carousel-slide { flex: 0 0 100%; }
}

/* Image protection */
.no-save, .no-save img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: auto; }
.no-save img { -webkit-user-drag: none; pointer-events: none; }
.t-card .photo, .hero-photo, .gallery-grid { -webkit-user-select: none; user-select: none; }

@media (max-width: 1080px) {
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo-col { grid-column: 1 / -1; order: -1; max-width: 480px; margin: 0 auto 20px; }
}
@media (max-width: 720px) {
  .profile-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo-col { max-width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Forms */
.form-row { margin-top: 20px; }
.form-row label { display: block; }
.form-row select, .form-row input { width: 100%; padding: 12px 14px; border: 1px solid var(--rule); background: #fff; font: inherit; color: var(--ink); border-radius: 4px; margin-top: 8px; }

/* Tables */
.price-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.price-table td { padding: 16px 0; border-top: 1px solid var(--rule); }
.price-table td:last-child { text-align: right; font-family: var(--serif); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.85); padding: 70px 32px 30px; margin-top: 60px; }
.site-footer .cols { display: grid; grid-template-columns: 220px repeat(4, 1fr); gap: 28px; max-width: var(--max); margin: 0 auto; align-items: start; }
.site-footer .cols ul { padding: 0; }
.site-footer h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { max-width: var(--max); margin: 50px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Journal */
.journal-list { display: grid; gap: 30px; }
.journal-item { border-top: 1px solid var(--rule); padding-top: 24px; display: block; }
.journal-item .date { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: #8aa0b8; }
.journal-item h3 { margin: 8px 0; }
.journal-item .lede { font-size: 15px; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .site-header .cta { display: none; }
  .site-header nav { display: none; }
  .site-header nav.open {
    display: flex; flex-direction: column; position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--cloud); padding: 32px 32px 80px;
    border-top: 1px solid var(--rule);
    overflow-y: auto;
    z-index: 60;
    gap: 22px;
    font-size: 16px;
  }
  .site-header nav.open a { padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .nav-toggle { display: block; }
}
@media (max-width: 880px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .s-grid { grid-template-columns: 1fr; }
  .t-detail { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  h1 { font-size: 38px; }
  .hero { padding: 90px 22px 40px; min-height: 380px; }
  .hero-small { min-height: 240px; padding-top: 84px; }
  section { padding: 56px 0; }
  .container { padding: 0 22px; }
}
@media (max-width: 520px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  h1 { font-size: 34px; line-height: 1.08; }
  .hero { padding: 84px 18px 36px; min-height: 360px; }
  .hero .lede { font-size: 15px; }
}
