/* Lyadneva theme - design v2 "golden hour" (2026-09-24).
   One sand background for the whole page; colour changes only where a photo or a dark block enters.
   One photo language: the photo dissolves into the background (hero, dark blocks, breaks).
   Source of the design: design/v2/page.html (tools/build_page.py). */

:root {
  --sand: #efe2cf;
  --paper: #faf5ec;
  --ink: #3a2a1c;
  --ink-soft: #7c6a56;
  --amber: #b3721f;
  --amber-deep: #95590f;
  --amber-light: #e0a95c;
  --rule: rgba(58, 42, 28, .14);
  --dark: #2b1f17;
  --dark-deep: #231912;
  --cream: #f3e7d6;
  --pad: clamp(64px, 8vw, 112px);
  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1240px;
  --header-h: 84px;
  --font-display: 'Literata', Georgia, 'Times New Roman', serif;
  --font-text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; }
h3 { font-weight: 400; }
mark.gap { background: #ffe97a; color: #3a2a1c; padding: 0 .2em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--gutter); top: 12px; z-index: 100; background: var(--paper); padding: 8px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.sec { position: relative; padding: var(--pad) var(--gutter); }
.sec--rule::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), calc(100% - 2 * var(--gutter))); height: 1px; background: var(--rule);
}

.eyebrow { font-family: var(--font-text); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 20px; }
.h1 { font-family: var(--font-display); font-weight: 300; margin: 0 0 26px; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1.05; letter-spacing: -.015em; max-width: 12em; text-wrap: balance; }
.h1 em { font-style: italic; font-weight: 300; color: var(--amber); }
.h2 { font-family: var(--font-display); font-weight: 300; margin: 0; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.01em; max-width: 22em; text-wrap: balance; }
.h2 em { font-style: italic; color: var(--amber); }
.lead { margin: 0 0 34px; max-width: 32em; color: var(--ink-soft); font-size: clamp(1.05rem, 1.35vw, 1.28rem); }
.note { margin: 14px 0 0; font-size: .9rem; opacity: .75; }
.small { font-size: .96rem; color: var(--ink-soft); }
.strong { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--small { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: var(--amber-deep); }
.btn--ghost { border: 1px solid rgba(58, 42, 28, .3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  height: var(--header-h);
  padding: 0 var(--gutter);
}
.site-header__in { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); height: 100%; }
.brand {
  margin-right: 0; text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; letter-spacing: -.01em;
}
.brand em { font-style: italic; font-weight: 300; }
.brand b { color: var(--amber); font-weight: 400; }
.nav { margin-right: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink); }
.nav a:hover, .nav a:focus-visible { color: var(--amber-deep); }
.menu-toggle { display: none; margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero__photo { position: absolute; inset: 0 0 0 40%; overflow: hidden; margin: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0 0 0 -4px;
  background:
    linear-gradient(90deg, var(--sand) 0%, var(--sand) 10%, rgba(239, 226, 207, .75) 30%, rgba(239, 226, 207, 0) 60%),
    linear-gradient(0deg, var(--sand) 0%, rgba(239, 226, 207, 0) 18%);
}
.hero__text { position: relative; z-index: 2; grid-column: 1; padding: 130px var(--gutter) 64px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.actions .note { margin: 0; }

/* ---------- screen 2: what people say ---------- */
.notes__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.notes__head { max-width: 26em; margin: 0; }
.notes__top .n1 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); padding-bottom: .12em; }
.notes__field { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px 24px; }
.n { margin: 0; font-family: var(--font-display); font-weight: 300; line-height: 1.25; color: var(--ink); position: relative; padding-left: 22px; }
.n::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); opacity: .85; }
.n2 { grid-column: 1 / 7; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.n3 { grid-column: 8 / 13; font-size: clamp(1.2rem, 1.8vw, 1.6rem); margin-top: 1.4em; }
.n4 { grid-column: 2 / 8; font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-top: .4em; }
.n5 { grid-column: 8 / 12; font-size: clamp(1.15rem, 1.7vw, 1.5rem); margin-top: 1.6em; }
.n6 { grid-column: 1 / 6; font-size: clamp(1.4rem, 2.2vw, 2rem); margin-top: 1em; }
.n7 { grid-column: 6 / 13; font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin-top: .3em; }
.n8 { grid-column: 1 / 13; margin-top: clamp(24px, 3vw, 40px); font-style: italic; color: var(--amber); font-size: clamp(1.15rem, 1.6vw, 1.4rem); padding-left: 0; }
.n8::before { display: none; }
.notes .small { max-width: 38em; margin: clamp(32px, 4vw, 48px) 0 0; }

/* ---------- dark blocks: about (photo left) and booking (photo right) ---------- */
.dark { position: relative; background: var(--dark); color: var(--cream); }
.dark .eyebrow { color: var(--amber-light); }
.dark .h2 { color: var(--cream); margin-bottom: 22px; }
.dark .h2 em { color: var(--amber-light); }
.dark__grid { display: grid; align-items: center; min-height: min(88vh, 820px); }
.dark--l .dark__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.dark--r .dark__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.dark__text { padding: var(--pad) var(--gutter); }
.dark--l .dark__text { padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.dark--r .dark__text { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.dark__text p { margin: 0 0 14px; color: rgba(243, 231, 214, .72); max-width: 32em; }
.dark__text p.strong { color: var(--cream); }
.dark__photo { position: relative; align-self: stretch; margin: 0; min-height: 560px; overflow: hidden; }
.dark__photo img { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); object-fit: cover; object-position: 50% var(--fy, 30%); }
.dark__photo::after { content: ""; position: absolute; inset: 0 -4px; }
.dark--l .dark__photo::after {
  background:
    linear-gradient(270deg, var(--dark) 0%, var(--dark) 6%, rgba(43, 31, 23, .72) 26%, rgba(43, 31, 23, 0) 60%),
    linear-gradient(0deg, var(--dark) 0%, var(--dark) 1.5%, rgba(43, 31, 23, 0) 14%);
}
.dark--r .dark__photo::after {
  background:
    linear-gradient(90deg, var(--dark) 0%, var(--dark) 6%, rgba(43, 31, 23, .72) 26%, rgba(43, 31, 23, 0) 60%),
    linear-gradient(0deg, var(--dark) 0%, var(--dark) 1.5%, rgba(43, 31, 23, 0) 14%);
}
.lines { list-style: none; margin: 28px 0 30px; padding: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.3; }
.lines li { padding: 14px 0; border-top: 1px solid rgba(243, 231, 214, .16); }
.lines li:last-child { border-bottom: 1px solid rgba(243, 231, 214, .16); }
.dark .btn--amber { margin-top: 10px; }
.dark__alt { margin-top: 22px !important; font-size: .96rem; }
.dark__alt a { color: var(--cream); }

/* ---------- screen 4: steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
.step { border-top: 1px solid var(--rule); padding-top: 22px; }
.step i { display: block; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; color: var(--amber); margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-soft); }
.statement { margin: clamp(40px, 6vw, 80px) 0 0; font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.15; color: var(--ink); }

/* ---------- breaks: photo column dissolving into the sand ---------- */
.fade { position: relative; }
.fade__grid { display: grid; align-items: center; min-height: min(88vh, 820px); }
.fade--r .fade__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.fade--l .fade__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.fade__text { padding: var(--pad) var(--gutter); }
.fade--r .fade__text { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.fade--l .fade__text { padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.brk { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.25; letter-spacing: -.01em; margin: 0; max-width: 16em; }
.brk em { font-style: italic; color: var(--amber); }
.fade__photo { position: relative; align-self: stretch; margin: 0; min-height: 560px; overflow: hidden; }
.fade__photo img { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); object-fit: cover; object-position: 50% var(--fy, 50%); }
.fade__photo::after {
  content: ""; position: absolute; inset: 0 -4px;
  background:
    var(--side),
    linear-gradient(0deg, var(--sand) 0%, var(--sand) 2%, rgba(239, 226, 207, 0) 18%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand) 2%, rgba(239, 226, 207, 0) 18%);
}
.fade--r .fade__photo::after { --side: linear-gradient(90deg, var(--sand) 0%, var(--sand) 6%, rgba(239, 226, 207, .72) 26%, rgba(239, 226, 207, 0) 60%); }
.fade--l .fade__photo::after { --side: linear-gradient(270deg, var(--sand) 0%, var(--sand) 6%, rgba(239, 226, 207, .72) 26%, rgba(239, 226, 207, 0) 60%); }

/* ---------- screen 5: methods ---------- */
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
.method { border-top: 1px solid var(--rule); padding-top: 22px; }
.method small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-top: 16px; }
.method h3 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 12px; }
.method p { margin: 0; color: var(--ink-soft); }
.method .langs-note { margin-top: 14px; font-size: .82rem; color: var(--amber); }

