/* ==========================================================================
   Piano Art Academy — style.css
   1. Fonts          6. Header / navigation
   2. Tokens         7. Sections
   3. Reset          8. Forms
   4. Utilities      9. Footer
   5. Buttons       10. Adaptive
   ========================================================================== */

/* 1. Fonts ================================================================= */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* 2. Tokens ================================================================ */
:root {
  /* colour */
  --color-ink:          #1c1917;
  --color-ink-soft:     #3d362e;
  --color-muted:        #6b6259;
  --color-muted-light:  #9a9086;
  --color-bg:           #fdfbf8;
  --color-surface:      #f6f0e7;
  --color-surface-deep: #efe5d6;
  --color-dark:         #1c1917;
  --color-dark-soft:    #262019;
  --color-cream:        #f7f1e6;
  --color-gold:         #9a7b4f;
  --color-gold-bright:  #c6a76f;
  --color-gold-soft:    rgba(154, 123, 79, 0.12);
  --color-line:         rgba(28, 25, 23, 0.12);
  --color-line-soft:    rgba(28, 25, 23, 0.07);
  --color-line-light:   rgba(247, 241, 230, 0.18);

  /* type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --size-display: clamp(2.75rem, 1.4rem + 5.6vw, 6.25rem);
  --size-h2:      clamp(2rem, 1.15rem + 3.1vw, 3.75rem);
  --size-h3:      clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  --size-lead:    clamp(1.0625rem, 0.99rem + 0.34vw, 1.3125rem);
  --size-body:    clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --size-small:   0.9375rem;
  --size-eyebrow: 0.75rem;

  /* space */
  --space-section: clamp(4.5rem, 2.5rem + 7vw, 9.5rem);
  --space-gap:     clamp(1.5rem, 0.9rem + 2.4vw, 3.5rem);
  --container:     78rem;
  --container-pad: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);

  /* other */
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(28, 25, 23, 0.05);
  --shadow:    0 18px 44px -22px rgba(28, 25, 23, 0.28);
  --shadow-lg: 0 40px 90px -46px rgba(28, 25, 23, 0.45);
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration:  0.45s;
  --header-h:  clamp(66px, 5vw, 88px);
}

/* 3. Reset ================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, picture, svg, video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

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

::selection {
  background-color: var(--color-gold);
  color: var(--color-cream);
}

/* 4. Utilities ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-ink);
  color: var(--color-cream);
  font-size: var(--size-small);
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible { transform: translateY(0); }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--color-gold);
  font-size: var(--size-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--color-gold-bright); }

.section__title {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section__title--light { color: var(--color-cream); }

.section__lead {
  margin-top: 1.25rem;
  color: var(--color-muted);
  font-size: var(--size-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.section__header { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

.section__header--center {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

/* 5. Buttons =============================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.875rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button--primary {
  background-color: var(--color-ink);
  color: var(--color-cream);
  box-shadow: 0 12px 26px -16px rgba(28, 25, 23, 0.85);
}

.button--primary:hover {
  background-color: var(--color-gold);
  box-shadow: 0 16px 32px -14px rgba(154, 123, 79, 0.75);
}

.button--gold {
  background-color: var(--color-gold-bright);
  color: var(--color-ink);
}

.button--gold:hover { background-color: var(--color-cream); }

.button--ghost {
  border-color: rgba(247, 241, 230, 0.45);
  color: var(--color-cream);
  backdrop-filter: blur(6px);
}

.button--ghost:hover {
  border-color: var(--color-cream);
  background-color: rgba(247, 241, 230, 0.12);
}

.button--outline {
  border-color: var(--color-line);
  color: var(--color-ink);
}

.button--outline:hover {
  border-color: var(--color-ink);
  background-color: var(--color-ink);
  color: var(--color-cream);
}

.button--large { padding: 1.125rem 2.375rem; }

.button--compact {
  padding: 0.625rem 1.1875rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.button__icon {
  width: 1.0625rem;
  height: 1.0625rem;
  transition: transform 0.3s var(--ease);
}

.button:hover .button__icon:not(.button__icon--left) { transform: translateX(4px); }

/* 6. Header ================================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  max-width: 88rem;
  min-height: var(--header-h);
}

.header--scrolled {
  background-color: rgba(253, 251, 248, 0.88);
  border-bottom-color: var(--color-line-soft);
  box-shadow: 0 1px 30px -12px rgba(28, 25, 23, 0.22);
  backdrop-filter: blur(14px) saturate(1.4);
}

.header__menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
}

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-gold);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}

.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }

.logo__svg { width: 100%; height: 100%; }

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.logo__sub {
  color: var(--color-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.logo--light .logo__name { color: var(--color-cream); }
.logo--light .logo__sub { color: rgba(247, 241, 230, 0.6); }
.logo--light .logo__mark { color: var(--color-gold-bright); }

/* nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.625rem, 1.25vw, 1.375rem);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.375rem 0;
  color: var(--color-ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover { color: var(--color-gold); }

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link--active { color: var(--color-gold); }

/* language switcher */
.lang__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem;
  border: 1px solid var(--color-line);
  border-radius: 100px;
}

