:root {
  --navy: #111a2b;
  --navy-soft: #1a2840;
  --ink: #182132;
  --paper: #f2efe8;
  --paper-deep: #e6e1d7;
  --white: #faf8f3;
  --muted: #5d625f;
  --night-muted: #bfc7d2;
  --accent: #cfbfa4;
  --line: #d1cdc4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(22px, 6.3vw, 112px);
  --section: clamp(68px, 7vw, 108px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-height: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); background: var(--navy); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body, main { min-width: 0; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
button, a, summary { touch-action: manipulation; }
button { border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #446aa2; outline-offset: 6px; border-radius: 3px; }
.navy :focus-visible, .story :focus-visible, .site-header :focus-visible { outline-color: #e5d3b5; }
::selection { color: var(--paper); background: #2c4567; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
em { font-weight: inherit; }
.container { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.paper { background: var(--paper); }
.navy { background: var(--navy); color: var(--paper); }
.eyebrow { font-size: 12px; line-height: 1.5; text-transform: uppercase; letter-spacing: .17em; font-weight: 600; margin-bottom: 25px; color: var(--muted); }
.navy .eyebrow, .story .eyebrow { color: #d2cec6; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.75vw, 76px); line-height: 1.07; letter-spacing: -.048em; }
.display em { color: #68746d; }
.navy .display em { color: var(--accent); }
.icon-solid { fill: currentColor; stroke: none; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.button { display: inline-flex; min-height: 54px; gap: 30px; padding: 15px 24px; justify-content: space-between; align-items: center; border-radius: 4px; font-size: 15px; font-weight: 600; line-height: 1.4; transition: background .2s, transform .25s var(--ease); }
.button .icon { width: 19px; height: 19px; transition: transform .25s var(--ease); }
.button--paper { background: var(--paper); color: var(--navy); }
.button--navy { background: var(--navy); color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 15px; font-weight: 500; }
.text-link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.skip-link { position: fixed; left: 20px; top: 12px; z-index: 200; padding: 12px 20px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; min-height: var(--header-height); padding: 16px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--paper); background: linear-gradient(180deg, rgba(10, 17, 29, .88), rgba(10, 17, 29, .18)); transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(17, 26, 43, .96); box-shadow: 0 1px 0 rgba(242, 239, 232, .12); }
@supports (backdrop-filter: blur(12px)) { .site-header.is-scrolled { background: rgba(17, 26, 43, .91); backdrop-filter: blur(12px); } }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-name { font-family: var(--serif); font-size: 32px; line-height: 1; font-weight: 400; letter-spacing: -.045em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); font-size: 14px; }
.main-nav > a { display: inline-flex; align-items: center; min-height: 44px; gap: 14px; }
.main-nav .nav-contact { padding: 0 17px; border: 1px solid rgba(242, 239, 232, .45); border-radius: 4px; }
.nav-contact .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; padding: 6px 0 6px 14px; background: transparent; min-height: 44px; font-size: 16px; align-items: center; gap: 12px; }
.menu-glyph { width: 22px; height: 10px; border-block: 1px solid currentColor; position: relative; }
.menu-toggle[aria-expanded="true"] .menu-glyph { border: 0; }
.menu-toggle[aria-expanded="true"] .menu-glyph::before, .menu-toggle[aria-expanded="true"] .menu-glyph::after { content: ''; position: absolute; top: 4px; left: 0; width: 22px; height: 1px; background: currentColor; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-glyph::after { transform: rotate(-45deg); }

.story { position: relative; background: #0c121c; color: var(--paper); }
.story-stage { position: relative; height: max(720px, 100vh); height: max(720px, 100svh); overflow: hidden; isolation: isolate; }
.story.is-animated { height: 300vh; height: 300svh; }
.story.is-animated .story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 570px; }
.story-video, .story-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--video-position, 58%) center; }
.story-poster { z-index: 1; }
.story.is-video-ready .story-poster { opacity: 0; transition: opacity .35s; }
.story-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(6, 13, 25, .9) 0%, rgba(6, 13, 25, .69) 34%, rgba(6, 13, 25, .12) 74%), linear-gradient(0deg, rgba(6, 13, 25, .72), transparent 40%); }
.story-copy { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 23%; max-width: 690px; opacity: 0; visibility: hidden; pointer-events: none; }
.story-copy--final { max-width: 580px; }
.story-copy--hero { opacity: 1; visibility: visible; }
.story-copy h1, .story-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.7vw, 88px); line-height: 1.02; letter-spacing: -.047em; }
.story-copy h2 { font-size: clamp(44px, 5.2vw, 76px); }
.story-copy em { color: #ded5c4; }
.story-description { margin-top: 26px; color: #e0e2e5; font-size: 15px; line-height: 1.8; max-width: 410px; }
.story-cta { position: absolute; left: var(--gutter); bottom: 100px; z-index: 5; }
.has-cover-button .story-cta { left: var(--cover-x); top: var(--cover-y); bottom: auto; width: var(--cover-width); height: max(44px, var(--cover-height)); min-height: 0; padding: 0 20px; justify-content: center; gap: 20px; transform: translate(-50%, -50%); border-radius: 0; color: #f4efe6; background: none; isolation: isolate; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s; }
.has-cover-button .story-cta::before { content: ''; position: absolute; z-index: -1; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: var(--cover-height); border-radius: var(--cover-radius-top) var(--cover-radius-top) var(--cover-radius-bottom) var(--cover-radius-bottom); background: linear-gradient(180deg, rgba(15, 32, 52, .72), rgba(31, 49, 69, .48)); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .22); filter: brightness(1); transition: filter .25s; }
.has-cover-button .story-cta.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.has-cover-button .story-cta:focus-visible { outline: none; }
.has-cover-button .story-cta:focus-visible::before { outline: 2px solid #e5d3b5; outline-offset: 3px; }
.story-controls { position: absolute; z-index: 5; bottom: 24px; left: var(--gutter); }
.motion-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; background: rgba(18, 29, 45, .76); color: #f2efe8; padding: 10px 18px; border: 1px solid rgba(234, 229, 217, .25); border-radius: 40px; box-shadow: 0 4px 18px rgba(0, 0, 0, .1); transition: background .2s, border-color .2s; }
.motion-symbol { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="false"] .motion-symbol { border: 0; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.story-progress { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; height: 2px; background: rgba(242, 239, 232, .16); }
.story-progress > span { display: block; height: 100%; background: #d6c5a5; transform: scaleX(var(--story-progress, 0)); transform-origin: left; }
.story:not(.is-animated) .story-progress { visibility: hidden; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(40px, 4.4vw, 64px); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 52px clamp(35px, 7vw, 105px); align-items: stretch; }
.service-card { display: flex; flex-direction: column; border: 0; background: none; min-width: 0; }
.service-visual { height: 158px; width: 100%; flex: 0 0 auto; background: #e7e4dc; margin-bottom: 28px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 3px; }
.service-visual--diploma { background: #e3e7ed; }
.service-visual--check { background: #e8e0d5; }
.service-visual--spark { background: #e2e5de; }
.service-illustration { width: 76px; height: 76px; stroke-width: .62; color: #334664; position: relative; z-index: 2; transition: transform .65s var(--ease); }
.visual-orbit { position: absolute; width: 240px; height: 240px; border: 1px solid rgba(29, 46, 65, .09); border-radius: 50%; transform: rotate(-24deg) scaleY(.48); }
.visual-orbit::before { content: ''; position: absolute; inset: 28px; border: 1px solid rgba(29, 46, 65, .08); border-radius: 50%; }
.service-heading h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.18; letter-spacing: -.033em; }
.service-pricing { margin-top: auto; }
.service-price { font-family: var(--sans); font-size: clamp(26px, 2.1vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; color: var(--navy); font-variant-numeric: tabular-nums; }
.price-note { margin-top: 8px; max-width: 380px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.service-description { margin: 18px 0 26px; font-size: 17px; color: var(--muted); max-width: 420px; }
.subjects { margin-top: clamp(48px, 5.5vw, 80px); padding-top: 36px; border-top: 1px solid var(--line); }
.subjects-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.subjects h3 { font-family: var(--serif); font-size: clamp(32px, 2.7vw, 38px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.subjects h3 em { color: #82684d; }
.subjects-toggle { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 24px; background: transparent; color: var(--navy); font-size: 14px; font-weight: 500; line-height: 1.4; transition: background .2s, border-color .2s; }
.subject-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.subject-group { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.subject-group h4 { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; color: var(--navy); }
.subject-group--humanities { --subject-ink: #705635; --subject-surface: #ede4d5; --subject-border: #ded1ba; }
.subject-group--science { --subject-ink: #315582; --subject-surface: #e2eaf5; --subject-border: #d0dcee; }
.subject-section { display: flex; flex-direction: column; flex: 1; gap: 12px; }
.subject-section h5 { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .035em; color: var(--subject-ink); }
.subject-list { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(76px, 1fr); flex: 1; gap: 8px; list-style: none; padding: 0; margin: 0; }
.subject-list li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 18px; border: 1px solid var(--subject-border); border-radius: 14px; color: var(--subject-ink); background: var(--subject-surface); font-size: 14px; font-weight: 500; line-height: 1.45; }
.subject-list .icon { width: 22px; height: 22px; stroke-width: 1.35; }
.subject-info { display: grid; gap: 3px; min-width: 0; }
.subject-code { font-size: 11px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.subject-name { overflow-wrap: break-word; color: var(--ink); }
.subjects.is-expanded [data-subject-extra] { animation: reveal-details .3s var(--ease); }
.service-details { margin-top: 12px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.service-details > summary { min-height: 44px; display: flex; align-items: center; justify-content: start; gap: 20px; width: fit-content; font-size: 16px; font-weight: 500; }
.details-plus { width: 14px; height: 14px; position: relative; display: inline-block; flex-shrink: 0; }
.details-plus::before, .details-plus::after { content: ''; height: 1px; width: 12px; position: absolute; top: 6px; left: 1px; background: currentColor; transition: transform .2s; }
.details-plus::after { transform: rotate(90deg); }
details[open] > summary .details-plus::after, .subjects-toggle[aria-expanded="true"] .details-plus::after { transform: rotate(0); }
.details-body { padding-top: 10px; font-size: 17px; color: var(--muted); }
.details-body h4 { margin: 25px 0 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.details-body .button { margin-top: 25px; }
.service-result { background: #e9e6dd; padding: 20px 24px; border-radius: 6px; margin-top: 24px; }
.service-result h4 { margin-top: 0; margin-bottom: 8px; }
.service-dialog { --dialog-padding: clamp(28px, 4vw, 54px); position: fixed; width: min(680px, calc(100% - 40px)); max-height: calc(100svh - 48px); max-height: calc(100dvh - 48px); padding: 0; overflow: hidden; border: 0; border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0, 0, 0, .25); }
.service-dialog:not([open]) { display: none; }
.service-dialog[open] { display: flex; flex-direction: column; animation: dialog-enter .32s var(--ease); }
.service-dialog::backdrop { background: rgba(8, 16, 28, .68); backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 0 0 auto; padding: 14px 14px 14px var(--dialog-padding); }
.dialog-header .eyebrow { margin: 0; }
.dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 0 var(--dialog-padding) var(--dialog-padding); }
.service-dialog h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(33px, 4vw, 47px); line-height: 1.12; letter-spacing: -.035em; padding-right: 16px; }
.dialog-pricing { margin: 32px 0 14px; }
.dialog-pricing .service-pricing { margin-top: 0; }
.dialog-close { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border-radius: 50%; background: #e3e0d7; display: grid; place-items: center; }
.dialog-close .icon { width: 20px; height: 20px; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.details-body ul { margin: 0 0 10px; padding-left: 20px; font-size: 16px; color: var(--muted); }
.details-body li { margin-bottom: 7px; }
details[open] > .details-body { animation: reveal-details .3s var(--ease); }
@keyframes reveal-details { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

.reviews { background: var(--paper-deep); }
.reviews-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.reviews-heading .eyebrow { margin-bottom: 18px; }
.reviews-heading .display { font-size: clamp(42px, 4.2vw, 64px); }
.review-approach { max-width: 470px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.reviews-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: stretch; }
.metrics { display: grid; grid-template-columns: .65fr 1fr; gap: 30px; align-content: center; margin: 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { display: grid; grid-template-rows: auto auto; align-content: start; min-width: 0; }
.metric dt { grid-row: 2; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.metric dd { grid-row: 1; margin: 0; font-family: var(--serif); font-size: clamp(54px, 5.4vw, 80px); line-height: 1; letter-spacing: -.055em; white-space: nowrap; font-variant-numeric: lining-nums; }
.metric-plus { display: inline-block; margin-left: 4px; font-family: var(--sans); font-size: .43em; vertical-align: top; line-height: 1; margin-top: .2em; letter-spacing: 0; }
.review-source { display: flex; flex-direction: column; align-items: start; padding: 28px 32px; background: var(--paper); border-radius: 18px; transition: background .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.review-source:focus-visible { outline: 2px solid #446aa2; outline-offset: 6px; border-radius: 18px; }
.review-source-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.yandex-mark { flex: 0 0 auto; width: 32px; height: 32px; background: #b94236; color: #fff; display: grid; place-items: center; font-size: 21px; line-height: 1; border-radius: 50%; }
.review-source h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.4; }
.review-source > p { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 33px); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 18px; }
.review-link { width: 100%; justify-content: space-between; margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; }

.channel--telegram { --channel: #229ed9; --channel-soft: #e2f0f7; --channel-ink: #17658b; }
.channel--vk { --channel: #0077ff; --channel-soft: #e3ecfb; --channel-ink: #175fac; }
.channel--email { --channel: #c55d47; --channel-soft: #f2e5de; --channel-ink: #934432; }
.working-hours { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 28px; margin-top: 24px; color: var(--navy); }
.working-hours h3 { color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.5; white-space: nowrap; }
.working-hours dl { display: flex; align-items: baseline; gap: 28px; margin: 0; }
.working-hours dl > div { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.working-hours dt { color: var(--muted); font-size: 13px; }
.working-hours dd { display: flex; align-items: baseline; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; font-variant-numeric: tabular-nums; }
.hours-dash { margin-inline: 2px; color: #887b68; }
.social-dock { position: absolute; z-index: 45; right: var(--gutter); top: calc(max(720px, 100svh) - 74px); display: flex; gap: 10px; align-items: center; }
.contacts-enhanced .social-dock { position: fixed; top: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.social-circle { width: 50px; height: 50px; padding: 0; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--channel); color: #fff; box-shadow: 0 6px 18px rgba(10, 25, 42, .17), inset 0 1px 0 rgba(255, 255, 255, .16); transition: box-shadow .25s, transform .3s var(--ease); }
.social-circle:disabled { cursor: default; }
.social-circle .icon, .contact-circle .icon { width: 48%; height: 48%; stroke-width: 1.5; }
.social-circle:focus-visible { outline-color: var(--channel); outline-offset: 4px; }
.social-dock.is-away { visibility: hidden; pointer-events: none; }
.contact-list { font-style: normal; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.contact-slot { min-width: 0; min-height: 230px; display: flex; }
.contact-slot:focus { outline: none; }
.contact-slot:focus-visible { outline: 2px solid #446aa2; outline-offset: 5px; border-radius: 18px; }
.contact-card { position: relative; width: 100%; min-height: 230px; padding: 102px 28px 18px; background: var(--channel-soft); color: var(--ink); border-radius: 18px; text-align: left; transform-origin: 0 0; }
.contact-link { display: block; }
.contact-link::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.contact-link:focus-visible { outline: none; }
.contact-link:focus-visible::after { outline: 2px solid var(--channel-ink); outline-offset: 5px; }
.contact-circle { position: absolute; left: 28px; top: 28px; width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--channel); border-radius: 50%; transform-origin: 0 0; }
.contact-copy { position: relative; z-index: 1; min-width: 0; max-width: 100%; }
.contact-name { display: block; font-family: var(--serif); font-size: 33px; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 5px; }
.contact-value { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 44px; padding: 6px 8px; margin-left: -8px; border-radius: 7px; background: transparent; font-size: 16px; color: var(--channel-ink); line-height: 1.5; text-align: left; transition: background .2s; }
.contact-value > span { min-width: 0; overflow-wrap: anywhere; user-select: all; }
.contact-value .icon { width: 16px; height: 16px; stroke-width: 1.5; }
.contact-value:disabled { cursor: text; }
.contact-value:disabled .icon, .contact-value .copied-icon, .contact-value.is-copied .copy-icon { display: none; }
.contact-value.is-copied .copied-icon { display: block; }
.contact-feedback { display: block; min-height: 18px; font-size: 12px; line-height: 1.5; color: var(--channel-ink); }
.copy-buffer { position: fixed; top: 0; left: -9999px; width: 1px; height: 1px; padding: 0; opacity: 0; font-size: 16px; }
.contact-arrow { position: absolute; right: 28px; top: 39px; width: 19px; height: 19px; color: var(--channel-ink); transition: transform .25s var(--ease); }
.contact-card[data-contact-phase="dock"] { opacity: 0; pointer-events: none; }
.contact-card[data-contact-phase="moving"] { z-index: 44; will-change: transform, clip-path; }
.contact-card[data-contact-phase="moving"] .contact-name,
.contact-card[data-contact-phase="moving"] .contact-copy,
.contact-card[data-contact-phase="moving"] .contact-arrow { opacity: var(--contact-content, 0); }
.site-footer { padding-block: 24px; }
.footer-layout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 25px; }
.footer-copyright { color: var(--night-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.footer-top { min-height: 44px; display: inline-flex; align-items: center; gap: 20px; font-size: 15px; }
.footer-top .icon { width: 16px; height: 16px; }

.reveal-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {

  .button:where(:hover) { transform: translateY(-2px); }
  .has-cover-button .story-cta:hover::before { filter: brightness(1.2); }
  .motion-toggle:hover { background: #24344b; border-color: #79828e; }
  .dialog-close:hover { background: #d3d2c9; }
  .button--navy:where(:hover) { background: #283d5a; }
  .button--paper:where(:hover) { background: #fff; }
  .button:hover .icon, .text-link:hover .icon { transform: translate(2px, -2px); }
  .service-card:hover .service-illustration { transform: translateY(-5px) rotate(-3deg); }
  .main-nav > a:hover, .footer-top:hover { color: var(--accent); }
  .subjects-toggle:hover { background: var(--paper-deep); border-color: var(--accent); }
  .contact-link:hover .contact-arrow { transform: translate(3px, -3px); }
  .contact-value:not(:disabled):hover { background: rgba(255, 255, 255, .55); }
  .social-circle[href]:hover { box-shadow: 0 9px 24px rgba(10, 25, 42, .25); }
  .review-source:hover { background: var(--white); box-shadow: 0 12px 28px rgba(17, 26, 43, .06); transform: translateY(-3px); }
  .review-source:hover .icon { transform: translate(2px, -2px); }
}
@media (min-width: 1600px) {
  .story-copy { left: max(var(--gutter), calc((100vw - 1336px) / 2)); }
}
@media (max-width: 1050px) {
  .services-grid { gap: 44px 40px; }
  .subject-groups { gap: 24px; }
  .reviews-heading, .reviews-layout { gap: 36px; }
  .review-source { padding: 24px; }
  .contact-list { gap: 16px; }
  .contact-card { padding-inline: 22px; }
  .contact-circle { left: 22px; }
}
@media (max-width: 900px) {
  .subject-list li { padding-inline: 14px; gap: 10px; }
  .subject-group h4 { font-size: 26px; }
}
@media (max-width: 760px) {
  :root { --header-height: 74px; }
  .site-header { padding-block: 13px; flex-wrap: wrap; gap: 6px 20px; }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 29px; }
  .main-nav { flex-basis: 100%; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
  .nav-enhanced .menu-toggle { display: inline-flex; }
  .nav-enhanced .main-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--navy); padding: 18px var(--gutter) 25px; border-bottom: 1px solid #3b4658; box-shadow: 0 20px 30px rgba(0, 0, 0, .15); }
  .nav-enhanced .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
  .nav-enhanced .main-nav > a { min-height: 48px; font-size: 16px; }
  .nav-enhanced .main-nav .nav-contact { margin-top: 8px; justify-content: space-between; }
  .story-stage { height: max(720px, 100svh); }
  .story.is-animated { height: 260vh; height: 260svh; }
  .story.is-animated .story-stage { min-height: 620px; }
  .story-copy { top: 24%; }
  .story-copy--final { top: 20%; }
  .story-copy h1 { font-size: clamp(45px, 8.7vw, 65px); }
  .story-copy h2 { font-size: clamp(43px, 7.7vw, 58px); }
  .story-video, .story-poster { object-position: var(--video-position, 61%) center; }
  .story-shade { background: linear-gradient(90deg, rgba(6, 13, 25, .86), rgba(6, 13, 25, .48)), linear-gradient(0deg, rgba(6, 13, 25, .8), transparent 55%); }
  .story-description { font-size: 16px; max-width: 360px; margin-top: 22px; }
  .story-controls { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .social-dock { gap: 8px; }
  .contacts-enhanced .social-dock { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .social-circle { width: 48px; height: 48px; }
  .display { font-size: clamp(40px, 7.8vw, 60px); }
  .section-heading { align-items: start; flex-direction: column; }
  .desktop-break { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-visual { height: 136px; margin-bottom: 22px; }
  .service-illustration { width: 61px; height: 61px; }
  .service-heading h3 { font-size: 29px; }
  .service-description { font-size: 16px; }
  .subjects { margin-top: 44px; padding-top: 30px; }
  .subject-groups { grid-template-columns: 1fr; gap: 32px; }
  .subject-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .working-hours { gap: 20px; }
  .working-hours dl { gap: 20px; }
  .footer-layout { grid-template-columns: 1fr auto; gap: 16px 20px; }
  .footer-copyright { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .reviews-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .reviews-layout { grid-template-columns: 1fr; gap: 26px; }
  .review-approach { max-width: 560px; }
  .metrics { grid-template-columns: .75fr 1fr; gap: 24px; padding-block: 28px; }
  .metric dd { font-size: clamp(52px, 10vw, 76px); }
  .review-source { padding: 26px; }
  .review-source > p { font-size: 29px; }
  .contact-list { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 14px; }
  .contact-slot { min-height: 110px; }
  .contact-card { min-height: 138px; padding: 20px 22px 18px 94px; }
  .contact-circle { top: calc(50% - 25px); }
  .contact-name { font-size: 27px; margin-bottom: 4px; }
  .contact-value { font-size: 15px; }
  .contact-arrow { top: 45px; right: 23px; }
}
@media (max-width: 640px) {
  .working-hours h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 540px) {
  .story .eyebrow { font-size: 11px; letter-spacing: .1em; margin-bottom: 21px; }
  .story-copy h1 { font-size: clamp(39px, 10.1vw, 53px); }
  .story-copy h2 { font-size: clamp(38px, 9.5vw, 49px); }
  .story-description { font-size: 15px; line-height: 1.7; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-visual { height: 144px; margin-bottom: 22px; }
  .service-heading h3 { font-size: 30px; }
  .subjects h3 { font-size: 32px; }
  .subject-group h4 { font-size: clamp(22px, 4.8vw, 26px); }
  .subject-list { grid-template-columns: minmax(0, 1fr); }
  .working-hours dl { width: 100%; justify-content: center; gap: 14px; }
  .working-hours dl > div { gap: 4px; }
  .working-hours dt, .working-hours dd { font-size: clamp(12px, 3.1vw, 14px); }
  .hours-dash { margin-inline: 0; }
  .metrics { gap: 18px; }
  .metric dt { font-size: 14px; }
  .service-dialog { --dialog-padding: 24px; width: calc(100% - 24px); max-height: calc(100svh - 24px); max-height: calc(100dvh - 24px); }
  .service-dialog .button { width: 100%; font-size: 14px; padding-inline: 17px; gap: 12px; }
  .service-result { padding: 18px; }
}
@media (max-width: 480px) {
  .motion-toggle { font-size: 12px; gap: 8px; padding: 8px 10px; text-align: left; }
  [data-motion-label] { max-width: 86px; line-height: 1.3; }
  .social-dock { gap: 6px; }
  .social-circle { width: 44px; height: 44px; }
  .contact-card { padding-left: 84px; }
  .contact-circle { left: 20px; }
}
@media (max-height: 650px) and (min-width: 761px) {
  .story.is-animated .story-stage { min-height: 560px; }
  .story-copy { top: 23%; }
  .story-copy--final { top: 18%; }
  .story-copy h1, .story-copy h2 { font-size: 48px; }
  .story-description { font-size: 15px; margin-top: 16px; }
  .story .eyebrow { margin-bottom: 12px; }
  .story-controls { bottom: 18px; }
  .contacts-enhanced .social-dock { bottom: 18px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .story.is-animated { height: auto; }
  .story.is-animated .story-stage { position: relative; height: 620px; }
  .story-copy { top: 23%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}
html[data-motion="reduced"] { scroll-behavior: auto; }
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation: none !important; transition: none !important; }
html[data-motion="reduced"] .reveal { opacity: 1; transform: none; }
@media print {
  .site-header, .story-controls, .story-video, .story-progress, .menu-toggle, .skip-link, .social-dock, .story-cta { display: none !important; }
  .story, .story.is-animated { height: auto; }
  .story-stage, .story.is-animated .story-stage { height: 700px; position: relative; }
  .section { padding-block: 40px; }
  .reveal-ready .reveal, .contacts-enhanced .contact-card { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .contact-card { background: var(--channel-soft) !important; }
  .contact-circle { transform: none !important; }
  .contact-copy, .contact-arrow { opacity: 1 !important; }
  .service-card, .contact-slot { break-inside: avoid; }
}
