/* ============================================================
   Antonia Christodoulou — Clinical Hypnotherapy
   Single-page site. No build step, no external dependencies.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --paper:      #faf8f5;
  --paper-alt:  #f2eee8;
  --card:       #ffffff;
  --ink:        #1b1a18;
  --ink-soft:   #4a4741;
  --ink-mute:   #7d786f;
  --line:       #e2dcd2;
  --accent:     #5d6b5c;   /* muted sage — the only colour on a monochrome page */
  --accent-dk:  #46523f;
  --sand:       #c9bda9;

  --wrap: 1140px;
  --radius: 4px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           Georgia, "Noto Serif", "DejaVu Serif", serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
           "Noto Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.18; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; opacity: .85; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.06rem; letter-spacing: .005em; }
.brand-role {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .17em;
  color: var(--ink-mute); margin-top: .18rem;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  text-decoration: none; font-size: .84rem; letter-spacing: .04em;
  color: var(--ink-soft); position: relative; padding-block: .35rem;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.nav-cta {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1.15rem; color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* language switcher */
.lang { display: flex; align-items: center; gap: .15rem; margin-left: .4rem; }
.lang-btn {
  background: none; border: 0; cursor: pointer;
  font-size: .74rem; letter-spacing: .1em; font-weight: 600;
  color: var(--ink-mute); padding: .4rem .5rem; border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-btn:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.lang-btn[aria-pressed="true"] { color: var(--paper); background: var(--ink); }

/* mobile menu */
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 10px 8px;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  border-top: 1px solid var(--line);
  padding: .5rem 1.25rem 1.25rem;
}
.mobile-nav a {
  text-decoration: none; padding: .85rem .25rem;
  border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-mark {
  position: absolute; top: 50%; right: -6%;
  width: min(46vw, 620px); translate: 0 -50%;
  opacity: .055; pointer-events: none;
  animation: breathe 14s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.045) rotate(-1.2deg); }
}
.hero-inner { position: relative; max-width: 780px; }

.eyebrow {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--ink-mute); margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 26px; height: 1px; background: var(--sand); margin-right: .85rem;
}

.hero-title {
  font-size: clamp(2.35rem, 6vw, 4.1rem);
  letter-spacing: -.022em;
  margin-bottom: 1.6rem;
  max-width: 16ch;
}
.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.9rem; border-radius: 999px;
  font-size: .88rem; letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 5vw, 3.5rem);
  margin-top: 3.4rem; padding-top: 2.1rem;
  border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; gap: .1rem; }
.hero-facts strong { font-family: var(--serif); font-size: 1.85rem; font-weight: 400; }
.hero-facts span {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-mute);
}

/* ---------- sections ---------- */
.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-alt); }

.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 1.1rem; max-width: 20ch; }
.section-lead { color: var(--ink-soft); max-width: 58ch; margin-bottom: 3rem; }

/* ---------- cards ---------- */
/* explicit column counts so the six cards always fill the grid — no empty cells */
.cards {
  display: grid; gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--card);
  padding: 2.1rem 1.85rem 1.9rem;
  transition: background .35s var(--ease);
}
.card:hover { background: color-mix(in srgb, var(--accent) 4%, var(--card)); }
.card h3 { font-size: 1.22rem; margin-bottom: .65rem; }
.card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 2.4rem 2.6rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-top: 1.65rem; border-top: 1px solid var(--sand); }
.step-num {
  position: absolute; top: 1.55rem; right: 0;
  font-family: var(--serif); font-size: .95rem; color: var(--sand);
}
.step h3 { font-size: 1.18rem; margin-bottom: .55rem; padding-right: 2.5rem; }
.step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------- about ---------- */
.about-grid {
  display: grid; gap: clamp(2.25rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}
.about-media { position: relative; }
.about-media img {
  width: 100%; border-radius: var(--radius);
  filter: grayscale(1) contrast(1.04);
}
.about-media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--sand); border-radius: var(--radius); z-index: -1;
}
.about-role {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--ink-mute); margin-bottom: 1.9rem;
}
.about-body p { color: var(--ink-soft); max-width: 62ch; }
.about-body .highlight {
  margin-top: 1.9rem; padding-left: 1.15rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 1.12rem; color: var(--ink);
}