.lang__link {
  display: inline-block;
  padding: 0.3125rem 0.5625rem;
  border-radius: 100px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lang__link:hover { color: var(--color-ink); }

.lang__link--active {
  background-color: var(--color-ink);
  color: var(--color-cream);
}

/* burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem;
  margin-right: -0.625rem;
}

.burger__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(28, 25, 23, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.backdrop.is-visible { opacity: 1; }

/* Шапка поверх тёмного первого экрана — светлый вариант */
.header--transparent .logo__name,
.header--transparent .nav__link { color: var(--color-cream); }

.header--transparent .logo__sub { color: rgba(247, 241, 230, 0.55); }

.header--transparent .logo__mark { color: var(--color-gold-bright); }

.header--transparent .nav__link:hover,
.header--transparent .nav__link--active { color: var(--color-gold-bright); }

.header--transparent .nav__link::after { background-color: var(--color-gold-bright); }

.header--transparent .lang__list { border-color: rgba(247, 241, 230, 0.3); }

.header--transparent .lang__link { color: rgba(247, 241, 230, 0.68); }

.header--transparent .lang__link:hover { color: var(--color-cream); }

.header--transparent .lang__link--active {
  background-color: var(--color-cream);
  color: var(--color-ink);
}

.header--transparent .header__cta {
  background-color: var(--color-cream);
  color: var(--color-ink);
  box-shadow: none;
}

.header--transparent .header__cta:hover {
  background-color: var(--color-gold-bright);
  color: var(--color-ink);
}

.header--transparent .burger__bar { background-color: var(--color-cream); }

/* 7. Sections ============================================================== */

/* --- hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(38rem, 92vh, 56rem);
  padding-block: calc(var(--header-h) + 4rem) clamp(4rem, 8vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(20, 17, 15, 0.92) 0%, rgba(20, 17, 15, 0.55) 42%, rgba(20, 17, 15, 0.2) 72%, rgba(20, 17, 15, 0.35) 100%),
    linear-gradient(to right, rgba(20, 17, 15, 0.6) 0%, rgba(20, 17, 15, 0) 62%);
}

.hero__inner {
  position: relative;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  margin: 0;
  font-weight: 400;
}

.hero__brand {
  color: var(--color-gold-bright);
  font-family: var(--font-body);
  font-size: clamp(0.6875rem, 0.6rem + 0.35vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.hero__tagline {
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 52rem;
  margin-top: clamp(1.25rem, 2vw, 1.875rem);
  color: rgba(247, 241, 230, 0.82);
  font-size: var(--size-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__teacher {
  margin-top: 1.125rem;
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-style: italic;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.hero__chip {
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(247, 241, 230, 0.28);
  border-radius: 100px;
  color: rgba(247, 241, 230, 0.9);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}

.hero__actions .button--primary {
  background-color: var(--color-cream);
  color: var(--color-ink);
}

.hero__actions .button--primary:hover {
  background-color: var(--color-gold-bright);
  color: var(--color-ink);
}

.hero__scroll {
  position: absolute;
  right: var(--container-pad);
  bottom: clamp(1.5rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(247, 241, 230, 0.6);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transition: color 0.3s var(--ease);
}

.hero__scroll:hover { color: var(--color-gold-bright); }

.hero__scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scroll-pulse 2.4s var(--ease) infinite;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50%      { opacity: 1;    transform: scaleY(1); }
}

/* --- motto -------------------------------------------------------------- */
.motto {
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  background-color: var(--color-dark);
  color: var(--color-cream);
}

.motto__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 2.75rem);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: center;
}

