:root {
  --ivory: #f4efe7;
  --ivory-soft: #faf7f1;
  --stone: #e8ded3;
  --stone-deep: #d8c9bc;
  --sage: #87927f;
  --sage-deep: #66705f;
  --terracotta: #c6533f;
  --terracotta-dark: #9f3f31;
  --graphite: #2f302d;
  --muted: #686963;
  --line: rgba(47, 48, 45, 0.18);
  --line-strong: rgba(47, 48, 45, 0.34);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 56px));
  --section-space: clamp(78px, 8vw, 124px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { margin-bottom: 28px; font-size: 56px; line-height: .98; }
h3 { line-height: 1.05; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.page-shell { width: var(--shell); margin-inline: auto; }
.section-block { padding-block: var(--section-space); }
.section-kicker {
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--graphite);
  color: var(--ivory-soft);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { width: 198px; flex: none; }
.brand img { width: 100%; height: auto; }
.header-tools { display: flex; align-items: center; gap: 24px; }
.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.language-switch [aria-current="page"] { color: var(--terracotta); }
.language-switch a, .language-switch [aria-current="page"] { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform .25s var(--ease), opacity .2s ease;
}
.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(6px); }
.mobile-nav-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.mobile-nav-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg) translateY(-1px); }
.mobile-navigation { display: none; }

.hero { position: relative; padding: 44px 0 48px; }
.hero-layout {
  display: grid;
  grid-template-columns: 112px minmax(330px, 410px) minmax(380px, 1fr);
  grid-template-areas:
    "nav portrait heading"
    "nav portrait body";
  gap: 28px clamp(38px, 5vw, 76px);
  align-items: center;
  min-height: 650px;
}
.side-navigation {
  grid-area: nav;
  align-self: stretch;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 19px;
  padding-left: 20px;
}
.side-navigation::before {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 0;
  width: 1px;
  background: var(--line-strong);
  content: "";
}
.side-navigation::after {
  position: absolute;
  top: var(--nav-progress, 9%);
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
  transition: top .45s var(--ease);
}
.side-navigation a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: baseline;
  min-height: 24px;
  color: #555750;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .015em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.side-navigation b { color: var(--terracotta); font-size: 12px; font-weight: 600; }
.side-navigation a.is-active, .side-navigation a:hover { color: var(--graphite); }
.hero-heading { grid-area: heading; align-self: end; min-width: 0; max-width: 590px; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 68px;
  line-height: .92;
}
.hero h1 span { display: block; }
.hero-portrait {
  grid-area: portrait;
  align-self: center;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  background: #e6d8ca;
  clip-path: inset(0 0 100% 0 round 50% 50% 0 0 / 20% 20% 0 0);
  transition: clip-path 1.1s var(--ease);
}
.hero-portrait::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(47, 48, 45, .12);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  pointer-events: none;
  content: "";
}
.hero-portrait::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-shadow: inset 0 -34px 48px rgba(68, 53, 43, .08);
  pointer-events: none;
  content: "";
}
.hero-portrait.is-visible { clip-path: inset(0 0 0 0 round 50% 50% 0 0 / 20% 20% 0 0); }
.hero-portrait picture { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; }
.hero-portrait img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero-body { grid-area: body; align-self: start; min-width: 0; max-width: 570px; }
.hero-intro { margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--terracotta);
  border-radius: 2px;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button-filled { background: var(--terracotta); color: white; }
