
:root {
    --bg-dark: #2a1b12;
    --bg-dark-2: #3b271b;
    --paper: #efe0ba;
    --paper-soft: #f6ead0;
    --paper-deep: #e3cf9f;
    --paper-line: rgba(109, 70, 35, 0.25);
    --ink: #34251d;
    --ink-soft: #5f4c3e;
    --accent: #7d2c27;
    --accent-soft: #a86d4d;
    --accent-dark: #4b241a;
    --shadow: 0 18px 50px rgba(29, 16, 9, 0.28);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-wrapper {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.07), transparent 30%),
        linear-gradient(180deg, #443024 0%, #2f1f16 100%);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.site-canvas { padding: 112px 0 20px; }
.page-shell {
    width: min(1480px, calc(100% - 24px));
    margin: 0 auto;
    background:
        linear-gradient(90deg, rgba(77,48,28,0.22) 0, rgba(255,255,255,0.02) 2.6%, rgba(255,255,255,0.02) 97.4%, rgba(77,48,28,0.22) 100%),
        linear-gradient(180deg, #f1e4bf 0%, #e9d7aa 100%);
    border: 1px solid rgba(86, 53, 31, 0.50);
    border-radius: 14px;
    box-shadow: 0 32px 80px rgba(18, 9, 4, 0.4), inset 0 0 0 4px rgba(120, 84, 51, 0.10);
    overflow: visible;
    position: relative;
}
.page-shell::before,
.page-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16px;
    background: linear-gradient(180deg, rgba(88, 54, 31, 0.55), rgba(116, 78, 47, 0.25), rgba(88, 54, 31, 0.55));
    opacity: 0.55;
    pointer-events: none;
}
.page-shell::before { left: 0; }
.page-shell::after { right: 0; }

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1480px, calc(100% - 24px));
    z-index: 140;
    background: rgba(239, 224, 186, 0.72);
    border-bottom: 1px solid rgba(102, 67, 39, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 26px rgba(29, 16, 9, 0.10);
}
.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    position: relative;
    display: grid;
    place-items: center;
    color: var(--accent);
    border: 2px solid rgba(125, 44, 39, 0.45);
    background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.12));
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.28);
    font-size: 1.7rem;
    font-weight: 700;
}
.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 9px 11px;
    border: 1px solid rgba(125,44,39,0.24);
    border-radius: 14px;
}
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-text strong {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: 0.02em;
    color: var(--accent-dark);
}
.brand-text small {
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.site-nav a {
    position: relative;
    font-size: 1.05rem;
    color: var(--ink);
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: rgba(125,44,39,0.45);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(125,44,39,0.28);
    background: rgba(255,255,255,0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.phone-badge-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(125,44,39,0.30);
    color: var(--accent);
    font-size: 1.05rem;
}
.phone-badge strong { display: block; font-size: 1rem; }
.phone-badge small { display: block; color: var(--ink-soft); font-size: 0.8rem; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.menu-toggle span {
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-dark);
}

.section-paper,
.section {
    position: relative;
    padding: 26px 0;
}
.section + .section { border-top: 1px solid rgba(102,67,39,0.18); }
.section-paper::before,
.section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102,67,39,0.18), transparent);
}

.hero-book {
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.32), transparent 55%),
        linear-gradient(90deg, rgba(255,255,255,0.22) 49.3%, rgba(117,79,45,0.18) 50%, rgba(255,255,255,0.22) 50.7%),
        linear-gradient(180deg, var(--paper-soft), var(--paper));
    border: 1px solid rgba(102,67,39,0.18);
    border-radius: var(--radius-xl);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), var(--shadow);
    padding: 38px 34px;
    position: relative;
}
.hero-book::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, rgba(125,44,39,0.05), rgba(125,44,39,0.22), rgba(125,44,39,0.05));
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 34px;
    align-items: start;
}
.hero-copy,
.hero-visual { position: relative; z-index: 1; }

.hero-copy {
    overflow: hidden;
    padding-right: 8px;
}
.hero-badge,
.section-tag,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(125,44,39,0.22);
    background: rgba(255,255,255,0.22);
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hero-copy h1 {
    margin: 20px 0 12px;
    font-size: clamp(2.55rem, 5vw, 5rem);
    line-height: 0.94;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--accent-dark);
    max-width: 12.4ch;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-copy h1.is-long-title {
    font-size: clamp(1.9rem, 3.85vw, 3.45rem);
    line-height: 0.98;
    max-width: 15.8ch;
    letter-spacing: 0.01em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-copy h1.is-very-long-title {
    font-size: clamp(1.5rem, 2.95vw, 2.55rem);
    line-height: 1.03;
    max-width: 17.5ch;
    letter-spacing: 0.01em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}
.hero-subtitle {
    font-size: clamp(1.2rem, 1.9vw, 1.9rem);
    color: #2b3441;
    font-style: italic;
    margin: 0;
    max-width: 24ch;
    text-wrap: balance;
}
.ornament {
    width: 220px;
    max-width: 100%;
    height: 16px;
    margin: 18px 0 20px;
    position: relative;
}
.ornament::before,
.ornament::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 44%;
    height: 1px;
    background: rgba(125,44,39,0.40);
}
.ornament::before { left: 0; }
.ornament::after { right: 0; }
.ornament { background: radial-gradient(circle, rgba(125,44,39,0.60) 0 2px, transparent 3px); background-position: center; background-repeat: no-repeat; }
.hero-text,
.program-card p,
.paper-card p,
.contact-list span,
.module-placeholder span,
.footer-grid p,
.content-area p,
.content-area li,
.content-area td,
.content-area th,
.content-area blockquote {
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 1.05rem;
}
.hero-actions,
.cta-actions,
.messenger-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hero-actions { margin-top: 26px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(93,52,30,0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
    background: linear-gradient(180deg, #8e342e, #6d2623);
    color: #fff6ea;
    box-shadow: 0 12px 22px rgba(109,38,35,0.22);
}
.button-secondary {
    background: rgba(255,255,255,0.3);
    color: var(--accent-dark);
}
.quote-block {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 3px solid rgba(125,44,39,0.35);
    background: rgba(255,255,255,0.20);
    border-radius: 0 14px 14px 0;
    max-width: 560px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.quote-block p { margin: 0; font-style: italic; color: var(--ink); }

.illustration-stage {
    min-height: 420px;
    position: relative;
    border-radius: 24px;
    background:
        radial-gradient(circle at 78% 25%, rgba(255,255,255,0.65), transparent 18%),
        linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)),
        linear-gradient(180deg, #ecdcb8, #e6d3a6);
    border: 1px solid rgba(102,67,39,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
    overflow: hidden;
    padding: 28px;
}
.illustration-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 0 78%, rgba(117,79,45,0.14) 78% 80%, transparent 80%),
        radial-gradient(circle at 82% 28%, rgba(125,44,39,0.08) 0 55px, transparent 56px);
    pointer-events: none;
}
.book-stack {
    position: absolute;
    left: 24px;
    bottom: 50px;
    display: grid;
    gap: 8px;
    width: 180px;
}
.book-spine {
    display: block;
    min-height: 58px;
    border-radius: 8px;
    padding: 10px 14px;
    color: #f8edd6;
    font-size: 1.15rem;
    line-height: 1.1;
    box-shadow: 0 10px 18px rgba(33,18,8,0.18);
    border: 1px solid rgba(255,255,255,0.16);
    text-transform: uppercase;
}
.spine-blue { background: linear-gradient(180deg, #33455c, #233346); }
.spine-red { background: linear-gradient(180deg, #8e3d31, #6f2e24); }
.spine-ink { background: linear-gradient(180deg, #2c3341, #202730); }
.open-book-card {
    position: absolute;
    right: 52px;
    bottom: 60px;
    width: min(100%, 350px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(180deg, #f7edda, #ead9b2);
    border-radius: 18px;
    box-shadow: 0 20px 32px rgba(33,18,8,0.16);
    border: 1px solid rgba(102,67,39,0.18);
    overflow: hidden;
    transform: rotate(2deg);
}
.open-page {
    min-height: 230px;
    padding: 22px 18px;
    position: relative;
}
.open-page + .open-page {
    border-left: 1px solid rgba(102,67,39,0.14);
    background: linear-gradient(90deg, rgba(117,79,45,0.06), transparent 12%), #efdfba;
}
.page-caption,
.sketch-title {
    display: block;
    color: var(--ink-soft);
    font-style: italic;
    margin-bottom: 14px;
}
.open-page strong {
    display: block;
    font-size: 2rem;
    color: var(--accent-dark);
    line-height: 1.02;
    margin-bottom: 10px;
}
.open-page small { color: var(--ink-soft); font-size: 0.95rem; }
.page-sketch::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(125,44,39,0.12), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
    border: 1px dashed rgba(125,44,39,0.28);
}
.globe-mark {
    position: absolute;
    top: 44px;
    right: 36px;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 2px solid rgba(125,44,39,0.22);
    color: rgba(125,44,39,0.76);
    font-size: 1.55rem;
    font-weight: 700;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.75), rgba(255,255,255,0.18));
}
.floating-note {
    position: absolute;
    padding: 12px 14px;
    background: rgba(251,244,226,0.86);
    border: 1px solid rgba(125,44,39,0.16);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(33,18,8,0.10);
    font-style: italic;
    color: var(--accent-dark);
}
.note-one { top: 110px; left: 34px; transform: rotate(-4deg); }
.note-two { top: 150px; right: 140px; transform: rotate(6deg); }

.hero-info-card,
.paper-card,
.program-card,
.module-placeholder,
.content-area,
.sidebar,
.breadcrumbs-wrap {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.36), rgba(255,255,255,0.08)),
        linear-gradient(180deg, var(--paper-soft), var(--paper));
    border: 1px solid rgba(102,67,39,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), var(--shadow);
    border-radius: 20px;
}
.hero-info-card { margin-top: 20px; padding: 22px; }
.info-row + .info-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(102,67,39,0.14);
}
.info-row strong,
.contact-list strong,
.program-card h3,
.content-area h1,
.content-area h2,
.content-area h3,
.inner-page h1,
.inner-page h2,
.inner-page h3 {
    display: block;
    color: var(--accent-dark);
}
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.section-head.center { text-align: center; align-items: center; }
.section-head h2,
.paper-card h2 {
    margin: 4px 0 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.06;
    color: var(--accent-dark);
}

.book-cards,
.benefits-grid,
.footer-grid,
.contact-grid,
.inner-layout,
.details-grid,
.enrollment-grid,
.mini-feature-row {
    display: grid;
    gap: 18px;
}
.program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.program-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125,44,39,0.07), transparent 40%);
    pointer-events: none;
}
.program-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    border: 1px solid rgba(125,44,39,0.22);
    background: rgba(255,255,255,0.35);
    margin-bottom: 18px;
}
.program-card h3 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    line-height: 1.1;
}
.text-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    font-weight: 700;
}