.motto__word { position: relative; }

.motto__word:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: clamp(-1.35rem, -0.7vw - 0.7rem, -0.4rem);
  color: var(--color-gold);
}

.motto__word:last-child { color: var(--color-gold-bright); }

/* --- philosophy --------------------------------------------------------- */
.philosophy { padding-block: var(--space-section); }

.philosophy__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5.5rem);
  align-items: center;
}

.philosophy__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.philosophy__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 241, 230, 0.14);
  border-radius: inherit;
  pointer-events: none;
}

.philosophy__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.philosophy__text {
  margin-top: 1.5rem;
  color: var(--color-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.philosophy__text:first-of-type {
  margin-top: 1.75rem;
  color: var(--color-ink-soft);
  font-size: var(--size-lead);
}

.philosophy__points {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
  padding-top: clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid var(--color-line);
}

.philosophy__point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.philosophy__point-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-gold-soft);
  color: var(--color-gold);
}

.philosophy__point-body { display: block; }

.philosophy__point-title {
  display: block;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.philosophy__point-text {
  display: block;
  margin-top: 0.125rem;
  color: var(--color-muted);
  font-size: var(--size-small);
  line-height: 1.6;
}

/* --- two ways ----------------------------------------------------------- */
.ways {
  padding-block: var(--space-section);
  background-color: var(--color-surface);
}

.ways__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.25rem, 0.5rem + 2.4vw, 2.5rem);
}

.ways__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.ways__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ways__media { overflow: hidden; }

.ways__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.ways__card:hover .ways__image { transform: scale(1.04); }

.ways__body {
  flex: 1;
  padding: clamp(1.5rem, 0.9rem + 2vw, 2.75rem);
}

.ways__number {
  margin-bottom: 0.75rem;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.12em;
}

.ways__title {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: 500;
  line-height: 1.15;
}

.ways__tags {
  margin-top: 0.75rem;
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.6;
}

.ways__text {
  margin-top: 1.125rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.ways__plus {
  align-self: center;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 2.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
}

.ways__note {
  max-width: 48rem;
  margin: clamp(2.5rem, 4vw, 4rem) auto 0;
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

/* --- church ------------------------------------------------------------- */
.church {
  position: relative;
  padding-block: clamp(5rem, 3rem + 7vw, 10rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--color-cream);
}

.church__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.church__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.church::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(20, 17, 15, 0.96) 0%, rgba(20, 17, 15, 0.9) 45%, rgba(20, 17, 15, 0.66) 100%);
}

.church__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}

.church__lead {
  margin-top: 1.75rem;
  font-size: var(--size-lead);
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.92);
  text-wrap: pretty;
}

.church__text {
  margin-top: 1.25rem;
  color: rgba(247, 241, 230, 0.68);
  line-height: 1.75;
  text-wrap: pretty;
}

.church__items {
  display: grid;
  gap: 0.75rem;
}

.church__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  background-color: rgba(247, 241, 230, 0.05);
  backdrop-filter: blur(4px);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.church__item:hover {
  background-color: rgba(247, 241, 230, 0.1);
  transform: translateX(6px);
}

.church__item-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-gold-bright);
}

.church__item-text {
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* --- lessons ------------------------------------------------------------ */
.lessons { padding-block: var(--space-section); }

.lessons__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  box-shadow: var(--shadow);
}

.lessons__main-media { position: relative; }

.lessons__main-image {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.lessons__main-body {
  padding: clamp(1.75rem, 1rem + 2.6vw, 3.5rem);
  align-self: center;
}

.lessons__kicker {
  margin-bottom: 0.875rem;
  color: var(--color-gold);
  font-size: var(--size-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lessons__main-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lessons__main-text {
  margin-top: 1.125rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.lessons__list {
  display: grid;
  gap: 0.75rem;
  margin-block: 1.75rem;
}

.lessons__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--size-small);
  line-height: 1.5;
}

.lessons__check {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1875rem;
  color: var(--color-gold);
}

.lessons__extra {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
  margin-top: clamp(2.5rem, 4vw, 4.5rem);
  padding-top: clamp(2.5rem, 4vw, 4.5rem);
  border-top: 1px solid var(--color-line);
}

.lessons__extra-title {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: 400;
  line-height: 1.2;
}

.lessons__extra-lead {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: var(--size-small);
  line-height: 1.6;
}

.lessons__extra-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.lessons__extra-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lessons__extra-item:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold-soft);
  transform: translateY(-2px);
}

