/* ==========================================================================
   Emeç Serin — Klinik Psikolog
   ========================================================================== */

:root {
  --bg: #f6f1ea;
  --frame: #e9dfd3;
  --paper: #fffcf8;
  --sand: #ece3d8;
  --ink: #2a1f1a;
  --ink-2: #6e5648;
  --muted: #8c6e5e;
  --accent: #a05c42;
  --accent-soft: #e0b89e;
  --dark: #2a1f1a;
  --dark-2: #221b17;
  --green: #5f8a63;
  --green-light: #7ee0a0;
  --line: rgba(42, 31, 26, 0.12);
  --line-light: rgba(246, 241, 234, 0.16);
  --on-dark: #f6f1ea;
  --on-dark-2: rgba(246, 241, 234, 0.72);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --radius-sm: 18px;
  --gap: 8px;
  --pad: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 136px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--frame);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }

.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */

.panel {
  position: relative;
  margin: var(--gap);
  border-radius: var(--radius);
  background: var(--bg);
  padding-block: var(--section);
  overflow: hidden;
  isolation: isolate;
}
.panel + .panel { margin-top: 0; }
.panel--dark { background: var(--dark); color: var(--on-dark); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); position: relative; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow--light::before { background: var(--accent-soft); }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.h2 em, .statement em, .hero-accent, .footer-tagline em, .stat em { color: var(--accent); font-weight: 300; }
.panel--dark .h2 em, .panel--dark .statement em, .panel--dark .stat em, .footer-tagline em { color: var(--accent-soft); }

