:root{--ink:#253b49;--muted:#526975;--paper:#f5f7f6;--blue:#e5edf1;--yellow:#f4ff9b;--line:#ccd9df}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.65}a{color:inherit}.wrap{max-width:1180px;margin-inline:auto;padding-inline:42px}.header{display:flex;align-items:center;justify-content:space-between;padding-block:32px;border-bottom:1px solid var(--line)}.name{text-decoration:none;font-size:20px;letter-spacing:-.4px}.name span{display:block;font-size:13px;color:var(--muted);letter-spacing:.06em}.header nav{display:flex;gap:32px;font-size:15px}.header nav a{text-decoration:none}.header nav a:hover{text-decoration:underline;text-underline-offset:6px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:55px;align-items:center;padding-block:65px 90px}.eyebrow{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin:0 0 28px;color:var(--muted)}h1,h2,h3,p,figure{margin-top:0}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(42px,4.5vw,65px);line-height:1.12;letter-spacing:-2px;margin-bottom:30px}em{font-weight:400;color:#607c8c}h1 em{font-size:.91em}.lead{font-size:19px;line-height:1.65;max-width:470px;margin-bottom:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;text-decoration:none;background:var(--yellow);padding:17px 25px;border:1px solid transparent;border-radius:10px;font-size:16px;font-weight:600;min-height:56px;transition:background .2s,transform .2s}.button:hover{background:#e9f78b;transform:translateY(-2px)}a:focus-visible{outline:3px solid #355f7a;outline-offset:5px}.small{font-size:13px;color:var(--muted);margin:14px 0 0}.portrait{position:relative;margin:0 0 0 10px;padding-bottom:28px}.portrait img{width:100%;height:540px;display:block;object-fit:cover;object-position:center 45%;border-radius:160px 160px 14px 14px}.portrait figcaption{position:absolute;bottom:48px;left:-32px;background:var(--paper);padding:15px 23px;border-radius:8px;font-family:Georgia,serif;font-size:19px;line-height:1.4}.portrait-label{display:block;text-align:right;font-size:12px;color:var(--muted);margin-top:12px;letter-spacing:.04em}.about{display:grid;grid-template-columns:1fr 2fr;gap:75px;background:var(--blue);padding-block:70px;border-radius:22px}.about .eyebrow{padding-top:10px}h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.5vw,48px);font-weight:400;line-height:1.2;letter-spacing:-1px;margin-bottom:28px}.about p:not(.eyebrow){max-width:650px;font-size:18px}.about p:last-child{margin-bottom:0}.share{padding-block:85px}.section-heading{margin-bottom:40px}.section-heading .eyebrow{margin-bottom:14px}.topics{display:grid;grid-template-columns:1fr 1fr;gap:55px}.topics article{border-top:1px solid var(--line);padding-top:28px}.symbol{font-size:38px;color:#738f9f;display:block;line-height:1;margin-bottom:22px}h3{font-size:23px;font-weight:400;letter-spacing:-.5px;margin-bottom:12px}.topics p{font-size:17px;color:var(--muted);max-width:420px}.contact{text-align:center;background:#d8e5ec;border-radius:22px;padding-block:65px}.contact .eyebrow{margin-bottom:20px}.contact h2{font-size:clamp(40px,4.7vw,60px);margin-bottom:22px}.contact p:not(.eyebrow){color:var(--muted);font-size:17px}.handle{display:block;width:max-content;margin:15px auto 0;font-size:14px;text-underline-offset:4px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:20px;padding-block:30px 35px;font-size:12px;color:var(--muted)}@media(min-width:1250px){.about,.contact{max-width:1096px}}@media(max-width:760px){.wrap{padding-inline:24px}.header{padding-block:22px}.header nav{gap:18px;font-size:14px}.header nav a:nth-child(2){display:none}.name{font-size:17px}.name span{font-size:12px}.hero{grid-template-columns:1fr;gap:38px;padding-block:40px 55px}.hero .eyebrow{font-size:11px;letter-spacing:.09em;margin-bottom:22px}h1{font-size:46px;letter-spacing:-1.6px}.lead{font-size:18px}.portrait{margin-inline:auto;max-width:410px;width:100%;padding-left:15px}.portrait img{height:470px;border-radius:150px 150px 12px 12px}.portrait figcaption{left:0;bottom:45px;font-size:18px;padding:12px 17px}.about{grid-template-columns:1fr;gap:0;margin-inline:12px;padding-block:40px;border-radius:18px}.about .eyebrow{margin-bottom:22px}.about p:not(.eyebrow){font-size:17px}.share{padding-block:55px}.topics{grid-template-columns:1fr;gap:22px}.topics article{padding-top:22px}.symbol{margin-bottom:16px}.section-heading{margin-bottom:28px}.contact{margin-inline:12px;padding-block:45px;border-radius:18px}footer{flex-direction:column;gap:3px;padding-block:24px}.button{font-size:15px}.small{font-size:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}
/* Правки Оксаны: мягкий шрифт без курсива, тёплый фон блока пользы. */
body{font-family:'Segoe UI',Arial,sans-serif}
h1,h2,h3,.portrait figcaption{font-family:'Segoe UI',Arial,sans-serif;font-weight:400}
em{font-style:normal}
h1{font-size:clamp(40px,4.1vw,59px);line-height:1.18;letter-spacing:-1.5px}
h1 em{font-size:1em}
h2{letter-spacing:-.8px}
.share{background:#f3e7dc;border-radius:22px;margin-block:32px;padding-block:60px}
.share .topics article{border-color:#d6c5b6}
.share .symbol{color:#987961}
@media(min-width:1250px){.share{max-width:1096px}}
@media(max-width:760px){h1{font-size:40px;letter-spacing:-1px}.share{margin-inline:12px;padding-block:40px;border-radius:18px}}
/* Единая тёплая гамма трёх разделов. */
.about{background:#f3e7dc}
.contact{background:#eedccb}
.about em,.contact em{color:#806c5b}
.about .eyebrow,.contact .eyebrow,.contact p:not(.eyebrow),.contact .handle{color:#6e5d50}
/* Фото целиком в квадратном блоке, надпись поверх снимка. */
.portrait{padding-left:0}
.portrait img{height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;border-radius:0;background:#e7e2de}
.portrait figcaption{left:50%;bottom:65px;transform:translateX(-50%);width:90%;padding:0;background:transparent;border-radius:0;text-align:center;color:#fff9ed;font-family:'Segoe Print','Comic Sans MS',cursive;font-size:clamp(20px,2vw,27px);font-weight:400;line-height:1.5;text-shadow:0 2px 6px #302b29,0 0 18px #302b29}
@media(max-width:760px){.portrait figcaption{left:50%;bottom:60px;padding:0;font-size:22px}.portrait img{height:auto;border-radius:0}}
.education{margin-top:32px;padding-top:24px;border-top:1px solid #d6c5b6}.education h3{font-size:22px;margin-bottom:14px}.education ul{margin:0;padding-left:22px;font-size:17px}.education li+li{margin-top:12px}
@font-face{font-family:Caveat;src:url('assets/caveat.ttf') format('truetype');font-weight:400 700;font-style:normal;font-display:swap}
.portrait figcaption{font-family:Caveat,cursive;font-size:26px;line-height:1.1;width:94%;bottom:43px;text-shadow:0 1px 4px #29231f,0 0 12px #29231f}
@media(max-width:760px){
.portrait figcaption{font-family:Caveat,cursive;font-size:22px;line-height:1.12;bottom:45px;width:96%;white-space:nowrap}
h2{font-size:27px;line-height:1.3;letter-spacing:-.5px}
.contact h2{font-size:32px}
.about p:not(.eyebrow){font-size:16px;line-height:1.65}
.about{padding-block:30px}
.about .eyebrow{font-size:12px;margin-bottom:18px}
}
.portrait figcaption{bottom:90px;color:#ffdab8;text-shadow:0 2px 4px #3c3028,0 0 10px #3c3028}
@media(max-width:760px){.portrait figcaption{bottom:85px;color:#ffdab8}}
.button{background:#a45c3b;color:#fffaf5}
.button:hover{background:#8c4b30}
/* Подпись ограничена шириной портретного снимка внутри квадратного блока. */
.portrait{container-type:inline-size}
.portrait figcaption{width:48%;max-width:48%;font-size:clamp(12px,4.2cqw,18px);line-height:1.25;white-space:normal;overflow-wrap:normal;bottom:90px}
@media(max-width:760px){.portrait figcaption{width:48%;max-width:48%;font-size:clamp(12px,4.2cqw,17px);line-height:1.25;white-space:normal;bottom:85px}}
@font-face{font-family:BadScript;src:url('assets/bad-script.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
.portrait figcaption{font-family:BadScript,cursive;font-weight:400;font-size:clamp(11px,3.5cqw,16px);line-height:1.6;width:44%;max-width:44%;transform:translateX(-50%) rotate(-7deg);transform-origin:center;bottom:85px;color:#ffdab8;text-shadow:0 1px 3px #47392f}
@media(max-width:760px){.portrait figcaption{font-family:BadScript,cursive;font-size:clamp(10px,3.5cqw,14px);line-height:1.6;width:44%;max-width:44%;bottom:80px;transform:translateX(-50%) rotate(-7deg)}}
.portrait figcaption{font-size:clamp(12px,4cqw,18px);width:45%;max-width:45%;line-height:1.5}
@media(max-width:760px){.portrait figcaption{font-size:clamp(11px,4cqw,16px);width:45%;max-width:45%;line-height:1.5}}
