:root {
  --beige: #EFE5D5;      /* page background */
  --milk: #FBF7EF;       /* cards, light text on dark */
  --ivory: #E8DCC8;      /* alternate sections */
  --sand: #DDCFB8;
  --espresso: #2E211B;
  --espresso-soft: #5B4A40;
  --olive: #6F7D45;      /* pistachio-olive accent */
  --olive-deep: #56623A;
  --pistachio: #C3CC9F;  /* light pistachio backgrounds */
  --line: rgba(46, 33, 27, .14);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --section: clamp(80px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--espresso);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow, .label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--espresso-soft);
  margin-bottom: 1.6em;
}
.label { color: var(--olive); }
.label--light { color: #D6DEB6; }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: .7em;
}
.h2--big { font-size: clamp(40px, 6vw, 80px); }
.h2--huge { font-size: clamp(48px, 9vw, 120px); }
.h2 em, .h3 em { font-style: normal; color: inherit; }

.h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.45;
  font-weight: 400;
}
.muted { color: var(--espresso-soft); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 30px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--espresso);
  border-radius: 0;
  transition: background .3s, color .3s, border-color .3s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--accent { background: var(--olive); border-color: var(--olive); color: var(--milk); }
.btn--accent:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--milk); }
.btn--small { padding: 11px 18px; font-size: 11px; }
.btn--large { padding: 22px 44px; }

.link-arrow {
  display: inline-block;
  margin-top: .6em;
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  color: var(--olive);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(239, 229, 213, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 22px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  display: flex; flex-direction: column;
}
.logo .logo__last { font-size: 11px; letter-spacing: .5em; font-family: var(--sans); margin-top: 5px; color: var(--espresso-soft); }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 13px; text-decoration: none; letter-spacing: .04em;
  color: var(--espresso-soft); transition: color .2s;
}
.nav a:hover { color: var(--olive); }
.header__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang button {
  background: none; border: 0; cursor: pointer;
  font: 500 12px var(--sans); letter-spacing: .1em;
  color: var(--espresso-soft); padding: 6px 7px; opacity: .55;
}
.lang button.is-active { opacity: 1; color: var(--olive); text-decoration: underline; text-underline-offset: 5px; }
.burger { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--espresso); transition: transform .3s, top .3s; }
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 20px; }
.nav-open .burger span:first-child { top: 16px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 16px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(120px, 16vw, 180px) 0 var(--section); }
.hero__text { max-width: 920px; margin: 0 auto; text-align: center; }
.hero__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 8.4vw, 118px);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: .35em;
}
.hero__name em { font-style: normal; color: inherit; }
.hero__role {
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; margin-bottom: 2em; display: inline-block;
}
.hero__lead { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 33px); line-height: 1.35; max-width: 30ch; margin: 0 auto; }
.hero__lines { margin: 1.6em 0 2.4em; color: var(--espresso-soft); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__values {
  margin: 48px 0 0;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--olive);
}

/* ---------- Main philosophy ---------- */
.mainph { background: var(--pistachio); padding: var(--section) 0; text-align: center; }
.mainph__inner { max-width: 900px; }
.mainph .label { color: var(--olive-deep); }
.mainph__line {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.2;
  margin-bottom: .8em;
}
.mainph__quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(44px, 6.4vw, 88px); line-height: 1.05;
  color: #3E4823; margin: .4em 0 .5em;
}
.mainph__note { font-size: 14px; color: var(--espresso-soft); margin: 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__photo { margin: 0; position: relative; }
.handnote {
  position: absolute; right: -28px; bottom: -36px; max-width: 290px;
  padding: 18px 22px;
  background: var(--milk); box-shadow: 0 14px 30px -18px rgba(46,33,27,.45);
  font-family: "Caveat", cursive; font-weight: 500; font-size: 27px; line-height: 1.15;
  color: var(--olive-deep); transform: rotate(-3deg);
}
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 35%; }
.about__body > p:not(.lead):not(.label) { color: var(--espresso-soft); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.section__head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 88px); }

.split { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; }
.split__body { max-width: 720px; }
.split__body > p:not(.lead) { color: var(--espresso-soft); }