.lead { margin-top: 20px; max-width: 560px; color: var(--ink-2); font-size: 17px; }
.lead--light { color: var(--on-dark-2); }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- Buttons ---------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.pill:active { transform: scale(.98); }
.pill--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.pill--block { width: 100%; }
.pill--solid { background: var(--ink); color: var(--on-dark); }
.pill--solid:hover { background: var(--accent); }
.pill--paper { background: var(--paper); color: var(--ink); }
.pill--paper:hover { background: var(--accent-soft); }
.pill--outline { border: 1px solid var(--line); color: var(--ink); }
.pill--outline:hover { border-color: var(--ink); }
.pill--outline-light { border: 1px solid rgba(246, 241, 234, .3); color: var(--on-dark); }
.pill--outline-light:hover { background: var(--on-dark); color: var(--ink); }
.pill--ghost { color: inherit; padding: 0 14px; }
.pill--accent { background: var(--accent); color: #fffcf8; box-shadow: 0 10px 24px -12px rgba(160, 92, 66, .7); }
.pill--accent:hover { background: #8d4d36; }
.pill--white { background: #fff; color: var(--ink); box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .55); }
.pill--white:hover { background: var(--bg); }
.pill--white .pill-icon { background: var(--accent); color: #fff; }
.site-header:not(.is-solid) .header-cta { background: #fff; color: var(--ink); }
.site-header:not(.is-solid) .header-cta:hover { background: var(--bg); }
.pill--xl { height: 62px; padding: 0 9px 0 28px; gap: 16px; font-size: 17px; font-weight: 600; }
.pill-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fffcf8; color: var(--accent); font-size: 18px; transition: transform .4s var(--ease); }
.pill--xl:hover .pill-icon { transform: rotate(45deg); }
.hero-cta { animation: ctaPulse 2.6s 2.2s ease-out 2; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } }

.round-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; font-size: 18px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease), border-color .3s;
}
.round-btn--light { background: var(--paper); color: var(--ink); }
.round-btn--outline { border: 1px solid var(--line); }
.round-btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.round-btn--outline-light { border: 1px solid rgba(246, 241, 234, .25); color: var(--on-dark); }
.round-btn--glass { background: rgba(255, 252, 248, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border: 1px solid rgba(255, 252, 248, .2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Chips / glass ---------- */

.glass {
  background: rgba(255, 252, 248, .14);
  border: 1px solid rgba(255, 252, 248, .22);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: var(--on-dark);
}
.glass--dark { background: rgba(34, 27, 23, .44); border-color: rgba(255, 252, 248, .12); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
}
.chip--glass { background: rgba(34, 27, 23, .36); color: var(--on-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 252, 248, .14); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 3px rgba(126, 224, 160, .22); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 10px 0 18px; border-radius: 999px;
  color: var(--on-dark);
  border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, box-shadow .4s;
}
.site-header.is-solid .header-inner {
  background: rgba(255, 252, 248, .82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(42, 31, 26, .35);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  object-fit: cover; background: var(--sand);
  box-shadow: 0 0 0 1.5px rgba(255, 252, 248, .55);
}
.site-header.is-solid .brand-mark { box-shadow: 0 0 0 1.5px var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; opacity: .86; transition: opacity .2s, background .2s; }
.main-nav a:hover { opacity: 1; background: rgba(127, 110, 94, .14); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-phone { display: none; }

.menu-toggle {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 252, 248, .16); border: 1px solid rgba(255, 252, 248, .24);
}
.site-header.is-solid .menu-toggle { background: var(--sand); border-color: transparent; }
.menu-lines, .menu-lines::before { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .35s var(--ease); }
.menu-lines::before { content: ""; position: absolute; top: 5px; width: 10px; right: 0; }
.menu-lines { transform: translateY(-2.5px); }
.menu-open .menu-lines { transform: rotate(45deg); }
.menu-open .menu-lines::before { transform: translateY(-5px) rotate(-90deg); width: 16px; }

.mobile-menu {
  position: fixed; inset: 8px; z-index: 45; border-radius: var(--radius);
  background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 112px var(--pad) 32px;
  opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu:not(.is-open) { pointer-events: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 9vw, 52px); line-height: 1.25; letter-spacing: -.02em; border-bottom: 1px solid var(--line-light); padding: 10px 0; }
.mobile-menu-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--on-dark-2); font-size: 14px; }
.menu-open .site-header .header-inner { background: transparent; border-color: transparent; box-shadow: none; color: var(--on-dark); backdrop-filter: none; }
.menu-open .site-header .menu-toggle { background: rgba(255, 252, 248, .16); }
.menu-open .site-header .header-cta { background: #fff; color: var(--ink); }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100svh - 16px);
  min-height: max(640px, calc(100svh - 16px));
  padding: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-dark);
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(34, 27, 23, .45) 0%, rgba(34, 27, 23, .05) 30%, rgba(34, 27, 23, .1) 55%, rgba(34, 27, 23, .78) 100%),
    linear-gradient(90deg, rgba(34, 27, 23, .5) 0%, rgba(34, 27, 23, 0) 60%);
}

.hero { justify-content: space-between; gap: 32px; }
.hero-card {
  position: relative; margin: 104px var(--pad) 0;
  width: min(300px, calc(100% - 2 * var(--pad)));
  border-radius: 22px; padding: 16px;
  animation: rise 1s .3s var(--ease) both;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--on-dark-2); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.hero-card-time { font-family: var(--serif); font-size: 26px; font-weight: 300; margin: 6px 0 14px; letter-spacing: -.01em; }
.hero-card-person { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 252, 248, .18); }
.hero-card-person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.hero-card-person span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.hero-card-person strong { font-weight: 500; font-size: 14px; }
.hero-card-person small { font-size: 12px; color: var(--on-dark-2); }
.hero-card-person:hover .round-btn { transform: rotate(45deg); }

.hero-content { padding: 0 var(--pad) clamp(28px, 4vw, 48px); max-width: 1400px; width: 100%; margin: 0 auto; }
.hero-title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.035em;
  font-size: clamp(54px, 10.5vw, 148px); line-height: .92;
  display: flex; flex-direction: column;
  font-variation-settings: "opsz" 144;
}
.hero-line { animation: rise 1.1s var(--ease) both; }
.hero-line:nth-child(2) { animation-delay: .08s; }
.hero-accent {
  color: var(--on-dark) !important; font-style: italic;
  align-self: flex-end; font-size: 1.12em; margin-top: .02em;
  animation: rise 1.1s .16s var(--ease) both;
}
.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; max-width: 420px; animation: rise 1s .3s var(--ease) both; }
.hero-lead { font-size: 17px; color: rgba(246, 241, 234, .86); }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Approach ---------- */

