:root {
  --black: #1c1c1b;
  --walnut: #6a5d52;
  --greige: #b7ac9b;
  --ash: #979086;
  --stucco: #e2e2de;
  --space: 120px;
  --head: 'Cormorant Garamond', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--black); background: var(--stucco); font-size: 18px; font-weight: 300; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 300; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-100 { width: 100%; padding: 0 30px; }
section { padding: var(--space) 0; }

/* photo placeholders: replace .ph with <img> when photos arrive */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(165deg, #c9c1b5 0%, #9d9286 55%, #6a5d52 100%);
  display: flex; align-items: flex-end; padding: 24px;
}
.ph small { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

/* header */
.header { position: sticky; top: 0; width: 100%; background: var(--stucco); z-index: 100; }
.header__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; height: 80px; border-bottom: 1px solid var(--black); }
.logo { font-family: var(--head); font-size: 34px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 36px; }
.nav__link { position: relative; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; padding-bottom: 4px; }
.nav__link::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: var(--black); transition: .3s; transform: translateX(-50%); }
.nav__link:hover::after { width: 100%; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--black); transition: .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }

/* buttons */
.btn {
  display: inline-block; padding: 12px 30px; border: 1px solid var(--black);
  max-width: max-content; text-transform: uppercase; font-size: 14px; letter-spacing: .5px;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--black); color: var(--stucco); }
.btn--white { border-color: #fff; color: #fff; }
.btn--white:hover { background: #fff; color: var(--black); }

/* hero */
.hero { padding: 0; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; border-bottom: 1px solid var(--black); padding-left: 0; }
.hero__image { height: calc(100vh - 80px); min-height: 560px; }
.hero__content { padding-right: 30px; display: flex; flex-direction: column; gap: 15px; }
.hero__content h1 {
  display: flex; flex-direction: column; font-family: var(--head);
  font-size: clamp(56px, 5.6vw, 96px); letter-spacing: 2px; text-transform: uppercase;
  font-weight: 300; line-height: .9; margin-bottom: 20px;
}
.hero__content h1 span { font-size: .62em; letter-spacing: 1px; padding-left: 5px; margin-top: 10px; }
.text { line-height: 1.6; max-width: 600px; }
.hero__meta { font-family: var(--head); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.hero__meta span { font-size: 30px; font-weight: 500; }

/* reveal */
.reval { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.reval.active { opacity: 1; transform: none; }

/* quote */
.quote { padding: 160px 20px; position: relative; overflow: hidden; border-bottom: 1px solid var(--black); text-align: center; }
.quote__inner { max-width: 1000px; margin: 0 auto; }
.quote__text { font-family: var(--head); font-size: 48px; line-height: 1.3; letter-spacing: 1px; }
.quote__author { font-family: var(--head); font-size: 18px; letter-spacing: 2px; text-transform: uppercase; margin-top: 40px; }
.quote__author span { font-size: 14px; opacity: .6; margin-left: 5px; }
.arrow { width: 90px; position: absolute; bottom: 30px; right: 30vw; opacity: .6; color: var(--black); }
.arrow--small { position: static; width: 80px; opacity: .4; margin-top: 10px; }

/* about */
.about { border-bottom: 1px solid var(--black); }
.about__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: stretch; }
.about__image { min-height: 720px; }
.about__content { display: flex; flex-direction: column; justify-content: space-between; }
.about__title { font-family: var(--head); font-size: 64px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 40px; }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__text p { line-height: 1.7; max-width: 500px; font-size: 22px; }
.text__bottom { display: flex; flex-direction: column; gap: 15px; margin-top: 60px; }
.text__bottom p { line-height: 1.7; font-size: 16px; }
.text__bottom .btn { margin-top: 20px; }

/* topics */
.topics-block { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.topics-block::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(ellipse at 20% 10%, #6a5d52 0%, transparent 55%), radial-gradient(ellipse at 90% 90%, #4a423b 0%, transparent 60%);
}
.topics-block .container { position: relative; z-index: 2; }
.topics-block__title { font-family: var(--head); font-size: 48px; letter-spacing: 3px; text-transform: uppercase; }
.topics-block .quote__author { margin: 10px 0 60px; }
.topics-block__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.topics-block__item { border: 1px solid rgba(255, 255, 255, .2); padding: 30px; display: flex; flex-direction: column; gap: 15px; min-height: 180px; transition: border-color .4s, background .4s; }
.topics-block__item:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .03); }
.topics-block__item span { font-family: var(--head); font-size: 18px; opacity: .5; }
.topics-block__item h3 { font-family: var(--head); font-size: 28px; text-transform: uppercase; letter-spacing: 1px; }
.topics-block__item p { font-size: 16px; line-height: 1.6; opacity: .85; }
.topics-block__cta { margin-top: 80px; }

/* shared section bits */
.section__title, .services__title { font-family: var(--head); font-size: 48px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 60px; }
.subtitle { font-family: var(--head); font-size: 32px; letter-spacing: 2px; text-transform: uppercase; margin: 100px 0 40px; }

/* method */
.method { border-bottom: 1px solid var(--black); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; align-items: start; margin-bottom: 60px; }
.split .section__title { margin-bottom: 0; }
.split__text { display: flex; flex-direction: column; gap: 20px; line-height: 1.7; }
.rows__item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--greige); transition: padding .3s, color .3s; }
.rows__item:last-child { border-bottom: 1px solid var(--greige); }
.rows__item:hover { padding-left: 10px; color: var(--walnut); }
.rows__item > span { font-family: var(--head); font-size: 20px; color: var(--walnut); }
.rows__item h3 { font-family: var(--head); font-size: 28px; }
.rows__item p { font-size: 15px; opacity: .65; line-height: 1.6; margin-top: 4px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--black); padding-top: 24px; }
.steps span { font-family: var(--head); font-size: 36px; color: var(--walnut); }
.steps h4 { font-family: var(--head); font-size: 26px; text-transform: uppercase; letter-spacing: 1px; margin: 8px 0 10px; }
.steps p { font-size: 15px; line-height: 1.6; opacity: .75; }

