:root{
  --night:#eee5e0;--navy:#f5efea;--navy-2:#e9ddd5;
  --blue:#793a4a;--blue-d:#612b3b;--blue-l:#ad7d88;
  --ice:#f4eee9;--paper:#faf7f3;
  --ink:#3c3331;--muted:#766b67;--line:rgba(82,55,55,.13);
  --d-text:#3c3331;--d-muted:#766b67;--d-line:rgba(82,55,55,.14);
  --r-s:12px;--r-m:20px;--r-l:28px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body{background:var(--paper);color:var(--ink);font-size:16px}
h1,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:0;line-height:1.08;font-weight:400}
h1{font-size:clamp(42px,6vw,78px);max-width:14ch}
h2{font-size:clamp(30px,3.8vw,48px);max-width:28ch}
h3{letter-spacing:0;line-height:1.2;font-weight:500}
.topbar{background:rgba(250,247,243,.88);border-bottom-color:rgba(82,55,55,.1)}
.brand{font-family:Georgia,"Times New Roman",serif;font-size:17px;letter-spacing:.01em}
.brand__bar{background:var(--blue);height:16px}
.tabs__glass{border-color:rgba(121,58,74,.25);background:linear-gradient(135deg,rgba(255,253,250,.94),rgba(231,212,208,.62) 55%,rgba(248,240,235,.88));box-shadow:inset 0 1px 1px rgba(255,255,255,.78),inset 0 -1px 1px rgba(121,58,74,.08),0 3px 12px rgba(93,46,57,.08)}
.tabs a.is-on{color:var(--ink)}
.btn--primary{background:var(--blue);color:#F5EFEB;box-shadow:inset 0 1px 0 rgba(255,255,255,.26)}
.btn--primary:hover{background:var(--blue-d)}
.btn--line{background:rgba(255,253,250,.78);border-color:rgba(82,55,55,.16);color:var(--ink)}
.btn--line:hover{border-color:var(--blue);background:#F5EFEB}
.sec{padding:34px 0}
.sec--light{background:linear-gradient(135deg,#f1e8e2,#f8f4f0 58%,#eee2dc)}
.sec--paper{background:var(--paper)}
.sec>.wrap{width:calc(100% - 36px);padding:clamp(25px,4.8vw,60px);border:1px solid rgba(121,58,74,.14);border-radius:30px;background:rgba(255,253,250,.72);box-shadow:0 18px 60px rgba(68,43,45,.055),inset 0 1px 0 rgba(255,255,255,.88);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.sec--dark{background:#eee3dd;color:var(--ink)}
.sec--dark>.wrap{background:rgba(255,253,250,.76);border-color:rgba(121,58,74,.14);box-shadow:0 18px 60px rgba(68,43,45,.055),inset 0 1px 0 rgba(255,255,255,.88)}
.sec--dark .sub,.sec--dark .hero__exp{color:var(--muted)}
.hero{padding-top:clamp(24px,3.5vw,48px);overflow:hidden}
.hero::before{right:-12%;top:-40%;width:65vw;height:65vw;background:radial-gradient(closest-side,rgba(168,117,127,.15),transparent 72%)}
.hero__grid{grid-template-columns:.88fr 1.12fr;gap:clamp(32px,6vw,92px)}
.hero__text{max-width:550px;padding:clamp(14px,3vw,38px) 0}
.hero__for{color:var(--blue);font-size:12px;font-weight:500;letter-spacing:.09em;text-transform:uppercase}
.hero h1{max-width:10ch;font-size:clamp(42px,5.4vw,72px);line-height:1.06}
.hero h1 em{color:var(--blue);font-weight:400}
.lead{max-width:37ch;margin-top:19px;color:var(--muted);font-size:18px;line-height:1.5}
.hero__cta{margin-top:25px}
.hero__photo{padding:10px;overflow:hidden;min-height:clamp(400px,48vw,640px);border:1px solid rgba(255,255,255,.9);border-radius:3px;background:rgba(255,253,250,.48);box-shadow:0 22px 58px rgba(68,43,45,.075),inset 0 0 0 1px rgba(121,58,74,.11);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hero-ig{display:flex;align-items:center;justify-content:center}
.hero__photo .instagram-media{max-height:490px;overflow:hidden}
.hero__exp{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px;color:var(--muted)}
.stat-pill{padding:8px 12px;border:1px solid rgba(121,58,74,.16);border-radius:999px;background:rgba(255,253,250,.78);font-size:12px}
.section-top{max-width:700px;margin:0 auto 32px;text-align:center}
.section-top .eyebrow,.about-copy .eyebrow,.form-intro .eyebrow{justify-content:center;margin-bottom:12px;color:var(--blue);font-size:11px;letter-spacing:.13em}
.section-top h1,.section-top h2{max-width:26ch;margin:0 auto}
.sub{max-width:58ch;margin:12px auto 0;color:var(--muted);font-size:15px;line-height:1.65}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.feature-card{min-height:190px;padding:26px 23px;border:1px solid rgba(121,58,74,.13);border-radius:3px;background:rgba(255,253,250,.64);box-shadow:0 10px 30px rgba(68,43,45,.025)}
.feature-card>span{display:grid;place-items:center;width:31px;height:31px;border:1px solid rgba(121,58,74,.24);border-radius:50%;color:var(--blue);font-family:var(--font);font-size:11px}
.feature-card h3{margin:16px 0 7px}
.feature-card p{color:var(--muted);font-size:13px;line-height:1.6}
.course-teaser{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}
.course-teaser .eyebrow{margin-bottom:12px;color:var(--blue);font-size:11px;letter-spacing:.12em}
.course-teaser h2{font-size:clamp(28px,3.8vw,44px)}
.course-teaser .sub{margin:12px 0 0}
.format-chips{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px}
.format-chips>span{padding:10px 14px;border:1px solid rgba(121,58,74,.16);border-radius:999px;background:rgba(255,253,250,.78);font-size:13px}
.about-grid{display:grid;grid-template-columns:.7fr 1.3fr;align-items:center;gap:clamp(28px,7vw,86px)}
.about-monogram{aspect-ratio:1/1;max-width:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(121,58,74,.21);border-radius:46% 46% 25px 25px;background:linear-gradient(145deg,rgba(255,253,250,.92),rgba(235,221,215,.66));box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 18px 40px rgba(68,43,45,.06);color:var(--blue);font-family:Georgia,serif;font-size:clamp(70px,9vw,118px)}
.about-monogram span{margin-top:4px;color:var(--muted);font-family:var(--font);font-size:11px;letter-spacing:.16em;text-transform:uppercase}
.about-copy .eyebrow{justify-content:flex-start}
.about-copy h2{font-size:clamp(34px,4vw,48px)}
.about-copy>p:not(.eyebrow){max-width:58ch;margin:16px 0 20px;color:var(--muted);font-size:15px;line-height:1.8}
.about-facts{display:flex;flex-wrap:wrap;gap:8px}
.about-facts span{padding:8px 11px;border-radius:999px;background:#f0e7e1;color:#654a4b;font-size:11px}
.other-section>.section-top{margin-bottom:22px}
.mini-offers{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mini-offers article{padding:26px;border:1px solid rgba(121,58,74,.14);border-radius:3px;background:rgba(255,253,250,.67);box-shadow:0 10px 32px rgba(68,43,45,.025)}
.mini-offers article>span{color:var(--blue);font-size:10px;letter-spacing:.11em;text-transform:uppercase}
.mini-offers h3{margin:12px 0 7px;font-size:21px}
.mini-offers p{min-height:42px;color:var(--muted);font-size:13px;line-height:1.6}
.mini-offers a{display:inline-block;margin-top:12px;color:var(--blue-d);font-size:13px;font-weight:500}
.final-cta{display:flex;align-items:center;justify-content:space-between;gap:24px}
.final-cta .eyebrow{margin-bottom:10px;color:var(--blue);font-size:11px;letter-spacing:.12em}
.final-cta h2{font-size:clamp(28px,3.5vw,40px)}
.final-cta p:not(.eyebrow){margin-top:9px;color:var(--muted);font-size:14px}
.two-packs{margin-top:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pack{min-height:250px;padding:28px;background:rgba(255,253,250,.75);border:1px solid rgba(121,58,74,.14);border-radius:3px;box-shadow:0 10px 32px rgba(68,43,45,.035)}
.pack--feat{border-color:rgba(121,58,74,.36);background:linear-gradient(145deg,rgba(239,225,220,.88),rgba(255,253,250,.87));box-shadow:0 12px 34px rgba(93,46,57,.07)}
.pack__eyebrow{color:var(--blue);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.pack h2{margin-top:4px;font-size:26px}
.pack__note{color:var(--muted);font-size:14px;line-height:1.6}
.pack .btn{min-height:44px;margin-top:auto;font-size:14px}
.course-details{margin:26px auto 0;max-width:900px;display:grid;gap:0;border-top:1px solid rgba(121,58,74,.14)}
.course-details>div{display:grid;grid-template-columns:46px 1fr;gap:10px;padding:16px 3px;border-bottom:1px solid rgba(121,58,74,.14)}
.detail-index{color:var(--blue);font-family:Georgia,serif;font-size:16px}
.course-details p{color:var(--muted);font-size:13px;line-height:1.6}
.course-details b{color:var(--ink);font-weight:500}
.form-shell{display:grid;grid-template-columns:.85fr 1.15fr;align-items:start;gap:9%}
.form-intro h2{font-size:clamp(28px,3.7vw,42px)}
.form-intro>p:last-child{margin-top:12px;color:var(--muted);font-size:14px}
.lead-form{display:grid;gap:13px;padding:24px;border:1px solid rgba(121,58,74,.16);border-radius:3px;background:rgba(255,253,250,.76);box-shadow:0 12px 32px rgba(68,43,45,.035)}
.lead-form label:not(.consent){display:grid;gap:6px;color:var(--muted);font-size:12px}
.lead-form input:not([type=checkbox]),.lead-form select{width:100%;min-height:44px;padding:10px 12px;border:1px solid rgba(82,55,55,.16);border-radius:12px;background:rgba(255,255,252,.9);color:var(--ink);font:inherit;font-size:14px}
.lead-form input:focus,.lead-form select:focus{outline:2px solid rgba(121,58,74,.22);border-color:var(--blue)}
.consent{display:flex;align-items:flex-start;gap:9px;color:var(--muted);font-size:10px;line-height:1.5}
.consent input{margin-top:2px;accent-color:var(--blue)}
.form-note,.form-result{color:var(--muted);font-size:10px;line-height:1.5}
.form-result{min-height:1em;color:var(--blue-d)}
.reviews-wrap h1{max-width:none}
.embed-grid{margin-top:28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.instagram-media{width:100%!important;max-width:540px!important;min-width:min(326px,100%)!important;margin:0 auto!important;border:1px solid rgba(121,58,74,.14)!important;border-radius:22px!important;box-shadow:0 12px 30px rgba(68,43,45,.08)!important;background:#F5EFEB!important}
.hero-ig .instagram-media{max-height:490px;overflow:hidden}
.embed-note{margin-top:18px;text-align:center;color:var(--muted);font-size:12px}
.embed-note a{color:var(--blue-d);text-decoration:underline;text-decoration-color:rgba(121,58,74,.35);text-underline-offset:3px}
.footer{margin-top:22px;padding:24px 0;background:#efe7e1;color:var(--ink)}
.footer__in,.footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:18px}
.footer__in b{display:block;font-size:14px;font-weight:500}
.footer__in small,.footer__bottom{color:var(--muted);font-size:11px}
.social-icons{display:flex;gap:8px}
.social-icons span{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(121,58,74,.16);border-radius:50%;background:rgba(255,253,250,.68);color:var(--blue-d);font-size:11px;font-weight:500}
.footer__bottom{margin-top:18px;padding-top:12px;border-top:1px solid rgba(121,58,74,.12)}
.tab{display:block}.tab[hidden]{display:none!important}
.skip:focus{background:var(--blue)}
/* Editorial details inspired by high-fashion storefronts, adapted to the educator's own identity. */
.section-top h1,.section-top h2,.about-copy h2,.form-intro h2,.final-cta h2,.course-teaser h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:0}
.section-top .eyebrow,.course-teaser .eyebrow,.final-cta .eyebrow,.pack__eyebrow{letter-spacing:.17em}
.sec>.wrap{border-radius:28px;border-color:rgba(255,255,255,.94);box-shadow:0 18px 60px rgba(68,43,45,.045),inset 0 0 0 1px rgba(121,58,74,.09),inset 0 1px 0 rgba(255,255,255,.9)}
.btn{border-radius:999px;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.btn--primary{background:var(--blue);box-shadow:none}
.tabs a{letter-spacing:.06em;text-transform:uppercase;font-size:10px}
.about-monogram{border-radius:50%}
.hero__photo{border-radius:28px}
.feature-card,.mini-offers article,.pack,.lead-form{border-radius:22px}
.instagram-media{border-radius:20px!important}
.hero__photo .instagram-media,.instagram-media{border-radius:20px!important}
.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:24px}
.gallery-heading h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,4vw,48px);font-weight:400}
.gallery-heading .eyebrow{margin-bottom:10px;color:var(--blue);font-size:11px;letter-spacing:.17em;text-transform:uppercase}
.gallery-heading .sub{max-width:40ch;margin:0;text-align:left;font-size:13px}
.photo-gallery{display:grid;grid-template-columns:1.16fr 1fr 1fr;gap:16px;align-items:start}
.photo-card{min-width:0;padding:8px;border:1px solid rgba(255,255,255,.92);border-radius:24px;background:rgba(255,253,250,.6);box-shadow:0 14px 36px rgba(68,43,45,.065),inset 0 0 0 1px rgba(121,58,74,.09);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.photo-card--tall{margin-top:28px}
.photo-card img{display:block;width:100%;height:clamp(260px,31vw,405px);object-fit:cover;border-radius:18px}
.photo-card figcaption{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px 9px 6px;color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:15px}
.photo-card figcaption a{color:var(--muted);font-family:var(--font);font-size:10px;text-decoration:underline;text-decoration-color:rgba(121,58,74,.25);text-underline-offset:3px}
@media(max-width:800px){.hero__grid{gap:24px}.hero h1{font-size:clamp(36px,5.4vw,48px)}.feature-grid{grid-template-columns:1fr 1fr}.feature-card:last-child{grid-column:1/-1}.course-teaser{grid-template-columns:1fr;gap:18px}.format-chips{justify-content:flex-start}.about-grid{gap:28px}.form-shell{gap:5%}.photo-gallery{grid-template-columns:1fr 1fr}.photo-card--tall{grid-row:span 2;margin-top:0}.photo-card--tall img{height:100%;min-height:520px}.gallery-heading{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:640px){body{font-size:15px}.wrap{padding-inline:16px}.topbar__in{gap:10px;min-height:56px}.brand{font-size:13px;white-space:normal}.topbar__cta{min-height:36px;padding-inline:12px;font-size:12px}.tabs{padding-bottom:7px}.tabs a{padding:7px 11px;font-size:12px}.sec{padding:17px 0}.sec>.wrap{width:calc(100% - 24px);padding:23px 19px;border-radius:23px}.hero__grid{grid-template-columns:1fr;gap:20px}.hero__photo{order:-1;min-height:285px;max-height:410px;border-radius:22px}.hero__text{padding:0}.hero__for{margin-bottom:12px}.hero h1{font-size:clamp(34px,8.8vw,43px);max-width:12ch}.lead{font-size:16px;margin-top:13px}.hero__cta{margin-top:19px;gap:9px}.hero__cta .btn{min-height:44px;padding-inline:15px;font-size:13px}.hero__exp{margin-top:17px}.stat-pill{font-size:10px;padding:7px 9px}.section-top{margin-bottom:22px}.section-top h1,.section-top h2{font-size:30px}.sub{font-size:13px}.feature-grid{grid-template-columns:1fr;gap:10px}.feature-card,.feature-card:last-child{grid-column:auto;min-height:0;padding:18px}.feature-card h3{margin:11px 0 5px}.about-grid{grid-template-columns:1fr;gap:20px}.about-monogram{width:150px;margin:0 auto;border-radius:50%;font-size:54px}.about-monogram span{font-size:8px}.about-copy{text-align:center}.about-copy .eyebrow{justify-content:center}.about-copy>p:not(.eyebrow){font-size:13px}.about-facts{justify-content:center}.mini-offers{grid-template-columns:1fr;gap:10px}.mini-offers article{padding:18px}.mini-offers p{min-height:0}.final-cta{align-items:flex-start;flex-direction:column}.final-cta h2{font-size:30px}.two-packs{grid-template-columns:1fr;gap:11px}.pack{min-height:0;padding:20px}.pack h2{font-size:23px}.pack .btn{margin-top:12px}.course-details{margin-top:19px}.course-details>div{grid-template-columns:30px 1fr;padding:13px 2px}.form-shell{grid-template-columns:1fr;gap:19px}.form-intro h2{font-size:30px}.lead-form{padding:17px;border-radius:18px}.embed-grid{grid-template-columns:1fr;gap:14px}.instagram-media{min-width:min(326px,100%)!important}.footer__in{align-items:flex-start}.footer__bottom{flex-wrap:wrap}.footer__bottom span:last-child{margin-left:auto}.photo-gallery{grid-template-columns:1fr;gap:12px}.photo-card--tall{grid-row:auto;margin-top:0}.photo-card--tall img,.photo-card img{height:clamp(250px,78vw,390px);min-height:0}.gallery-heading .sub{font-size:12px}.photo-card figcaption{padding:10px 8px 5px;font-size:14px}}

/* Variant 2: white and milk palette with a smaller photographic hero. */
:root{--night:#f7f4ee;--navy:#F6F0EB;--navy-2:#f2ede6;--blue:#9b806d;--blue-d:#765f4d;--blue-l:#c4aa92;--ice:#faf8f4;--paper:#F6F0EB;--ink:#3b3732;--muted:#7d766d;--line:rgba(117,94,74,.13);--d-text:#3b3732;--d-muted:#7d766d;--d-line:rgba(117,94,74,.14)}
.topbar{background:rgba(255,254,250,.92)}
.sec--light{background:linear-gradient(135deg,#f7f4ee,#F6F0EB 55%,#f2eee7)}
.sec--paper{background:#F6F0EB}
.sec>.wrap{border-color:rgba(255,255,255,.98);background:rgba(255,254,251,.8);box-shadow:0 18px 55px rgba(94,76,59,.045),inset 0 0 0 1px rgba(155,128,109,.08),inset 0 1px 0 #F6F0EB}
.tabs a{border-radius:999px;transition:color .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.tabs a:hover,.tabs a:focus-visible{color:var(--blue-d);background:rgba(220,207,190,.32);box-shadow:inset 0 0 0 1px rgba(155,128,109,.2);transform:translateY(-1px)}
.tabs a.is-on{background:rgba(220,207,190,.28);color:var(--blue-d)}
.btn--primary{background:linear-gradient(135deg,#9b806d,#816653);color:#F6F0EB;transition:filter .2s ease,transform .2s ease,box-shadow .2s ease}
.btn--primary:hover{filter:brightness(.96);transform:translateY(-2px);box-shadow:0 8px 20px rgba(117,94,74,.18)}
.btn--line:hover{border-color:rgba(155,128,109,.5);background:#F6F0EB}
.hero__photo{min-height:0;height:auto;padding:9px;border-radius:28px;background:rgba(255,255,255,.72);box-shadow:0 18px 42px rgba(94,76,59,.08),inset 0 0 0 1px rgba(155,128,109,.1)}
.hero-visual{display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}
.hero-visual img{display:block;width:100%;height:clamp(300px,37vw,440px);object-fit:cover;border-radius:21px}
.hero-visual figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 8px 3px;color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:14px}
.hero-visual figcaption span{color:var(--muted);font-family:var(--font);font-size:10px}
.feature-card,.mini-offers article,.pack,.lead-form,.photo-card{border-color:rgba(155,128,109,.16);background:rgba(255,255,255,.74);transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
.feature-card:hover,.mini-offers article:hover,.pack:hover,.photo-card:hover{transform:translateY(-4px);border-color:rgba(155,128,109,.38);box-shadow:0 16px 35px rgba(94,76,59,.11)}
.feature-card>span,.about-facts span,.stat-pill,.format-chips>span{border-color:rgba(155,128,109,.2);background:rgba(247,243,235,.76)}
.pack--feat{background:linear-gradient(145deg,rgba(245,240,232,.9),rgba(255,255,255,.9));border-color:rgba(155,128,109,.32)}
.lead-form input:not([type=checkbox]),.lead-form select{border-radius:14px;background:#F6F0EB}
.photo-card{border-radius:27px}
.photo-card img{border-radius:20px}
.post-links{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.post-links a{display:grid;grid-template-columns:38px 1fr;column-gap:12px;align-items:center;padding:20px;border:1px solid rgba(155,128,109,.16);border-radius:20px;background:rgba(255,255,255,.72);color:var(--ink);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.post-links a:hover,.post-links a:focus-visible{transform:translateY(-3px);border-color:rgba(155,128,109,.42);box-shadow:0 12px 26px rgba(94,76,59,.1)}
.post-links a>span{grid-row:span 2;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(155,128,109,.26);border-radius:50%;color:var(--blue-d);font-family:Georgia,serif;font-size:13px}
.post-links b{font-size:14px;font-weight:500}
.post-links small{margin-top:4px;color:var(--muted);font-size:11px}
@media(max-width:800px){.hero__photo{height:auto}.hero-visual img{height:clamp(290px,42vw,400px)}}
@media(max-width:640px){.hero__photo{order:-1;min-height:0;max-height:none}.hero-visual img{height:clamp(250px,76vw,340px);border-radius:17px}.hero-visual figcaption{padding:9px 6px 1px;font-size:12px}.hero-visual figcaption span{font-size:9px}.post-links{grid-template-columns:1fr;gap:10px}.post-links a{padding:16px}}

/* Snagmd template section structure, restyled for Julia's training project. */
.hero-visual{grid-column:2}
.make li{border-color:rgba(155,128,109,.16);border-radius:20px;background:rgba(255,255,255,.7);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.make li:hover{transform:translateY(-3px);border-color:rgba(155,128,109,.42);box-shadow:0 12px 24px rgba(94,76,59,.09)}
.project-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-top:26px;align-items:stretch}
.project-card{min-width:0;padding:8px;border:1px solid rgba(255,255,255,.94);border-radius:24px;background:rgba(255,255,255,.76);box-shadow:0 14px 36px rgba(94,76,59,.08);transition:transform .24s ease,box-shadow .24s ease}
.project-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(94,76,59,.13)}
.project-card img{display:block;width:100%;height:clamp(245px,29vw,380px);object-fit:cover;border-radius:18px}
.project-card--wide img{height:100%;min-height:330px}
.project-card figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 8px 5px;color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:15px}
.project-card figcaption a{color:var(--muted);font-family:var(--font);font-size:10px;text-decoration:underline;text-underline-offset:3px}
.case-cta{margin-top:25px}
.format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}
.format-card{display:flex;min-height:200px;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid rgba(155,128,109,.17);border-radius:22px;background:rgba(255,255,255,.75);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.format-card:hover{transform:translateY(-4px);border-color:rgba(155,128,109,.4);box-shadow:0 16px 34px rgba(94,76,59,.1)}
.format-card>span,.eyebrow{color:var(--blue-d);font-size:10px;letter-spacing:.14em;text-transform:uppercase}
.format-card h3{margin:12px 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:400}
.format-card p{color:var(--muted);font-size:13px;line-height:1.65}
.format-card>a,.service-grid a{margin-top:auto;padding-top:15px;color:var(--blue-d);font-size:12px;font-weight:500}
.format-card--featured{border-color:rgba(155,128,109,.35);background:linear-gradient(145deg,#f5f0e8,#F6F0EB)}
.form-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(30px,6vw,78px);align-items:start}
.form-grid>.wrap{width:auto}
.form-grid h2,.terms h1,.case-intro h1{font-family:Georgia,"Times New Roman",serif;font-weight:400}
.contact-note{display:grid;gap:4px;margin-top:22px;padding:15px 17px;border-left:2px solid var(--blue-l);border-radius:14px;background:rgba(247,243,235,.65)}
.contact-note b{font-size:13px;font-weight:500}.contact-note span{color:var(--muted);font-size:11px}
.case-intro{grid-template-columns:120px 1fr;gap:28px;align-items:center}
.case-intro__logo{object-fit:cover;border-radius:50%;border-color:rgba(155,128,109,.25)}
.case-intro h1{font-size:clamp(34px,4vw,54px);max-width:19ch}
.case-intro .sub{margin:12px 0 0;text-align:left}
.case-intro__links a{color:var(--blue-d);border-color:rgba(155,128,109,.28)}
.map-title{margin-top:42px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,3vw,36px);font-weight:400}
.map-hint{max-width:65ch;margin-top:9px;color:var(--muted);font-size:13px;line-height:1.6}
.steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.steps li{padding-top:43px}
.steps li::before{background:var(--blue);color:white}
.steps b{font-size:15px}.steps span{font-size:12px;line-height:1.6}
.course-facts{display:grid;gap:10px;margin-top:28px}
.course-facts details{overflow:hidden;border:1px solid rgba(155,128,109,.19);border-radius:18px;background:rgba(255,255,255,.72)}
.course-facts summary{padding:16px 18px;color:var(--ink);font-size:14px;font-weight:500;cursor:pointer;list-style:none}
.course-facts summary::-webkit-details-marker{display:none}
.course-facts summary::after{content:"+";float:right;color:var(--blue-d);font-size:18px}
.course-facts details[open] summary::after{content:"−"}
.course-facts .acc__body{padding:0 18px 17px;color:var(--muted);font-size:13px;line-height:1.65}
.compare-grid,.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.compare-grid article,.service-grid article{padding:23px;border:1px solid rgba(155,128,109,.17);border-radius:22px;background:rgba(255,255,255,.74);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.compare-grid article:hover,.service-grid article:hover{transform:translateY(-3px);border-color:rgba(155,128,109,.4);box-shadow:0 15px 30px rgba(94,76,59,.09)}
.compare-index{color:var(--blue);font-family:Georgia,serif;font-size:13px}
.compare-grid h3,.service-grid h3{margin:12px 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:400}
.compare-grid p,.service-grid p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.65}
.service-grid article{display:flex;flex-direction:column;align-items:flex-start}
.terms{max-width:860px}
.terms h3{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:400}
.terms p,.terms li{color:var(--muted);font-size:14px;line-height:1.75}
.tabs a{padding:9px 14px}
.footer{background:#f4f0e9}
.footer__in{align-items:center}
.footer__in b{font-size:14px;font-weight:500}
.footer__in small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.social-icons span{border-color:rgba(155,128,109,.2);background:rgba(255,255,255,.65);color:var(--blue-d)}
@media(max-width:900px){.steps{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr 1fr}.project-card--wide{grid-row:span 2}.project-card--wide img{height:100%;min-height:500px}.form-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:640px){.hero-visual{grid-column:auto}.project-grid{grid-template-columns:1fr;gap:12px}.project-card--wide{grid-row:auto}.project-card--wide img,.project-card img{height:clamp(240px,74vw,360px);min-height:0}.format-grid,.compare-grid,.service-grid{grid-template-columns:1fr;gap:10px}.format-card{min-height:0;padding:19px}.format-card h3{font-size:22px}.format-card>a,.service-grid a{margin-top:12px}.case-intro{grid-template-columns:1fr;gap:16px}.case-intro__logo{width:88px;height:88px}.case-intro h1{font-size:34px}.map-title{margin-top:29px}.steps{grid-template-columns:1fr;gap:17px}.steps li{padding:0 0 0 46px}.steps li::before{top:0}.compare-grid article,.service-grid article{padding:18px}.terms h3{font-size:20px}.footer__in{align-items:flex-start}.tabs a{white-space:nowrap}}

/* Palette adapted from the user's references: milk, beige, blush, mahogany and dusty blue. */
:root{--night:#E9E2DA;--navy:#f5eceb;--navy-2:#DABDC3;--blue:#482B31;--blue-d:#493038;--blue-l:#AFC1CE;--ice:#faf7f3;--paper:#F6F0EB;--ink:#392c2d;--muted:#76696a;--line:rgba(64,31,40,.14);--d-text:#392c2d;--d-muted:#76696a;--d-line:rgba(64,31,40,.14)}
.topbar{background:rgba(255,254,250,.94);border-bottom-color:rgba(64,31,40,.1)}
.sec--light{background:linear-gradient(135deg,#F7F0ED,#F6F0EB 54%,#E9E2DA)}
.sec--paper{background:#F6F0EB}
.sec--dark{background:linear-gradient(135deg,#E9E2DA,#f6efed 60%,#f8f5f0);color:var(--ink)}
.sec--dark>.wrap{background:rgba(255,254,250,.82);border-color:rgba(255,255,255,.96);box-shadow:0 18px 55px rgba(64,31,40,.06),inset 0 0 0 1px rgba(175,205,227,.24),inset 0 1px 0 #F6F0EB}
.brand__bar{background:#482B31}
.btn--primary{background:linear-gradient(135deg,#493038,#482B31);color:#F6F0EB;box-shadow:0 6px 18px rgba(64,31,40,.14)}
.btn--primary:hover{background:linear-gradient(135deg,#522b32,#482B31);box-shadow:0 9px 22px rgba(64,31,40,.2)}
.btn--ghost{border-color:rgba(64,31,40,.2);background:rgba(255,255,255,.62);color:var(--ink)}
.btn--ghost:hover{border-color:rgba(175,205,227,.85);background:rgba(232,192,201,.2);color:var(--blue-d)}
.tabs a:hover,.tabs a:focus-visible{color:#493038;background:rgba(232,192,201,.28);box-shadow:inset 0 0 0 1px rgba(175,205,227,.55);transform:translateY(-1px)}
.tabs a.is-on{background:rgba(232,192,201,.27);color:#482B31;box-shadow:inset 0 0 0 1px rgba(175,205,227,.45)}
.hero__for,.eyebrow,.gallery-heading .eyebrow{color:#493038}
.hero__photo,.project-card,.photo-card{border-color:rgba(175,205,227,.62);box-shadow:0 16px 40px rgba(64,31,40,.08),inset 0 0 0 1px rgba(232,192,201,.3)}
.hero-visual figcaption{color:#482B31}
.format-card--featured{border-color:rgba(64,31,40,.25);background:linear-gradient(145deg,rgba(232,192,201,.32),rgba(255,255,255,.9) 64%,rgba(175,205,227,.2))}
.format-card:hover,.feature-card:hover,.mini-offers article:hover,.pack:hover,.photo-card:hover,.project-card:hover{border-color:rgba(64,31,40,.36);box-shadow:0 16px 34px rgba(64,31,40,.12)}
.make li:hover,.compare-grid article:hover,.service-grid article:hover{border-color:rgba(64,31,40,.32);box-shadow:0 12px 28px rgba(64,31,40,.1)}
.make li span,.compare-index,.course-facts summary::after{color:#482B31}
.about-facts span,.stat-pill,.feature-card>span,.format-chips>span{border-color:rgba(175,205,227,.6);background:rgba(232,192,201,.18);color:#493038}
.pack--feat{border-color:rgba(64,31,40,.3);background:linear-gradient(145deg,rgba(232,192,201,.25),rgba(255,255,255,.88) 60%,rgba(175,205,227,.2))}
.lead-form input:focus,.lead-form select:focus{outline:2px solid rgba(175,205,227,.62);border-color:#482B31}
.course-facts details,.post-links a,.format-card,.compare-grid article,.service-grid article{border-color:rgba(64,31,40,.15)}
.post-links a:hover,.post-links a:focus-visible{border-color:rgba(64,31,40,.36);box-shadow:0 12px 26px rgba(64,31,40,.1)}
.footer{background:#E9E2DA}
.social-icons span{border-color:rgba(64,31,40,.18);color:#493038}
.footer__bottom{border-color:rgba(64,31,40,.14)}
.site-chat{position:fixed;right:22px;bottom:22px;z-index:45;display:grid;justify-items:end;gap:10px}
.site-chat__launcher{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 18px;border:1px solid rgba(175,205,227,.65);border-radius:999px;background:rgba(255,254,250,.94);color:#482B31;box-shadow:0 8px 24px rgba(64,31,40,.13);cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:transform .2s ease,box-shadow .2s ease}
.site-chat__launcher:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(64,31,40,.18)}
.site-chat__launcher span{font-size:19px}.site-chat__launcher strong{font-size:12px;font-weight:500}
.site-chat__panel{width:min(360px,calc(100vw - 32px));padding:18px;border:1px solid rgba(175,205,227,.7);border-radius:24px;background:rgba(255,254,250,.96);box-shadow:0 18px 48px rgba(64,31,40,.18);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.site-chat__panel[hidden]{display:none}
.site-chat__head{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid rgba(64,31,40,.1)}
.site-chat__head img{flex:none;object-fit:cover;border:1px solid rgba(175,205,227,.65);border-radius:50%}
.site-chat__head div{display:grid;gap:3px}.site-chat__head b{font-size:13px;font-weight:500}.site-chat__head small,.site-chat__note{color:var(--muted);font-size:10px}
.site-chat__close{margin-left:auto;width:30px;height:30px;border:1px solid rgba(64,31,40,.12);border-radius:50%;background:#F6F0EB;color:var(--blue-d);font-size:20px;line-height:1;cursor:pointer}
.site-chat__panel>p{margin:14px 0;color:var(--muted);font-size:13px;line-height:1.6}
.site-chat__panel .btn{min-height:42px}
.site-chat__note{display:block;margin-top:10px;text-align:center}
@media(max-width:640px){.site-chat{right:14px;bottom:calc(76px + env(safe-area-inset-bottom))}.site-chat__panel{width:min(340px,calc(100vw - 28px))}}
.format-grid--compact{margin-top:20px}
.format-grid--compact .format-card{min-height:0;padding:19px 21px}
.format-grid--compact .format-card h3{margin:8px 0 5px;font-size:21px}
.format-grid--compact .format-card p{font-size:12px}
.secondary-note,.launch-note{margin-top:18px;color:var(--muted);font-size:12px;line-height:1.6}
.launch-note{max-width:58ch;padding:13px 16px;border-left:2px solid var(--blue-l);background:rgba(175,205,227,.12)}
.project-grid--compact{grid-template-columns:1fr 1fr;max-width:850px;margin-top:23px}
.project-grid--compact .project-card img{height:clamp(220px,27vw,330px);min-height:0}
.post-links--compact{max-width:850px;margin-top:14px}
.post-links--compact a{padding:15px 17px}
.post-links--compact a>span{font-family:var(--font);font-size:15px}
.case-intro .sub{max-width:50ch}
@media(max-width:640px){.format-grid--compact{grid-template-columns:1fr}.project-grid--compact{grid-template-columns:1fr}.project-grid--compact .project-card img{height:clamp(220px,70vw,320px)}.post-links--compact{grid-template-columns:1fr}}

/* Editorial direction from the mahogany / milk / powder-blue reference. */
.sec--dark{background:linear-gradient(145deg,#30171e,#482B31 58%,#4a252c);color:#E9E2DA}
.sec--dark>.wrap{background:linear-gradient(145deg,rgba(64,31,40,.97),rgba(66,34,34,.96));border-color:rgba(175,205,227,.38);box-shadow:0 22px 64px rgba(35,14,19,.16),inset 0 0 0 1px rgba(232,192,201,.12),inset 0 1px 0 rgba(255,255,255,.1);color:#E9E2DA}
.sec--dark h1,.sec--dark h2,.sec--dark h3,.sec--dark .sec-head,.sec--dark .case-cta{color:#E9E2DA}
.sec--dark .sub,.sec--dark .map-hint,.sec--dark .steps span,.sec--dark p{color:rgba(233,226,218,.78)}
.sec--dark .eyebrow,.sec--dark .hero__for{color:#DABDC3}
.hero.sec--dark{position:relative;isolation:isolate;background:radial-gradient(ellipse at 72% 42%,rgba(175,205,227,.2),transparent 42%),linear-gradient(135deg,#30171e,#482B31 58%,#4a252c)}
.hero.sec--dark::before{z-index:-1;background:radial-gradient(closest-side,rgba(175,205,227,.23),transparent 72%)}
.hero__photo{border-color:rgba(175,205,227,.72);box-shadow:0 24px 58px rgba(24,10,14,.32),0 0 0 1px rgba(232,192,201,.18)}
.hero .btn--primary,.sec--dark .btn--primary{background:#AFC1CE;color:#482B31;box-shadow:0 8px 22px rgba(13,10,14,.18)}
.hero .btn--primary:hover,.sec--dark .btn--primary:hover{background:#DABDC3;color:#482B31}
.hero .btn--ghost{border-color:rgba(233,226,218,.45);background:rgba(255,255,255,.06);color:#E9E2DA}
.hero .btn--ghost:hover{border-color:#AFC1CE;background:rgba(175,205,227,.15);color:#F6F0EB}
.hero .hero__exp{color:rgba(233,226,218,.72)}
.hero-visual figcaption{color:#482B31}
#proekty .project-card{border-color:rgba(175,205,227,.55);background:#E9E2DA}
#proekty .project-card figcaption{color:#482B31}
.sec--dark .course-facts details{border-color:rgba(175,205,227,.38);background:rgba(233,226,218,.97)}
.tabs a.is-on{background:#AFC1CE;color:#482B31;box-shadow:inset 0 0 0 1px rgba(64,31,40,.08)}
.tabs a:hover,.tabs a:focus-visible{background:rgba(175,205,227,.3);box-shadow:inset 0 0 0 1px rgba(175,205,227,.6)}
.btn--primary{background:linear-gradient(135deg,#AFC1CE,#c4dbea);color:#482B31;box-shadow:0 7px 20px rgba(64,31,40,.12)}
.btn--primary:hover{background:#DABDC3;color:#482B31}
.footer{background:#482B31;color:#E9E2DA}
.footer__in small,.footer__bottom{color:rgba(233,226,218,.72)}
.footer__bottom{border-top-color:rgba(175,205,227,.25)}
.social-icons span{border-color:rgba(175,205,227,.46);background:rgba(175,205,227,.12);color:#E9E2DA}

/* Keep the hero portrait free of the frosted frame and halo. */
.hero__photo{position:relative;padding:0!important;border:0!important;border-radius:28px!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;overflow:hidden}
.hero-visual img{display:block;width:100%;height:clamp(400px,48vw,640px);object-fit:cover;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;mask-image:none!important;-webkit-mask-image:none!important;border-radius:28px!important}
.hero-visual figcaption{position:absolute;left:0;right:0;bottom:18px;justify-content:center;text-align:center;padding:0 12px;color:#F6F0EB!important;text-shadow:0 1px 6px rgba(0,0,0,.62)}
@media(max-width:800px){.hero-visual img{height:clamp(360px,70vw,520px)}}
@media(max-width:640px){.hero-visual img{height:clamp(320px,100vw,460px);border-radius:22px!important}.hero__photo{border-radius:22px!important}.hero-visual figcaption{bottom:15px;padding:0 10px}}

/* Slightly deepen the section panels so they stand apart from the page. */
.sec>.wrap,.sec--dark>.wrap{background:#F3EBE5}
.hero.sec--dark>.wrap{background:linear-gradient(145deg,rgba(64,31,40,.97),rgba(66,34,34,.96));border-color:rgba(175,205,227,.38);box-shadow:0 22px 64px rgba(35,14,19,.16),inset 0 0 0 1px rgba(232,192,201,.12),inset 0 1px 0 rgba(255,255,255,.1);color:#E9E2DA}
.secondary-note+.btn{display:flex;width:max-content;margin-top:18px}
.brand{font-family:var(--font);font-weight:500;letter-spacing:.025em}

/* Palette update from the burgundy + cream reference (IMG_6370). */
:root{
  --night:#481421;
  --navy:#57051B;
  --navy-2:#F0E6E0;
  --blue:#481421;
  --blue-d:#341720;
  --blue-l:#B98791;
  --ice:#F1E9E3;
  --paper:#F6EFE9;
  --ink:#481421;
  --muted:#765F63;
  --line:rgba(72,20,33,.14);
  --d-text:#F6EFE9;
  --d-muted:rgba(246,239,233,.76);
  --d-line:rgba(246,239,233,.2);
}
body,.topbar{background:#F6EFE9;color:#481421}
.topbar{background:rgba(246,239,233,.96);border-bottom-color:rgba(72,20,33,.12)}
.brand__bar{background:#481421}
.sec--light{background:linear-gradient(135deg,#F0E6E0,#F6EFE9 55%,#EFE5DF)}
.sec--paper{background:#F1E9E3}
.sec>.wrap{border-color:rgba(72,20,33,.1);background:rgba(255,250,246,.92);box-shadow:0 16px 42px rgba(72,20,33,.055),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:none;-webkit-backdrop-filter:none}
.sec--dark{background:linear-gradient(135deg,#481421,#521B28 70%,#39131D);color:#F6EFE9}
.sec--dark>.wrap{border-color:rgba(246,239,233,.28);background:rgba(72,20,33,.96);color:#F6EFE9}
.hero.sec--dark{background:linear-gradient(90deg,#481421 0 50%,#F6EFE9 50% 100%)}
.hero.sec--dark>.wrap{background:#F6EFE9;border-color:rgba(72,20,33,.14);color:#481421;box-shadow:0 18px 48px rgba(72,20,33,.09),inset 0 1px 0 #F6F0EB}
.hero.sec--dark h1,.hero.sec--dark h2,.hero.sec--dark h3,.hero.sec--dark .sec-head,.hero.sec--dark .case-cta{color:#481421}
.hero.sec--dark p,.hero.sec--dark .sub,.hero.sec--dark .hero__exp{color:#765F63}
.hero.sec--dark .hero__for,.eyebrow,.hero__for{color:#481421}
.hero.sec--dark::before,.hero::before{background:none}
.hero__photo{border-color:rgba(72,20,33,.18);box-shadow:0 18px 42px rgba(72,20,33,.12)}
.hero .btn--primary,.sec--dark .btn--primary,.btn--primary{background:#481421;color:#F6EFE9;box-shadow:0 7px 20px rgba(72,20,33,.15)}
.hero .btn--primary:hover,.sec--dark .btn--primary:hover,.btn--primary:hover{background:#341720;color:#F5EEEA}
.hero .btn--ghost{border-color:rgba(72,20,33,.22);background:rgba(72,20,33,.035);color:#481421}
.hero .btn--ghost:hover{border-color:#481421;background:rgba(72,20,33,.08);color:#341720}
.btn--line{border-color:rgba(72,20,33,.18);background:#F6EFE9;color:#481421}
.btn--line:hover{border-color:#481421;background:#F5EEEA}
.tabs a.is-on{background:rgba(72,20,33,.09);color:#481421;box-shadow:inset 0 0 0 1px rgba(72,20,33,.13)}
.tabs a:hover,.tabs a:focus-visible{background:rgba(72,20,33,.06);box-shadow:inset 0 0 0 1px rgba(72,20,33,.16)}
.format-card,.compare-grid article,.service-grid article,.make li,.project-card,.photo-card,.lead-form,.course-facts details,.post-links a,.contact-note{border-color:rgba(72,20,33,.14);background:#F5EEEA}
.format-card--featured,.pack--feat{border-color:rgba(72,20,33,.24);background:linear-gradient(145deg,#F0E6E0,#F5EEEA 70%)}
.format-card:hover,.feature-card:hover,.mini-offers article:hover,.pack:hover,.photo-card:hover,.project-card:hover,.make li:hover,.compare-grid article:hover,.service-grid article:hover{border-color:rgba(72,20,33,.32);box-shadow:0 14px 30px rgba(72,20,33,.1)}
.format-card>span,.make li span,.compare-index,.course-facts summary::after,.section-top .eyebrow,.about-copy .eyebrow,.form-intro .eyebrow{color:#481421}
.contact-note{border-left-color:#481421;background:#F0E6E0}
.lead-form input:focus,.lead-form select:focus{outline:2px solid rgba(72,20,33,.18);border-color:#481421}
.hero-visual figcaption{color:#481421;text-shadow:none}
.project-card figcaption,.photo-card figcaption{color:#481421}
.project-card figcaption a,.case-intro__links a,.post-links a>span{color:#481421}
.post-links a:hover,.post-links a:focus-visible{border-color:rgba(72,20,33,.34);box-shadow:0 12px 26px rgba(72,20,33,.09)}
.footer{background:#481421;color:#F6EFE9}
.footer__in small,.footer__bottom{color:rgba(246,239,233,.74)}
.footer__bottom{border-top-color:rgba(246,239,233,.22)}
.social-icons span{border-color:rgba(246,239,233,.32);background:rgba(246,239,233,.1);color:#F6EFE9}
.site-chat__launcher,.site-chat__panel{border-color:rgba(72,20,33,.2);color:#481421}
.site-chat__close{color:#481421}
:focus-visible{outline-color:#481421}
@media(max-width:900px){.hero.sec--dark{background:linear-gradient(180deg,#481421 0 42%,#F6EFE9 42% 100%)}}

/* Julia's real work videos: compact one-at-a-time carousel. */
.work-carousel__title{margin:30px 0 16px;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(23px,3vw,30px);font-weight:400;color:#481421}
.work-carousel{max-width:520px;margin:0 auto}
.work-carousel__viewport{overflow:hidden;border:1px solid rgba(72,20,33,.18);border-radius:26px;background:#F0E6E0;box-shadow:0 16px 38px rgba(72,20,33,.09)}
.work-carousel__track{display:flex;transition:transform .42s cubic-bezier(.2,.75,.25,1);will-change:transform}
.work-carousel__slide{flex:0 0 100%;margin:0;padding:10px;display:flex;flex-direction:column;align-items:center;background:#F5EEEA}
.work-carousel__slide video{display:block;height:min(68vh,680px);width:auto;max-width:100%;aspect-ratio:9/16;object-fit:contain;border-radius:18px;background:#2B191D}
.work-carousel__slide figcaption{padding:12px 6px 5px;color:#481421;font-family:Georgia,"Times New Roman",serif;font-size:15px;text-align:center}
.work-carousel__controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:15px}
.work-carousel__arrow{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(72,20,33,.2);border-radius:50%;background:#F5EEEA;color:#481421;font:inherit;font-size:26px;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.work-carousel__arrow:hover{background:#F0E6E0;border-color:#481421;transform:translateY(-1px)}
.work-carousel__count{min-width:54px;color:#765F63;font-size:12px;letter-spacing:.12em;text-align:center}
.work-carousel__dots{display:flex;justify-content:center;gap:8px;margin-top:10px}
.work-carousel__dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(72,20,33,.22);cursor:pointer;transition:width .2s,background .2s}
.work-carousel__dots button[aria-current="true"]{width:23px;background:#481421}
@media(max-width:640px){.work-carousel__viewport{border-radius:22px}.work-carousel__slide{padding:7px}.work-carousel__slide video{height:min(66vh,610px);border-radius:16px}.work-carousel__title{margin-top:23px}}
@media(prefers-reduced-motion:reduce){.work-carousel__track,.work-carousel__arrow,.work-carousel__dots button{transition:none}}

/* Real student testimonials, shown one screenshot at a time. */
.review-carousel__title{margin:34px 0 16px;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(23px,3vw,30px);font-weight:400;color:#481421}
.review-carousel{max-width:760px;margin:0 auto 22px}
.review-carousel__viewport{height:min(76vh,820px);min-height:480px;overflow:hidden;border:1px solid rgba(72,20,33,.16);border-radius:26px;background:#F0E6E0;box-shadow:0 16px 38px rgba(72,20,33,.08)}
.review-carousel__track{height:100%;display:flex;transition:transform .42s cubic-bezier(.2,.75,.25,1);will-change:transform}
.review-carousel__slide{flex:0 0 100%;height:100%;margin:0;padding:18px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#F5EEEA}
.review-carousel__slide img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(min(76vh,820px) - 65px);object-fit:contain;border-radius:16px;background:#F6F0EB;box-shadow:0 8px 22px rgba(72,20,33,.07)}
.review-carousel__slide figcaption{flex:none;color:#481421;font-family:Georgia,"Times New Roman",serif;font-size:14px;text-align:center}
.review-carousel__controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:13px}
.review-carousel__arrow{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(72,20,33,.2);border-radius:50%;background:#F5EEEA;color:#481421;font:inherit;font-size:26px;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.review-carousel__arrow:hover{background:#F0E6E0;border-color:#481421;transform:translateY(-1px)}
.review-carousel__count{min-width:54px;color:#765F63;font-size:12px;letter-spacing:.12em;text-align:center}
.review-carousel__dots{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px}
.review-carousel__dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(72,20,33,.22);cursor:pointer;transition:width .2s,background .2s}
.review-carousel__dots button[aria-current="true"]{width:23px;background:#481421}
@media(max-width:640px){.review-carousel__viewport{height:min(72vh,760px);min-height:390px;border-radius:22px}.review-carousel__slide{padding:9px}.review-carousel__slide img{max-height:calc(min(72vh,760px) - 46px);border-radius:14px}.review-carousel__title{margin-top:26px}}
@media(prefers-reduced-motion:reduce){.review-carousel__track,.review-carousel__arrow,.review-carousel__dots button{transition:none}}

/* Hero section fully burgundy, per the latest reference. */
.hero.sec--dark{background:#481421}
.hero.sec--dark>.wrap{background:#481421;border-color:rgba(246,239,233,.2);box-shadow:inset 0 1px 0 rgba(246,239,233,.08);color:#F6EFE9}
.hero.sec--dark h1,.hero.sec--dark h2,.hero.sec--dark h3,.hero.sec--dark .hero__for,.hero.sec--dark .eyebrow{color:#F6EFE9}
.hero.sec--dark p,.hero.sec--dark .sub,.hero.sec--dark .lead,.hero.sec--dark .hero__exp{color:rgba(246,239,233,.82)}
.hero.sec--dark .btn--primary{background:#F6EFE9;color:#481421;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.hero.sec--dark .btn--primary:hover{background:#F0E6E0;color:#341720}
.hero.sec--dark .btn--ghost{border-color:rgba(246,239,233,.52);background:rgba(246,239,233,.08);color:#F6EFE9}
.hero.sec--dark .btn--ghost:hover{border-color:#F6EFE9;background:rgba(246,239,233,.16);color:#F6F0EB}
.hero.sec--dark .hero__photo{border-color:rgba(246,239,233,.3)}
@media(max-width:900px){.hero.sec--dark{background:#481421}}

/* Full text card for Anna's testimonial, without Telegram interface chrome. */
.review-carousel__slide--text{gap:8px}
.review-quote-card{flex:1;min-height:0;width:min(100%,660px);overflow-y:auto;padding:clamp(18px,3.5vw,34px);border:1px solid rgba(72,20,33,.13);border-radius:20px;background:#F6EFE9;color:#481421;box-shadow:0 8px 22px rgba(72,20,33,.06)}
.review-quote-card__label{margin:0 0 14px;color:#765F63;font-size:11px;letter-spacing:.13em;text-transform:uppercase}
.review-quote-card blockquote{display:grid;gap:13px;margin:0;color:#481421;font-size:15px;line-height:1.62}
.review-quote-card blockquote p{margin:0}
.review-carousel__slide--text figcaption{font-size:14px}
@media(max-width:640px){.review-quote-card{padding:17px;border-radius:16px}.review-quote-card blockquote{font-size:13px;line-height:1.55;gap:11px}}

/* Swipe horizontally in both carousels while keeping vertical page scrolling. */
.work-carousel__viewport,.review-carousel__viewport{touch-action:pan-y;cursor:grab}
.work-carousel__viewport:active,.review-carousel__viewport:active{cursor:grabbing}
/* Crop the unread-messages banner from the final review screenshot only. */
.review-carousel__slide--trimmed img{width:min(100%,700px);height:auto;aspect-ratio:1179/534;max-height:calc(min(76vh,820px) - 65px);object-fit:cover;object-position:center bottom;border-radius:18px}
@media(max-width:640px){.review-carousel__slide--trimmed img{max-height:calc(min(72vh,760px) - 46px);border-radius:14px}}

/* Native horizontal scroll-snap gives both carousels natural touch swipes. */
.work-carousel__viewport,.review-carousel__viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;touch-action:auto;cursor:auto}
.work-carousel__viewport::-webkit-scrollbar,.review-carousel__viewport::-webkit-scrollbar{display:none}
.work-carousel__slide,.review-carousel__slide{scroll-snap-align:start;scroll-snap-stop:always}
.review-carousel__slide--trimmed img{width:min(100%,700px);height:auto;aspect-ratio:1179/534;max-height:calc(min(76vh,820px) - 65px);object-fit:cover;object-position:center bottom;border-radius:18px}
@media(max-width:640px){.review-carousel__slide--trimmed img{max-height:calc(min(72vh,760px) - 46px);border-radius:14px}}
@media(prefers-reduced-motion:reduce){.work-carousel__viewport,.review-carousel__viewport{scroll-behavior:auto}}

/* Keep the work and review carousels aligned to the same frame size. */
.work-carousel,.review-carousel{max-width:760px}
.work-carousel__viewport,.review-carousel__viewport{height:min(76vh,820px);min-height:480px}
.work-carousel__track,.review-carousel__track{height:100%}
.work-carousel__slide{height:100%;box-sizing:border-box;justify-content:center}
.work-carousel__slide video{height:100%;max-height:calc(min(76vh,820px) - 22px)}
.review-carousel__slide img{max-height:calc(min(76vh,820px) - 38px)}
.review-carousel__slide--trimmed img{max-height:calc(min(76vh,820px) - 38px)}
@media(max-width:640px){
  .work-carousel__viewport,.review-carousel__viewport{height:min(72vh,760px);min-height:390px}
  .work-carousel__slide video{max-height:calc(min(72vh,760px) - 16px)}
  .review-carousel__slide img,.review-carousel__slide--trimmed img{max-height:calc(min(72vh,760px) - 28px)}
}

/* Stable burgundy navigation pill without the inherited blue focus ring. */
.tabs a{transform:none!important;outline:none;border-color:transparent;transition:color .2s ease,background-color .2s ease,box-shadow .2s ease,border-color .2s ease}
.tabs a:hover{color:#481421;background:rgba(72,20,33,.07);box-shadow:inset 0 0 0 1px rgba(72,20,33,.22)}
.tabs a:focus-visible{color:#481421;background:rgba(72,20,33,.08);box-shadow:inset 0 0 0 2px rgba(72,20,33,.32)}
.tabs a.is-on{color:#481421;background:rgba(72,20,33,.07);box-shadow:inset 0 0 0 1px rgba(72,20,33,.16)}

/* Make the default tab clearly burgundy and prevent focus/hover movement. */
.tabs a,.tabs a:hover,.tabs a:focus-visible,.tabs a.is-on,.tabs a.is-on:hover,.tabs a.is-on:focus-visible{outline:0!important;outline-offset:0!important;transform:none!important}
.tabs a.is-on,.tabs a.is-on:hover,.tabs a.is-on:focus-visible{border:1px solid rgba(72,20,33,.3)!important;background:rgba(72,20,33,.08)!important;color:#481421!important;box-shadow:inset 0 0 0 1px rgba(72,20,33,.08)!important}
.tabs a:focus-visible{border-color:rgba(72,20,33,.42)!important;background:rgba(72,20,33,.08)!important;box-shadow:inset 0 0 0 1px rgba(72,20,33,.26)!important}
.tabs a.is-on{animation:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:auto!important}
.tabs a.is-on::after{content:none!important;display:none!important}

/* Four-second muted previews; clicking opens the full video in a dialog. */
.work-carousel__preview{position:relative;display:grid;place-items:center;max-width:100%;max-height:100%;padding:0;overflow:hidden;border:0;border-radius:18px;background:#2B191D;cursor:pointer}
.work-carousel__slide .work-carousel__preview video{display:block;width:auto;height:min(68vh,680px);max-width:100%;max-height:calc(min(76vh,820px) - 22px);object-fit:contain;border-radius:18px}
.work-carousel__play{position:absolute;display:grid;place-items:center;width:58px;height:58px;padding-left:4px;border:1px solid rgba(246,239,233,.72);border-radius:50%;background:rgba(72,20,33,.72);color:#F6EFE9;font-size:20px;opacity:.86;transition:transform .2s ease,opacity .2s ease}
.work-carousel__preview:hover .work-carousel__play{transform:scale(1.08);opacity:1}
.work-video-dialog{position:fixed;inset:0;max-width:min(94vw,900px);max-height:94vh;margin:auto;padding:16px;border:1px solid rgba(246,239,233,.22);border-radius:24px;background:#2B191D;color:#F6EFE9;box-shadow:0 24px 90px rgba(20,0,7,.45)}
.work-video-dialog::backdrop{background:rgba(32,0,10,.8);backdrop-filter:blur(4px)}
.work-video-dialog[open]{display:grid;place-items:center}
.work-video-dialog video{display:block;width:auto;height:auto;max-width:calc(94vw - 32px);max-height:calc(94vh - 32px);border-radius:14px;background:#160006}
.work-video-dialog__close{position:absolute;z-index:1;top:10px;right:10px;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(246,239,233,.5);border-radius:50%;background:rgba(72,20,33,.82);color:#F6EFE9;font:inherit;font-size:27px;line-height:1;cursor:pointer}
@media(max-width:640px){
  .work-carousel__preview{border-radius:16px}
  .work-carousel__slide .work-carousel__preview video{height:min(62vh,610px);max-height:calc(min(72vh,760px) - 16px);border-radius:16px}
  .work-video-dialog{max-width:96vw;max-height:96vh;padding:8px;border-radius:18px}
  .work-video-dialog video{max-width:calc(96vw - 16px);max-height:calc(96vh - 16px)}
}
@media(prefers-reduced-motion:reduce){.work-carousel__play{transition:none}}
.hero__exp{display:block;max-width:52ch;line-height:1.55}


/* Правки по замечаниям к макету Юлии от 09.10.2026. */
.topbar__cta.btn--primary,.topbar__cta.btn--primary:hover,.topbar__cta.btn--primary:focus-visible{background:#481421;color:#FFF8F3!important;border-color:rgba(72,20,33,.18);text-shadow:none}
.hero__grid{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(28px,4vw,60px)}
.hero__photo{min-height:clamp(470px,52vw,680px)}
.hero__photo img{width:100%;height:100%;min-height:inherit;aspect-ratio:auto;object-fit:cover;object-position:center}
.work-carousel{width:min(100%,calc(min(68vh,680px)*.5625 + 22px));max-width:none;margin-inline:auto}
.work-carousel__viewport{height:auto;min-height:0}
.work-carousel__track{height:auto}
.work-carousel__slide{height:auto;min-height:0}
.work-carousel__slide .work-carousel__preview{width:fit-content;max-width:100%;max-height:none;margin-inline:auto}
.work-carousel__slide .work-carousel__preview video{height:min(68vh,680px);max-height:calc(min(76vh,820px) - 22px)}
@media(max-width:900px){.hero__grid{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:28px}.hero__photo{min-height:clamp(420px,56vw,620px)}}
@media(max-width:640px){.hero__grid{grid-template-columns:1fr}.hero__photo{min-height:0;height:auto;max-height:none}.hero__photo img{height:auto;min-height:0;aspect-ratio:1/1;object-fit:cover}.work-carousel{width:min(100%,calc(min(62vh,610px)*.5625 + 16px))}.work-carousel__slide .work-carousel__preview video{height:min(62vh,610px);max-height:calc(min(72vh,760px) - 16px)}}

/* Три вкладки портфолио; фон фокуса чуть темнее молочного. */
.sec#focus{background:#E8DED8}
.sec#focus>.wrap{background:#EAE1DB;border-color:rgba(72,20,33,.14);box-shadow:0 16px 40px rgba(50,28,33,.08),inset 0 1px 0 rgba(255,255,255,.38)}
#focus .benefit{background:rgba(255,255,255,.35);border-color:rgba(72,20,33,.11)}
.work-tabs{display:flex;justify-content:center;gap:9px;margin:0 0 24px;padding:4px 0;overflow-x:auto;scrollbar-width:none}
.work-tabs::-webkit-scrollbar{display:none}
.work-tab{flex:none;padding:11px 20px;border:1px solid rgba(246,239,233,.3);border-radius:999px;background:rgba(246,239,233,.06);color:rgba(246,239,233,.78);font:inherit;font-size:14px;white-space:nowrap;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.work-tab:hover,.work-tab:focus-visible{border-color:rgba(246,239,233,.65);color:#F6EFE9}
.work-tab.is-active{background:#F0E6E0;border-color:#F0E6E0;color:#481421;box-shadow:0 5px 16px rgba(20,0,7,.12)}
.work-tab-panel[hidden]{display:none}
.work-carousel__viewport{height:auto;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.work-carousel__track{height:auto}
.work-carousel__slide{height:auto;min-height:0;background:transparent}
.work-carousel__slide .work-carousel__video{display:block;width:auto;height:min(68vh,680px);max-width:100%;max-height:calc(min(76vh,820px) - 22px);aspect-ratio:9/16;object-fit:contain;border:0;border-radius:14px;background:#2B191D}
.review-carousel__viewport{border:0;border-radius:0;background:transparent;box-shadow:none}
.review-carousel__slide{padding:0;background:transparent}
.review-carousel__slide img{max-height:calc(min(76vh,820px) - 10px);border-radius:12px;box-shadow:none}
.own-work-panel__intro{margin:8px 0 16px;color:rgba(246,239,233,.8);text-align:center;font-size:15px}
.own-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.own-work-placeholder{min-height:220px;padding:22px;border:1px dashed rgba(246,239,233,.3);border-radius:22px;background:rgba(246,239,233,.035);display:flex;flex-direction:column;justify-content:space-between;color:#F6EFE9}
.own-work-placeholder>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(246,239,233,.32);border-radius:50%;color:#E3C9C8;font-size:12px}
.own-work-placeholder h3{font-size:18px;font-weight:500}
.own-work-placeholder p{margin-top:7px;color:rgba(246,239,233,.65);font-size:13px}
@media(max-width:640px){.work-tabs{justify-content:flex-start;margin-bottom:18px}.work-tab{padding:10px 15px;font-size:13px}.own-work-grid{grid-template-columns:1fr}.own-work-placeholder{min-height:155px}.work-carousel__slide .work-carousel__video{height:min(62vh,610px);max-height:calc(min(72vh,760px) - 16px)}.review-carousel__slide img{max-height:calc(min(72vh,760px) - 18px)}}
.own-work-feature{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(30px,6vw,78px);width:min(100%,980px);margin:0 auto;padding:10px 0}
.own-work-feature__media{display:flex;justify-content:center;align-items:center;min-width:0}
.own-work-feature__video{display:block;width:auto;height:min(68vh,620px);max-width:100%;aspect-ratio:9/16;object-fit:contain;border:1px solid rgba(246,239,233,.18);border-radius:16px;background:#2B191D;box-shadow:0 18px 42px rgba(12,0,4,.2)}
.own-work-feature__description{display:flex;flex-direction:column;gap:18px;max-width:54ch;color:#F6EFE9}
.own-work-feature__description .eyebrow{margin:0;color:#DABDC3}
.own-work-feature__description h3{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3.2vw,42px);font-weight:400;line-height:1.12}
.own-work-feature__description>p:not(.eyebrow){color:rgba(246,239,233,.82);font-size:clamp(16px,1.4vw,19px);line-height:1.65}
@media(max-width:640px){.own-work-feature{grid-template-columns:1fr;gap:26px}.own-work-feature__video{height:min(68vh,580px)}.own-work-feature__description{gap:13px}.own-work-feature__description h3{font-size:30px}.own-work-feature__description>p:not(.eyebrow){font-size:15px}}

/* Фиксируем ширину слайдов: стрелки, свайп и scroll-snap всегда переключают ровно одно видео. */
#panel-students .work-carousel__viewport{display:block;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#panel-students .work-carousel__track{display:flex;width:100%;height:auto}
#panel-students .work-carousel__slide{flex:0 0 100%;width:100%;box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always}
@media(prefers-reduced-motion:reduce){#panel-students .work-carousel__viewport{scroll-behavior:auto}}

/* Правки по следующим замечаниям: монограмма, шаги формы и боковые стрелки видео. */
.brand__mark{width:34px;height:34px;border:1px solid rgba(72,20,33,.68);border-radius:50%;background:#481421;color:#F6EFE9;font-family:Georgia,"Times New Roman",serif;font-size:11px;font-weight:600;letter-spacing:-.08em}
.brand__mark{display:grid;place-items:center;background:transparent;color:#75505a;font-size:15px;font-weight:500;letter-spacing:0}
.footer .brand__mark{color:#FDF4ED;border-color:rgba(253,244,237,.65)}
#panel-reviews .review-carousel{position:relative;width:min(100%,1100px);max-width:none;margin:0 auto}
#panel-reviews .review-carousel__viewport{position:relative;height:min(76vh,820px);min-height:460px;overflow-x:auto;overflow-y:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;scroll-snap-type:x mandatory;scrollbar-width:none}
#panel-reviews .review-carousel__viewport::-webkit-scrollbar{display:none}
#panel-reviews .review-carousel__track{display:flex;height:100%;transition:none;will-change:auto}
#panel-reviews .review-carousel__slide{height:100%;min-width:0;box-sizing:border-box;padding:8px;display:flex;align-items:center;justify-content:center;background:transparent;scroll-snap-align:start;scroll-snap-stop:always}
#panel-reviews .review-carousel__slide img{display:block;width:100%;height:auto;max-width:100%;max-height:calc(min(76vh,820px) - 24px);object-fit:contain;border:0;border-radius:14px;background:transparent;box-shadow:none}
#panel-reviews .review-carousel__slide--trimmed img{width:100%;height:auto;max-height:calc(min(76vh,820px) - 24px);aspect-ratio:1179/534;object-fit:contain;object-position:center}
#panel-reviews .work-carousel__arrow--prev{left:10px}
#panel-reviews .work-carousel__arrow--next{right:10px}
@media(max-width:640px){
  #panel-reviews .review-carousel__viewport{height:min(72vh,760px);min-height:390px}
  #panel-reviews .review-carousel__slide img,#panel-reviews .review-carousel__slide--trimmed img{max-height:calc(min(72vh,760px) - 20px)}
  #panel-reviews .work-carousel__arrow--prev{left:7px}
  #panel-reviews .work-carousel__arrow--next{right:7px}
}

/* Центрированный заголовок форматов с пояснением и парными стрелками. */
.section-heading--formats{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.section-heading--formats>div{display:flex;flex-direction:column;align-items:center}
.section-heading--formats h2{max-width:none;text-align:center}
.section-heading--formats .eyebrow{text-align:center}
.section-heading--formats>.sub{position:relative;max-width:58ch;padding:0 48px;text-align:center}
.section-heading--formats>.sub::before,.section-heading--formats>.sub::after{position:absolute;top:50%;color:#8D5964;font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1;transform:translateY(-50%)}
.section-heading--formats>.sub::before{content:"↓";left:5px}
.section-heading--formats>.sub::after{content:"↓";right:5px}
@media(max-width:640px){.section-heading--formats{gap:12px}.section-heading--formats>.sub{padding:0 34px}.section-heading--formats>.sub::before,.section-heading--formats>.sub::after{font-size:24px}}

/* Увеличенная серистая подпись и высота левой колонки на первом экране. */
.hero__for{font-family:Georgia,"Times New Roman",serif;font-size:clamp(16px,1.8vw,22px);font-weight:500;letter-spacing:.08em}
.hero__text{align-self:stretch;min-height:clamp(470px,52vw,680px);display:flex;flex-direction:column;justify-content:center}
@media(max-width:900px) and (min-width:641px){.hero__text{min-height:clamp(420px,56vw,620px)}}
@media(max-width:640px){.hero__text{min-height:0}}
#panel-students .work-carousel__viewport{position:relative}
#panel-students .work-carousel__arrow,#panel-reviews .work-carousel__arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(246,239,233,.62);border-radius:50%;background:rgba(35,12,18,.46);color:#FFF8F3;font:inherit;font-size:27px;line-height:1;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);opacity:.76;transform:translateY(-50%);transition:opacity .18s ease,background .18s ease}
#panel-students .work-carousel__arrow:hover,#panel-students .work-carousel__arrow:focus-visible,#panel-reviews .work-carousel__arrow:hover,#panel-reviews .work-carousel__arrow:focus-visible{background:rgba(35,12,18,.7);opacity:1}
#panel-students .work-carousel__arrow--prev{left:10px}
#panel-students .work-carousel__arrow--next{right:10px}
.booking-points b{display:inline-block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#D8C6C4;font-size:0;letter-spacing:0}
@media(max-width:640px){#panel-students .work-carousel__arrow,#panel-reviews .work-carousel__arrow{width:38px;height:38px;font-size:24px}#panel-students .work-carousel__arrow--prev{left:7px}#panel-students .work-carousel__arrow--next{right:7px}}

/* Обновления первого экрана, видео-карусели и контактов по комментариям. */
.hero__for{order:-2;width:100%;margin:0 0 4px;color:#DABDC3!important;font-family:Georgia,"Times New Roman",serif;font-size:clamp(13px,1.2vw,16px);font-weight:500;letter-spacing:.07em}
.hero__text{order:0;align-self:stretch;min-height:clamp(470px,52vw,680px);padding:0;display:flex;flex-direction:column;justify-content:space-between;gap:clamp(12px,1.7vw,22px)}
.hero h1{max-width:13ch;font-size:clamp(52px,5.6vw,68px);line-height:1.02}
.hero .lead{max-width:42ch;margin-top:0;font-size:clamp(18px,1.55vw,20px);line-height:1.5}
.hero__cta{margin-top:0}
.hero .hero__exp{display:block;width:fit-content;max-width:min(100%,54ch);margin-top:0;padding:15px 17px;border:1px solid rgba(246,239,233,.2);border-radius:16px;background:rgba(246,239,233,.07);color:rgba(246,239,233,.82);font-size:clamp(14px,1.3vw,16px);line-height:1.5;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.section-intro .sub{max-width:66ch}
.work-carousel{width:min(100%,1100px);max-width:none;margin-inline:auto}
#panel-students .work-carousel__viewport{height:auto;min-height:0}
#panel-students .work-carousel__track{width:200%;height:auto}
#panel-students .work-carousel__slide{flex:0 0 calc(100% / 6);width:auto;min-height:0;height:auto;padding:8px;background:transparent;scroll-snap-align:none;scroll-snap-stop:normal}
#panel-students .work-carousel__slide:nth-child(3n + 1){scroll-snap-align:start;scroll-snap-stop:always}
#panel-students .work-carousel__video{display:block;width:auto;height:min(64vh,600px);max-width:100%;max-height:none;aspect-ratio:9/16;object-fit:contain;border:0;border-radius:14px;background:#2B191D}
.service-card__top{align-items:flex-start}
.service-card__duration{flex:none;max-width:42%;white-space:normal}
.social-card__photo{display:block;object-fit:cover;border-radius:50%;border:0}
.contact-email{color:#481421;text-decoration-thickness:1px;text-underline-offset:3px}
.contact-email:hover{color:#76505B}
@media(max-width:640px){
  .hero__for{order:-2;margin:0 0 4px;font-size:13px;letter-spacing:.06em}
  .hero__text{min-height:0;justify-content:flex-start;gap:16px}
  .hero__photo{order:1}
  .hero h1{font-size:clamp(35px,9vw,44px);max-width:12ch}
  .hero .lead{font-size:15px}
  .hero .hero__exp{width:auto;max-width:100%;padding:11px 13px;border-radius:14px;font-size:13px}
  .work-carousel{width:100%}
  #panel-students .work-carousel__track{width:600%}
  #panel-students .work-carousel__slide{flex-basis:calc(100% / 6);padding:7px;scroll-snap-align:start;scroll-snap-stop:always}
  #panel-students .work-carousel__slide:nth-child(3n + 1){scroll-snap-align:start}
  #panel-students .work-carousel__video{height:min(68vh,610px);max-width:100%}
  .social-card__photo{width:42px;height:42px}
}

/* Точная подстройка заголовка, карточек форматов и блока заявки. */
.hero h1{letter-spacing:.015em}
.service-card__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,42%);align-items:start;gap:10px}
.service-card__top h3{min-width:0}
.service-card__duration{display:block;width:100%;max-width:none;text-align:right}
.service-card__book{margin-right:-10px}
.booking-grid>div:first-child{align-self:center;text-align:center}
.booking-grid>div:first-child h2,.booking-grid>div:first-child .sub{margin-inline:auto}
.booking-grid>div:first-child .booking-points{width:fit-content;max-width:100%;margin-inline:auto;text-align:left}

/* Скрытая фамилия в копии для портфолио. */
.surname-blur{display:inline-block;min-width:9ch;filter:blur(5px);user-select:none;pointer-events:none;white-space:nowrap;opacity:.8}