.approach-bg {
  position: absolute; inset: -40px; z-index: -1;
  background: url("../img/klinik-bekleme.jpg") center / cover;
  filter: blur(48px) brightness(.4) saturate(1.1);
  opacity: .9;
}
.statement {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3.8vw, 48px); line-height: 1.18; letter-spacing: -.015em;
  max-width: 1040px; color: var(--on-dark);
}
.stats { display: grid; grid-template-columns: 1fr; gap: 0 48px; margin-top: clamp(48px, 7vw, 88px); }
.stat { padding: 24px 0; border-top: 1px solid var(--line-light); }
.stat dt { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; }
.stat dt em { font-size: .55em; margin-left: 6px; }
.stat dd { margin-top: 10px; color: var(--on-dark-2); font-size: 15px; }
.approach-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; }
.rule-label { display: inline-flex; align-items: center; gap: 16px; color: var(--on-dark-2); font-size: 14px; }
.rule-label::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- About ---------- */

.about-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about-photo figcaption { position: absolute; left: 16px; top: 16px; }
.about-body > p:not(.eyebrow) { color: var(--ink-2); margin-top: 16px; max-width: 600px; }
.about-name { display: flex; flex-direction: column; gap: 2px; margin: 28px 0 8px; padding-left: 16px; border-left: 2px solid var(--accent); }
.about-name strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.about-name span { font-size: 14px; color: var(--muted); }
.values { display: grid; gap: 12px; margin-top: 32px; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: start; padding: 16px; border-radius: var(--radius-sm); background: var(--paper); }
.values li .value-icon { grid-row: span 2; }
.values strong { font-weight: 600; font-size: 15px; }
.values li > span:last-child { color: var(--ink-2); font-size: 14px; }
.value-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--accent); font-size: 18px; }
.value-icon--accent { background: var(--accent); color: var(--paper); }

/* ---------- Needs ---------- */

.needs-list { border-top: 1px solid var(--line-light); }
.needs-list .need {
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line-light);
}
.needs-list q {
  font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 3vw, 34px); line-height: 1.2; letter-spacing: -.01em;
  quotes: "“" "”";
}
.need-tag { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }

/* ---------- Services ---------- */

.service-grid { display: grid; gap: 12px; }
.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  min-height: 460px; padding: 28px 24px; border-radius: var(--radius); overflow: hidden;
  color: var(--on-dark); text-align: center; isolation: isolate;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 27, 23, .62) 0%, rgba(34, 27, 23, .12) 42%, rgba(34, 27, 23, .78) 100%); }
.service-meta { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.service-title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.02em; margin: 6px 0 auto; padding-top: 4px; }
.service-desc { max-width: 380px; font-size: 15px; color: rgba(246, 241, 234, .9); }

/* ---------- Events ---------- */