/* services */
.services { border-bottom: 1px solid var(--black); }
.services__list { display: flex; flex-direction: column; }
.services__item { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; padding: 30px 0; border-top: 1px solid var(--greige); gap: 20px; transition: .3s; }
.services__item:last-child { border-bottom: 1px solid var(--greige); }
.services__item > span { font-family: var(--head); font-size: 20px; color: var(--walnut); }
.services__info h3 { font-family: var(--head); font-size: 30px; }
.services__info p { font-size: 14px; opacity: .6; margin-top: 4px; }
.services__price { font-size: 18px; font-weight: 400; white-space: nowrap; }
.services__item:hover { padding-left: 10px; color: var(--walnut); }
.services__note { font-family: var(--head); font-style: italic; font-size: 26px; text-align: center; margin-top: 70px; }

/* education */
.education { border-bottom: 1px solid var(--black); }
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 70px; }
.cert { border: 1px solid var(--greige); padding: 8px; background: #ecece8; cursor: zoom-in; transition: border-color .3s; }
.cert:hover { border-color: var(--black); }
.cert img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: top; filter: grayscale(.35) sepia(.08); transition: filter .4s; }
.cert:hover img { filter: none; }

/* faq */
.faq__list details { border-top: 1px solid var(--greige); }
.faq__list details:last-child { border-bottom: 1px solid var(--greige); }
.faq__list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 80px 1fr 30px; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--head); font-size: 28px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary span { font-size: 20px; color: var(--walnut); }
.faq__list summary::after { content: '+'; font-family: 'Inter', sans-serif; font-weight: 300; font-size: 24px; text-align: right; transition: transform .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 50px 28px 100px; line-height: 1.7; font-size: 16px; opacity: .75; }