.details-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(280px, 0.7fr);
    align-items: start;
}
.paper-card { padding: 26px; }
.mini-feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.mini-feature-row div {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.26);
    border: 1px solid rgba(102,67,39,0.12);
}
.mini-feature-row strong { display: block; margin-bottom: 6px; color: var(--accent-dark); }
.mini-feature-row span { color: var(--ink-soft); font-size: 0.96rem; }

.benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.benefits-grid article {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.20);
    border: 1px dashed rgba(125,44,39,0.18);
}
.benefits-grid strong { font-size: 1.1rem; margin-bottom: 8px; }
.contact-list { display: grid; gap: 12px; margin-top: 16px; }
.contact-list article {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(102,67,39,0.12);
}
.contact-list span { display: block; margin-bottom: 6px; font-size: 0.94rem; }
.contact-list strong { font-size: 1.02rem; }
.contact-list.compact { margin-top: 14px; }

.enrollment-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    align-items: start;
}
.form-panel,
.contact-panel { min-height: 100%; }
.messenger-links { margin-top: 16px; }
.messenger-links a {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(125,44,39,0.20);
    background: rgba(255,255,255,0.26);
    font-weight: 700;
    color: var(--accent-dark);
}
.module-slot { margin-top: 18px; }
.module-placeholder {
    display: grid;
    gap: 10px;
    min-height: 180px;
    place-content: center;
    text-align: center;
    padding: 20px;
}
.module-placeholder strong,
.map-placeholder strong { color: var(--accent-dark); font-size: 1.2rem; }
.map-wrap { margin-top: 18px; }
.map-embed iframe,
.map-placeholder {
    width: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 20px;
}
.map-placeholder {
    display: grid;
    place-content: center;
    text-align: center;
}

.site-footer {
    padding: 26px 0 34px;
    background: linear-gradient(180deg, rgba(52,37,29,0.06), rgba(52,37,29,0.10));
    border-top: 1px solid rgba(102,67,39,0.18);
}
.footer-grid {
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
    align-items: start;
    padding-bottom: 18px;
}
.footer-grid strong { font-size: 1.25rem; color: var(--accent-dark); }
.footer-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(102,67,39,0.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--ink-soft);
}

.inner-shell { min-height: 100vh; }
.inner-page { padding: 30px 0 44px; }
.breadcrumbs-wrap { margin-bottom: 18px; padding: 18px 22px; }
.inner-layout { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 220px); align-items: start; }
.content-area,
.sidebar { padding: 24px; }
.content-area { min-height: 320px; }
.content-area a { color: var(--accent); }
.sidebar:empty,
.breadcrumbs-wrap:empty,
.header-cta:empty { display: none; }

@media (max-width: 1180px) {
    .hero-grid,
    .details-grid,
    .enrollment-grid,
    .footer-grid,
    .inner-layout {
        grid-template-columns: 1fr;
    }
    .hero-book::after { display: none; }
    .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-inner { flex-wrap: wrap; justify-content: center; padding: 14px 0; }
}

@media (max-width: 860px) {
    .container { width: min(var(--container), calc(100% - 24px)); }
    .site-nav {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
        border-radius: 18px;
        background: rgba(245, 234, 207, 0.98);
        border: 1px solid rgba(102,67,39,0.18);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .menu-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .hero-book { padding: 26px 20px; }
    .illustration-stage { min-height: 360px; padding: 18px; }
    .open-book-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-left: auto;
        margin-top: 95px;
        width: 100%;
        max-width: 310px;
    }
    .book-stack { left: 18px; bottom: 20px; width: 140px; }
    .globe-mark { width: 78px; height: 78px; top: 18px; right: 18px; font-size: 1.2rem; }
    .note-two { right: 70px; }
    .program-grid,
    .benefits-grid,
    .mini-feature-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .site-canvas { padding: 96px 0 10px; }
    .page-shell { width: min(1480px, calc(100% - 8px)); }
    .site-header { width: min(1480px, calc(100% - 8px)); }
    .hero-copy h1 { font-size: 2.3rem; max-width: none; }
    .hero-copy h1.is-long-title { font-size: 1.9rem; max-width: none; }
    .hero-copy h1.is-very-long-title { font-size: 1.55rem; max-width: none; }
    .hero-subtitle { font-size: 1.18rem; }
    .button,
    .messenger-links a { width: 100%; }
    .hero-actions,
    .messenger-links { flex-direction: column; }
    .book-stack { position: relative; left: auto; bottom: auto; width: 100%; max-width: 180px; }
    .illustration-stage { min-height: auto; display: grid; gap: 18px; }
    .open-book-card { margin: 0; max-width: none; }
    .floating-note { display: none; }
    .program-grid { grid-template-columns: 1fr; }
    .phone-badge { width: 100%; justify-content: center; }
}