/* ---------- screen 6: education ---------- */
.edu { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(36px, 5vw, 64px); }
.diploma, .cert { margin: 0; }
.diploma img, .cert img {
  width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 50px -24px rgba(58, 42, 28, .45);
  filter: saturate(.55) sepia(.18); transition: filter .3s;
}
.diploma:hover img, .cert:hover img { filter: none; }
.diploma figcaption, .cert figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); }
.diploma figcaption b, .cert figcaption b { display: block; color: var(--ink); font-weight: 500; }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.cert--uk::after { content: "UK · RU"; font-size: .7rem; letter-spacing: .1em; color: var(--amber); }

/* ---------- screen 8: FAQ ---------- */
.faq { max-width: 820px; margin: clamp(36px, 5vw, 64px) 0 0; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-weight: 300; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 24px; color: var(--ink-soft); max-width: 44em; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-deep); color: rgba(243, 231, 214, .6); font-size: .9rem; padding: 40px var(--gutter); }
.site-footer__row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.langs { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: .8rem; letter-spacing: .12em; }
.langs a { text-decoration: none; color: rgba(243, 231, 214, .6); }
.langs a:hover { color: var(--cream); }
.langs .is-current a { color: var(--cream); font-weight: 600; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.site-footer__links li + li::before { content: "·"; margin: 0 8px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer__note { max-width: 56em; margin: 16px 0 0; color: rgba(243, 231, 214, .45); }

/* ---------- sticky booking button (phones) ---------- */
.sticky-cta { display: none; }

/* ---------- generic pages and a future blog ---------- */
.entry { padding: calc(var(--header-h) + 48px) var(--gutter) clamp(48px, 7vw, 96px); max-width: 820px; margin: 0 auto; }
.entry h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 0 0 28px; }
.entry h2 { font-size: 1.7rem; margin: 2em 0 .6em; }
.entry h3 { margin: 1.6em 0 .5em; }
.entry a { color: var(--amber-deep); }
.entry-list { list-style: none; padding: 0; margin: 0; }
.entry-list li { border-top: 1px solid var(--rule); padding: 22px 0; }
.entry-list a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 300; text-decoration: none; }