.event-card { display: grid; gap: 12px; }
.event-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-media .chip { position: absolute; left: 16px; top: 16px; }
.event-body { border-radius: var(--radius); background: var(--paper); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; }
.event-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.event-day { font-family: var(--serif); font-weight: 300; font-size: clamp(72px, 9vw, 112px); line-height: .85; letter-spacing: -.03em; color: var(--accent); }
.event-month { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.01em; }
.event-time { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; align-self: center; padding: 8px 14px; border-radius: 999px; background: var(--sand); font-size: 14px; color: var(--ink-2); }
.event-kicker { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.event-title { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin-top: 8px; }
.event-desc { margin-top: 14px; color: var(--ink-2); max-width: 560px; }
.event-topics { margin-top: 24px; }
.event-topics li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.event-topics .icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--sand); color: var(--accent); }
.event-register { margin-top: auto; padding-top: 32px; }
.event-register-title { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.event-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.event-closed { margin-top: auto; padding: 16px; border-radius: var(--radius-sm); background: var(--sand); color: var(--ink-2); font-size: 14px; }
.event-closed[hidden], .event-register[hidden] { display: none; }

/* Upcoming event strip under the hero */
.event-teaser { margin: 0 var(--gap) var(--gap); }
.event-teaser[hidden] { display: none; }
.teaser-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px 18px; align-items: center;
  padding: 16px; border-radius: var(--radius); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.teaser-img { width: 72px; height: 88px; border-radius: 14px; object-fit: cover; }
.teaser-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.teaser-label .dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(160, 92, 66, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(160, 92, 66, 0); } }
.teaser-more { letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 13px; }
.teaser-title { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -.015em; margin-top: 6px; }
.teaser-date { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.teaser-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.teaser-actions .pill { flex: 1 1 auto; }

/* Past events on /egitimler */
.past-events { margin-top: clamp(48px, 7vw, 80px); }
.past-events-title { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.015em; margin-bottom: 16px; }
.past-events ul { border-top: 1px solid var(--line); }
.past-events li { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.past-date { font-size: 13px; color: var(--muted); }
.past-events strong { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.past-kicker { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.event-list { display: grid; gap: 12px; }
.events.panel { padding-top: clamp(24px, 4vw, 48px); }
.event-empty { padding: 28px; border-radius: var(--radius); background: var(--paper); color: var(--ink-2); }

/* ---------- Inner pages (blog) ---------- */

.inner-page main > .panel:first-child { padding-top: calc(var(--section) + 48px); }
.page-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.page-title { font-size: clamp(42px, 6vw, 80px); max-width: 900px; }
.blog-list { padding-top: clamp(24px, 4vw, 48px); }
.blog-list .h2 { margin-bottom: 32px; }
.blog-list .filters { margin: 0 0 28px; }
.post-grid { display: grid; gap: 40px 16px; }
.post-grid .article-card[hidden] { display: none; }

/* sticky sidebars need panels that don't clip */
.panel.post, .panel.faq { overflow: visible; }
.post-wrap { max-width: 1240px; }
.post-head { display: flex; flex-direction: column; }
.post-title { max-width: 980px; }
.post-lead { max-width: 760px; }
.post-layout { display: grid; gap: 48px; }
.post-main { min-width: 0; max-width: 740px; }
.post-aside { display: none; }
.post-aside-inner { position: sticky; top: 112px; display: grid; gap: 12px; }
.post-toc, .post-aside-author { padding: 22px; border-radius: var(--radius); background: var(--paper); }
.post-toc-title { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.post-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 8px 10px 8px 0; border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); transition: color .2s, background .2s; }
.post-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); color: var(--muted); padding-left: 8px; }
.post-toc a:hover { color: var(--ink); background: var(--bg); }
.post-toc a.is-current { color: var(--ink); background: var(--sand); }
.post-toc a.is-current::before { color: var(--accent); }
.post-aside-author { display: grid; grid-template-columns: 48px 1fr; gap: 6px 12px; align-items: center; }
.post-aside-author img { width: 48px; height: 48px; border-radius: 50%; }
.post-aside-author span { display: flex; flex-direction: column; line-height: 1.3; }
.post-aside-author strong { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.post-aside-author small { font-size: 12.5px; color: var(--muted); }
.post-aside-author p { grid-column: 1 / -1; margin: 10px 0 8px; font-size: 14px; color: var(--ink-2); }
.post-aside-author .pill { grid-column: 1 / -1; }
.prose h2[id] { scroll-margin-top: 110px; }
.post-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.post-crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .2s; }
.post-crumbs a:hover { border-color: var(--ink); }
.post-crumbs span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.post-title { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
.post-meta { display: flex; gap: 16px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.post-lead { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.post-cover { margin-top: clamp(32px, 5vw, 56px); margin-bottom: clamp(32px, 5vw, 64px); }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

.prose { font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; letter-spacing: -.01em; margin-top: 1.9em; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 22px; color: var(--ink-2); }
.post-disclaimer { margin-top: 40px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sand); font-size: 14px; color: var(--ink-2); }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--paper); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.author-box strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; }
.author-box span { font-size: 13px; color: var(--muted); }
.author-box p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.post-cta { margin-top: 12px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); }
.post-cta h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; }
.post-cta p { margin: 12px 0 24px; color: var(--on-dark-2); }

/* ---------- Methods ---------- */

