:root {
  --ink: #131109;
  --cream: #f6f5ee;
  --cream-deep: #f2efe5;
  --accent: #f79a35;
  --accent-hover: #e2851d;
  --brown: #7b4718;
  --logo-ink: #4a4a4a;
  --nav-ink: #3d3d3d;
  --white: #fff;
  --line: rgba(19, 17, 9, .16);
  --line-light: rgba(255, 255, 255, .14);
  --muted-light: rgba(255, 255, 255, .72);
  --max: 1200px;
  --wide: 1300px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Montserrat", Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.8; }
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Prata", Georgia, serif; font-weight: 400; line-height: 1.35; }
h1 { margin-bottom: 10px; font-size: clamp(40px, 4.6vw, 72px); color: var(--white); }
h2 { margin-bottom: 24px; font-size: clamp(31px, 3.3vw, 45px); }
h3 { margin-bottom: 12px; font-size: 23px; }
em { font-weight: 500; }
.heading--brown { color: var(--brown); }

.wrap, .wide-wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.wide-wrap { width: min(calc(100% - 40px), var(--wide)); }
.section { padding: 50px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 5px; line-height: 1.5; text-transform: uppercase; }
.eyebrow--light { color: var(--white); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 230px; padding: 15px 30px; border: 0; border-radius: 40px; color: var(--white); background: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 1px; line-height: 1.2; text-align: left; text-decoration: none; text-transform: uppercase; transition: transform .25s ease, background .25s ease; }
.button:hover, .button:focus-visible { background: var(--accent-hover); transform: translateY(-2px); }
.button:focus-visible, .modal__close:focus-visible, .nav-toggle:focus-visible { outline: 3px solid rgba(247, 154, 53, .5); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 30; background: var(--cream); }

.topbar { color: var(--white); background: var(--brown); font-size: 14px; font-weight: 500; }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 22px; min-height: 42px; }
.topbar a { color: var(--white); text-decoration: none; transition: opacity .2s ease; }
.topbar a:hover { opacity: .8; }
.topbar__divider { width: 1px; height: 20px; background: rgba(255, 255, 255, .45); }

.nav-bar { position: relative; background: var(--cream); }
.nav-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 96px; }

.logo { display: grid; justify-items: center; gap: 5px; color: var(--logo-ink); text-decoration: none; }
.logo__name { font-family: "Prata", Georgia, serif; font-size: 30px; letter-spacing: .5px; line-height: 1; }
.logo__o { position: relative; display: inline-block; color: var(--accent); }
.logo__o::after { position: absolute; top: 50%; left: 50%; width: 1.28em; height: 1.02em; border: 1.5px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%); content: ""; }
.logo__sub { font-size: 8.5px; font-weight: 600; letter-spacing: 2.6px; line-height: 1.4; text-transform: uppercase; color: rgba(74, 74, 74, .75); }
.logo--light { justify-items: start; color: var(--white); }
.logo--light .logo__sub { color: var(--muted-light); }