/* v1.1.2 lower section balance fixes */
.details-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.16fr) minmax(300px, 0.82fr);
}

.details-grid .paper-card h2 {
    font-size: clamp(1.85rem, 2.45vw, 2.7rem);
    line-height: 1.04;
    text-wrap: balance;
    overflow-wrap: anywhere;
    max-width: 12ch;
}

.about-panel h2 {
    max-width: 11ch;
}

.contact-mini-panel h2 {
    font-size: clamp(1.7rem, 2.1vw, 2.35rem);
    max-width: 8ch;
}

.contact-mini-panel .contact-list strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.contact-mini-panel .contact-list article {
    padding: 13px 15px;
}

.benefits-panel .benefits-grid article {
    min-height: 180px;
}

@media (max-width: 1180px) {
    .details-grid .paper-card h2,
    .about-panel h2,
    .contact-mini-panel h2 {
        max-width: none;
    }
}

@media (max-width: 860px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    .details-grid .paper-card h2 {
        font-size: clamp(1.8rem, 5vw, 2.3rem);
    }
}


@media (max-width: 860px) {
    .site-canvas {
        padding-top: 102px;
    }

    .site-header {
        width: min(1480px, calc(100% - 24px));
    }
}


@media (min-width: 861px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(1480px, calc(100% - 24px)) !important;
        z-index: 9999 !important;
    }

    .site-canvas {
        padding-top: 112px !important;
    }
}


/* v1.1.6 semi-transparent header */
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
    pointer-events: none;
}

.site-header .header-inner,
.site-header .brand,
.site-header .site-nav,
.site-header .header-cta {
    position: relative;
    z-index: 1;
}

.phone-badge {
    background: rgba(255, 248, 235, 0.42);
}

@media (max-width: 560px) {
    .site-header {
        background: rgba(239, 224, 186, 0.78);
    }
}