.method-panels { display: flex; flex-direction: column; gap: 10px; }
.method { border-radius: var(--radius); overflow: hidden; background: var(--dark); color: var(--on-dark); position: relative; }
.method-tab { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-family: var(--serif); font-size: 22px; font-weight: 300; text-align: left; }
.method-tab-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 248, .14); font-size: 16px; transition: transform .4s var(--ease); }
.method.is-active .method-tab-icon { transform: rotate(45deg); }
.method-body { position: relative; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.method.is-active .method-body { max-height: 900px; }
.method-body img { width: calc(100% - 24px); margin: 0 12px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.method-copy { padding: 18px 20px 22px; }
.method-kicker { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.method-copy h3 { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1.05; margin: 8px 0 10px; letter-spacing: -.02em; }
.method-copy p { color: rgba(246, 241, 234, .86); max-width: 460px; }
.method-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 14px; }

/* ---------- Process ---------- */

.steps { display: grid; gap: clamp(40px, 6vw, 72px); counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--serif); font-size: 18px; color: var(--muted); background: var(--paper);
}
.step-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-media .chip { position: absolute; left: 16px; bottom: 16px; }
.step-copy h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.01em; line-height: 1.15; }
.step-copy p { margin-top: 10px; color: var(--ink-2); max-width: 520px; }

/* ---------- Expect ---------- */

.expect-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; position: relative; background: var(--sand); }
.expect-media img { width: 100%; height: 100%; object-fit: cover; }
.expect-media .chip { position: absolute; left: 16px; bottom: 16px; }
.expect-grid { display: grid; gap: 12px; margin-top: 12px; }
.expect-card { padding: 28px; border-radius: var(--radius); background: var(--paper); min-height: 220px; display: flex; flex-direction: column; }
.expect-card .value-icon { margin-bottom: auto; }
.expect-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.01em; margin-top: 40px; }
.expect-card p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.expect-card--dark { background: var(--dark); color: var(--on-dark); }
.expect-card--dark p { color: var(--on-dark-2); }
.expect-card--dark .value-icon { background: rgba(255, 252, 248, .1); color: var(--accent-soft); }

/* ---------- Details ---------- */