/* ---------- Professional training ---------- */
.quals { margin-top: clamp(40px, 5vw, 72px); }
.qual {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line);
}
.qual:last-child { border-bottom: 1px solid var(--line); }
.qual__t { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin-bottom: .5em; }
.qual__d { color: var(--espresso-soft); font-size: 15.5px; }
.qual__head .qual__d:first-of-type { color: var(--olive); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.qual__body .lead { margin: 0; }
.qual__extra {
  margin: 24px 0 0; padding: 18px 22px;
  background: var(--milk); border-left: 2px solid var(--olive);
  font-family: var(--serif); font-size: 21px; line-height: 1.35;
}

/* ---------- Services ---------- */
.svc-list { border-bottom: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px;
  width: 100%; padding: 30px 0;
  background: none; border: 0; border-top: 1px solid var(--line);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.svc__n { font-family: var(--serif); font-style: italic; color: var(--olive); font-size: 20px; }
.svc__t { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; transition: color .2s; }
.svc__more {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive); white-space: nowrap;
}
.svc:hover .svc__t, .svc:focus-visible .svc__t { color: var(--olive); }
.note {
  padding: 22px 26px;
  background: var(--milk);
  border-left: 2px solid var(--olive);
  font-size: 15px; color: var(--espresso-soft);
}
.note p { margin: 0; }
.svc-note { margin-top: 40px; max-width: 760px; }
.svc-note p + p { margin-top: .6em; }

.svc-dialog {
  border: 0; padding: clamp(32px, 5vw, 56px);
  width: min(92vw, 680px); max-height: 88vh; overflow: auto;
  background: var(--milk); color: var(--espresso);
}
.svc-dialog::backdrop { background: rgba(46,33,27,.6); }
.svc-dialog__close {
  position: sticky; top: 0; float: right; z-index: 1;
  margin: -16px -16px 0 0; width: 44px; height: 44px;
  background: var(--milk); border: 0; border-radius: 50%; font-size: 34px; line-height: 1; color: var(--espresso); cursor: pointer;
}
.svc-dialog__n { font-family: var(--serif); font-style: italic; color: var(--olive); font-size: 20px; margin-bottom: .6em; }
.svc-dialog .h3 { margin-bottom: .7em; padding-right: 24px; }
.svc-dialog__text { margin-bottom: 2em; }
.svc-dialog__text p:not(.lead) { color: var(--espresso-soft); }

/* ---------- Stats ---------- */
.stats { background: var(--espresso); color: var(--milk); padding: clamp(72px, 9vw, 120px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px 8px 0; border-right: 1px solid rgba(251,248,243,.15); margin-right: 28px; display: flex; flex-direction: column; gap: 14px; }
.stat:last-child { border: 0; margin: 0; }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 76px); line-height: 1; white-space: nowrap; }
.stat__num--sm { white-space: normal; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; min-height: 1.6em; display: flex; align-items: flex-end; }
.stat__txt { font-size: 14px; color: rgba(251,248,243,.7); line-height: 1.55; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { padding: 36px 32px 40px 0; border-top: 1px solid var(--line); margin-right: 32px; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--olive); display: block; margin-bottom: 18px; }
.step h4 { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin-bottom: .45em; }
.step p { color: var(--espresso-soft); font-size: 15.5px; margin: 0; }

/* ---------- Education ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.cert {
  background: var(--milk); border: 1px solid var(--line);
  padding: 14px; text-align: left; cursor: zoom-in;
  font: inherit; color: inherit;
}
.cert__img { display: block; aspect-ratio: 1.2 / 1; background: var(--sand); overflow: hidden; margin-bottom: 14px; padding: 12px; }
.cert__img img { width: 100%; height: 100%; object-fit: contain; }
.cert__title { font-family: var(--serif); font-size: 21px; line-height: 1.2; display: block; }
.cert__meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso-soft); display: block; margin-top: 6px; }
.hint { margin-top: 28px; font-size: 13px; color: var(--espresso-soft); }

/* Placeholder frames (for future photos) */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(46,33,27,.035) 14px 15px),
    var(--sand);
  display: flex; align-items: center; justify-content: center;
}
.ph__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso-soft); text-align: center; padding: 0 12px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: 20px; }
.review {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: clamp(28px, 3vw, 40px); text-align: left;
  background: var(--milk); border: 1px solid var(--line); border-top: 2px solid var(--olive);
  font: inherit; color: inherit; cursor: pointer;
}
.review__quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.3vw, 30px); line-height: 1.3; flex: 1;
}
.review__quote::before { content: "«"; color: var(--olive); }
.review__quote::after { content: "»"; color: var(--olive); }
.review__name { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso-soft); font-weight: 500; }
.review__more { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.review:hover .review__more, .review:focus-visible .review__more { text-decoration: underline; text-underline-offset: 4px; }
.hint:empty { display: none; }
.review-dialog { width: min(92vw, 760px); }
.review-dialog__text p { color: var(--espresso-soft); font-size: 16px; }
.review-dialog__text hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }

/* ---------- Courses ---------- */
.course {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.course:last-child { border-bottom: 1px solid var(--line); }
.course__n { font-family: var(--serif); font-style: italic; color: var(--olive); font-size: 20px; }
.course__t { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--olive); color: var(--milk); padding: var(--section) 0; }
.philosophy .h2 { max-width: 16ch; }
.philosophy__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.philosophy__photo { margin: 0; }
.philosophy__photo img { width: 100%; height: auto; aspect-ratio: 1009 / 1558; object-fit: cover; }
.rights { columns: 2; column-gap: 40px; margin: clamp(40px, 5vw, 72px) 0 0; }
.rights li {
  break-inside: avoid;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3;
  padding: 16px 0; border-top: 1px solid rgba(251,248,243,.22);
}
.philosophy__end { max-width: 760px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.4; }
.philosophy__end p { margin-bottom: .5em; }
.philosophy__quote { font-style: italic; font-size: clamp(44px, 6vw, 84px); line-height: 1.05; margin-top: .6em !important; color: #E3EAC6; }

/* ---------- Personal ---------- */
.personal { max-width: 860px; }
.personal__big { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 38px); color: var(--olive); line-height: 1.2; }
.personal__text > p:not(.lead):not(.label):not(.personal__big) { color: var(--espresso-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); padding: var(--section) 0; text-align: center; }
.contact__inner { max-width: 860px; }
.contact .lead { margin: 0 auto 1em; max-width: 30ch; }
.contact p:not(.lead):not(.label) { color: var(--espresso-soft); max-width: 56ch; margin-left: auto; margin-right: auto; }
.contact p.contact__promise:not(.lead):not(.label) { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 27px); color: var(--olive); margin-top: 1.4em; }
.contact .btn { margin-top: 1.6em; }
.socials { margin-top: 40px; display: flex; justify-content: center; gap: 18px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.socials a { text-decoration: none; }
.socials a:hover { color: var(--olive); }
.socials span { color: var(--olive); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(251,248,243,.7); padding: 56px 0; font-size: 13px; }
.footer p { margin: 0 0 4px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__name { font-family: var(--serif); font-size: 22px; letter-spacing: .16em; color: var(--milk); margin-bottom: 10px !important; }
.footer__right { text-align: right; }
.footer a { color: var(--milk); text-decoration: none; display: block; margin-bottom: 4px; }
.footer__copy { margin-top: 12px !important; opacity: .6; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 1000px); max-height: 90vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(46,33,27,.86); }
.lightbox__content img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox__content .ph { width: min(80vw, 760px); aspect-ratio: 1.414 / 1; }
.lightbox__content p { color: var(--milk); text-align: center; margin-top: 14px; font-family: var(--serif); font-size: 22px; }
.lightbox__close {
  position: absolute; top: -48px; right: 0;
  background: none; border: 0; color: var(--milk); font-size: 38px; line-height: 1; cursor: pointer;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .header__cta { display: none; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; height: 100vh; height: 100dvh; z-index: -1;
    background: var(--beige);
    flex-direction: column; justify-content: center; align-items: center; gap: 24px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a { font-family: var(--serif); font-size: 34px; color: var(--espresso); }
  .nav-open .nav { opacity: 1; pointer-events: auto; }

  .split, .about, .qual { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .handnote { right: 12px; bottom: -28px; max-width: 78%; font-size: 24px; }
  .about { row-gap: 64px; }
  .split { gap: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .stat:nth-child(2) { border: 0; margin-right: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .philosophy__grid { grid-template-columns: 1fr; }
  .philosophy__photo { max-width: 460px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo { font-size: 16px; letter-spacing: .1em; }
  .logo .logo__last { font-size: 9px; letter-spacing: .38em; }
  .header__inner { gap: 10px; }
  .header__right { gap: 6px; }
  .lang button { padding: 6px 4px; }
  .steps { grid-template-columns: 1fr; }
  .step { margin-right: 0; padding-right: 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; margin-right: 0; padding-bottom: 28px; border-bottom: 1px solid rgba(251,248,243,.15); }
  .rights { columns: 1; }
  .course { grid-template-columns: 1fr; gap: 10px; }
  .course .btn { justify-self: start; }
  .svc { grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; }
  .svc__more { grid-column: 2; }
  .hero__buttons .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .footer__right { text-align: left; }
  .socials { flex-wrap: wrap; }
}