/* v1.1.7 narrower mobile header */
@media (max-width: 860px) {
    .site-header {
        width: calc(100% - 28px) !important;
        max-width: 720px;
        border-radius: 0 0 22px 22px;
    }

    .header-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 560px) {
    .site-header {
        width: calc(100% - 32px) !important;
        border-radius: 0 0 20px 20px;
    }

    .site-canvas {
        padding-top: 98px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .brand-text strong {
        font-size: 0.98rem;
    }

    .brand-text small {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }
}


/* v1.1.8 refined mobile layout */
@media (max-width: 860px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .page-shell {
        border-radius: 18px;
    }

    .page-shell::before,
    .page-shell::after {
        width: 8px;
        opacity: 0.32;
    }

    .site-canvas {
        padding-top: 104px;
    }

    .site-header {
        width: calc(100% - 28px) !important;
        max-width: 720px;
        border-radius: 0 0 22px 22px;
    }

    .header-inner {
        min-height: 74px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 12px 12px 14px;
    }

    .brand {
        min-width: 0;
        gap: 10px;
    }

    .brand-mark {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 1.45rem;
        flex: 0 0 auto;
    }

    .brand-mark::before,
    .brand-mark::after {
        inset: 8px 10px;
        border-radius: 12px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text strong {
        font-size: clamp(1rem, 4.8vw, 1.35rem);
        line-height: 1.02;
    }

    .brand-text small {
        font-size: 0.72rem;
        line-height: 1.15;
        letter-spacing: 0.03em;
    }

    .header-cta {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 14px;
        border: 1px solid rgba(125,44,39,0.18);
        background: rgba(255,255,255,0.22);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
    }

    .menu-toggle span {
        width: 20px;
    }

    .site-nav {
        left: 8px;
        right: 8px;
        top: calc(100% + 8px);
        gap: 10px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(245, 234, 207, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .site-nav a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255,255,255,0.2);
        font-size: 0.98rem;
        line-height: 1.2;
    }

    .site-nav a::after {
        display: none;
    }

    .section-paper,
    .section {
        padding: 18px 0;
    }

    .hero-book {
        padding: 20px 16px;
        border-radius: 22px;
        background: linear-gradient(180deg, var(--paper-soft), var(--paper));
    }

    .hero-book::after {
        display: none !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-badge,
    .section-tag,
    .eyebrow {
        min-height: 32px;
        padding: 0 12px;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 0.97;
        max-width: none !important;
        margin: 16px 0 10px;
        letter-spacing: 0.01em;
        text-wrap: pretty;
    }

    .hero-copy h1.is-long-title {
        font-size: clamp(1.78rem, 7vw, 2.45rem) !important;
    }

    .hero-copy h1.is-very-long-title {
        font-size: clamp(1.54rem, 6vw, 2rem) !important;
        line-height: 1.01;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4.8vw, 1.32rem);
        max-width: none;
    }

    .ornament {
        width: 100%;
        max-width: 250px;
        margin: 14px 0 14px;
    }

    .hero-text,
    .program-card p,
    .paper-card p,
    .contact-list span,
    .module-placeholder span,
    .footer-grid p,
    .content-area p,
    .content-area li,
    .content-area td,
    .content-area th,
    .content-area blockquote {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .hero-actions,
    .messenger-links {
        flex-direction: column;
        gap: 12px;
    }

    .button,
    .messenger-links a {
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .quote-block {
        margin-top: 16px;
        padding: 16px 16px 16px 18px;
        border-radius: 16px;
    }

    .quote-block p {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .hero-visual {
        display: grid;
        gap: 14px;
    }

    .illustration-stage {
        min-height: auto;
        display: grid;
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
        background: linear-gradient(180deg, #ecdcb8, #e6d3a6);
    }

    .book-stack {
        position: static;
        width: 100%;
        max-width: 168px;
        gap: 7px;
    }

    .book-spine {
        min-height: 50px;
        padding: 9px 12px;
        font-size: 1rem;
    }

    .open-book-card {
        position: static;
        width: 100%;
        max-width: none;
        margin: 0;
        transform: none;
    }

    .open-page {
        min-height: 180px;
        padding: 16px 14px;
    }

    .open-page strong {
        font-size: 1.8rem;
    }

    .page-caption,
    .sketch-title,
    .open-page small {
        font-size: 0.92rem;
    }

    .globe-mark {
        width: 68px;
        height: 68px;
        top: 14px;
        right: 14px;
        font-size: 1.1rem;
    }

    .floating-note {
        display: none;
    }

    .hero-info-card,
    .paper-card,
    .program-card,
    .module-placeholder,
    .content-area,
    .sidebar,
    .breadcrumbs-wrap {
        border-radius: 20px;
    }

    .hero-info-card,
    .paper-card,
    .program-card,
    .content-area,
    .sidebar,
    .breadcrumbs-wrap,
    .form-panel,
    .contact-panel {
        padding: 18px;
    }

    .program-grid,
    .benefits-grid,
    .mini-feature-row,
    .details-grid,
    .enrollment-grid,
    .footer-grid,
    .inner-layout {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .section-head {
        margin-bottom: 16px;
    }

    .section-head h2,
    .paper-card h2,
    .details-grid .paper-card h2 {
        font-size: clamp(1.7rem, 6vw, 2.1rem) !important;
        line-height: 1.08;
        max-width: none;
    }

    .program-card h3 {
        font-size: 1.45rem;
        line-height: 1.1;
    }

    .program-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 14px;
        font-size: 1.08rem;
    }

    .mini-feature-row div,
    .benefits-grid article,
    .contact-list article {
        padding: 14px 15px;
        border-radius: 14px;
    }

    .benefits-panel .benefits-grid article {
        min-height: 0;
    }

    .contact-list {
        gap: 10px;
    }

    .contact-list strong,
    .contact-mini-panel .contact-list strong {
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .map-wrap {
        margin-top: 14px;
    }

    .map-embed iframe,
    .map-placeholder {
        min-height: 240px;
        border-radius: 20px;
    }

    .site-footer {
        padding: 20px 0 24px;
    }

    .footer-grid {
        padding-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 20px));
    }

    .site-canvas {
        padding-top: 96px;
        padding-bottom: 10px;
    }

    .page-shell {
        width: calc(100% - 10px);
        border-radius: 16px;
    }

    .page-shell::before,
    .page-shell::after {
        width: 6px;
        opacity: 0.22;
    }

    .site-header {
        width: calc(100% - 20px) !important;
        border-radius: 0 0 18px 18px;
    }

    .header-inner {
        min-height: 70px;
        padding: 10px 10px 12px;
        gap: 10px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.3rem;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text small {
        font-size: 0.66rem;
    }

    .hero-book {
        padding: 18px 14px;
        border-radius: 20px;
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 10.2vw, 2.5rem) !important;
    }

    .hero-copy h1.is-long-title {
        font-size: clamp(1.62rem, 8.6vw, 2.1rem) !important;
    }

    .hero-copy h1.is-very-long-title {
        font-size: clamp(1.42rem, 7.2vw, 1.82rem) !important;
    }

    .hero-subtitle {
        font-size: 0.96rem;
    }

    .hero-text,
    .program-card p,
    .paper-card p,
    .contact-list span,
    .module-placeholder span,
    .footer-grid p,
    .content-area p,
    .content-area li,
    .content-area td,
    .content-area th,
    .content-area blockquote,
    .quote-block p {
        font-size: 0.94rem;
        line-height: 1.62;
    }

    .hero-info-card,
    .paper-card,
    .program-card,
    .content-area,
    .sidebar,
    .breadcrumbs-wrap,
    .form-panel,
    .contact-panel {
        padding: 16px;
    }

    .section-head h2,
    .paper-card h2,
    .details-grid .paper-card h2 {
        font-size: 1.58rem !important;
    }

    .program-card h3 {
        font-size: 1.28rem;
    }

    .button,
    .messenger-links a {
        min-height: 50px;
        font-size: 0.96rem;
    }

    .book-stack {
        max-width: 150px;
    }

    .open-page {
        min-height: 160px;
        padding: 14px 12px;
    }

    .open-page strong {
        font-size: 1.55rem;
    }

    .globe-mark {
        width: 62px;
        height: 62px;
        font-size: 1rem;
    }

    .contact-list article,
    .mini-feature-row div,
    .benefits-grid article {
        padding: 13px 14px;
    }

    .map-embed iframe,
    .map-placeholder {
        min-height: 220px;
    }
}


/* v1.2.0 hero info card badge refinement */
.hero-info-card {
    position: relative;
    padding-top: 24px;
}

.hero-info-card .eyebrow {
    position: relative;
    top: -4px;
    margin-bottom: 16px;
}

.hero-info-card .info-row:first-of-type {
    margin-top: 0;
}

@media (max-width: 860px) {
    .hero-info-card {
        padding-top: 22px;
    }

    .hero-info-card .eyebrow {
        top: -6px;
        margin-bottom: 18px;
    }
}


/* v1.2.3 refined English flag watermark in hero illustration */
.illustration-stage {
    isolation: isolate;
}

.illustration-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 53%;
    width: 72%;
    height: 68%;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23264f86'/%3E%3Cpath d='M0 0 L60 30 M60 0 L0 30' stroke='%23ffffff' stroke-width='6'/%3E%3Cpath d='M0 0 L60 30 M60 0 L0 30' stroke='%23b23a35' stroke-width='2.6'/%3E%3Cpath d='M30 0 V30 M0 15 H60' stroke='%23ffffff' stroke-width='10'/%3E%3Cpath d='M30 0 V30 M0 15 H60' stroke='%23b23a35' stroke-width='5.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.18;
    filter: blur(1.6px);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.illustration-stage > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 560px) {
    .illustration-stage::after {
        width: 84%;
        height: 62%;
        top: 56%;
        opacity: 0.15;
        filter: blur(1.2px);
    }
}


/* v1.2.4 desktop hero illustration rebalance */
@media (min-width: 861px) {
    .illustration-stage {
        min-height: 470px;
        padding: 30px;
    }

    .book-stack {
        left: 38px;
        top: 90px;
        bottom: auto;
        width: 180px;
        z-index: 2;
    }

    .open-book-card {
        right: 44px;
        bottom: 88px;
        width: 340px;
        z-index: 2;
        transform: rotate(1.5deg);
    }

    .globe-mark {
        top: 36px;
        right: 34px;
        z-index: 2;
    }

    .note-one {
        top: 58px;
        left: 34px;
        z-index: 3;
    }

    .note-two {
        top: 94px;
        right: 112px;
        z-index: 3;
    }

    .illustration-stage::after {
        left: 58%;
        top: 65%;
        width: 56%;
        height: 40%;
        opacity: 0.24;
        filter: blur(1.3px);
    }
}


/* v1.2.5 desktop hero illustration final composition fix */
@media (min-width: 861px) {
    .illustration-stage {
        min-height: 520px;
        padding: 30px;
    }

    .book-stack {
        left: 46px;
        top: 78px;
        bottom: auto;
        width: 182px;
        z-index: 2;
    }

    .open-book-card {
        left: 50%;
        top: 50%;
        right: auto;
        bottom: auto;
        width: 330px;
        max-width: none;
        transform: translate(-28%, -18%) rotate(1.2deg);
        z-index: 3;
    }

    .globe-mark {
        top: 56px;
        right: 52px;
        z-index: 2;
    }

    .note-one {
        top: 42px;
        left: 44px;
        z-index: 4;
        transform: rotate(-3deg);
    }

    .note-two {
        top: 104px;
        right: 86px;
        z-index: 4;
        transform: rotate(6deg);
    }

    .illustration-stage::after {
        left: 62%;
        top: 68%;
        width: 44%;
        height: 26%;
        opacity: 0.28;
        filter: blur(1.1px);
    }
}


/* v1.2.6 expanded programs section */
.programs-grid-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.programs-grid-expanded .program-icon {
    min-width: 84px;
    padding: 0 10px;
    text-align: center;
}

@media (max-width: 1180px) {
    .programs-grid-expanded {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .programs-grid-expanded {
        grid-template-columns: 1fr;
    }

    .programs-grid-expanded .program-icon {
        width: auto;
        max-width: 110px;
    }
}


/* v1.3.0 replace duplicate contacts block with start panel */
.start-panel .start-list article {
    min-height: 108px;
}

.start-panel .start-list span {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}

.start-panel .start-list strong {
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 600;
}

@media (max-width: 560px) {
    .start-panel .start-list article {
        min-height: auto;
    }

    .start-panel .start-list strong {
        font-size: 0.95rem;
    }
}


/* v1.3.3 desktop header balance for longer school name */
.brand-text {
    min-width: 0;
}

.brand-text strong,
.brand-text small {
    display: block;
    text-wrap: balance;
}

@media (min-width: 861px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(360px, 1.3fr) auto auto;
        align-items: center;
        gap: 18px;
        min-height: 92px;
    }

    .brand {
        min-width: 0;
        max-width: 100%;
    }

    .brand-text strong {
        font-size: clamp(1.35rem, 1.7vw, 1.95rem);
        line-height: 0.98;
        letter-spacing: 0.01em;
        max-width: 17ch;
    }

    .brand-text small {
        font-size: clamp(0.78rem, 0.92vw, 0.98rem);
        line-height: 1.12;
        letter-spacing: 0.04em;
        max-width: 32ch;
    }

    .site-nav {
        justify-content: center;
        gap: 18px;
        flex-wrap: nowrap;
    }

    .site-nav a {
        font-size: 0.98rem;
        white-space: nowrap;
    }

    .header-cta {
        justify-self: end;
    }

    .phone-badge {
        padding: 8px 14px;
        gap: 10px;
    }

    .phone-badge strong {
        font-size: 1rem;
        line-height: 1.05;
    }

    .phone-badge small {
        line-height: 1.05;
    }
}

@media (min-width: 861px) and (max-width: 1320px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand cta"
            "nav nav";
        align-items: center;
        row-gap: 12px;
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .brand { grid-area: brand; }
    .site-nav {
        grid-area: nav;
        justify-content: center;
        padding-top: 2px;
    }
    .header-cta { grid-area: cta; }
}

@media (min-width: 1321px) and (max-width: 1480px) {
    .header-inner {
        grid-template-columns: minmax(380px, 1.32fr) auto auto;
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 0.95rem;
    }
}


/* v1.3.4 refined desktop header for long school name */
.brand {
    min-width: 0;
}

.brand-text {
    min-width: 0;
    max-width: min(100%, 560px);
}

.brand-text strong,
.brand-text small {
    display: block;
    overflow-wrap: normal;
    word-break: normal;
}

@media (min-width: 861px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(500px, 1.7fr) auto auto;
        align-items: center;
        column-gap: 20px;
        row-gap: 10px;
        min-height: 90px;
    }

    .brand {
        gap: 12px;
        align-self: center;
    }

    .brand-mark {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 1.6rem;
        flex: 0 0 auto;
    }

    .brand-text strong {
        font-size: clamp(1.12rem, 1.2vw, 1.62rem);
        line-height: 0.98;
        letter-spacing: 0.01em;
        max-width: 24ch;
        text-wrap: balance;
    }

    .brand-text small {
        font-size: clamp(0.76rem, 0.72vw, 0.93rem);
        line-height: 1.08;
        letter-spacing: 0.05em;
        max-width: 36ch;
        text-wrap: pretty;
    }

    .site-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        flex-wrap: nowrap !important;
        white-space: nowrap;
    }

    .site-nav a {
        font-size: 0.96rem;
        line-height: 1;
        white-space: nowrap;
    }

    .header-cta {
        justify-self: end;
    }

    .phone-badge {
        min-height: 50px;
        padding: 7px 14px;
        gap: 10px;
        white-space: nowrap;
    }

    .phone-badge strong {
        font-size: 0.98rem;
        line-height: 1.02;
    }

    .phone-badge small {
        font-size: 0.78rem;
        line-height: 1.02;
    }
}

@media (min-width: 861px) and (max-width: 1380px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            'brand cta'
            'nav nav';
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .brand { grid-area: brand; }
    .header-cta { grid-area: cta; }
    .site-nav {
        grid-area: nav;
        justify-content: flex-start;
        gap: 24px;
        padding-left: 70px;
    }

    .brand-text strong {
        max-width: 26ch;
    }
}

@media (min-width: 1381px) {
    .brand-text strong {
        max-width: 25ch;
    }
}


/* v1.3.5 Play&Learn header branding */
.brand--logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
}

.brand-wordmark,
.brand-favicon {
    display: flex;
    align-items: center;
}

.brand-wordmark-image {
    display: block;
    width: min(100%, 390px);
    height: auto;
    max-height: 70px;
}

.brand-favicon-image {
    display: block;
    width: 58px;
    height: auto;
    max-height: 58px;
}

@media (min-width: 861px) {
    .header-inner {
        grid-template-columns: minmax(430px, 1.45fr) auto auto;
        align-items: center;
        column-gap: 20px;
    }

    .brand--logo {
        gap: 14px;
    }

    .brand-wordmark-image {
        width: min(100%, 410px);
        max-height: 74px;
    }

    .brand-favicon-image {
        width: 56px;
        max-height: 56px;
    }

    .site-nav {
        gap: 20px;
    }

    .site-nav a {
        font-size: 0.98rem;
        white-space: nowrap;
    }
}

@media (min-width: 861px) and (max-width: 1380px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            'brand cta'
            'nav nav';
        row-gap: 10px;
    }

    .brand--logo {
        grid-area: brand;
    }

    .site-nav {
        grid-area: nav;
        justify-content: flex-start;
        gap: 24px;
        padding-left: 0;
    }

    .header-cta {
        grid-area: cta;
    }

    .brand-wordmark-image {
        width: min(100%, 360px);
        max-height: 68px;
    }

    .brand-favicon-image {
        width: 50px;
        max-height: 50px;
    }
}