.button-filled:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
}
.text-link::after { content: "→"; color: var(--terracotta); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.trust-strip { border-block: 1px solid var(--line); background: var(--ivory-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.trust-grid p {
  min-height: 86px;
  display: grid;
  place-items: center;
  margin: 0;
  border-left: 1px solid var(--line);
  padding: 13px 10px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.05;
  text-align: center;
}
.trust-grid p:last-child { border-right: 1px solid var(--line); }

.support-needs { background: var(--ivory-soft); }
.section-heading-row {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(320px, 1.25fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading-row h2, .section-heading-row p { margin-bottom: 0; }
.section-heading-row p { max-width: 620px; color: var(--muted); }
.needs-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.need-item {
  min-height: 170px;
  padding: 24px 22px 28px;
  border-left: 1px solid var(--line);
}
.need-item:nth-child(4n+1) { border-left: 0; }
.need-item:nth-child(n+5) { border-top: 1px solid var(--line); }
.need-number { display: block; margin-bottom: 26px; color: var(--terracotta); font-family: var(--serif); font-size: 28px; }
.need-item p { max-width: 210px; margin: 0; font-size: 14px; line-height: 1.5; }

.topics-section { background: var(--stone); }
.topics-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 76px; align-items: start; }
.topics-intro { position: sticky; top: 36px; }
.topics-intro p { max-width: 360px; color: var(--muted); }
.topics-list { border-top: 1px solid var(--line-strong); }
.topic-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}
.topic-row h3 { margin: 0; font-size: 27px; }
.topic-row p { margin: 0; color: var(--muted); font-size: 14px; }

.about-section { background: var(--ivory); }
.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(460px, 1.12fr);
  grid-template-areas:
    "portrait heading"
    "portrait copy";
  gap: 22px 88px;
  align-items: start;
}
.about-heading { grid-area: heading; }
.about-heading h2 { max-width: 690px; margin-bottom: 8px; }
.about-portrait { grid-area: portrait; position: sticky; top: 30px; margin: 0; }
.about-portrait picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 48% 48% 2px 2px / 14% 14% 2px 2px; background: var(--stone); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-portrait figcaption { margin-top: 13px; color: var(--muted); font-size: 12px; }
.about-copy { grid-area: copy; }
.about-copy > p { max-width: 680px; color: var(--muted); font-size: 16px; }
.approach-list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.approach-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.approach-list li::before { content: "↗"; color: var(--terracotta); }
.editorial-quote { margin: 42px 0 0; border-top: 1px solid var(--line-strong); padding: 30px 0 0; }
.editorial-quote mark { display: block; margin-bottom: 8px; background: none; color: var(--terracotta); font-family: var(--serif); font-size: 76px; line-height: .5; }
.editorial-quote p { max-width: 560px; margin-bottom: 18px; color: var(--sage-deep); font-family: var(--serif); font-size: 34px; font-style: italic; line-height: 1.12; }
.editorial-quote footer { font-size: 12px; }

.education-section { background: var(--ivory-soft); }
.education-layout { display: grid; grid-template-columns: minmax(300px, 470px) 1fr; gap: 88px; align-items: center; }
.diploma-frame { margin: 0; }
.diploma-frame a { display: block; padding: 22px; border: 1px solid var(--line); background: var(--ivory); box-shadow: 0 2px 3px rgba(47,48,45,.08), 0 16px 36px rgba(73,61,52,.10), 0 40px 70px rgba(73,61,52,.07); }
.diploma-frame img { width: 100%; max-height: 520px; object-fit: contain; }
.diploma-frame figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.education-copy { max-width: 520px; }
.education-copy .degree { margin: 4px 0 10px; color: var(--terracotta); font-family: var(--serif); font-size: 36px; line-height: 1; }
.education-copy .year { display: inline-block; margin-top: 14px; border-top: 1px solid var(--line-strong); padding-top: 10px; font-weight: 600; }

.process-section { background: var(--ivory); }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin: 54px 0 0; padding: 0; list-style: none; }
.process-timeline::before { position: absolute; top: 12px; right: 0; left: 0; height: 1px; background: var(--line-strong); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.process-timeline.is-visible::before { transform: scaleX(1); }
.process-step { position: relative; padding-top: 48px; }
.process-step::before { position: absolute; top: 8px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); content: ""; }
.process-step span { color: var(--terracotta); font-family: var(--serif); font-size: 24px; }
.process-step h3 { margin: 8px 0 9px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.principles-section { padding-block: 92px; background: var(--sage); color: var(--ivory-soft); }
.principles-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 78px; }
.principles-layout .section-kicker { color: var(--ivory-soft); opacity: .9; }
.principles-intro p { max-width: 430px; color: rgba(255,255,255,.9); }
.principles-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.36); }
.principles-list li { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.principles-list strong { font-weight: 600; }
.principles-list span { color: rgba(255,255,255,.88); }

.faq-section { background: var(--ivory-soft); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 22px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--terracotta); font-family: var(--serif); font-size: 24px; transition: transform .25s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-answer > p { min-height: 0; overflow: hidden; margin: 0; color: var(--muted); }
.faq-list details[open] .faq-answer { grid-template-rows: 1fr; }
.faq-list details[open] .faq-answer > p { padding: 0 44px 20px 0; }

.notes-section { background: var(--ivory); }
.notes-header { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 46px; }
.notes-header h2 { margin-bottom: 0; }
.notes-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 0; border-block: 1px solid var(--line-strong); }
.note-featured { min-height: 530px; display: grid; grid-template-rows: 1fr auto; border-right: 1px solid var(--line-strong); }
.note-image { position: relative; overflow: hidden; min-height: 220px; background: var(--stone); }
.note-image picture, .note-image img { width: 100%; height: 100%; }
.note-image img { object-fit: cover; transition: transform .7s var(--ease); }
.note-featured .note-image img { object-position: 0 center; }
.note-card:nth-child(1) .note-image img { object-position: 34% center; }
.note-card:nth-child(2) .note-image img { object-position: 68% center; }
.note-card:nth-child(3) .note-image img { object-position: 100% center; }
.note-featured:hover .note-image img, .note-card:hover .note-image img, .note-featured:focus-within .note-image img, .note-card:focus-within .note-image img { transform: scale(1.035); }
.note-copy { padding: 28px 30px 32px; }
.note-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 13px; color: var(--terracotta); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.note-copy h3 { margin: 0; font-size: 35px; }
.note-copy h3 a { display: inline-block; min-height: 44px; padding-block: 5px; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .3s ease; }
.note-copy h3 a:hover, .note-copy h3 a:focus-visible { text-decoration-color: var(--terracotta); }
.notes-compact { display: grid; grid-template-rows: repeat(3, 1fr); }
.note-card { display: grid; grid-template-columns: 150px 1fr; min-height: 176px; border-bottom: 1px solid var(--line); }
.note-card:last-child { border-bottom: 0; }
.note-card .note-image { min-height: 0; }
.note-card .note-copy { padding: 20px 22px; }
.note-card .note-copy h3 { font-size: 24px; }