.lessons__extra-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--color-gold);
}

.lessons__extra-name {
  font-size: var(--size-small);
  font-weight: 500;
}

/* --- method ------------------------------------------------------------- */
.method {
  padding-block: var(--space-section);
  background-color: var(--color-dark);
  color: var(--color-cream);
}

.method__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  align-items: center;
}

.method__title { font-style: italic; }

.method__lead {
  margin-top: 1.5rem;
  color: rgba(247, 241, 230, 0.9);
  font-size: var(--size-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.method__text {
  margin-top: 1.125rem;
  color: rgba(247, 241, 230, 0.62);
  line-height: 1.75;
  text-wrap: pretty;
}

.method__formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-block: 2rem;
}

.method__formats-title {
  width: 100%;
  margin-bottom: 0.25rem;
  color: var(--color-gold-bright);
  font-size: var(--size-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.method__format {
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--color-line-light);
  border-radius: 100px;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
}

.method__note {
  margin-top: 1.25rem;
  color: rgba(247, 241, 230, 0.55);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.method__devices {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.method__devices-image {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.method__levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 0.5rem + 2.4vw, 2.5rem);
  margin-top: clamp(3rem, 5vw, 5.5rem);
  counter-reset: level;
}

.method__level {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius-lg);
  background-color: rgba(247, 241, 230, 0.04);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.method__level:hover {
  border-color: rgba(198, 167, 111, 0.5);
  background-color: rgba(247, 241, 230, 0.07);
  transform: translateY(-6px);
}

.method__level-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.method__level-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(198, 167, 111, 0.5);
  border-radius: 100px;
  background-color: rgba(28, 25, 23, 0.65);
  color: var(--color-gold-bright);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
}

.method__level--soon .method__level-image { opacity: 0.45; }

.method__level--soon:hover { transform: none; }

.method__level-image {
  width: 100%;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.method__level:hover .method__level-image { transform: scale(1.035); }

.method__level-badge {
  margin-top: 1.5rem;
  color: var(--color-gold-bright);
  font-size: var(--size-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.method__level-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.method__level-text {
  margin-top: 0.75rem;
  color: rgba(247, 241, 230, 0.6);
  font-size: var(--size-small);
  line-height: 1.65;
}

/* --- about -------------------------------------------------------------- */
.about { padding-block: var(--space-section); }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}

.about__media { position: relative; }

.about__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 24rem;
  margin: -3.5rem auto 0;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  background-color: var(--color-bg);
  box-shadow: var(--shadow);
  position: relative;
}

.about__stat {
  text-align: center;
  padding-inline: 0.25rem;
}

.about__stat + .about__stat { border-left: 1px solid var(--color-line); }

.about__stat-value {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.1;
}

.about__stat-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.about__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.125rem;
}

.about__role {
  position: relative;
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about__role:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -0.75rem;
  color: var(--color-muted-light);
}

.about__text {
  margin-top: 1.5rem;
  color: var(--color-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.about__text:first-of-type {
  color: var(--color-ink-soft);
  font-size: var(--size-lead);
}

.about__text em,
.about__more-text em {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.1em;
  font-style: italic;
}

.about__more {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.about__more-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}

.about__more-summary::-webkit-details-marker { display: none; }
.about__more-summary:hover { color: var(--color-ink); }

.about__more-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.35s var(--ease);
}

.about__more[open] .about__more-icon { transform: rotate(180deg); }

.about__more-text {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: var(--size-small);
  line-height: 1.75;
}

/* --- gallery ------------------------------------------------------------ */
.gallery {
  padding-block: var(--space-section);
  background-color: var(--color-surface);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.4rem + 1.2vw, 1.25rem);
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-surface-deep);
}

.gallery__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.05);
  filter: brightness(1.04);
}

/* --- testimonials ------------------------------------------------------- */
.testimonials { padding-block: var(--space-section); }