@media (max-width: 860px) {
    .brand--logo {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .brand-wordmark-image {
        width: min(100%, 250px);
        max-height: 56px;
    }

    .brand-favicon-image {
        width: 40px;
        max-height: 40px;
    }
}

@media (max-width: 560px) {
    .brand--logo {
        justify-content: flex-start;
        gap: 8px;
    }

    .brand-wordmark-image {
        width: min(100%, 210px);
        max-height: 48px;
    }

    .brand-favicon-image {
        width: 34px;
        max-height: 34px;
    }
}


/* v1.3.6 remove favicon from header, keep only wordmark */
.brand--logo {
    gap: 0;
}

.brand-wordmark {
    display: flex;
    align-items: center;
}

.brand-favicon,
.brand-favicon-image {
    display: none !important;
}

@media (min-width: 861px) {
    .brand-wordmark-image {
        width: min(100%, 430px);
        max-height: 78px;
    }
}

@media (min-width: 861px) and (max-width: 1380px) {
    .brand-wordmark-image {
        width: min(100%, 390px);
        max-height: 72px;
    }
}

@media (max-width: 860px) {
    .brand--logo {
        justify-content: center;
    }

    .brand-wordmark-image {
        width: min(100%, 260px);
        max-height: 60px;
    }
}

@media (max-width: 560px) {
    .brand--logo {
        justify-content: flex-start;
    }

    .brand-wordmark-image {
        width: min(100%, 220px);
        max-height: 52px;
    }
}


/* v1.3.9 balanced hero heading */
.hero-copy h1 {
    text-wrap: pretty;
}

.hero-copy h1.is-long-title {
    font-size: clamp(1.85rem, 3.25vw, 3.15rem);
    line-height: 1.00;
    max-width: 16.8ch;
}

.hero-copy h1.is-very-long-title {
    font-size: clamp(1.45rem, 2.55vw, 2.65rem);
    line-height: 1.06;
    max-width: 19.5ch;
    letter-spacing: 0.008em;
}

@media (max-width: 860px) {
    .hero-copy h1.is-long-title {
        font-size: 1.95rem;
        line-height: 1.02;
        max-width: 100%;
    }

    .hero-copy h1.is-very-long-title {
        font-size: 1.62rem;
        line-height: 1.08;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .hero-copy h1.is-long-title {
        font-size: 1.72rem;
    }

    .hero-copy h1.is-very-long-title {
        font-size: 1.42rem;
        line-height: 1.10;
    }
}


/* v1.4.0 hero title migration and balancing */
.hero-copy h1.is-very-long-title {
    max-width: 18.8ch;
}

@media (min-width: 861px) {
    .hero-copy h1.is-very-long-title {
        font-size: clamp(1.52rem, 2.45vw, 2.72rem);
        line-height: 1.05;
    }
}

@media (max-width: 560px) {
    .hero-copy h1.is-very-long-title {
        font-size: 1.38rem;
        line-height: 1.09;
    }
}


/* v1.4.1 default Yandex map card */
.default-map-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    min-height: 340px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), var(--shadow);
    border: 1px solid rgba(102,67,39,0.18);
}