.nav { display: flex; align-items: center; gap: 42px; }
.nav a { position: relative; padding-bottom: 10px; color: var(--nav-ink); font-size: 14px; font-weight: 600; letter-spacing: 2px; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--accent); border-radius: 2px; opacity: 0; transition: opacity .2s ease; content: ""; }
.nav a:hover { color: var(--accent); }
.nav a.is-current { color: var(--nav-ink); }
.nav a.is-current::after { opacity: 1; }
.header__cta { justify-content: center; min-width: 0; padding: 17px 34px; font-size: 14px; letter-spacing: .5px; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
.nav-toggle span { display: block; height: 2px; background: var(--nav-ink); }

/* ---------- Page sections ---------- */
.hero { position: relative; display: grid; min-height: 46vh; place-items: center; background: url("assets/images/2151393858.webp") center/cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(rgba(94, 55, 20, .5), rgba(19, 17, 9, .55)); }
.consultation__shade { position: absolute; inset: 0; background: rgba(19, 17, 9, .6); }
.hero__content { position: relative; text-align: center; }
.breadcrumbs { display: flex; justify-content: center; align-items: center; gap: 15px; color: var(--white); font-size: 15px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs span[aria-hidden] { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.intro { background: var(--cream); }
.split--intro { align-items: stretch; gap: 100px; }
.portrait { min-height: 500px; border-radius: 15px; background: url("assets/images/untitled-design-29.png") center/cover no-repeat; }
.intro__copy { align-self: center; }
.intro__copy > p:not(.eyebrow) { margin-bottom: 22px; }
.check-list { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 5px; }
.check { padding-top: 5px; color: var(--accent); font-size: 18px; font-weight: 700; }

.details { background: var(--cream); }
.section-title { text-align: center; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.detail { padding: 30px; }
.detail + .detail { border-left: 1px solid var(--line); }
.detail p { margin: 0; }

.availability { position: relative; padding: 50px 0; background: var(--cream-deep) url("assets/images/consultation.jpg") top center/cover no-repeat; }
.availability__overlay { position: absolute; inset: 0; background: url("assets/images/bg-overlay.png") center/cover no-repeat; }
.availability__inner { position: relative; }
.availability__card { width: 50%; margin-right: 50%; padding-right: 100px; background: var(--cream-deep); }
.hours { display: flex; justify-content: space-between; gap: 24px; margin: 26px 0 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.hours strong { font-family: "Prata", Georgia, serif; font-size: 20px; font-weight: 400; }

.split--process { gap: 50px; }
.process__image { min-height: 650px; background: url("assets/images/group-therapy.jpg") center/cover no-repeat; }
.process__copy { align-self: center; padding: 20px 0 10px 50px; }
.steps { margin: 0 0 10px; padding: 0; list-style: none; }
.steps li { padding: 0 0 20px; }
.steps li > span { display: block; margin-bottom: 2px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.steps h3 { margin-bottom: 5px; }
.steps p { margin-bottom: 0; }

.consultation { position: relative; padding: 90px 0; color: var(--white); text-align: center; background: url("assets/images/anna-therapy-studio.jpg") center/cover no-repeat; }
.consultation__content { position: relative; }
.consultation h2 { max-width: 850px; margin-inline: auto; }

.booking { background: var(--cream); text-align: center; }
.booking__actions { display: flex; justify-content: center; gap: 18px; }
.booking .button, .modal .button { min-width: 210px; }

/* ---------- Footer ---------- */
.site-footer { color: var(--muted-light); background: var(--ink); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1.1fr .9fr 1.3fr; gap: 40px; padding: 75px 0 60px; }
.footer__col p { margin-bottom: 0; }
.footer__col .logo { margin-bottom: 20px; }
.site-footer h3 { margin-bottom: 18px; color: var(--white); font-size: 21px; }
.site-footer h3.heading--brown { color: var(--brown); }
.footer__subhead { margin-top: 24px; }
.footer__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer__list a { color: var(--muted-light); text-decoration: none; transition: color .2s ease; }
.footer__list a:hover { color: var(--accent); }
.site-footer .button { min-width: 0; margin-top: 22px; padding: 13px 26px; font-size: 12px; }
.footer__bottom { border-top: 1px solid var(--line-light); font-size: 13px; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 26px; }
.footer__legal a { color: var(--muted-light); text-decoration: none; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Mobile bar + modal ---------- */
.mobile-book { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: none; width: 100%; padding: 16px 20px; border: 0; color: var(--white); background: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 50; inset: 0; display: grid; padding: 20px; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(19, 17, 9, .7); }
.modal__dialog { position: relative; width: min(100%, 620px); padding: 54px; border-radius: 15px; background: var(--cream); box-shadow: 0 24px 80px rgba(0, 0, 0, .25); text-align: center; }
.modal__close { position: absolute; top: 12px; right: 18px; border: 0; color: var(--ink); background: transparent; font-size: 34px; line-height: 1; }
.modal code { padding: 2px 5px; background: rgba(19, 17, 9, .07); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .wrap, .wide-wrap { width: min(calc(100% - 60px), var(--max)); }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .nav-bar__inner { min-height: 82px; }
  .nav { position: absolute; z-index: 30; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 30px 22px; background: var(--cream); box-shadow: 0 22px 44px rgba(19, 17, 9, .14); }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.is-current { color: var(--accent); }
  .hero { min-height: 40vh; }
  .section { padding: 70px 0; }
  .split--intro { gap: 50px; }
  .portrait { min-height: 600px; }
  .availability { padding: 70px 0; }
  .availability__card { padding-right: 70px; }
  .process__copy { padding-left: 30px; }
  h3 { font-size: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 60px 0 50px; }
}

@media (max-width: 767px) {
  body { padding-bottom: 54px; font-size: 14px; }
  .wrap, .wide-wrap { width: min(calc(100% - 40px), var(--max)); }
  .topbar__inner { flex-wrap: wrap; justify-content: center; gap: 12px; padding: 9px 0; font-size: 12.5px; }
  .nav { padding: 8px 20px 22px; }
  .nav-bar__inner { min-height: 74px; }
  .logo__name { font-size: 24px; }
  .hero { min-height: 35vh; }
  .section { padding: 70px 0; }
  .split { grid-template-columns: 1fr; }
  .split--intro { gap: 20px; }
  .portrait { min-height: 400px; order: 2; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail { padding: 32px 0; }
  .detail + .detail { border-top: 1px solid var(--line); border-left: 0; }
  .availability { padding: 0; }
  .availability__card { width: 100%; margin: 0; padding: 70px 30px; }
  .hours { align-items: flex-start; flex-direction: column; gap: 4px; }
  .split--process { gap: 50px; }
  .process__image { min-height: 300px; }
  .process__copy { padding: 0 0 50px; }
  .consultation { padding: 100px 0; }
  .booking__actions, .modal .booking__actions { flex-direction: column; }
  .button { width: 100%; }
  .site-footer .button { width: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding: 55px 0 45px; }
  .footer__bottom-inner { flex-direction: column; gap: 10px; padding: 18px 0; text-align: center; }
  .mobile-book { display: block; }
  .modal__dialog { padding: 50px 24px 28px; }
}

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