.testimonials__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.testimonials__controls {
  display: flex;
  gap: 0.625rem;
  flex: none;
}

.testimonials__arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.testimonials__arrow:hover {
  border-color: var(--color-ink);
  background-color: var(--color-ink);
  color: var(--color-cream);
}

.testimonials__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background-color: transparent;
  border-color: var(--color-line);
  color: var(--color-ink);
}

.testimonials__arrow-icon--prev { transform: rotate(180deg); }

.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--space-gap)) / 3);
  gap: var(--space-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  margin-inline: calc(var(--container-pad) * -1);
  padding-inline: var(--container-pad);
}

.testimonials__track::-webkit-scrollbar { display: none; }

.testimonials__item { scroll-snap-align: start; }

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonial:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.testimonial__quote-icon {
  display: block;
  color: var(--color-gold);
  opacity: 0.35;
}

.testimonial__quote-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.testimonial__text {
  flex: 1;
  margin: 1.25rem 0 0;
  color: var(--color-ink-soft);
  line-height: 1.7;
  text-wrap: pretty;
}

.testimonial__text em {
  font-family: var(--font-display);
  font-size: 1.12em;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line-soft);
}

.testimonial__initials {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.testimonial__name {
  display: block;
  font-weight: 600;
  font-size: var(--size-small);
}

.testimonial__role {
  display: block;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

/* --- waitlist ----------------------------------------------------------- */
.waitlist {
  padding-block: var(--space-section);
  background-color: var(--color-dark);
  color: var(--color-cream);
}

.waitlist__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  align-items: start;
}

.waitlist__lead {
  margin-top: 1.5rem;
  color: rgba(247, 241, 230, 0.75);
  font-size: var(--size-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

.waitlist__benefits {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
  padding-top: clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid var(--color-line-light);
}

.waitlist__benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.waitlist__benefit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(198, 167, 111, 0.14);
  color: var(--color-gold-bright);
}

.waitlist__benefit-title {
  display: block;
  font-size: var(--size-small);
  font-weight: 600;
}

.waitlist__benefit-text {
  display: block;
  margin-top: 0.125rem;
  color: rgba(247, 241, 230, 0.55);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.waitlist__success:not([hidden]) {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem);
  border: 1px solid rgba(198, 167, 111, 0.35);
  border-radius: var(--radius-lg);
  background-color: rgba(247, 241, 230, 0.05);
  text-align: center;
}

.waitlist__success-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background-color: var(--color-gold-bright);
  color: var(--color-dark);
}

.waitlist__success-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 400;
  line-height: 1.2;
}

.waitlist__success-text {
  margin-top: 1rem;
  color: rgba(247, 241, 230, 0.65);
  line-height: 1.7;
}

/* 8. Forms ================================================================= */
.form {
  padding: clamp(1.5rem, 1rem + 2.4vw, 3rem);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius-lg);
  background-color: rgba(247, 241, 230, 0.04);
}

.form__row { display: grid; gap: 1.25rem; }

.form__row--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.form__row--split:has(.form__field--narrow) {
  grid-template-columns: minmax(0, 1fr) 8rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.form__row .form__field { margin-bottom: 0; }
.form__row { margin-bottom: 1.25rem; }

.form__label {
  display: block;
  padding: 0;
  color: rgba(247, 241, 230, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.form__req { color: var(--color-gold-bright); }

.form__hint {
  color: rgba(247, 241, 230, 0.4);
  font-weight: 400;
}

.form__input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius-sm);
  background-color: rgba(28, 25, 23, 0.35);
  color: var(--color-cream);
  font-size: var(--size-small);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.form__input::placeholder { color: rgba(247, 241, 230, 0.3); }

.form__input:hover { border-color: rgba(247, 241, 230, 0.32); }

.form__input:focus {
  outline: none;
  border-color: var(--color-gold-bright);
  background-color: rgba(28, 25, 23, 0.55);
  box-shadow: 0 0 0 3px rgba(198, 167, 111, 0.16);
}

.form__input--textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.6;
}

.form__input[aria-invalid="true"] {
  border-color: #d98a72;
  box-shadow: 0 0 0 3px rgba(217, 138, 114, 0.16);
}

.form__select { position: relative; display: block; }

.form__select select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.form__select select option { color: #1c1917; }

.form__select-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.125rem;
  height: 1.125rem;
  color: rgba(247, 241, 230, 0.5);
  transform: translateY(-50%);
  pointer-events: none;
}

.form__fieldset {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.form__fieldset .form__label { margin-bottom: 0.625rem; }

.form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.form__error {
  display: none;
  color: #e0a08a;
  font-size: 0.75rem;
  line-height: 1.4;
}

.form__error.is-visible { display: block; }

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.75rem;
}

.form__submit { min-width: 13rem; }

.form__submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.form__privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 241, 230, 0.45);
  font-size: 0.75rem;
  line-height: 1.5;
}