.details { min-height: 640px; display: flex; align-items: center; }
.details-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.details-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 27, 23, .82) 0%, rgba(34, 27, 23, .55) 55%, rgba(34, 27, 23, .35) 100%); }
.details-grid { display: grid; gap: 40px; align-items: center; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 32px; color: var(--on-dark-2); font-size: 14px; }
.detail-chips li { display: inline-flex; align-items: center; gap: 8px; }
.details-card { border-radius: var(--radius); padding: 28px; }
.details-card-title { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.details-table { margin-top: 12px; }
.details-table > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.details-table dt { display: flex; flex-direction: column; font-size: 16px; }
.details-table dt small { font-size: 13px; color: var(--on-dark-2); }
.details-table dd { font-family: var(--serif); font-size: 26px; font-weight: 300; white-space: nowrap; }
.details-note { margin-top: 16px; font-size: 13px; color: var(--on-dark-2); }

/* ---------- Voice ---------- */

.voice-grid { display: grid; gap: 12px; }
.voice-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.voice-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.voice-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(180deg, transparent, rgba(34, 27, 23, .7)); color: var(--on-dark); display: flex; flex-direction: column; }
.voice-photo strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.voice-photo span { font-size: 13px; color: var(--on-dark-2); }
.voice-quote { border-radius: var(--radius); background: var(--paper); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.quote-mark { font-family: var(--serif); font-size: 96px; line-height: .6; color: var(--accent); height: 44px; }
.voice-text { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -.015em; margin: 12px 0 40px; }
.voice-quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.voice-quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.voice-quote footer span { display: flex; flex-direction: column; line-height: 1.3; }
.voice-quote footer small { color: var(--muted); font-size: 13px; }

/* ---------- Journal ---------- */

.journal-nav { display: flex; gap: 8px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -24px 0 28px; padding-bottom: 4px; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); transition: all .25s; }
.filter span { color: var(--muted); margin-left: 4px; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.filter.is-active span { color: var(--on-dark-2); }

.article-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 82%);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
}
.article-row::-webkit-scrollbar { display: none; }
.article-card { scroll-snap-align: start; }
.article-card[hidden] { display: none; }
.article-open { display: flex; flex-direction: column; text-align: left; width: 100%; }
.article-img { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-open:hover .article-img img { transform: scale(1.05); }
.article-meta { display: block; margin-top: 18px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-title { font-family: var(--serif); font-size: 23px; line-height: 1.2; letter-spacing: -.01em; margin-top: 8px; }
.article-desc { margin-top: 8px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.article-dialog {
  border: 0; padding: 0; border-radius: var(--radius); background: var(--bg); color: var(--ink);
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px);
}
.article-dialog::backdrop { background: rgba(34, 27, 23, .55); backdrop-filter: blur(4px); }
.article-dialog[open] { animation: rise .45s var(--ease); }
.dialog-inner { padding: 16px 16px 28px; position: relative; }
.dialog-close { position: absolute; top: 28px; right: 28px; background: var(--paper); }
.dialog-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.dialog-inner .article-meta, .dialog-inner h2, .dialog-desc, .dialog-cta { margin-inline: 12px; }
.dialog-inner h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4vw, 36px); line-height: 1.12; letter-spacing: -.015em; margin-top: 8px; }
.dialog-desc { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.dialog-cta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-cta p { font-family: var(--serif); font-size: 19px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 12px; }
.contact-intro { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.contact-intro .h2 { font-size: clamp(32px, 4vw, 48px); }
.checks { display: grid; gap: 12px; margin: 32px 0; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.checks .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(255, 252, 248, .1); color: var(--accent-soft); }
.crisis { margin-top: auto; padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 252, 248, .06); font-size: 13.5px; color: var(--on-dark-2); }
.crisis a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

.form-card { border-radius: var(--radius); background: var(--paper); padding: clamp(24px, 4vw, 44px); }
.form-head h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.01em; }
.form-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.appt-form { display: grid; gap: 18px; }
.appt-form[hidden] { display: none; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field-row { display: grid; gap: 18px; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 16px; transition: border-color .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #b3a294; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.field input[aria-invalid="true"] { border-color: #b4452f; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-error { color: #b4452f; font-size: 13px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice { position: relative; text-transform: none; letter-spacing: 0; font-weight: 400; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); transition: all .2s; cursor: pointer; }
.choice input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { padding: 14px 16px; border-radius: 14px; background: #f6e4dc; color: #8a3a26; font-size: 14px; }
.form-error a { text-decoration: underline; text-underline-offset: 3px; }
.appt-form button[disabled] { opacity: .6; cursor: progress; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 100%; justify-content: center; }
.form-done[hidden] { display: none; }
.form-done h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.form-done p { color: var(--ink-2); }
.form-done a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; gap: 40px; }
.contact-mini { margin-top: 32px; border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; }
.contact-mini-person { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.contact-mini-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.contact-mini-person span { display: flex; flex-direction: column; line-height: 1.3; }
.contact-mini-person small { color: var(--on-dark-2); font-size: 13px; }
.mini-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: rgba(255, 252, 248, .08); border: 1px solid var(--line-light); font-size: 14px; transition: background .25s, color .25s; }
.mini-btn:hover { background: var(--on-dark); color: var(--ink); }

.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-list details { border-radius: var(--radius-sm); background: var(--paper); transition: background .3s; }
.faq-list details[open] { background: var(--sand); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 22px; cursor: pointer; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--line); font-size: 16px; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-list details[open] .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-2); max-width: 680px; }

/* ---------- Footer ---------- */