/* ---------- header on narrow screens ---------- */
@media (max-width: 1080px) {
  .site-header .btn { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .25s, background-color .25s;
  }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--sand);
    padding: 28px var(--gutter) 120px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; }
  .menu-open .site-header { background: var(--sand); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav a { display: block; padding: 18px 0; font-family: var(--font-display); font-weight: 300; font-size: 1.7rem; letter-spacing: -.02em; color: var(--ink); }
  .menu-open { overflow: hidden; }
}

/* ---------- phones ---------- */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  /* Phones: the photo takes the top of the screen, the text starts lower, where the fog is
     almost solid (Lex, 2026-09-24: text lower, the button may cross the fold). */
  .hero { display: block; min-height: 0; padding-top: 51vh; }
  .hero__photo { inset: 0 0 auto 0; height: 84vh; }
  .hero__photo img { object-position: 50% 0%; height: calc(100% - 1px); }
  .hero__photo::after {
    background:
      linear-gradient(0deg, var(--sand) 0%, var(--sand) 26%, rgba(239, 226, 207, .85) 40%, rgba(239, 226, 207, 0) 58%),
      linear-gradient(180deg, rgba(239, 226, 207, .7) 0%, rgba(239, 226, 207, 0) 14%);
  }
  .hero__text { padding: 0 20px 32px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--ink); }
  .h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); margin-bottom: 14px; font-weight: 400; }
  .h1 em { font-weight: 400; color: var(--amber-deep); }
  .lead { font-size: .98rem; margin-bottom: 18px; }
  .hero .btn { width: 100%; }
  .actions .note { font-size: .84rem; width: 100%; text-align: center; }

  .notes__field { display: block; }
  .notes__top { grid-template-columns: 1fr; gap: 18px; align-items: start; margin-bottom: 0; }
  .notes__top .n1 { padding-bottom: 0; }
  .n { margin: 0 0 18px !important; font-size: 1.25rem !important; }
  .n1, .n4 { font-size: 1.5rem !important; }

  .dark--l .dark__grid, .dark--r .dark__grid { grid-template-columns: 1fr; min-height: 0; }
  .dark__photo { order: -1; min-height: 0; height: 105vw; aspect-ratio: 4 / 4.2; }
  .dark--l .dark__photo::after, .dark--r .dark__photo::after {
    background: linear-gradient(0deg, var(--dark) 0%, var(--dark) 2%, rgba(43, 31, 23, .65) 24%, rgba(43, 31, 23, 0) 52%);
  }
  .dark--l .dark__text, .dark--r .dark__text { padding: 8px 20px 56px; }
  .dark .btn { width: 100%; }

  .fade--r .fade__grid, .fade--l .fade__grid { grid-template-columns: 1fr; min-height: 0; }
  .fade__photo { order: -1; min-height: 0; height: 115vw; aspect-ratio: 4 / 4.6; }
  .fade__photo::after {
    background:
      linear-gradient(0deg, var(--sand) 0%, var(--sand) 2%, rgba(239, 226, 207, .65) 24%, rgba(239, 226, 207, 0) 52%),
      linear-gradient(180deg, var(--sand) 0%, var(--sand) 2%, rgba(239, 226, 207, 0) 12%);
  }
  .fade--r .fade__text, .fade--l .fade__text { padding: 8px 20px 48px; }
  .brk-sun .fade__photo img { object-position: 50% 0; }

  .steps, .methods, .edu { grid-template-columns: 1fr; gap: 28px; }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    transform: translateY(140%); transition: transform .3s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(43, 31, 23, .25); }
  .site-footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta, .nav, .menu-toggle span, .diploma img, .cert img { transition: none; }
}