.notes-index-main, .article-main { background: var(--ivory-soft); }
.notes-index-hero, .article-hero { padding: clamp(68px, 8vw, 112px) 0 56px; border-bottom: 1px solid var(--line-strong); }
.notes-index-hero-inner, .article-hero-inner { max-width: 920px; }
.notes-index-hero h1, .article-hero h1 { margin-bottom: 22px; font-size: 72px; line-height: .95; }
.notes-index-hero p, .article-deck { max-width: 720px; color: var(--muted); font-size: 17px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 22px; color: var(--terracotta); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.notes-index-list { padding-block: var(--section-space); }
.notes-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.notes-index-card { min-width: 0; padding: 38px 42px 42px 0; border-bottom: 1px solid var(--line-strong); }
.notes-index-card:nth-child(even) { border-left: 1px solid var(--line-strong); padding-right: 0; padding-left: 42px; }
.notes-index-card h2 { margin-bottom: 16px; font-size: 40px; line-height: 1.02; }
.notes-index-card p:last-child { margin-bottom: 0; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 700px) 220px; justify-content: center; gap: 84px; padding-block: clamp(64px, 8vw, 110px); }
.article-body { min-width: 0; }
.article-body h2 { margin: 54px 0 20px; font-size: 42px; line-height: 1.02; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.85; }
.article-body ul { margin: 0 0 28px; padding-left: 22px; }
.article-body blockquote { margin: 42px 0; border-left: 2px solid var(--terracotta); padding: 10px 0 10px 28px; color: var(--sage-deep); font-family: var(--serif); font-size: 31px; line-height: 1.15; }
.article-aside { align-self: start; position: sticky; top: 28px; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.article-aside p { color: var(--muted); font-size: 13px; }
.article-aside .text-link { margin-top: 8px; }
.article-navigation { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; border-top: 1px solid var(--line-strong); padding-top: 28px; }
.article-navigation a { min-height: 44px; display: inline-flex; align-items: center; color: var(--terracotta); font-weight: 600; }

.contact-section { background: var(--stone); }
.contact-layout { max-width: 1080px; display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 560px); justify-content: center; gap: 72px; align-items: start; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p { max-width: 420px; color: var(--muted); }
.contact-list { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; margin-bottom: 5px; font-size: 12px; }
.contact-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--terracotta); font-family: var(--serif); font-size: 24px; }
button.contact-link { border: 0; padding: 0; background: transparent; }
.contact-link[disabled] { color: var(--muted); cursor: not-allowed; }
.contact-note { margin-top: 24px; border-left: 2px solid var(--terracotta); padding-left: 16px; color: var(--muted); font-size: 12px; }
.contact-form-wrap { width: 100%; max-width: 560px; padding: 30px; border: 1px solid var(--line-strong); background: var(--ivory-soft); }
.contact-form-wrap h3 { margin: 0 0 24px; font-size: 32px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field-full, .form-consent, .form-actions, .form-status { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: white;
  padding: 10px 12px;
  color: var(--graphite);
}
.form-field input, .form-field select { min-height: 44px; }
.form-field textarea { min-height: 112px; resize: vertical; }
.field-error { min-height: 16px; margin: 0; color: #9e352b; font-size: 12px; }
.form-consent { min-height: 44px; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.45; }
.form-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--terracotta); }
.form-actions { display: flex; align-items: center; gap: 16px; }
.form-actions .button { width: auto; }
.form-status { min-height: 20px; margin: 0; color: var(--muted); font-size: 12px; }
.form-status[data-state="success"] { color: var(--sage-deep); }
.form-status[data-state="error"] { color: #9e352b; }
.form-status[data-state="loading"] { color: var(--terracotta-dark); }

.final-cta { padding-block: clamp(74px, 9vw, 120px); background: var(--ivory-soft); text-align: center; }
.final-cta-inner { position: relative; min-height: 260px; display: grid; place-items: center; }
.final-cta-copy { position: relative; z-index: 1; max-width: 850px; }
.final-cta h2 { margin-bottom: 30px; font-size: 67px; }

.site-footer { border-top: 1px solid var(--line); background: var(--ivory); }
.maker-credit { justify-self: end; text-align: right; }
.maker-credit small { display: block; color: var(--muted); }
.maker-credit a { color: var(--terracotta); font-family: var(--serif); font-size: 16px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.need-item[data-reveal], .process-step[data-reveal] { transition-delay: calc(var(--i, 0) * 55ms); }
.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js .hero-portrait { clip-path: none; }

@media (max-width: 1180px) {
  :root { --shell: min(1080px, calc(100% - 48px)); }
  .hero-layout { grid-template-columns: 96px minmax(280px, 350px) minmax(350px, 1fr); gap: 28px 40px; }
  .hero h1 { font-size: 66px; }
  .trust-grid p { font-size: 14px; }
  .contact-layout { gap: 48px; }
}

@media (max-width: 1023px) {
  :root { --shell: min(920px, calc(100% - 40px)); --section-space: 76px; }
  h2 { font-size: 50px; }
  .hero-layout {
    grid-template-columns: minmax(280px, 340px) 1fr;
    grid-template-areas:
      "portrait heading"
      "portrait body";
    min-height: 600px;
    gap: 22px 48px;
  }
  .side-navigation { display: none; }
  .hero h1 { font-size: 60px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid p:nth-child(n+5) { border-top: 1px solid var(--line); }
  .trust-grid p:nth-child(5) { border-left: 0; }
  .trust-grid p:last-child { border-right: 1px solid var(--line); }
  .needs-index { grid-template-columns: repeat(2, 1fr); }
  .need-item:nth-child(4n+1) { border-left: 1px solid var(--line); }
  .need-item:nth-child(2n+1) { border-left: 0; }
  .need-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .topics-layout, .faq-layout { grid-template-columns: .75fr 1.25fr; gap: 48px; }
  .about-layout, .principles-layout { gap: 52px; }
  .education-layout { gap: 56px; }
  .notes-grid { grid-template-columns: 1.1fr .9fr; }
  .note-card { grid-template-columns: 118px 1fr; }
  .contact-layout { grid-template-columns: minmax(280px, 360px) minmax(0, 560px); gap: 48px; }
}

@media (max-width: 800px) {
  :root { --shell: min(720px, calc(100% - 36px)); }
  .site-header, .header-row { min-height: 72px; }
  .brand { width: 174px; }
  .mobile-nav-toggle { display: grid; }
  .mobile-navigation {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-block: 1px solid var(--line);
    background: var(--ivory-soft);
  }
  .mobile-navigation[hidden] { display: none; }
  .mobile-navigation a { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; text-transform: uppercase; }
  .hero { padding-top: 36px; }
  .hero-layout {
    grid-template-columns: minmax(240px, 300px) 1fr;
    grid-template-areas:
      "portrait heading"
      "portrait body";
    min-height: 540px;
    gap: 20px 38px;
  }
  .hero h1 { font-size: 52px; }
  h2 { font-size: 46px; }
  .editorial-quote p { font-size: 35px; }
  .final-cta h2 { font-size: 56px; }
  .hero-intro { font-size: 15px; }
  .section-heading-row { grid-template-columns: 1fr; gap: 18px; }
  .topics-layout, .about-layout, .education-layout, .principles-layout, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .about-layout { grid-template-areas: "heading" "portrait" "copy"; }
  .about-portrait { position: static; width: min(100%, 520px); }
  .topics-layout > *, .about-layout > *, .education-layout > *, .principles-layout > *, .faq-layout > *, .contact-layout > * { min-width: 0; }
  .topics-intro { position: static; }
  .topic-row { grid-template-columns: 170px 1fr; }
  .editorial-quote { padding: 38px 0 20px 44px; }
  .education-layout { max-width: 620px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
  .process-timeline::before { display: none; }
  .process-step { border-top: 1px solid var(--line-strong); padding-top: 28px; }
  .process-step::before { display: none; }
  .principles-list li { grid-template-columns: 160px 1fr; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-featured { min-height: 480px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .note-card { grid-template-columns: 180px 1fr; }
  .contact-layout { width: var(--shell); }
  .contact-form-wrap { max-width: none; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 30px); --section-space: 60px; }
  body { font-size: 15px; }
  h2 { font-size: 42px; }
  .header-row { gap: 12px; }
  .brand { width: min(156px, 45vw); }
  .header-tools { gap: 8px; }
  .hero { padding: 24px 0 34px; }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "portrait"
      "body";
    min-height: 0;
    gap: 24px;
  }
  .hero-heading { align-self: auto; }
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: 50px; line-height: .94; }
  .hero-portrait { width: min(84vw, 330px); aspect-ratio: 4 / 5; justify-self: center; border-radius: 50% 50% 0 0 / 16% 16% 0 0; }
  .hero-body { max-width: none; }
  .hero-intro { margin-bottom: 20px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid p { min-height: 70px; border-top: 1px solid var(--line); border-right: 0; border-left: 1px solid var(--line); font-size: 14px; }
  .trust-grid p:nth-child(odd) { border-left: 0; }
  .trust-grid p:first-child, .trust-grid p:nth-child(2) { border-top: 0; }
  .trust-grid p:last-child { grid-column: 1 / -1; border-right: 0; }
  .needs-index { grid-template-columns: 1fr; }
  .need-item, .need-item:nth-child(4n+1), .need-item:nth-child(2n+1) { min-height: 0; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; border-left: 0; border-top: 1px solid var(--line); padding: 17px 0; }
  .need-item:first-child { border-top: 0; }
  .need-number { margin: 0; font-size: 24px; }
  .need-item p { max-width: none; }
  .topics-layout { gap: 30px; }
  .topic-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .topic-row h3 { font-size: 27px; }
  .about-layout { gap: 28px; }
  .about-portrait { width: min(100%, 390px); justify-self: center; }
  .editorial-quote { margin-top: 30px; padding: 24px 0 0; }
  .editorial-quote p { font-size: 32px; }
  .education-layout { gap: 34px; }
  .diploma-frame { max-width: 340px; justify-self: center; }
  .diploma-frame a { padding: 14px; }
  .process-timeline { grid-template-columns: 1fr; gap: 0; }
  .process-step { padding: 22px 0; }
  .principles-layout { gap: 28px; }
  .principles-list li { grid-template-columns: 1fr; gap: 5px; }
  .faq-layout { gap: 24px; }
  .faq-list summary { min-height: 60px; }
  .notes-header { align-items: start; flex-direction: column; }
  .notes-grid { display: block; }
  .note-featured { min-height: 0; }
  .note-featured .note-image { aspect-ratio: 4 / 3; }
  .notes-compact { display: block; }
  .note-card { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .note-card .note-image { aspect-ratio: 16 / 9; }
  .note-copy, .note-card .note-copy { padding: 22px 0 28px; }
  .note-copy h3, .note-card .note-copy h3 { font-size: 29px; }
  .contact-layout { gap: 32px; }
  .contact-form-wrap { padding: 22px 18px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-full, .form-consent, .form-actions, .form-status { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .form-field textarea { min-height: 110px; }
  .final-cta-inner { min-height: 250px; place-items: start; text-align: left; }
  .final-cta h2 { font-size: 43px; }
  .page-ru #education-title, .page-ru #principles-title { font-size: 38px; }
  .notes-index-hero h1, .article-hero h1 { font-size: 48px; }
  .notes-index-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .notes-index-card, .notes-index-card:nth-child(even) { border-left: 0; padding: 28px 0 32px; }
  .notes-index-card h2 { font-size: 34px; }
  .article-layout { gap: 44px; }
  .article-aside { position: static; }
  .article-body h2 { font-size: 36px; }
  .article-body p, .article-body li { font-size: 16px; }
  .article-navigation { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  h2 { font-size: 38px; }
  .hero h1 { font-size: 44px; }
  .page-ru #education-title, .page-ru #principles-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-portrait { clip-path: none; }
}


.safety-notice {
  grid-column: 1 / -1;
  margin-top: 30px;
  border: 1px solid rgba(198, 83, 63, .32);
  padding: 22px 24px;
  background: rgba(198, 83, 63, .055);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.safety-notice strong { color: var(--graphite); }
@media (max-width: 700px) { .safety-notice { padding: 18px; font-size: 13px; } }


/* Footer + mobile conversion polish V2.2 */
.site-footer { border-top: 1px solid var(--line); background: var(--ivory); }
.footer-main {
  min-height: 108px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding-block: 26px 20px;
}
.footer-brand { width: 124px; align-self: center; }
.footer-brand img { width: 100%; height: auto; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; font-size: 12px; }
.footer-links > a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.footer-meta { justify-self: end; color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 12px 16px; color: var(--muted); font-size: 12px; }
.footer-bottom .maker-credit { display: inline-flex; align-items: baseline; gap: 8px; justify-self: auto; text-align: right; }
.footer-bottom .maker-credit small { display: inline; color: var(--muted); }
.footer-bottom .maker-credit a { color: var(--terracotta); font-family: var(--serif); font-size: 15px; }

.mobile-booking-cta { display: none; }

@media (max-width: 800px) {
  .footer-main { grid-template-columns: 118px minmax(0, 1fr); gap: 18px 28px; padding-block: 24px 16px; }
  .footer-brand { width: 108px; align-self: start; }
  .footer-links { justify-content: flex-start; gap: 0 16px; }
  .footer-meta { grid-column: 2; justify-self: start; text-align: left; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 12px 18px; }

  .mobile-booking-cta {
    position: fixed;
    z-index: 60;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: min(360px, calc(100% - 30px));
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--terracotta);
    border-radius: 2px;
    background: var(--terracotta);
    box-shadow: 0 12px 34px rgba(47, 48, 45, .2);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 30px));
    transition: opacity .22s ease, transform .3s var(--ease), background .2s ease;
  }
  .mobile-booking-cta:not([hidden]) { display: flex; }
  .mobile-booking-cta.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  .mobile-booking-cta:active { background: var(--terracotta-dark); }
}

@media (max-width: 520px) {
  .footer-main { grid-template-columns: 1fr; gap: 12px; }
  .footer-brand { width: 104px; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { grid-column: 1; }
}
