/* Theme Name: Анатомия внимания
Version: 1.0.0
*/
:root{--ink:#243c3a;--paper:#fffdf5;--accent:#476e61;--soft:#e2ebe0;--radius:24px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}button{font:inherit;cursor:pointer}h1,h2,h3{line-height:1.14;text-wrap:balance;margin:0 0 .7em}h1{font-size:clamp(42px,6vw,88px);max-width:1000px}h2{font-size:clamp(32px,4vw,60px);max-width:1040px;margin-bottom:44px}h3{font-size:clamp(23px,2vw,31px)}p{margin:0 0 1em}.site-header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--paper) 96%,transparent);border-bottom:1px solid #243c3a22;display:flex;gap:32px;align-items:center;padding:20px 4vw;backdrop-filter:blur(12px)}.brand{font-size:22px;font-weight:750;line-height:1.1;text-decoration:none;min-width:160px}.site-header nav{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;line-height:1.3}.site-header nav a{text-decoration:none}.site-header nav a:hover{text-decoration:underline}.skip{position:fixed;top:-100px;z-index:90;background:white;padding:15px}.skip:focus{top:0}.landing-section{padding:88px 4vw;scroll-margin-top:110px}.section-inner{max-width:1400px;margin:auto}.landing-section:nth-child(even){background:var(--soft)}.blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}.block{min-width:0;padding:30px;background:#ffffffab;border-radius:var(--radius);overflow:hidden}.block.wide{grid-column:1/-1}.block.illustration{background:transparent;padding:0}.images{display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:center}.images img{display:block;object-fit:contain;width:100%;height:auto;max-height:440px}.images img+img{max-width:46%}.label{font-size:15px;letter-spacing:.02em;color:var(--accent)}.copy:last-child{margin-bottom:0}.copy a{text-decoration-thickness:1px;text-underline-offset:4px}.section-hero{background:var(--soft);padding-top:64px}.section-footer{padding-top:48px;padding-bottom:48px;font-size:15px}.section-footer h2{font-size:24px}.section-footer .images img{max-height:150px}.edit-link{display:inline-block;margin:-24px 0 24px;font-size:13px}.detail-button{padding:20px 24px;border:1px solid currentColor;border-radius:16px;background:transparent;color:inherit;margin:20px 12px 0 0;text-align:left;max-width:100%}.detail-button:hover{background:#fff8}dialog{border:0;border-radius:24px;padding:54px 36px;width:min(1200px,94vw);max-height:88vh;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#102626aa}.dialog-close{position:sticky;float:right;top:0;background:var(--ink);color:white;border:0;border-radius:50%;width:44px;height:44px;font-size:28px}dialog h2{font-size:34px}.project-formula-future{--ink:#282c62;--paper:#f6f5fd;--accent:#6557a3;--soft:#dcd6fa;--radius:28px}.project-formula-future .section-diagnostics{background:#ccecdf}.project-formula-future .section-treatment{background:#ffcbbb}.project-formula-future .section-rehabilitation{background:#cfe9fe}.project-day-after{--ink:#33333b;--paper:#fffbea;--accent:#744856;--soft:#f2eee1;--radius:4px}.project-day-after h1,.project-day-after h2{font-family:Georgia,serif;font-weight:500}.project-day-after .block{box-shadow:0 6px 20px #5245200b}.project-day-after .section-support,.project-day-after .section-plans{background:#f9e3dd}.project-day-after .section-activity,.project-day-after .section-work{background:#e3e9ea}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:5px}@media(max-width:760px){body{font-size:16px}.site-header{position:relative;display:block;padding:20px}.site-header nav{margin-top:20px;gap:12px}.landing-section{padding:48px 18px;scroll-margin-top:12px}.blocks{grid-template-columns:1fr;gap:18px}.block{padding:22px}.images img{max-height:340px}.block.wide{grid-column:auto}.detail-button{width:100%;margin-right:0}dialog{padding:24px 18px}.section-inner h2{margin-bottom:28px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.resources{margin-top:36px;padding:28px;border:1px solid #8884;border-radius:16px}.resources li{margin:12px 0}

/* Hero uses the visible Figma composition; clipped animation states stay editable in ACF. */
.hero-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;min-height:540px}.hero-copy h1{font-size:clamp(44px,5vw,80px)}.hero-art img{display:block;width:100%;height:540px;object-fit:contain;object-position:center bottom}.hero-line-0{font-size:24px;line-height:1.4}.project-formula-future .hero-layout{display:flex;flex-direction:column;text-align:center;gap:24px}.project-formula-future .hero-art{width:100%}.project-formula-future .hero-art img{height:auto;max-height:560px;object-fit:cover;border-radius:24px}.project-day-after .hero-art img{height:450px}.project-day-after .hero-line-1,.project-day-after .hero-line-2{display:inline;font:italic 28px/1.3 Georgia,serif}.project-day-after .hero-line-3{margin-top:28px}@media(max-width:760px){.hero-layout{display:flex;flex-direction:column;gap:20px;min-height:0}.hero-art img{height:360px}.hero-line-0{font-size:20px}.hero-copy h1{font-size:44px}.project-day-after .hero-art img{height:240px}}