.form__privacy-icon {
  flex: none;
  width: 0.9375rem;
  height: 0.9375rem;
  color: var(--color-gold-bright);
}

.form__message {
  margin-top: 1.25rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-sm);
  font-size: var(--size-small);
  line-height: 1.5;
}

.form__message--error {
  border: 1px solid rgba(217, 138, 114, 0.4);
  background-color: rgba(217, 138, 114, 0.1);
  color: #e8b3a1;
}

/* choices (radio / checkbox) */
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
}

.choice__input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--color-gold-bright);
  cursor: pointer;
}

.choice__label {
  color: rgba(247, 241, 230, 0.8);
  font-size: var(--size-small);
  line-height: 1.5;
}

.form__choices .choice {
  padding: 0.6875rem 1.125rem;
  border: 1px solid var(--color-line-light);
  border-radius: 100px;
  background-color: rgba(28, 25, 23, 0.35);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.form__choices .choice:hover { border-color: rgba(247, 241, 230, 0.35); }

.form__choices .choice:has(.choice__input:checked) {
  border-color: var(--color-gold-bright);
  background-color: rgba(198, 167, 111, 0.14);
}

.choice--consent {
  align-items: flex-start;
  margin-top: 0.5rem;
}

.choice--consent .choice__input { margin-top: 0.1875rem; }

.choice--consent .choice__label {
  color: rgba(247, 241, 230, 0.55);
  font-size: 0.8125rem;
}

/* --- instagram ---------------------------------------------------------- */
.instagram { padding-block: var(--space-section); }

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.625rem, 0.35rem + 1vw, 1rem);
}

.instagram__item { grid-column: span 1; }

.instagram__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.instagram__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.instagram__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: rgba(28, 25, 23, 0.5);
  color: var(--color-cream);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.instagram__link:hover .instagram__image { transform: scale(1.06); }
.instagram__link:hover .instagram__overlay,
.instagram__link:focus-visible .instagram__overlay { opacity: 1; }

.instagram__icon { width: 1.75rem; height: 1.75rem; }

.instagram__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2rem, 3vw, 3rem);
}

.instagram__handle {
  color: var(--color-muted);
  font-size: var(--size-small);
  letter-spacing: 0.06em;
}

/* --- faq ---------------------------------------------------------------- */
.faq {
  padding-block: var(--space-section);
  background-color: var(--color-surface);
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.faq__header {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__item[open] {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem clamp(1.125rem, 0.8rem + 1vw, 1.75rem);
  font-size: var(--size-body);
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}

.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--color-gold); }

.faq__icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-gold);
  transition: transform 0.35s var(--ease);
}

.faq__item[open] .faq__icon { transform: rotate(180deg); }

.faq__answer {
  padding: 0 clamp(1.125rem, 0.8rem + 1vw, 1.75rem) 1.5rem;
  color: var(--color-muted);
  font-size: var(--size-small);
  line-height: 1.75;
  text-wrap: pretty;
}

.faq__answer em {
  font-family: var(--font-display);
  font-size: 1.1em;
  font-style: italic;
  color: var(--color-ink-soft);
}

/* --- contact ------------------------------------------------------------ */
.contact { padding-block: var(--space-section); }

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.contact__lead {
  margin-block: 1.5rem 2rem;
  color: var(--color-muted);
  font-size: var(--size-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

.contact__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.contact__item:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold-soft);
}

.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-gold);
}

.contact__body { display: block; min-width: 0; }

