@font-face{font-family:Midflite;src:url('assets/midflite-c.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Raleway;src:url('assets/raleway.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--paper:#F9E8D4;--ink:#663924;--accent:#D54C15;--accent-dark:#a63a0d;--muted:#77513e;--line:#66392433;--surface:#8DB6C7;--soft:#fff7ed;--display:Midflite,sans-serif}
body{background:var(--paper);color:var(--ink);font-family:Raleway,sans-serif;font-weight:350;line-height:1.7;font-variant-numeric:lining-nums}body *{font-family:inherit}h1,h2,.brand,.module-title,.tariff-card h3,.course-goal>strong,.method-note h3,.bonus-heading h3{font-family:var(--display);font-weight:700;font-style:normal;letter-spacing:-.035em}h2{font-size:clamp(2rem,3.7vw,3.25rem);line-height:1.2;text-wrap:balance}h3,h4{line-height:1.4}strong{font-weight:600}main{overflow:clip}.wrap{width:min(1160px,calc(100% - 88px))}.section{padding-block:88px}.eyebrow{font-size:.8125rem;font-weight:500;letter-spacing:.1em;line-height:1.6}.accent{color:var(--accent)}.icon{stroke-width:1.4}.site-header{min-height:98px;border-color:var(--line)}.brand{font-size:1.45rem;letter-spacing:-.065em;line-height:1.1}.site-header nav{font-size:.9375rem;font-weight:400;gap:30px;margin-right:28px}.header-cta{border:1px solid var(--ink);border-radius:32px;padding:10px 21px;font-size:.875rem}.header-cta:hover{background:var(--ink);color:var(--paper)}.button{border-radius:40px;background:var(--accent);color:#fff7ed;border:0;min-height:58px;padding:17px 26px;font-size:1rem;font-weight:500;box-shadow:none}.button:hover{background:var(--accent-dark);transform:translateY(-2px)}.text-link{font-size:.9375rem;font-weight:400}.button[aria-disabled=true]{background:#ecd5bd;color:#70513d;box-shadow:none;border:1px solid #66392430}.eyebrow-line{background:var(--accent)}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:0 70px;padding-top:40px;padding-bottom:70px;align-items:center}.hero-copy{display:contents}.hero-copy>.eyebrow{grid-column:1/-1;text-align:center;margin:0 0 26px;font-size:.8125rem}.hero h1{grid-column:1/-1;font-size:clamp(4rem,11vw,10rem);color:var(--accent);text-align:center;line-height:1.1;letter-spacing:-.055em;margin:0 0 44px}.hero-promise{grid-column:1;grid-row:3;font-size:1.5rem;line-height:1.55;letter-spacing:-.015em;font-weight:350;margin-top:0;max-width:560px}.hero-promise .accent{color:var(--accent);font-weight:500}.hero-actions{grid-column:1;grid-row:4;align-self:start;flex-wrap:wrap;gap:23px;margin:28px 0 22px}.hero-notes{grid-column:1;grid-row:5;align-self:start;color:var(--muted);font-size:.8125rem;gap:10px 15px;margin:0}.hero-notes span+span{border-left:1px solid var(--line);padding-left:15px}.hero-visual{grid-column:2;grid-row:3/6;display:block;padding:0 10px 28px 0;align-self:stretch}.hero-photo{min-height:340px;height:100%;max-height:none;border:0;border-radius:120px 120px 24px 24px;background:var(--surface)}.hero-photo::after{border:1px solid #F9E8D480;inset:15px;border-radius:108px 108px 15px 15px}.hero-photo .placeholder-label{color:var(--ink);font-size:.9375rem}.hero-photo .photo-index{color:var(--ink);bottom:30px;font-size:.75rem;font-weight:400}.visual-note{background:var(--soft);border:1px solid var(--line);border-radius:18px;box-shadow:none;transform:none;left:-24px;bottom:2px;padding:15px 23px;gap:14px}.visual-note p{font-size:.875rem;font-weight:350}.visual-note strong{font-weight:500}.note-mark{font-family:Raleway,sans-serif;color:var(--accent);font-size:3.6rem;line-height:1;padding:0;height:37px}.vertical-caption{font-size:.75rem;color:var(--ink);right:-22px}.course-strip{background:var(--surface);border:0;color:var(--ink)}.strip-inner{font-family:Raleway,sans-serif;font-size:1rem;font-weight:500;letter-spacing:.035em;min-height:80px;gap:20px}.strip-inner i{font-family:Raleway,sans-serif;color:var(--accent);font-size:23px}
.for-you{grid-template-columns:1fr 1fr;gap:85px}.audience-copy{font-size:1rem;line-height:1.8;color:var(--muted);margin-top:24px;max-width:450px}.course-goal{max-width:420px;margin-top:32px;border:0;border-radius:24px;background:var(--ink);color:var(--paper);padding:28px}.course-goal .eyebrow{color:var(--paper);display:block;margin-bottom:14px}.course-goal>strong{display:block;color:var(--paper);font-size:2rem;line-height:1.2}.course-goal p{color:var(--paper);font-size:1rem;line-height:1.75;margin-top:17px;font-weight:350}.benefit-list article{border-color:var(--line);gap:21px;padding:24px 0}.small-number{font-family:Raleway,sans-serif;font-size:1rem;font-weight:400;color:var(--accent);min-width:26px}.benefit-list h3{font-size:1.15rem;font-family:Raleway,sans-serif;font-weight:600;line-height:1.45}.benefit-list p{font-size:1rem;line-height:1.75;font-weight:350;color:var(--muted)}.works{background:#8DB6C733;border:0}.section-heading{gap:35px;margin-bottom:36px}.section-heading h2{font-size:clamp(2rem,3.3vw,3rem)}.heading-aside{font-size:1rem;font-weight:350;line-height:1.7}.work-grid{gap:25px}.work-photo,.work-grid figure:nth-child(2) .work-photo,.work-grid figure:nth-child(3) .work-photo{border:0;border-radius:22px;background:#8DB6C7;aspect-ratio:1/1.13}.work-grid figure:nth-child(2) .work-photo{background:#eed6ba}.work-grid figure:nth-child(3) .work-photo{background:#b4cbd1}.work-photo::after{border-color:#66392424;border-radius:13px;inset:12px}.placeholder-label,.work-photo .placeholder-label{color:#663924;font-size:.8755rem;font-weight:350}.photo-corner{font-family:Raleway,sans-serif;font-size:1rem;color:var(--ink)}figcaption{font-size:1rem;font-weight:400;margin-top:17px}.muted{color:var(--muted)}
.program{grid-template-columns:.95fr 1.05fr;gap:60px 65px}.program-intro>p:not(.eyebrow){font-size:1rem;line-height:1.8;color:var(--muted);max-width:460px}.method-note{background:var(--surface);border:0;border-radius:23px;padding:27px;max-width:430px;margin-top:28px}.method-note .eyebrow{color:var(--ink);display:block;font-size:.75rem;margin-bottom:14px}.method-note h3{font-size:1.5rem;line-height:1.3;color:var(--ink)}.method-note p{font-size:1rem;line-height:1.75;color:var(--ink);margin-top:16px;font-weight:350}.lesson-note{max-width:100%;border-color:var(--line);margin-top:26px}.lesson-note strong{font-size:1rem;font-weight:500}.lesson-note span{font-size:.875rem;color:var(--muted)}.module-list{min-width:0}.module{border-top:1px solid var(--line);background:var(--soft);border:0;border-radius:20px;margin-bottom:13px;overflow:hidden}.module:last-child{border-bottom:0}.module summary{padding:24px;gap:17px;min-height:100px}.module-number{font-family:Raleway,sans-serif;font-size:1.5rem;font-weight:350;min-width:32px;color:var(--accent)}.module-meta{font-family:Raleway,sans-serif;font-size:.75rem;font-weight:400;letter-spacing:.05em}.module-title{font-size:1.25rem;line-height:1.35;letter-spacing:-.02em}.toggle-icon{border:1px solid var(--line);color:var(--ink);border-radius:50%;width:31px;height:31px}.module[open] .toggle-icon{background:var(--ink);border-color:var(--ink);color:var(--paper)}.module-body{padding:0 25px 26px 70px}.module-body li{font-size:1rem;color:var(--muted);line-height:1.75}.module-result{border-color:var(--line);font-size:.875rem;color:var(--muted)}.program-bonuses{margin-top:0;padding-top:35px;border-color:var(--line)}.bonus-heading{gap:28px;align-items:center}.bonus-heading h3{font-size:2rem;line-height:1.2}.bonus-badge{background:var(--ink);color:var(--paper);border:0;border-radius:30px;font-size:.875rem;padding:10px 19px}.bonus-grid{gap:22px}.bonus-item,.bonus-item:last-child{border:0;padding:26px;background:var(--soft);border-radius:22px}.bonus-number{font-family:Raleway,sans-serif;color:var(--accent);font-size:.75rem;font-weight:500;letter-spacing:.04em}.bonus-item h4{font-family:Raleway,sans-serif;font-size:1.125rem;font-weight:600;line-height:1.5}.bonus-item p,.bonus-caption{font-size:1rem;color:var(--muted);line-height:1.75}.bonus-caption{font-size:.875rem}
.author-section{background:var(--surface);padding-block:70px}.author-inner{grid-template-columns:.8fr 1.2fr;gap:75px;align-items:center}.author-photo{border:0;aspect-ratio:4/5;max-width:380px;border-radius:160px 160px 25px 25px;background:var(--paper)}.author-photo .photo-index{font-size:.75rem;color:var(--ink);top:auto;bottom:25px;left:0;right:0;text-align:center}.author-photo .placeholder-label{color:var(--ink);font-size:1rem}.author-copy h2{font-size:clamp(2rem,3.3vw,3rem);line-height:1.2}.author-copy p:not(.eyebrow){font-size:1rem;color:var(--ink);font-weight:350;line-height:1.8}.author-copy p.author-lead{font-size:1.125rem;font-weight:400}.author-proof{border-color:#66392440;max-width:430px}.author-proof strong{font-family:Raleway,sans-serif;font-size:3.2rem;font-weight:500;color:var(--ink)}.author-proof span{font-family:Raleway,sans-serif;font-size:1rem;color:var(--ink)}.author-signature{font-size:.9375rem;font-weight:400;color:var(--ink)}.license-section{grid-template-columns:1.2fr .8fr;gap:80px;border-color:var(--line)}.license-copy h2{font-size:clamp(2rem,3.3vw,3rem)}.license-copy>p:not(.eyebrow){color:var(--muted);font-size:1rem;font-weight:350;line-height:1.8}.license-copy>p.license-lead{font-size:1.125rem;color:var(--ink)}.license-detail{border-color:var(--line);font-size:.875rem;color:var(--muted)}.license-figure{border:1px solid var(--line);background:var(--soft);padding:19px;border-radius:20px;max-width:340px}.license-preview{border-radius:8px;box-shadow:none}.license-figure figcaption{font-family:Raleway,sans-serif;font-size:.8125rem;color:var(--muted)}.review-grid{gap:24px}.review-slot,.review-slot:nth-child(2),.review-slot:nth-child(3){background:var(--soft);border:1px solid var(--line);border-radius:23px;padding:26px;min-height:275px}.review-slot:nth-child(2){background:#8DB6C733}.review-quote{font-family:Raleway,sans-serif;font-size:4rem;color:var(--accent);font-weight:400}.review-placeholder{font-size:1rem;color:var(--muted);font-weight:350}.review-placeholder small{font-size:.875rem;color:var(--muted)}.review-index{font-family:Raleway,sans-serif;font-size:.75rem;letter-spacing:.05em;color:var(--muted)}
.join-section{width:100%;padding:0;margin:0}.join-card{display:block;border-radius:0;background:var(--ink);color:var(--paper);padding:75px max(44px,calc((100vw - 1160px)/2))}.join-copy{max-width:840px;padding:0 0 35px}.join-copy .eyebrow{color:var(--paper)}.join-copy h2{font-size:clamp(2.1rem,3.6vw,3.35rem);line-height:1.2;color:var(--paper)}.join-copy h2 span{color:var(--surface)}.join-copy>p:last-child{color:var(--paper);font-weight:350;font-size:1rem;line-height:1.8;max-width:650px}.tariff-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.tariff-card{border:0;border-radius:25px;background:var(--paper);padding:32px;color:var(--ink)}.tariff-label{font-family:Raleway,sans-serif;font-size:.75rem;min-height:0;letter-spacing:.05em;color:var(--muted);font-weight:400}.tariff-card h3{font-size:1.75rem;line-height:1.3;min-height:0;margin:19px 0 18px;overflow-wrap:normal;letter-spacing:-.03em}.tariff-support{font-family:Raleway,sans-serif;font-size:1rem;line-height:1.7;min-height:3.4em;color:var(--muted);font-weight:350}.tariff-price{border-color:var(--line);min-height:110px;padding:18px 0 25px}.tariff-price>strong{font-family:Raleway,sans-serif;font-weight:500;font-size:3rem;color:var(--ink);letter-spacing:-.035em}.tariff-price>strong>span{font-family:Raleway,sans-serif;font-size:1.6rem}.previous-price{font-size:1rem;color:var(--muted)}.tariff-features{padding-block:25px 32px;gap:16px}.tariff-features li{font-size:1rem;line-height:1.75;font-weight:350}.tariff-features strong{font-weight:500}.tariff-features .icon{color:var(--accent);margin-top:4px}.tariff-card .payment-button{font-size:1rem;border-radius:35px}.tariff-featured{background:var(--surface);border:0}.tariff-featured .tariff-label{color:var(--ink)}.tariff-featured .tariff-price{border-color:#66392440}.tariff-featured .tariff-support{color:var(--ink)}.tariff-featured .button[aria-disabled=true]{background:#F9E8D4a8;color:var(--ink)}.tariff-plus{color:var(--accent)}.tariff-footnotes{color:var(--paper);font-size:.875rem;padding:26px 0 0}.tariff-footnotes .payment-caption,.tariff-footnotes .offer-legal{color:var(--paper);font-size:.875rem}.faq{grid-template-columns:.85fr 1.15fr;gap:75px}.faq h2{font-size:clamp(2rem,3.3vw,3rem)}.faq-list details,.faq-list details:first-child{border-color:var(--line)}.faq-list summary{font-size:1rem;font-weight:500;padding:23px 0}.faq-list details>p{font-size:1rem;font-weight:350;color:var(--muted);line-height:1.8}.site-footer{background:var(--paper);color:var(--ink);border-top:1px solid var(--line);padding-block:40px 28px}.footer-top .brand{font-size:1.8rem}.footer-top p,.footer-course-link{font-size:.875rem;color:var(--muted)}.footer-bottom{border-color:var(--line);color:var(--muted);font-size:.8125rem;align-items:start}.legal-links{font-family:Raleway,sans-serif;font-size:.8125rem;gap:12px 22px;max-width:760px}.legal-soon{color:var(--muted)}.mobile-cta{background:#F9E8D4f5;border-color:var(--line)}.mobile-cta strong{font-family:var(--display);font-size:1rem;color:var(--ink);font-weight:700}.mobile-cta span{font-family:Raleway,sans-serif;font-size:.75rem;color:var(--muted)}.image-dialog,.license-dialog{border-radius:20px;background:var(--paper);color:var(--ink)}.license-dialog-header{background:var(--paper)}.license-dialog-header h2{font-family:var(--display);font-size:1.2rem;color:var(--ink)}.dialog-close,.license-close{font-family:Raleway,sans-serif;color:var(--ink)}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:0 44px}.hero-promise{font-size:1.25rem}.hero h1{font-size:10.8vw}.hero-photo{min-height:360px}.for-you{gap:45px}.program{gap:45px}.author-inner{gap:50px}.tariff-card h3{font-size:1.5rem}.join-card{padding-inline:32px}.license-section{gap:50px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.section{padding-block:55px}.site-header{min-height:76px}.brand{font-size:1.1rem}.header-cta{font-size:.8125rem;padding:8px 16px}.hero{display:flex;flex-direction:column;gap:0;padding-top:28px;padding-bottom:49px;align-items:stretch}.hero-copy{display:contents}.hero-copy>.eyebrow{order:0;margin:0 0 22px;font-size:.75rem;letter-spacing:.035em;text-align:center}.hero h1{order:1;align-self:center;font-size:clamp(2.5rem,11.2vw,5.1rem);letter-spacing:-.05em;line-height:1.2;margin:0 0 25px;white-space:nowrap}.hero-promise{order:2;margin:0;font-size:1.125rem;line-height:1.75;letter-spacing:0;font-weight:350}.hero-actions{order:3;margin:25px 0 22px;gap:19px;flex-direction:column;align-items:stretch;width:100%}.hero-actions .button{width:100%;font-size:1rem;padding:16px 22px;min-height:56px}.hero-actions .text-link{justify-content:center;font-size:.9375rem}.hero-notes{order:4;display:flex;justify-content:center;width:100%;font-size:.75rem;gap:7px 12px;margin:0 0 28px}.hero-notes span+span{border:0;padding-left:0}.hero-visual{order:5;align-self:center;width:92%;max-width:400px;padding:0 10px 27px 0}.hero-photo{min-height:0;aspect-ratio:1/1.03;height:auto;border-radius:120px 120px 22px 22px}.hero-photo::after{border-radius:108px 108px 13px 13px;inset:12px}.visual-note{left:-7px;bottom:3px;padding:12px 20px;border-radius:15px}.visual-note p{font-size:.8125rem}.vertical-caption{right:-15px;font-size:.75rem}.hero-photo .photo-index{font-size:.75rem}.strip-inner{width:calc(100% - 24px);min-height:69px;gap:8px;font-size:.75rem;line-height:1.55;letter-spacing:.02em;text-align:center}.strip-inner span{flex:1}.strip-inner i{font-size:14px}h2,.section-heading h2{font-size:clamp(1.7rem,7.3vw,2.5rem);line-height:1.25;letter-spacing:-.04em}.for-you{grid-template-columns:1fr;gap:31px}.audience-copy{font-size:1rem;margin-top:22px}.course-goal{padding:25px;max-width:none;margin-top:27px;border-radius:21px}.course-goal>strong{font-size:1.75rem}.course-goal p{font-size:1rem}.benefit-list article{gap:16px;padding:22px 0}.benefit-list h3{font-size:1.125rem}.benefit-list p{font-size:1rem}.heading-aside{font-size:1rem;margin-top:17px;max-width:none}.section-heading{margin-bottom:26px}.work-grid{grid-template-columns:repeat(3,82%);gap:16px;padding-bottom:15px}.work-photo{border-radius:20px}.work-grid figcaption{font-size:.9375rem}.work-photo .placeholder-label{font-size:.875rem}.program{grid-template-columns:1fr;gap:28px}.program-intro>p:not(.eyebrow){font-size:1rem;margin-top:22px}.method-note{max-width:none;padding:24px;margin-top:24px}.method-note h3{font-size:1.35rem;line-height:1.4}.method-note p{font-size:1rem}.lesson-note{margin-top:22px}.module summary{padding:21px 18px;gap:12px;min-height:94px}.module-number{font-size:1.35rem;min-width:27px}.module-meta{font-size:.75rem;letter-spacing:.025em}.module-title{font-size:1.05rem;line-height:1.45;letter-spacing:-.025em}.toggle-icon{width:27px;height:27px}.module-body{padding:0 22px 24px 34px}.module-body li{font-size:1rem;line-height:1.7}.program-bonuses{margin-top:8px;padding-top:28px}.bonus-heading h3{font-size:1.75rem;line-height:1.3}.bonus-heading{gap:20px}.bonus-badge{font-size:.8125rem;padding:9px 15px}.bonus-grid{grid-template-columns:1fr;gap:15px}.bonus-item,.bonus-item:first-child,.bonus-item:last-child{border:0;padding:25px;border-radius:21px}.bonus-item h4{font-size:1.125rem}.bonus-caption{font-size:.875rem}.author-section{padding-block:54px}.author-inner{grid-template-columns:1fr;gap:30px}.author-photo{width:90%;max-width:330px;justify-self:center;aspect-ratio:4/5;max-height:none;border-radius:150px 150px 22px 22px}.author-copy h2{font-size:clamp(1.8rem,7.6vw,2.6rem)}.author-copy p:not(.eyebrow){font-size:1rem;line-height:1.8}.author-proof strong{font-size:3rem}.author-proof span{font-size:.9375rem}.author-signature{font-size:.875rem}.license-section{grid-template-columns:1fr;gap:30px}.license-copy h2{font-size:clamp(1.8rem,7.6vw,2.6rem)}.license-copy>p.license-lead{font-size:1.125rem}.license-figure{justify-self:center;width:92%;max-width:340px}.license-detail{font-size:.875rem}.review-grid{grid-template-columns:repeat(3,85%);gap:17px;padding-bottom:16px}.review-slot{min-height:275px}.review-placeholder{font-size:1rem}.join-section{width:100%;padding:0}.join-card{padding:52px 20px 33px}.join-copy{padding:0 0 29px}.join-copy h2{font-size:clamp(1.75rem,7.4vw,2.65rem);line-height:1.3}.join-copy>p:last-child{font-size:1rem}.tariff-grid{grid-template-columns:1fr;gap:19px}.tariff-card{padding:27px 23px;border-radius:23px}.tariff-card h3{font-size:1.37rem;line-height:1.4;margin:16px 0;letter-spacing:-.045em}.tariff-card:first-child h3{font-size:clamp(.95rem,4.8vw,1.4rem)}.tariff-support{min-height:0;font-size:1rem}.tariff-price{min-height:0;margin-top:24px;padding:0 0 23px;gap:11px}.tariff-price>strong{font-size:2.8rem}.tariff-features{padding-block:24px 30px;gap:16px}.tariff-features li{font-size:1rem}.tariff-card .payment-button{font-size:1rem;min-height:54px}.tariff-footnotes{padding-top:24px}.faq{grid-template-columns:1fr;gap:28px}.faq h2{font-size:clamp(1.8rem,7.6vw,2.6rem)}.faq-list summary{font-size:1rem;line-height:1.6;padding:21px 0}.faq-list details>p{font-size:1rem;line-height:1.8}.site-footer{padding-block:35px 105px}.footer-top .brand{font-size:1.5rem}.footer-top p{font-size:.875rem}.footer-course-link{font-size:.875rem}.footer-bottom{gap:24px}.legal-links{font-size:.875rem;gap:13px}.mobile-cta{padding-inline:18px;gap:12px}.mobile-cta strong{font-size:.95rem}.mobile-cta span{font-size:.75rem}.mobile-cta .button{font-size:.875rem;min-height:47px;padding:12px 18px;gap:12px}.license-dialog-header h2{font-size:.95rem}}
@media(max-width:370px){.wrap{width:calc(100% - 32px)}.hero-copy>.eyebrow{font-size:.75rem}.hero-promise{font-size:1.0625rem}.join-card{padding-inline:16px}.tariff-card{padding-inline:20px}.module-title{font-size:.975rem}.module summary{gap:10px;padding-inline:15px}.module-number{min-width:24px}.brand{font-size:1rem}.header-cta{font-size:.8125rem}.strip-inner{font-size:.75rem;gap:4px}.strip-inner i{font-size:11px}}

.button{background:var(--ink);color:var(--paper)}.button:hover{background:var(--accent-dark)}.small-number,.bonus-number{color:var(--ink)}

/* Галерея реальных работ */
#work-carousel{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 50px)/3);gap:25px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--ink) transparent;padding-bottom:16px;overscroll-behavior-x:contain}
#work-carousel figure{min-width:0;margin:0;scroll-snap-align:start}
#work-carousel .work-photo{aspect-ratio:3/4;background:var(--paper)}
#work-carousel .work-photo img{object-fit:contain}
.work-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;font-size:.875rem}
.work-arrows{display:flex;gap:10px}
.work-arrows button{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid var(--ink);background:transparent;color:var(--ink);font:400 1.5rem Raleway,sans-serif;cursor:pointer}
.work-arrows button:hover:not(:disabled){background:var(--ink);color:var(--paper)}
.work-arrows button:disabled{opacity:.3;cursor:default}
#work-carousel:focus-visible,.work-arrows button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:760px){#work-carousel{grid-template-columns:none;grid-auto-columns:82%;gap:16px}}

/* Отзывы: листание и чтение оригинала */
#review-carousel{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/2);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--ink) transparent;overscroll-behavior-x:contain;padding-bottom:16px;align-items:stretch}
#review-carousel .review-slot{margin:0;min-width:0;min-height:0;height:360px;padding:16px;scroll-snap-align:start;background:var(--soft)}
#review-carousel .review-image-button{height:100%;border-radius:8px}
#review-carousel .review-image-button img{display:block;width:100%;height:100%;object-fit:contain}
#review-carousel:focus-visible,#review-carousel button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#image-dialog{width:min(780px,calc(100vw - 24px));max-width:calc(100vw - 24px);overflow-y:auto}
#image-dialog #expanded-review{display:block;width:100%;height:auto;max-height:none}
#image-dialog .dialog-close{position:sticky;top:0;float:right;z-index:1;background:var(--paper)}
@media(max-width:760px){#review-carousel{grid-auto-columns:94%;gap:16px}#review-carousel .review-slot{height:360px;padding:10px}}

/* Главный экран начинается с реальной работы Марины. */
.hero.hero-with-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,70px);padding-top:28px;align-items:center}
.hero-with-photo .hero-visual{grid-column:1;grid-row:1;display:block;align-self:start;width:100%;max-width:520px;margin:0;padding:0}
.hero-with-photo .hero-photo{aspect-ratio:1228/1536;min-height:0;height:auto;max-height:none;border-radius:22px}
.hero-with-photo .hero-photo img{position:static;display:block;width:100%;height:auto;object-fit:contain}
.hero-with-photo .hero-caption{display:block;font-size:.875rem;line-height:1.65;font-weight:350;color:var(--muted);margin:14px 0 0}
.hero-with-photo .hero-copy{display:block;grid-column:2;grid-row:1;min-width:0}
.hero-with-photo .hero-copy>.eyebrow{text-align:left;margin:0 0 20px}
.hero.hero-with-photo h1{font-size:clamp(2.75rem,6.9vw,5.25rem);line-height:1.15;text-align:left;white-space:nowrap;margin:0 0 28px}
.hero-with-photo .hero-notes{justify-content:flex-start;margin:0}
@media(max-width:760px){
  .hero.hero-with-photo{display:flex;flex-direction:column;align-items:stretch;gap:28px;padding-top:16px}
  .hero-with-photo .hero-visual{order:0;align-self:center;width:100%;max-width:440px;margin:0;padding:0}
  .hero-with-photo .hero-copy{order:1}
  .hero-with-photo .hero-photo{border-radius:18px}
  .hero-with-photo .hero-caption{text-align:center}
  .hero-with-photo .hero-copy>.eyebrow{text-align:center}
  .hero.hero-with-photo h1{font-size:clamp(2.5rem,11.2vw,5.1rem);text-align:center;margin-bottom:25px}
  .hero-with-photo .hero-notes{justify-content:center}
}