/* contacts */
.contacts { background: var(--black); color: #fff; text-align: center; padding-bottom: 0; }
.contacts__inner { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.contacts__quote { text-transform: uppercase; font-size: 40px; line-height: 1.3; font-weight: 100; }
.contacts .quote__author { margin: 30px 0 50px; }
.quote__contacts { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.quote__contacts a { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: .8; transition: .3s; }
.quote__contacts a:hover { opacity: 1; transform: translateY(-2px); }
.quote__contacts svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }
.contacts__btn { margin-top: 50px; }
.contacts__place { font-family: var(--head); font-size: 18px; letter-spacing: 2px; text-transform: uppercase; opacity: .6; margin-top: 30px; }
.contacts__bottom { margin-top: 80px; padding: 20px; font-size: 12px; opacity: .5; border-top: 1px solid rgba(255, 255, 255, .1); }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; margin: auto; }
.lightbox::backdrop { background: rgba(28, 28, 27, .9); }
.lightbox img { max-width: 94vw; max-height: 88vh; }
.lightbox__close { position: fixed; top: 16px; right: 24px; color: #fff; font-size: 40px; line-height: 1; }

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

/* tablet & mobile */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__btn { display: none; }
}
@media (max-width: 1024px) {
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .container-100 { padding: 0 15px; }
  .logo { font-size: 24px; }
  .header__inner { gap: 12px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 80px 0 0; background: var(--stucco); flex-direction: column;
    align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__link { font-size: 18px; }
  .header.is-open .nav { opacity: 1; pointer-events: auto; }
  .header.is-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
  .header.is-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

  .hero__inner { display: block; position: relative; padding: 0; }
  .hero__image { height: calc(100svh - 80px); min-height: 520px; position: relative; }
  .hero__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 28, 27, .6) 0%, rgba(28, 28, 27, .45) 35%, rgba(28, 28, 27, 0) 75%); }
  .ph--hero small { position: absolute; top: 20px; left: 20px; }
  .hero__content { position: absolute; bottom: 40px; left: 20px; right: 20px; color: #fff; padding: 0; gap: 12px; z-index: 2; }
  .hero__content h1 { font-size: 46px; }
  .hero__content .btn { border-color: #fff; color: #fff; }

  .quote { padding: 70px 20px 90px; }
  .quote__text { font-size: 26px; }
  .arrow { width: 50px; bottom: 15px; right: 15px; }

  .about__inner, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__image { min-height: 420px; }
  .about__title { font-size: 40px; margin-bottom: 24px; }
  .about__text p { font-size: 18px; }
  .text__bottom { margin-top: 30px; }

  .topics-block__grid { grid-template-columns: 1fr; gap: 16px; }
  .topics-block__title, .section__title, .services__title { font-size: 32px; letter-spacing: 2px; }
  .topics-block .quote__author { margin-bottom: 30px; }
  .topics-block__cta { margin-top: 30px; text-align: center; }

  .rows__item { grid-template-columns: 80px 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .subtitle { font-size: 26px; margin-top: 60px; }

  .services__title { margin-bottom: 40px; }
  .services__item { grid-template-columns: 60px 1fr; row-gap: 10px; }
  .services__price { grid-column: 2; }

  .certs { grid-template-columns: repeat(3, 1fr); }
  .faq__list summary { grid-template-columns: 50px 1fr 24px; font-size: 22px; gap: 12px; }
  .faq__list details p { padding: 0 0 24px 62px; }

  .contacts__quote { font-size: 24px; }
  .quote__contacts { gap: 22px; }
  .contacts__bottom { margin-top: 50px; }
}
@media (max-width: 600px) {
  .logo { font-size: 21px; letter-spacing: .5px; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .rows__item { grid-template-columns: 70px 1fr; }
  .rows__item > span { font-size: 16px; }
  .quote__contacts { flex-direction: column; align-items: center; gap: 16px; }
  .btn { text-align: center; }
}

/* ---- content v2 additions ---- */
.hero__hello { font-family: var(--head); font-style: italic; font-size: 22px; color: var(--walnut); }
.quote__text { font-size: clamp(30px, 3.4vw, 44px); }
.about__title { font-size: clamp(40px, 4.4vw, 60px); }
.text__title { font-family: var(--head); font-size: 26px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.facts li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--greige); font-size: 16px; line-height: 1.6; }
.facts li:last-child { border-bottom: 1px solid var(--greige); }
.facts li::before { content: '—'; position: absolute; left: 0; color: var(--walnut); }

.topics-block__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topics-block__item h3 { font-size: 24px; }
.topics-block__note { font-family: var(--head); font-style: italic; font-size: 24px; margin-top: 50px; opacity: .85; }
.topics-block__cta { margin-top: 40px; }

.limits { border-bottom: 1px solid var(--black); }
.limits__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 60px; }
.limits__list li { position: relative; padding: 20px 0 20px 34px; border-top: 1px solid var(--greige); font-size: 17px; line-height: 1.55; }
.limits__list li::before { content: '×'; position: absolute; left: 4px; top: 17px; font-size: 20px; color: var(--walnut); }
.limits__list li:last-child { grid-column: 1 / -1; border-bottom: 1px solid var(--greige); }

.split--method { margin: 110px 0 40px; }
.split--method .subtitle { margin: 0; }
.steps h4 { font-size: 22px; }

.services__price { font-family: var(--head); font-size: 26px; }
.services__rule { margin-top: 50px; font-size: 16px; line-height: 1.7; max-width: 760px; }
.services__rule strong { font-weight: 500; }
.faq__list details p + p { margin-top: -12px; }

@media (max-width: 1024px) {
  .topics-block__grid { grid-template-columns: 1fr; gap: 16px; }
  .limits__list { grid-template-columns: 1fr; }
  .limits__list li:nth-last-child(2) { border-bottom: 0; }
  .split--method { margin-top: 70px; }
  .hero__hello { font-size: 18px; color: #fff; opacity: .85; }
  .about__title { font-size: 36px; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .topics-block__grid { grid-template-columns: repeat(2, 1fr); }
}

/* photos */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--hero { object-position: center 18%; filter: contrast(1.03) brightness(.97); }
.photo--about { object-position: center 85%; }
.topics-block::before {
  background: url("assets/photos/myroslava-sm.jpg") center 25% / cover no-repeat;
  opacity: .35;
}
.topics-block::after { content: ''; position: absolute; inset: 0; background: rgba(28, 28, 27, .78); }
@media (max-width: 1024px) {
  .photo--hero { object-position: center 12%; }
  .about__image { height: 480px; min-height: 0; }
}
@media (max-width: 600px) {
  .hero__hello { display: none; }
  .hero__content { bottom: 28px; gap: 10px; }
  .hero__content h1 { font-size: 40px; margin-bottom: 8px; }
  .hero__content .text { font-size: 15px; line-height: 1.5; }
  .hero__image::after { background: linear-gradient(to top, rgba(28, 28, 27, .78) 0%, rgba(28, 28, 27, .55) 45%, rgba(28, 28, 27, 0) 70%); }
}