.default-map-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.default-map-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: rgba(248, 239, 220, 0.88);
    color: var(--accent-dark);
    font-weight: 700;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(125,44,39,0.16);
}


/* v1.4.1 smaller live map block */
.map-wrap {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.map-embed {
    width: min(100%, 720px);
}

.map-embed iframe,
.map-placeholder {
    min-height: 180px;
    height: 180px;
}

.default-map-live {
    width: 100%;
}

.default-map-live iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), var(--shadow);
    background: #efe7d0;
}

.map-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.28);
    border: 1px solid rgba(102,67,39,0.16);
    color: var(--accent-dark);
    font-weight: 700;
}

@media (max-width: 860px) {
    .map-embed {
        width: 100%;
    }

    .map-embed iframe,
    .map-placeholder,
    .default-map-live iframe {
        min-height: 190px;
        height: 190px;
    }
}


/* v1.4.1 map block refinement */
.map-embed iframe {
    min-height: 300px;
}

.map-placeholder {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.map-placeholder .button {
    margin-top: 4px;
}

@media (max-width: 860px) {
    .map-embed iframe,
    .map-placeholder {
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .map-embed iframe,
    .map-placeholder {
        min-height: 250px;
    }
}


/* v1.4.2 centered map action button */
.default-map-live {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.default-map-live iframe {
    width: 100%;
}

.map-external-link {
    align-self: center;
    margin: 14px auto 0;
    text-align: center;
}


/* v1.4.3 smaller hero heading */
.hero-copy h1 {
    font-size: clamp(2.35rem, 4.8vw, 4.8rem);
}

.hero-copy h1.is-long-title {
    font-size: clamp(1.7rem, 3.0vw, 2.95rem);
}

.hero-copy h1.is-very-long-title {
    font-size: clamp(1.32rem, 2.25vw, 2.45rem);
}

@media (max-width: 860px) {
    .hero-copy h1.is-long-title {
        font-size: 1.8rem;
    }

    .hero-copy h1.is-very-long-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 560px) {
    .hero-copy h1 {
        font-size: 2.15rem;
    }

    .hero-copy h1.is-long-title {
        font-size: 1.6rem;
    }

    .hero-copy h1.is-very-long-title {
        font-size: 1.3rem;
    }
}


/* v1.4.4 compact heading for programs section */
.section-programs .section-head h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.35rem);
    line-height: 1.04;
    text-wrap: balance;
}

@media (max-width: 1100px) {
    .section-programs .section-head h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        line-height: 1.06;
    }
}

@media (max-width: 860px) {
    .section-programs .section-head h2 {
        font-size: clamp(1.55rem, 5.3vw, 2rem) !important;
        line-height: 1.08;
    }
}


/* v1.4.5 colored quoted phrase in hero title */
.hero-copy h1 .hero-word-english {
    color: #c04a78;
}

.hero-copy h1 .hero-word-and {
    color: #f39a1e;
}

.hero-copy h1 .hero-word-math {
    color: #2f64c9;
}


/* v1.4.7 brand logo block */
.section-brand-intro {
    padding-top: 1.6rem;
    padding-bottom: 0.8rem;
}

.brand-story-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.15fr);
    gap: 1.5rem;
    align-items: stretch;
}

.brand-logo-panel,
.brand-story-panel {
    position: relative;
    overflow: hidden;
}

.brand-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(250,244,227,0.95) 100%);
}

.brand-story-image {
    display: block;
    width: min(100%, 560px);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(95, 61, 44, 0.10));
    border-radius: 24px;
}

.brand-story-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-story-panel h2 {
    margin: 0.35rem 0 1rem;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.05;
}

.brand-story-panel p {
    margin: 0 0 1rem;
}

.brand-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.45rem;
}

.brand-points span {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 248, 238, 0.9);
    border: 1px solid rgba(183, 139, 112, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
    font-size: 0.98rem;
    line-height: 1.25;
}

.brand-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

@media (max-width: 1024px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-panel {
        min-height: 0;
    }

    .brand-story-image {
        width: min(100%, 520px);
    }
}

@media (max-width: 640px) {
    .section-brand-intro {
        padding-top: 1rem;
    }

    .brand-story-panel h2 {
        font-size: 1.8rem;
    }

    .brand-points span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .brand-story-actions {
        flex-direction: column;
    }

    .brand-story-actions .button {
        width: 100%;
        justify-content: center;
    }
}


/* v1.4.8 book-style gallery */
.section-lead {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 1.02rem;
}

.brand-logo-panel {
    background:
        radial-gradient(circle at 22% 22%, rgba(255,255,255,0.58), transparent 20%),
        linear-gradient(180deg, rgba(255,255,255,0.35), rgba(248,241,223,0.92));
}

.brand-logo-panel::before,
.photo-story-card::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 64px;
    height: 18px;
    background: linear-gradient(180deg, rgba(206, 169, 123, 0.35), rgba(229, 207, 171, 0.15));
    border-radius: 4px;
    transform: rotate(-5deg);
    box-shadow: 0 2px 4px rgba(77, 52, 36, 0.08);
}

.brand-logo-panel::after {
    content: "Глава 1";
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(125,44,39,0.16);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.45);
}

.brand-story-image {
    width: min(100%, 520px);
}

.section-photo-story {
    padding-top: 1.4rem;
}

.photo-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    grid-template-areas:
        "main side"
        "bottom side";
    gap: 1.35rem;
    align-items: stretch;
}

.photo-story-card {
    position: relative;
    padding: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.photo-story-card--wide { grid-area: main; }
.photo-story-card--bottom { grid-area: bottom; }
.photo-story-card--side { grid-area: side; }

.photo-story-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent 35%);
}

.photo-story-page-number {
    align-self: flex-start;
    position: relative;
    z-index: 2;
    margin: 0 0 0.15rem 0.35rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(125,44,39,0.16);
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.photo-frame {
    position: relative;
    overflow: hidden;
    background: #f8f2e6;
    border-radius: 18px;
    border: 1px solid rgba(102,67,39,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 16px 24px rgba(56, 36, 22, 0.08);
}

.photo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), transparent 30%), linear-gradient(0deg, rgba(72, 40, 22, 0.06), transparent 25%);
}

.photo-frame--portrait { aspect-ratio: 4 / 5; }
.photo-frame--wide { aspect-ratio: 16 / 10; }

.photo-story-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.photo-note-card {
    position: relative;
    z-index: 2;
    margin: 0 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,252,245,0.88), rgba(248,241,223,0.88));
    border: 1px solid rgba(102,67,39,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.photo-note-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--accent-dark);
    font-size: 1.05rem;
}