.contact__label {
  display: block;
  color: var(--color-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__value {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: color 0.25s var(--ease);
}

a.contact__value:hover { color: var(--color-gold); }

/* --- страница документа (политика конфиденциальности) ------------------- */
.page--doc { background-color: var(--color-bg); }

/* Внутренняя страница: шапка сразу на светлом фоне */
.page--doc .header { background-color: var(--color-bg); }

.doc {
  padding-block: calc(var(--header-h) + clamp(2.5rem, 5vw, 5rem)) var(--space-section);
}

.doc__inner { max-width: 48rem; }

.doc__header {
  padding-bottom: clamp(2rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid var(--color-line);
}

.doc__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.doc__lead {
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: var(--size-lead);
  line-height: 1.65;
  text-wrap: pretty;
}

.doc__section + .doc__section { margin-top: clamp(2rem, 3vw, 3rem); }

.doc__heading {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

.doc__number {
  flex: none;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
}

.doc__text {
  color: var(--color-ink-soft);
  line-height: 1.75;
  text-wrap: pretty;
}

.doc__text + .doc__text { margin-top: 1rem; }

.doc__list {
  display: grid;
  gap: 0.625rem;
  margin-block: 1rem;
  padding-left: 0.25rem;
}

.doc__list-item {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.doc__list-item::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0.25rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold);
}

/* Подсветка мест, которые нужно заполнить перед публикацией */
.doc__fill {
  padding: 0.1em 0.4em;
  border-radius: 4px;
  background-color: #fdf0c8;
  box-shadow: inset 0 0 0 1px rgba(154, 123, 79, 0.45);
  color: var(--color-ink);
  font-size: 0.9375em;
}

.doc__footer {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--color-line);
}

.choice__link {
  color: var(--color-gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s var(--ease);
}

.choice__link:hover { color: var(--color-cream); }

/* 9. Footer ================================================================ */
.footer {
  padding-top: clamp(3.5rem, 2rem + 4vw, 6rem);
  background-color: var(--color-dark);
  color: rgba(247, 241, 230, 0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.footer__tagline {
  max-width: 26rem;
  margin-top: 1.5rem;
  color: rgba(247, 241, 230, 0.55);
  font-size: var(--size-small);
  line-height: 1.7;
}

.footer__motto {
  margin-top: 1.25rem;
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.footer__heading {
  margin-bottom: 1.125rem;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__heading--spaced { margin-top: 2rem; }

.footer__list { display: grid; gap: 0.625rem; }

.footer__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer__link {
  color: rgba(247, 241, 230, 0.62);
  font-size: var(--size-small);
  transition: color 0.25s var(--ease);
}

.footer__link:hover { color: var(--color-gold-bright); }

.footer__link--active { color: var(--color-cream); }

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-line-light);
  border-radius: 50%;
  color: rgba(247, 241, 230, 0.7);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.footer__social-link:hover {
  border-color: var(--color-gold-bright);
  background-color: var(--color-gold-bright);
  color: var(--color-dark);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-line-light);
}

.footer__copy {
  color: rgba(247, 241, 230, 0.4);
  font-size: 0.8125rem;
}

.footer__top {
  color: rgba(247, 241, 230, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.footer__top:hover { color: var(--color-gold-bright); }

/* Scroll reveal ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.ways__card[data-reveal]:nth-child(3),
.method__level[data-reveal]:nth-child(2),
.gallery__item[data-reveal]:nth-child(3n + 2),
.instagram__item[data-reveal]:nth-child(3n + 2),
.faq__item[data-reveal]:nth-child(2n) { transition-delay: 0.1s; }

.method__level[data-reveal]:nth-child(3),
.gallery__item[data-reveal]:nth-child(3n),
.instagram__item[data-reveal]:nth-child(3n) { transition-delay: 0.2s; }

/* 10. Adaptive ============================================================= */

/* ≤ 1240px — tighten the header before it runs out of room */
@media (max-width: 77.5em) {
  .nav__list { gap: 1rem; }
  .nav__link { font-size: 0.8125rem; }
  .logo__sub { display: none; }
}

/* ≤ 1180px — off-canvas menu */
@media (max-width: 73.75em) {
  .burger { display: flex; }

  .header__menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 95;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.5rem;
    width: min(22rem, 86vw);
    padding: calc(var(--header-h) + 2.5rem) 2rem 2.5rem;
    background-color: var(--color-bg);
    box-shadow: -30px 0 60px -30px rgba(28, 25, 23, 0.4);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s var(--ease);
  }

  .header__menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav { width: 100%; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item + .nav__item { border-top: 1px solid var(--color-line-soft); }

  .nav__link {
    display: block;
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
  }

  .nav__link::after { display: none; }

  .header__tools {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
  }

  .lang__list { justify-content: center; }

  .header__cta {
    width: 100%;
    padding-block: 0.9375rem;
    font-size: var(--size-small);
  }

  /* Панель светлая — возвращаем тёмный текст, даже поверх первого экрана */
  .header--transparent .header__menu .nav__link { color: var(--color-ink-soft); }

  .header--transparent .header__menu .nav__link:hover,
  .header--transparent .header__menu .nav__link--active { color: var(--color-gold); }

  .header--transparent .header__menu .lang__list { border-color: var(--color-line); }

  .header--transparent .header__menu .lang__link { color: var(--color-muted); }

  .header--transparent .header__menu .lang__link--active {
    background-color: var(--color-ink);
    color: var(--color-cream);
  }

  .header--transparent .header__menu .header__cta {
    background-color: var(--color-ink);
    color: var(--color-cream);
  }

  .header--transparent .burger[aria-expanded="true"] .burger__bar {
    background-color: var(--color-ink);
  }
}

/* ≤ 1024px — layout eases from three columns to two */
@media (max-width: 64em) {
  .testimonials__track {
    grid-auto-columns: calc((100% - var(--space-gap)) / 2);
  }

  .lessons__extra { grid-template-columns: minmax(0, 1fr); }

  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .footer__brand { grid-column: 1 / -1; }
}

/* ≤ 900px — two columns collapse to one */
@media (max-width: 56.25em) {
  .philosophy__inner,
  .church__inner,
  .about__inner,
  .contact__inner,
  .faq__inner,
  .method__top,
  .waitlist__inner,
  .lessons__main {
    grid-template-columns: minmax(0, 1fr);
  }

  .philosophy__media { order: -1; }
  .philosophy__image { aspect-ratio: 16 / 10; }

  .faq__header { position: static; }

  .ways__grid { grid-template-columns: minmax(0, 1fr); }
  .ways__plus { padding-block: 0.5rem; }

  .method__devices { order: -1; }

  .about__image { aspect-ratio: 3 / 2; }
  .about__stats { margin-top: -2.5rem; }

  .lessons__main-image { min-height: 16rem; aspect-ratio: 16 / 9; }

  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero { min-height: 40rem; }
}

/* ≤ 680px — phones */
@media (max-width: 42.5em) {
  :root { --header-h: 62px; }

  .hero {
    align-items: flex-end;
    min-height: 36rem;
    padding-block: calc(var(--header-h) + 3rem) 4.5rem;
  }

  .hero__image { object-position: 50% 35%; }
  .hero__scroll { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; }

  .motto__text { gap: 0.5rem 1.5rem; }
  .motto__word:not(:last-child)::after { right: -0.9rem; }

  .testimonials__track { grid-auto-columns: 88%; }
  .testimonials__header { align-items: flex-start; flex-direction: column; }

  .instagram__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .contact__list { grid-template-columns: minmax(0, 1fr); }

  .form__row--split,
  .form__row--split:has(.form__field--narrow) {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__footer { flex-direction: column; align-items: stretch; }
  .form__submit { width: 100%; }
  .form__privacy { justify-content: center; }

  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ≤ 460px — small phones */
@media (max-width: 28.75em) {

  .about__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: -1.5rem;
  }

  .about__stat + .about__stat {
    border-left: 0;
    border-top: 1px solid var(--color-line);
    padding-top: 0.75rem;
  }

  .logo__name { font-size: 1.125rem; }
  .logo__mark { width: 2.125rem; height: 2.125rem; }

  .church__item { padding: 1rem 1.125rem; }

  .testimonials__track { grid-auto-columns: 92%; }
}

/* Motion & print =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .hero__image { animation: none; }
}

@media print {
  .header,
  .burger,
  .backdrop,
  .hero__scroll,
  .footer__top,
  .testimonials__controls { display: none !important; }

  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1; transform: none; }
  .faq__answer { display: block; }
}