.site-footer { padding-block: clamp(56px, 8vw, 96px) 32px; }
.footer-top { display: grid; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.brand--lg { gap: 16px; }
.brand--lg .brand-mark { width: 64px; height: 64px; }
.brand--lg .brand-name { font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: -.02em; }
.footer-tagline { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.015em; }
.socials { display: flex; gap: 8px; }
.socials .round-btn:hover { background: var(--on-dark); color: var(--ink); }
.footer-info { display: grid; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line-light); }
.footer-info dt, .footer-head { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 8px; }
.footer-info dd { font-size: 15px; }
.footer-info a:hover, .footer-links a:hover { color: var(--accent-soft); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding: 40px 0; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-links > div > a { color: rgba(246, 241, 234, .86); }
.footer-legal { padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13px; color: var(--on-dark-2); }

/* ---------- Reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* GSAP motion layer (assets/js/motion.js) takes over */
.gsap-on [data-reveal] { opacity: 1; transform: none; transition: none; }
.gsap-on .hero-bg, .gsap-on .hero-card, .gsap-on .hero-line, .gsap-on .hero-accent, .gsap-on .hero-bottom { animation: none; }
.gsap-on [class$="line-mask"] { padding: 0 .12em .16em 0; margin: 0 -.12em -.16em 0; }
.gsap-on .service-card, .gsap-on .step-media, .gsap-on .about-photo, .gsap-on .voice-photo, .gsap-on .expect-media { will-change: transform; }
.site-header { transition: transform .6s var(--ease); }
.site-header.is-hidden { transform: translateY(-140%); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .expect-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-info { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .needs-list .need { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 6fr; }
  .about-photo { aspect-ratio: 4 / 5.2; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values li { grid-template-columns: 1fr; }
  .values li .value-icon { grid-row: auto; margin-bottom: 12px; }

  .service-card { min-height: 560px; }

  .event-card { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .teaser-card { grid-template-columns: 96px 1fr auto; padding: 18px 18px 18px 18px; gap: 28px; }
  .teaser-img { width: 96px; height: 112px; }
  .teaser-actions { grid-column: auto; flex-wrap: nowrap; }
  .past-events li { grid-template-columns: 180px 1fr auto; align-items: baseline; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .event-media { aspect-ratio: auto; min-height: 640px; }

  .method-panels { flex-direction: row; height: 520px; gap: 12px; }
  .method { flex: 0 1 88px; min-width: 88px; transition: flex-grow .9s var(--ease); cursor: pointer; }
  .method.is-active { flex-grow: 1; cursor: default; }
  .method-tab {
    position: absolute; inset: 0; z-index: 2; flex-direction: column-reverse; justify-content: space-between; align-items: center;
    padding: 20px 0; font-size: 21px; transition: opacity .4s;
  }
  .method-tab-label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
  .method.is-active .method-tab { opacity: 0; pointer-events: none; }
  .method-body, .method.is-active .method-body { max-height: none; position: absolute; inset: 0; }
  .method-body img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; border-radius: 0; opacity: .45; transform: scale(1.12); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
  .method.is-active .method-body img { opacity: 1; transform: scale(1); }
  .method:not(.is-active):hover .method-body img { opacity: .7; }
  .method:not(.is-active):hover .method-tab-icon { background: var(--paper); color: var(--ink); }
  .method-body::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 27, 23, .1) 30%, rgba(34, 27, 23, .82) 100%); }
  .method-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 32px 36px !important; min-width: 520px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .method.is-active .method-copy { opacity: 1; transform: none; transition-delay: .35s; }
  .method-copy h3 { font-size: 56px; }

  .step { grid-template-columns: 72px 1.35fr 1fr; gap: 32px; align-items: end; }
  .step-num { align-self: start; }
  .step-copy { padding-bottom: 12px; }

  .expect-grid { grid-template-columns: repeat(4, 1fr); }
  .expect-card { min-height: 280px; }

  .details-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }

  .voice-grid { grid-template-columns: 1fr 1.4fr; }

  .contact-grid { grid-template-columns: 1fr 1.25fr; }

  .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; }
  .faq-side { position: sticky; top: 112px; align-self: start; }

  .footer-top { grid-template-columns: 1fr auto; align-items: end; }
  .footer-top .brand { grid-column: 1 / -1; }
  .footer-info { grid-template-columns: repeat(4, 1fr); }
  .footer-links { grid-template-columns: repeat(3, 1fr); max-width: 760px; }

  .article-row { grid-auto-columns: calc((100% - 2 * var(--pad) - 32px) / 3); }
}

@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(48px, 6vw, 96px); }
  .post-aside { display: block; }
  .post-main .author-box { display: none; }
}

@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .header-phone { display: inline-flex; }
  .menu-toggle { display: none; }
  .hero { justify-content: flex-end; }
  .hero-card { position: absolute; margin: 0; left: auto; right: var(--pad); top: 112px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  :root { --radius: 22px; }
  .site-header { inset: 10px 10px auto; }
  .header-inner { height: 58px; padding-left: 12px; }
  .brand-sub { display: none; }
  .header-actions .header-cta { height: 40px; padding: 0 14px; font-size: 13px; }
  .hero-cta { width: 100%; justify-content: space-between; }
  .hero-card { margin-top: 88px; }
  .hero-card-time { font-size: 22px; margin-bottom: 10px; }
  .service-card { min-height: 420px; }
  .event-actions .pill { flex: 1 1 100%; }
  .event-time { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