.photo-note-card span {
    display: block;
    color: var(--ink-soft);
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .photo-story-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "bottom"
            "side";
    }

    .photo-frame--portrait {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .section-lead {
        text-align: center;
    }

    .photo-story-card {
        padding: 16px;
    }

    .photo-frame--wide,
    .photo-frame--portrait {
        aspect-ratio: auto;
    }

    .photo-story-image {
        height: auto;
    }

    .photo-note-card {
        margin: 0;
    }
}


/* v1.4.9 hero illustration rebalance for a calmer first-screen composition */
.illustration-stage {
    position: relative;
    min-height: 500px;
    padding: 34px;
    isolation: isolate;
}

.illustration-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 22%, rgba(255,255,255,0.58), transparent 16%),
        linear-gradient(transparent 0 73%, rgba(117,79,45,0.12) 73% 75%, transparent 75%),
        radial-gradient(circle at 84% 23%, rgba(125,44,39,0.08) 0 52px, transparent 53px);
}

.illustration-stage::after {
    left: 57%;
    top: 71%;
    width: 44%;
    height: 26%;
    opacity: 0.22;
    filter: blur(1px);
}

.book-stack {
    left: 34px;
    top: 120px;
    bottom: auto;
    width: 184px;
    gap: 10px;
    z-index: 2;
}

.book-spine {
    min-height: 62px;
    display: flex;
    align-items: center;
}

.open-book-card {
    left: auto;
    right: 40px;
    top: 158px;
    bottom: auto;
    width: 360px;
    max-width: calc(100% - 270px);
    transform: rotate(-1.5deg);
    z-index: 3;
}

.open-page {
    min-height: 226px;
}

.open-page strong {
    font-size: 2.15rem;
}

.globe-mark {
    top: 36px;
    right: 40px;
    width: 88px;
    height: 88px;
    font-size: 1.45rem;
    z-index: 2;
}

.floating-note {
    z-index: 4;
    border-radius: 12px;
}

.note-one {
    top: 42px;
    left: 42px;
    transform: rotate(-3deg);
}

.note-two {
    top: auto;
    right: 42px;
    bottom: 34px;
    transform: rotate(-2deg);
}

@media (max-width: 1180px) and (min-width: 861px) {
    .illustration-stage {
        min-height: 470px;
        padding: 28px;
    }

    .book-stack {
        left: 26px;
        top: 118px;
        width: 166px;
    }

    .open-book-card {
        right: 28px;
        top: 164px;
        width: 320px;
        max-width: calc(100% - 228px);
    }

    .open-page {
        min-height: 214px;
    }

    .open-page strong {
        font-size: 1.9rem;
    }

    .globe-mark {
        width: 82px;
        height: 82px;
        right: 30px;
    }

    .note-two {
        right: 30px;
        bottom: 28px;
    }
}

@media (max-width: 860px) {
    .illustration-stage {
        min-height: 430px;
        padding: 24px;
    }

    .book-stack {
        left: 24px;
        top: 88px;
        bottom: auto;
        width: 160px;
    }

    .open-book-card {
        position: absolute;
        right: 24px;
        top: 152px;
        bottom: auto;
        left: auto;
        margin: 0;
        width: min(300px, calc(100% - 220px));
        max-width: none;
        transform: rotate(-1.2deg);
    }

    .open-page {
        min-height: 194px;
        padding: 20px 16px;
    }

    .open-page strong {
        font-size: 1.75rem;
    }

    .globe-mark {
        top: 24px;
        right: 24px;
        width: 76px;
        height: 76px;
        font-size: 1.2rem;
    }

    .note-one {
        top: 28px;
        left: 26px;
    }

    .note-two {
        display: block;
        right: 24px;
        bottom: 26px;
        top: auto;
        padding: 10px 12px;
        font-size: 0.96rem;
    }
}

@media (max-width: 640px) {
    .illustration-stage {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .illustration-stage::after {
        left: 50%;
        top: 73%;
        width: 62%;
        height: 24%;
        opacity: 0.18;
    }

    .book-stack,
    .open-book-card,
    .globe-mark,
    .note-one,
    .note-two {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        margin: 0;
    }

    .book-stack {
        width: 100%;
        max-width: 190px;
        order: 2;
    }

    .globe-mark {
        order: 1;
        justify-self: end;
        width: 72px;
        height: 72px;
        font-size: 1.15rem;
    }

    .open-book-card {
        width: 100%;
        max-width: none;
        order: 3;
    }

    .note-one,
    .note-two {
        display: inline-flex;
        width: fit-content;
        font-size: 0.94rem;
    }

    .note-one { order: 4; }
    .note-two { order: 5; justify-self: end; }
}


/* v1.5.0 expressive illustrated book-page hero composition */
.hero-visual {
    overflow: visible;
}

.illustration-stage {
    position: relative;
    min-height: 540px;
    padding: 34px 36px 30px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.46), transparent 24%),
        radial-gradient(circle at 86% 18%, rgba(255,255,255,0.30), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 20%),
        linear-gradient(180deg, rgba(229,217,187,0.93), rgba(223,209,176,0.95));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.35),
        inset 0 -1px 0 rgba(117,79,45,0.08),
        0 18px 34px rgba(91,65,34,0.10);
}

.illustration-stage::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 26px;
    border: 1px solid rgba(157, 120, 88, 0.24);
    background:
        radial-gradient(circle at 74% 22%, rgba(255,255,255,0.22), transparent 20%),
        linear-gradient(transparent 0 74%, rgba(136,102,68,0.14) 74% 75.4%, transparent 75.4%);
    pointer-events: none;
}

.illustration-stage::after {
    content: "";
    position: absolute;
    left: 58%;
    top: 69%;
    width: 48%;
    height: 28%;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23264f86'/%3E%3Cpath d='M0 0 L60 30 M60 0 L0 30' stroke='%23ffffff' stroke-width='6'/%3E%3Cpath d='M0 0 L60 30 M60 0 L0 30' stroke='%23b23a35' stroke-width='2.6'/%3E%3Cpath d='M30 0 V30 M0 15 H60' stroke='%23ffffff' stroke-width='10'/%3E%3Cpath d='M30 0 V30 M0 15 H60' stroke='%23b23a35' stroke-width='5.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.18;
    filter: blur(1.1px);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.illustration-stage > * {
    position: absolute;
}

.book-stack {
    left: 48px;
    top: 126px;
    width: 182px;
    gap: 10px;
    z-index: 2;
}

.book-spine {
    min-height: 64px;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    line-height: 1.05;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        0 10px 18px rgba(52, 40, 26, 0.16);
}

.book-stack .book-spine:nth-child(1) {
    transform: translateX(0) rotate(-0.4deg);
}

.book-stack .book-spine:nth-child(2) {
    transform: translateX(16px) rotate(0.3deg);
}

.book-stack .book-spine:nth-child(3) {
    transform: translateX(3px) rotate(-0.2deg);
}

.open-book-card {
    right: 42px;
    top: 164px;
    width: 364px;
    max-width: calc(100% - 280px);
    transform: rotate(-2.5deg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 18px 34px rgba(83, 57, 30, 0.18),
        0 4px 10px rgba(83, 57, 30, 0.10);
    z-index: 3;
}

.open-book-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(164, 132, 95, 0.22);
    pointer-events: none;
}

.open-page {
    min-height: 242px;
    padding: 22px 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0)),
        linear-gradient(180deg, #ebdfbc, #e7d8b2);
}

