:root {
  color-scheme: light;
  --ink: #191817;
  --muted: #5c5b58;
  --paper: #ffffff;
  --soft: #f6f5f2;
  --line: #deddd9;
  --max: 1240px;
  font-family: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { opacity: .68; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Cormorant, Georgia, serif; font-weight: 500; line-height: .98; letter-spacing: -.025em; }
h1 { font-size: clamp(4.5rem, 9vw, 8.4rem); }
h2 { font-size: clamp(3.3rem, 6vw, 5.8rem); }
h3 { font-size: clamp(2.9rem, 4.5vw, 4.5rem); }
p { max-width: 68ch; }
.wrap { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 30; }
.skip-link:focus { left: 8px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-family: Cormorant, Georgia, serif; font-size: 1.9rem; font-weight: 600; text-decoration: none; line-height: 1; }
.site-header nav { display: flex; gap: 8px; flex-wrap: wrap; }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; transition: color .15s ease, background-color .15s ease; }
.site-header nav a:hover { color: var(--paper); background: var(--ink); opacity: 1; }
.eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
.hero.wrap { position: relative; isolation: isolate; overflow: hidden; width: 100%; max-width: none; background: #fffbf6; color: var(--ink); padding: 86px max(40px, calc((100vw - var(--max))/2)) 80px; min-height: clamp(680px, 44.5vw, 836px); display: flex; flex-direction: column; justify-content: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("assets/hero/diagonal-bursts-desktop.png") center / cover no-repeat; }
.hero > .eyebrow { text-align: center; color: var(--ink); margin-bottom: 46px; }
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.hero h1 { margin: 0; max-width: 1100px; font-size: clamp(5rem, 8.2vw, 9.2rem); }
.hero h1 span { display: block; margin-top: 23px; font-family: Inter, Arial, sans-serif; font-size: clamp(.95rem, 1.5vw, 1.15rem); font-weight: 600; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
.hero h1 br { display: none; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-copy p { max-width: 760px; color: var(--ink); font-size: clamp(1.05rem, 1.3vw, 1.4rem); line-height: 1.6; margin-bottom: 34px; }
.hero-copy .hero-evidence { max-width: 700px; margin: -7px 0 28px; color: var(--ink); font-size: .98rem; line-height: 1.5; }
.hero-evidence strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 25px; border: 1px solid currentColor; font-size: .77rem; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.button-primary { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.hero .button-primary { min-height: 58px; padding-inline: 30px; color: var(--ink); background: linear-gradient(100deg, #f6bbd4 0%, #f9d8e4 46%, #fffaf6 100%); border-color: #4f4b4b; transition: background-color .15s ease, box-shadow .15s ease; }
.hero .button-primary:hover { opacity: 1; background: #f7c9db; box-shadow: 0 0 0 2px rgba(25, 24, 23, .08); }
.text-link { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.feature-section { padding-block: 120px 130px; background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: start; }
.section-heading .eyebrow { margin-bottom: 32px; }
.section-heading h2 { max-width: 11ch; margin-bottom: 0; }
.case-card { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 28px 0 44px; }
.case-card-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 55px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-card h3 { margin-bottom: 28px; }
.case-card p { color: var(--muted); font-size: 1.03rem; line-height: 1.75; margin-bottom: 34px; }
.case-link { display: inline-flex; gap: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.case-link span { font-size: 1.2em; }
.case-preview { margin-top: 70px; }
.case-preview-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.case-preview-heading > span:last-child { color: var(--muted); font-size: .78rem; }
.case-preview-hint-mobile { display: none; }
.case-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-preview-item { display: block; min-width: 0; text-decoration: none; }
.case-preview-item img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 1714; object-fit: cover; }
.case-preview-item span { display: block; margin-top: 13px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.approach-section { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); background: var(--paper); padding-block: 110px 125px; }
.approach-section::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("assets/hero/diagonal-bursts-desktop.png") center / 100% 100% no-repeat; opacity: .2; }
.approach-inner { position: relative; z-index: 1; }
.approach-section .section-heading h2 { max-width: none; }
.approach-note { max-width: 680px; margin: 28px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 34px; row-gap: 48px; margin: 66px 0 0; padding: 0; }
.steps li { border-top: 1px solid var(--ink); padding-top: 19px; }
.steps span { display: block; font-family: Cormorant, Georgia, serif; font-size: 2.2rem; line-height: 1; margin-bottom: 48px; }
.steps p { font-size: 1.03rem; line-height: 1.55; margin: 0; }
.steps strong { display: block; margin-bottom: 8px; font-size: 1.03rem; line-height: 1.55; font-weight: 700; }
.about-section { background: linear-gradient(100deg, #f8e7eb 0%, #fbf2f1 48%, #fffaf6 100%); color: var(--ink); padding-block: 125px 135px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 64px); align-items: center; }
.about-grid > div:first-child { min-width: 0; }
.about-grid .eyebrow { color: var(--muted); margin-bottom: 32px; }
.about-grid h2 { margin: 0; font-size: clamp(2.4rem, 4.8vw, 4.25rem); white-space: nowrap; }
.about-copy { min-width: 0; }
.about-grid p { max-width: 440px; margin: 0; color: var(--ink); font-size: 1.22rem; line-height: 1.6; text-wrap: pretty; }
.education-section { color: #fff; background: #100f1b; }
.education-hero { display: flex; align-items: center; min-height: clamp(400px, 33vw, 520px); padding-block: 70px; background: linear-gradient(90deg, rgba(8, 6, 48, .97) 0%, rgba(8, 6, 48, .77) 57%, rgba(8, 6, 48, .08) 100%), url("assets/education/yandex-yard.webp") center / cover no-repeat; }
.education-hero-content { width: min(calc(100% - 80px), var(--max)); }
.education-hero .eyebrow { margin-bottom: 34px; color: #d2c9ff; }
.education-hero h2 { max-width: none; margin-bottom: 30px; font-size: clamp(3.3rem, 6vw, 5.5rem); }
.education-hero p { max-width: 650px; margin: 0; color: #eeeaff; font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1.55; }
.course-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 16px 0; }
.course-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-height: clamp(480px, 36vw, 560px); overflow: hidden; padding: 34px; background: #16132f; }
.course-card::before, .course-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.course-card::before { z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.course-card::after { z-index: 1; background: linear-gradient(180deg, rgba(13, 11, 33, .08) 0%, rgba(13, 11, 33, .52) 48%, rgba(13, 11, 33, .97) 100%); }
.course-card-ecommerce::before { background-image: url("assets/education/yandex-courses.webp"); }
.course-card-direct::before { background-image: url("assets/education/yandex-catalog.png"); background-position: left center; filter: blur(10px); transform: scale(1.06); }
.course-card-direct::after { background: linear-gradient(180deg, rgba(17, 25, 84, .68) 0%, rgba(17, 25, 84, .75) 42%, rgba(13, 11, 33, .97) 100%); }
.course-card-communications::before { background-image: url("assets/education/yandex-comms.png"); }
.course-number { position: absolute; z-index: 2; top: 34px; left: 34px; color: #d0d6ff; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.course-card-copy { position: relative; z-index: 2; }
.course-card h3 { max-width: 15ch; margin: 0; font-size: clamp(2.25rem, 3vw, 3.1rem); line-height: 1.08; }
.course-certificate-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.education-progress { position: relative; margin: 0; overflow-x: auto; background: #e0def2; }
.education-progress a { display: block; min-width: 720px; }
.education-progress img { display: block; width: 100%; height: auto; }
.education-progress::after { content: ""; position: absolute; inset: 0; background: rgba(23, 20, 84, .18); pointer-events: none; }
.contact-section { padding-block: 125px 135px; }
.contact-section .eyebrow { margin-bottom: 30px; }
.contact-section h2 { max-width: 900px; margin-bottom: 35px; }
.contact-section p { color: var(--muted); }
.contact-options { display: flex; gap: 64px; margin-top: 38px; flex-wrap: wrap; }
.contact-logo { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; }
.contact-logo img { display: block; width: 100%; height: 100%; }
.contact-options .contact-logo { border-radius: 50%; transition: transform .15s ease, filter .15s ease; }
.contact-options .contact-logo:hover { opacity: 1; transform: translateY(-3px); filter: drop-shadow(0 5px 8px rgba(25, 24, 23, .18)); }
.contact-options .contact-logo:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.contact-mail { width: 72px; flex: 0 0 72px; }
.contact-mail summary { cursor: pointer; list-style: none; }
.contact-mail summary::-webkit-details-marker { display: none; }
.contact-mail-details { width: max-content; max-width: min(320px, calc(100vw - 40px)); margin-top: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(25, 24, 23, .12); }
.contact-mail-details span, .contact-mail-details small { display: block; }
.contact-mail-details span { margin-bottom: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-mail-details a { font-size: .93rem; overflow-wrap: anywhere; }
.contact-mail-details small { margin-top: 9px; color: var(--muted); font-size: .76rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.case-hero { width: min(calc(100% - 80px), 1420px); padding-block: 85px 100px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 65px; color: var(--muted); font-size: .77rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.case-hero .eyebrow { margin-bottom: 33px; }
.case-hero h1 { font-size: clamp(4.3rem, 8.5vw, 8rem); max-width: 1000px; margin-bottom: 32px; }
.lead { max-width: 820px; color: var(--muted); font-size: clamp(1.13rem, 2vw, 1.55rem); line-height: 1.65; }
.case-content { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(40px, 4.5vw, 76px); }
.case-content.wrap { width: min(calc(100% - 80px), 1420px); }
.case-toc { position: sticky; top: 24px; height: max-content; display: flex; flex-direction: column; gap: 17px; padding-top: 80px; }
.case-toc a { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.case-article { min-width: 0; }
.case-section { padding-block: 86px 95px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.case-section:last-child { border-bottom: 0; padding-bottom: 135px; }
.case-section .eyebrow { margin-bottom: 32px; }
.case-section h2 { max-width: 15ch; margin-bottom: 34px; }
.case-section > p { color: var(--muted); font-size: 1.07rem; line-height: 1.8; }
.case-section-body > p { color: var(--muted); font-size: 1.07rem; line-height: 1.8; }
.case-section-body > p:last-of-type { margin-bottom: 0; }
@media (min-width: 1100px) {
  .case-overview-section { display: grid; grid-template-columns: minmax(245px, .72fr) minmax(0, 1fr); gap: clamp(42px, 5vw, 82px); align-items: start; }
  .case-overview-section h2 { font-size: clamp(3.3rem, 4.7vw, 4.8rem); }
  .case-overview-section .month-grid { margin-top: 38px; }
}
.month-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 45px; border-top: 1px solid var(--ink); }
.month-grid > div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.month-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.month-grid > div:nth-child(even) { padding-left: 28px; }
.month-grid span { display: block; margin-bottom: 13px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.month-grid strong { display: block; font-family: Cormorant, Georgia, serif; font-size: 1.9rem; font-weight: 500; line-height: 1.1; }
.month-grid p { color: var(--muted); font-size: .95rem; margin: 11px 0 0; }
blockquote { margin: 35px 0; padding: 26px 0 26px 30px; border-left: 1px solid var(--ink); }
blockquote p { font-family: Cormorant, Georgia, serif; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 500; line-height: 1.16; margin: 0; }
blockquote p + p { margin-top: 24px; }
.long-quote p { font-size: clamp(1.7rem, 2.5vw, 2.4rem); line-height: 1.3; }
.video-plan { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--ink); }
.video-plan h3 { max-width: 13ch; margin-bottom: 27px; }
.video-plan p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.video-plan p:last-child { margin-bottom: 0; }
.video-plan strong { color: var(--ink); }
.video-scenarios { border-top: 1px solid var(--line); }
.video-scenario { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.video-scenario h4 { margin: 0 0 18px; font-family: Cormorant, Georgia, serif; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 500; line-height: 1.08; }
.video-scenario ol { margin: 0 0 16px; padding-left: 1.4em; }
.video-scenario li { padding-left: .3em; margin-bottom: 10px; color: var(--muted); line-height: 1.65; }
.video-scenario li::marker { color: var(--ink); font-weight: 700; }
.video-scenario p { margin: 0; }
.video-scenario video { display: block; width: min(100%, 390px); height: auto; aspect-ratio: 9 / 16; margin: 0 0 20px; background: var(--ink); }
.visual-role { margin: 0 0 32px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.post-index { margin: 35px 0 58px; border-top: 1px solid var(--ink); }
.post-index h3 { margin: 24px 0 10px; font-size: clamp(2rem, 3vw, 2.7rem); }
.post-index-hint { margin: 0 0 24px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.post-index-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-index-links a { --button-bg: #f7e4dc; --button-bg-hover: #f2d2c3; --button-accent: #8a4a38; display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 15px 17px; border: 1px solid var(--button-accent); border-left-width: 4px; border-radius: 12px; background: var(--button-bg); color: var(--ink); box-shadow: 0 3px 8px rgba(25, 24, 23, .07); font-size: .94rem; line-height: 1.35; text-decoration: none; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.post-index-links a:nth-child(4n + 2) { --button-bg: #e4ede3; --button-bg-hover: #cfe1cf; --button-accent: #3f6b53; }
.post-index-links a:nth-child(4n + 3) { --button-bg: linear-gradient(115deg, #f7eee4 0%, #fff0bd 54%, #f4dfc9 100%); --button-bg-hover: linear-gradient(115deg, #f5e2d3 0%, #ffe6a0 54%, #efd3ad 100%); --button-accent: #775400; }
.post-index-links a:nth-child(4n + 4) { --button-bg: #ece4f1; --button-bg-hover: #ded1e9; --button-accent: #645078; }
.post-index-links a:hover { background: var(--button-bg-hover); box-shadow: 0 8px 18px rgba(25, 24, 23, .13); opacity: 1; transform: translateY(-3px); }
.post-index-links a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.post-index-number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--button-accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.post-index-title { flex: 1 1 auto; font-weight: 600; }
.post-index-arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid var(--button-accent); border-radius: 50%; color: var(--button-accent); font-size: 1.1rem; line-height: 1; }
.post-index-links a:hover .post-index-arrow { background: var(--button-accent); color: #fff; }
.account-identity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 34px; align-items: center; margin: 45px 0 62px; padding: 34px; background: var(--soft); }
.account-identity-copy .eyebrow { display: block; margin-bottom: 19px; color: var(--muted); }
.account-identity h3 { font-size: clamp(2.5rem, 4vw, 3.7rem); margin-bottom: 19px; }
.account-identity p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.account-identity-figure { margin: 0; display: flex; justify-content: center; }
.account-identity-figure img { display: block; width: 100%; max-width: 300px; height: auto; clip-path: circle(43% at 50% 50%); }
 .post-gallery { display: grid; gap: 66px; margin: 0 0 85px; }
.post-card { display: grid; grid-template-columns: minmax(280px, 38%) minmax(0, 1fr); align-items: start; gap: clamp(32px, 4vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); min-width: 0; scroll-margin-top: 30px; }
.post-card img { display: block; width: 100%; height: auto; background: var(--soft); }
.post-copy { min-width: 0; }
.post-number { display: block; margin-bottom: 16px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-card h3 { margin-bottom: 20px; font-size: clamp(2.15rem, 3.5vw, 3.15rem); line-height: 1.03; }
.post-body p { margin: 0 0 1.05em; color: var(--muted); font-size: .98rem; line-height: 1.7; }
.post-body p:last-child { margin-bottom: 0; }
@media (max-width: 1099px) {
  .case-content { grid-template-columns: 1fr; }
  .case-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 13px 22px; padding-top: 40px; }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-card-communications { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-content.wrap, .case-hero { width: min(calc(100% - 80px), var(--max)); }
  .case-section { padding-block: 72px; }
  .account-identity { grid-template-columns: 1fr; }
}
@media (max-width: 830px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
}
@media (max-width: 700px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 15px; }
  .site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .course-list { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .course-card { min-height: 380px; }
  .course-card-communications { grid-column: auto; }
}
@media (max-width: 600px) {
  .education-progress { overflow-x: hidden; }
  .education-progress a { min-width: 0; }
  .wrap { width: min(calc(100% - 36px), var(--max)); }
  .case-content.wrap, .case-hero { width: min(calc(100% - 36px), var(--max)); }
  .header-inner { min-height: 78px; justify-content: center; }
  .wordmark { font-size: 1.6rem; }
  .site-header nav a { font-size: .66rem; }
  .hero.wrap { min-height: 0; padding: 95px 18px 80px; }
  .hero::before { background-image: url("assets/hero/diagonal-bursts-mobile-v2.png"); background-size: 100% 100%; }
  .approach-section::before { background-image: url("assets/hero/diagonal-bursts-mobile-v2.png"); opacity: .14; }
  .hero > .eyebrow { margin-bottom: 25px; }
  .hero-grid { gap: 20px; }
  .hero-copy p { margin-bottom: 24px; }
  .hero-copy .hero-evidence { margin: 0 0 22px; font-size: .86rem; }
  .hero h1 { font-size: clamp(3.5rem, 15vw, 6rem); }
  .hero h1 span { margin-top: 15px; font-size: .85rem; letter-spacing: .13em; }
  .hero-copy p { font-size: 1rem; }
  .hero .button-primary { min-height: 52px; padding-inline: 22px; }
  .hero-actions { gap: 19px; }
  .feature-section, .approach-section, .about-section, .contact-section { padding-block: 80px 90px; }
  .case-card-top { margin-bottom: 40px; }
  .case-preview { margin-top: 50px; }
  .case-preview-heading { display: block; }
  .case-preview-hint-desktop { display: none; }
  .case-preview-hint-mobile { display: block; }
  .case-preview-heading > span.case-preview-hint-mobile { display: block; margin-top: 8px; font-size: .875rem; line-height: 1.5; }
  .case-preview-grid { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 16px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
  .case-preview-item { flex: 0 0 min(75vw, 320px); scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; gap: 29px; margin-top: 48px; }
  .steps span { margin-bottom: 25px; }
  .about-grid p { font-size: 1.1rem; }
  .about-grid h2 { font-size: clamp(1.625rem, 7.5vw, 2.4rem); }
  .education-hero { min-height: 360px; padding-block: 48px; background: linear-gradient(90deg, rgba(8, 6, 48, .97) 0%, rgba(8, 6, 48, .77) 57%, rgba(8, 6, 48, .08) 100%), url("assets/education/yandex-yard.webp") 55% top / auto 125% no-repeat; }
  .education-hero-content { width: min(calc(100% - 36px), var(--max)); }
  .education-hero .eyebrow { margin-bottom: 24px; }
  .education-hero h2 { font-size: clamp(2.45rem, 9vw, 3.8rem); }
  .education-hero p { font-size: 1rem; }
  .course-card { min-height: 340px; padding: 28px; }
  .course-number { top: 28px; left: 28px; }
  .course-card h3 { font-size: clamp(2.1rem, 8.5vw, 2.9rem); }
  .footer-inner { flex-direction: column; gap: 4px; }
  .case-hero { padding-block: 55px 70px; }
  .back-link { margin-bottom: 55px; }
  .case-hero h1 { font-size: clamp(4rem, 14vw, 6rem); }
  .case-toc { gap: 10px 18px; }
  .case-toc a { font-size: .78rem; }
  .case-section { padding-block: 65px; }
  .month-grid { grid-template-columns: 1fr; }
  .month-grid > div:nth-child(odd) { border-right: 0; }
  .month-grid > div:nth-child(even) { padding-left: 0; }
  blockquote { padding-left: 22px; }
  .post-index-links { grid-template-columns: 1fr; }
  .post-index { margin-bottom: 45px; }
  .account-identity { padding: 26px 22px; gap: 20px; }
  .account-identity-figure img { max-width: 250px; }
  .post-gallery { gap: 50px; margin-bottom: 70px; }
  .post-card { grid-template-columns: 1fr; gap: 20px; }
  .post-card img { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }








@media (max-width: 360px) {
  .hero.wrap { padding-top: 90px; padding-bottom: 80px; }
  .hero > .eyebrow { margin-bottom: 18px; }
  .hero-grid { gap: 16px; }
  .hero h1 { font-size: 3rem; }
  .hero-copy p { margin-bottom: 18px; }
  .hero-copy .hero-evidence { margin-bottom: 16px; }
}