/* ---------- credentials ---------- */
.badges {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2.4rem;
}
.badges li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; padding: 1.5rem 1.25rem;
  transition: border-color .3s var(--ease);
}
.badges li:hover { border-color: var(--sand); }
.badges img { width: 100%; max-width: 190px; mix-blend-mode: multiply; }
.cred-note { font-size: .88rem; color: var(--ink-mute); max-width: 72ch; margin: 0; }

/* ---------- booking ---------- */
.booking-frame {
  position: relative;
  min-height: var(--booking-height, 720px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
}
.booking-frame iframe {
  width: 100%; height: var(--booking-height, 720px);
  border: 0; display: block;
  opacity: 0; transition: opacity .5s var(--ease);
}
.booking-frame[data-state="ready"] iframe { opacity: 1; }
.booking-frame[data-state="ready"] .booking-placeholder { display: none; }
.booking-placeholder {
  position: absolute; inset: 0; margin: 0;
  display: grid; place-items: center;
  font-size: .88rem; color: var(--ink-mute);
}

.booking-note { margin: 1.4rem 0 0; font-size: .88rem; color: var(--ink-mute); }
.booking-note a { color: var(--ink); text-underline-offset: 3px; }
.booking-note a:hover { color: var(--accent-dk); }
.booking-sep { margin: 0 .5rem; color: var(--sand); }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(4rem, 9vw, 7rem); }
.contact-card {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(2.25rem, 5vw, 4rem);
}
.contact-card .eyebrow { color: color-mix(in srgb, var(--paper) 58%, transparent); }
.contact-card .eyebrow::before { background: var(--sand); }
.contact-card .section-title { color: var(--paper); }
.contact-card .section-lead { color: color-mix(in srgb, var(--paper) 74%, transparent); margin-bottom: 1.5rem; }
.contact-langs {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--sand); margin: 0;
}

.contact-list { display: grid; gap: 1.4rem; }
.contact-list li { display: flex; flex-direction: column; gap: .25rem; }
.contact-label {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .18em;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
}
.contact-list a {
  font-family: var(--serif); font-size: 1.16rem;
  text-decoration: none; color: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 25%, transparent);
  padding-bottom: .18rem; width: fit-content; max-width: 100%;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.contact-list a:hover { color: #fff; border-bottom-color: var(--sand); }
.contact-list li.is-empty { display: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.25rem 0 2.5rem; text-align: center; }
.footer-mark { width: 40px; margin: 0 auto 1.1rem; opacity: .35; }
.footer-name { font-family: var(--serif); font-size: 1.02rem; margin-bottom: .9rem; }
.footer-note { font-size: .8rem; color: var(--ink-mute); max-width: 60ch; margin: 0 auto 1.1rem; line-height: 1.6; }
.footer-legal { font-size: .76rem; color: var(--ink-mute); margin: 0; }

/* ---------- reveal on scroll ---------- */
/* hidden only when scripting is available, so a JS failure can never hide content */
.js .reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 330px; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header.is-open .mobile-nav { display: flex; }
  .brand-role { display: none; }
  .hero-mark { right: -30%; opacity: .04; }
}

@media (max-width: 600px) {
  .cards, .steps { grid-template-columns: minmax(0, 1fr); }
  /* booking pages are taller in their mobile layout */
  .booking-frame { --booking-height: 860px; }
}

/* keep the brand on one line next to the language switcher on small screens */
@media (max-width: 480px) {
  .header-inner { gap: .75rem; min-height: 64px; }
  .brand-mark { width: 28px; }
  .brand-name { font-size: .92rem; white-space: nowrap; }
  .lang { gap: 0; margin-left: 0; }
  .lang-btn { padding: .4rem .3rem; font-size: .7rem; }
  .menu-toggle { width: 34px; padding: 10px 4px; }
  .hero-title { font-size: 2.05rem; max-width: none; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-facts { gap: 1.4rem 2rem; }
}

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

@media print {
  .site-header, .hero-actions, .menu-toggle { display: none; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