.page-caption {
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.open-page strong {
    font-size: 2.25rem;
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 10ch;
}

.open-page small {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.25;
    max-width: 12ch;
}

.page-sketch {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0)),
        linear-gradient(180deg, #efe4c6, #ecdcbc);
}

.page-sketch::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 26px;
    width: 100px;
    height: 162px;
    border-radius: 16px;
    border: 1.5px dashed rgba(194, 162, 129, 0.62);
    background: rgba(255,255,255,0.14);
}

.sketch-title {
    display: block;
    padding-right: 110px;
    color: rgba(119, 101, 93, 0.54);
}

.globe-mark {
    right: 56px;
    top: 42px;
    width: 96px;
    height: 96px;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(83, 57, 30, 0.10);
}

.floating-note {
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 18px rgba(83, 57, 30, 0.10);
    z-index: 4;
}

.note-one {
    left: 56px;
    top: 64px;
    transform: rotate(-3.5deg);
}

.note-two {
    right: 44px;
    bottom: 28px;
    top: auto;
    transform: rotate(-1.5deg);
    min-width: 190px;
    text-align: center;
}

@media (max-width: 1180px) and (min-width: 861px) {
    .illustration-stage {
        min-height: 500px;
        padding: 30px 28px;
    }

    .book-stack {
        left: 34px;
        top: 122px;
        width: 164px;
    }

    .open-book-card {
        right: 30px;
        top: 166px;
        width: 326px;
        max-width: calc(100% - 236px);
    }

    .open-page {
        min-height: 224px;
        padding: 20px 16px;
    }

    .open-page strong {
        font-size: 1.95rem;
    }

    .page-sketch::before {
        width: 92px;
        height: 148px;
    }

    .sketch-title {
        padding-right: 98px;
    }

    .globe-mark {
        width: 86px;
        height: 86px;
        right: 34px;
    }

    .note-one {
        left: 38px;
        top: 58px;
    }

    .note-two {
        right: 32px;
        bottom: 24px;
    }
}

@media (max-width: 860px) {
    .illustration-stage {
        min-height: 460px;
        padding: 24px;
    }

    .book-stack {
        left: 28px;
        top: 112px;
        width: 152px;
    }

    .book-spine {
        min-height: 58px;
        padding: 12px 14px;
        font-size: 1.45rem;
    }

    .open-book-card {
        right: 24px;
        top: 156px;
        width: min(300px, calc(100% - 208px));
        max-width: none;
        transform: rotate(-1.8deg);
    }

    .open-page {
        min-height: 206px;
        padding: 18px 14px;
    }

    .open-page strong {
        font-size: 1.7rem;
    }

    .open-page small {
        font-size: 0.92rem;
    }

    .page-sketch::before {
        right: 12px;
        top: 24px;
        width: 88px;
        height: 136px;
    }

    .sketch-title {
        padding-right: 92px;
    }

    .globe-mark {
        top: 28px;
        right: 24px;
        width: 76px;
        height: 76px;
        font-size: 1.18rem;
    }

    .note-one {
        top: 44px;
        left: 28px;
    }

    .note-two {
        right: 24px;
        bottom: 24px;
        min-width: 170px;
    }

    .illustration-stage::after {
        left: 61%;
        top: 72%;
        width: 48%;
        height: 24%;
        opacity: 0.16;
    }
}

@media (max-width: 640px) {
    .illustration-stage {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
    }

    .illustration-stage::before {
        inset: 12px;
        border-radius: 22px;
    }

    .illustration-stage::after {
        left: 50%;
        top: 67%;
        width: 66%;
        height: 18%;
        opacity: 0.14;
    }

    .illustration-stage > * {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        margin: 0;
    }

    .globe-mark {
        order: 1;
        justify-self: end;
        width: 72px;
        height: 72px;
        font-size: 1.12rem;
    }

    .note-one {
        order: 2;
        justify-self: start;
    }

    .book-stack {
        order: 3;
        width: 100%;
        max-width: 190px;
    }

    .open-book-card {
        order: 4;
        width: 100%;
        max-width: none;
    }

    .open-page {
        min-height: 188px;
    }

    .open-page strong {
        font-size: 1.9rem;
    }

    .page-sketch::before {
        width: 98px;
        height: 138px;
    }

    .note-two {
        order: 5;
        justify-self: end;
        min-width: auto;
        width: fit-content;
    }
}


/* v1.5.1 clarified brand intro logic */
.brand-logo-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
}

.brand-logo-figure {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-note {
    width: min(100%, 470px);
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 249, 239, 0.86);
    border: 1px solid rgba(183, 139, 112, 0.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 10px 22px rgba(95, 61, 44, 0.06);
    text-align: center;
}

.brand-logo-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--accent-dark);
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}

.brand-logo-note span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
}

.brand-story-panel h2 {
    max-width: 16ch;
}

@media (max-width: 1024px) {
    .brand-logo-note {
        width: min(100%, 560px);
    }

    .brand-story-panel h2 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .brand-logo-note {
        padding: 0.9rem 0.95rem;
        border-radius: 16px;
    }

    .brand-logo-note strong {
        font-size: 1rem;
    }

    .brand-logo-note span {
        font-size: 0.94rem;
        line-height: 1.5;
    }
}


/* v1.5.2 simplify brand poster block */
.brand-logo-panel {
    justify-content: center;
    gap: 0;
}

.brand-logo-figure {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-story-image {
    width: min(100%, 540px);
}

@media (max-width: 1024px) {
    .brand-story-image {
        width: min(100%, 500px);
    }
}



/* v1.5.5 redesigned lead contact section */
.lead-contact-card{
  margin-top: 8px;
  padding: 34px 34px 30px;
  border-radius: 28px;
  border: 1px solid rgba(164, 127, 94, 0.18);
  background:
    linear-gradient(180deg, rgba(243,233,210,0.94) 0%, rgba(236,225,197,0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 18px 40px rgba(100, 72, 42, 0.09);
}

.lead-contact-card__top{
  text-align: center;
  margin-bottom: 22px;
}

.lead-contact-card__top strong{
  display: block;
  font-size: 1.95rem;
  line-height: 1.2;
  color: #5e311d;
  margin-bottom: 14px;
}

.lead-contact-card__top p{
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #6c4d38;
}

.lead-contact-card__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.lead-contact-card__item{
  background: rgba(255,255,255,0.33);
  border: 1px solid rgba(164, 127, 94, 0.16);
  border-radius: 20px;
  padding: 18px 18px 16px;
}

.lead-contact-card__item span{
  display:block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #9a3d31;
  margin-bottom: 8px;
}

.lead-contact-card__item strong{
  display:block;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #5e311d;
}

@media (max-width: 767px){
  .lead-contact-card{
    padding: 24px 18px 20px;
    border-radius: 22px;
  }
  .lead-contact-card__top{
    margin-bottom: 18px;
  }
  .lead-contact-card__top strong{
    font-size: 1.5rem;
  }
  .lead-contact-card__top p{
    font-size: 1rem;
    line-height: 1.7;
  }
  .lead-contact-card__grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lead-contact-card__item{
    padding: 14px 14px 12px;
    border-radius: 16px;
  }
}


/* v1.6.1 refined hero paragraph alignment */
.hero-copy .hero-text {
    max-width: 35.5rem;
    text-align: justify;
    text-wrap: pretty;
    hyphens: auto;
}

@media (max-width: 960px) {
    .hero-copy .hero-text {
        max-width: 100%;
        text-align: left;
        hyphens: none;
    }
}
