/* Страница „За мен" — CSS, портнат 1:1 от новата визия (about-page.css +
   споделените hero-assembly.css/scroll-thread.css/contact-soft.css, по
   същата конвенция като home.css — всяка страница носи собствено копие,
   без build стъпка). --header-height/base .hero също се дублират тук,
   защото main.css не ги носи (засега дефинирани само в home.css). */

:root{--header-height:clamp(56px,7svh,78px)}
.header{height:var(--header-height);min-height:0}
.hero{position:relative;isolation:isolate;overflow:hidden}
body{max-width:none}
@media(max-width:650px){:root{--header-height:60px}.header{height:var(--header-height)}}
@media(max-height:560px) and (min-width:651px){.header{min-height:42px;--header-height:48px}:root{--header-height:48px}}

/* ===== about-page.css ===== */
.about-page{background:#050505}.about-page>.header{background:#1b1b1b}.about-layout{overflow-x:clip}
/* Keep the name and introduction in one content flow at every desktop ratio. */
.about-page .about-hero{height:calc(100svh - var(--header-height));min-height:620px;background:linear-gradient(to bottom,#1b1b1b 0%,#1b1b1b 64%,#151515 79%,#0b0b0b 91%,#050505 100%);overflow:visible;isolation:isolate;display:flex;align-items:center;padding:45px 5% 100px}
.about-hero-image{position:absolute;inset:0;z-index:-1;overflow:hidden;mask-image:linear-gradient(#000 86%,transparent 100%)}
.about-hero-image img{display:block;position:absolute;top:2%;right:0;width:auto;max-width:none;height:92%;object-fit:contain;object-position:right top;mask-image:linear-gradient(to right,transparent 0%,#000 38%,#000 96%,transparent 100%),linear-gradient(transparent,#000 7%,#000 88%,transparent);mask-composite:intersect;transform:translateY(var(--portrait-y,0px));will-change:transform}
.about-hero-copy{position:relative;z-index:2;width:53%;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.about-page .hero h1.hero-display{position:relative;inset:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;margin:26px 0 30px;width:max-content;max-width:100%;font-family:var(--display);font-weight:700;font-size:min(9.8vw,18cqh);line-height:1;letter-spacing:-.045em;text-align:left;text-wrap:nowrap;-webkit-text-stroke:.06vw var(--ink);z-index:2}
.about-page .hero-display>span{transform:none!important;transform-origin:left;white-space:nowrap;text-shadow:0 0 30px #ddd5c008}
.about-page .about-kicker{position:static;font-size:12px;letter-spacing:2px}
.about-page .about-hero-intro{position:relative;inset:auto;width:85%;max-width:29ch;margin:0;font-size:clamp(18px,1.5vw,26px);line-height:1.5;letter-spacing:-.025em;z-index:5;text-wrap:balance}
.about-down{position:absolute;left:5%;bottom:10%;width:50px;height:50px;border:1px solid #f2eee466;border-radius:50%;display:grid;place-items:center;font:29px 'Sofia Sans Semi Condensed',sans-serif;z-index:5;transition:background .3s,transform .3s}
.about-down:hover{background:#f2eee412;transform:translateY(4px)}
.about-page .about-chapter{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:105px 6%;min-height:520px;align-items:start}
.about-page .chapter-time{margin-top:-5svh;padding-top:90px}
.about-page .about-title{margin:0;font-family:var(--display);font-weight:600;font-size:clamp(48px,5.1vw,88px);line-height:1.04;letter-spacing:-.025em;color:var(--ink)}
.about-title>span{color:#b2b6b9}.about-title .ink-word{color:#5f625f;transition:color .55s ease,text-shadow .55s ease}.about-title .ink-word.lit{color:var(--ink)}.about-title>span .ink-word.lit{color:#b2b6b9}
.about-prose{font-family:'Sofia Sans Semi Condensed',sans-serif;font-size:clamp(18px,1.5vw,23px);line-height:1.65;color:#c6c3bb;max-width:46ch;padding-top:12px}
.about-prose p{margin:0 0 25px}.about-prose p:last-child{margin-bottom:0}.about-page .about-qualification{margin-top:35px;font-size:1em;color:#c6c3bb}
.about-page .chapter-perspective{grid-template-columns:1fr 1fr;min-height:610px;padding-top:60px}
.chapter-perspective .about-title{grid-column:1/3;margin-left:8%;font-size:clamp(52px,6.1vw,102px)}
.chapter-perspective .about-prose{grid-column:2;margin-top:45px;padding:0}
.about-page .chapter-design{padding-top:70px;padding-bottom:100px;min-height:570px}
.chapter-design .about-title{grid-column:2;grid-row:1}.chapter-design .about-prose{grid-column:1;grid-row:1}
.about-page .chapter-path{padding-top:60px;padding-bottom:0;align-items:end}
.chapter-path .about-prose{margin-top:45px}
.chapter-path .path-image{align-self:end;margin-bottom:-1px}
.chapter-path .path-image img{display:block;width:100%;max-width:560px;height:auto;margin-left:auto;--fade-x:linear-gradient(to right,transparent,#000 14%,#000 84%,transparent);--fade-y:linear-gradient(#000 72%,transparent);-webkit-mask-image:var(--fade-x),var(--fade-y);mask-image:var(--fade-x),var(--fade-y);-webkit-mask-composite:source-in;mask-composite:intersect}
.about-page .chapter-path:not(.has-image) .about-prose{max-width:46ch}
.about-page .chapter-process{padding-top:70px}
@media(min-width:651px){.chapter-process .about-title{position:sticky;top:calc(var(--header-height,72px) + 48px)}}
.about-prose a{color:var(--ink);text-decoration:underline;text-decoration-color:#f2eee466;text-underline-offset:4px;transition:text-decoration-color .3s}.about-prose a:hover,.about-prose a:focus-visible{text-decoration-color:currentColor}
.about-steps{list-style:none;margin:0;padding:12px 0 0;counter-reset:step}
.about-steps li{counter-increment:step;position:relative;padding:0 0 30px 58px;margin:0 0 30px;border-bottom:1px solid #f2eee41f}
.about-steps li:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.about-steps li::before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:.2em;font-size:.72em;letter-spacing:.12em;color:#989690}
.about-steps h3{margin:0 0 8px;font-family:var(--display);font-weight:600;font-size:1.15em;line-height:1.25;color:var(--ink)}
.about-steps p{margin:0}
.about-page .chapter-support{padding-top:70px;padding-bottom:100px;min-height:470px}
.chapter-support .about-title{grid-column:2;grid-row:1}.chapter-support .about-prose{grid-column:1;grid-row:1}
.about-page #contact.contact-soft{min-height:650px;padding-top:130px;padding-bottom:135px}
.about-page .contact-soft .contact-description{max-width:48ch}
.about-page [data-reveal]{opacity:1;transform:none}
.about-page.about-motion [data-reveal]{opacity:var(--copy-opacity,1);transform:translateY(var(--copy-y,0px));will-change:opacity,transform}
@media(min-width:1800px){.about-page .about-chapter{padding-left:9%;padding-right:9%}}
@media(max-width:650px){
 .about-page .about-hero{min-height:690px;height:calc(100svh - 64px);padding:20px 6% 62px;align-items:stretch}
 .about-hero-copy{width:100%}
 .about-page .hero h1.hero-display{inset:auto;font-size:15vw;line-height:1;margin:20px 0 0}
 .about-page .about-kicker{font-size:9px}
 .about-hero-image{inset:23% 0 0;mask-image:linear-gradient(transparent,#000 8%,#000 85%,transparent 100%)}
 .about-hero-image img{top:0;right:-45%;width:auto;max-width:none;height:91%;object-fit:contain;object-position:right top;mask-image:linear-gradient(to right,transparent,#000 20%,#000 97%,transparent),linear-gradient(transparent,#000 7%,#000 88%,transparent)}
 .about-page .about-hero-intro{inset:auto;width:100%;max-width:32ch;margin-top:auto;font-size:17px;line-height:1.5;text-align:left;text-wrap:balance}
 .about-down{left:auto;right:6%;bottom:1%;width:35px;height:35px;font-size:22px}
 .about-page .about-chapter{display:block;min-height:0;padding:70px 7%;margin:0}
 .about-page .chapter-time{padding-top:35px}
 .about-page .about-title{font-size:12.5vw;line-height:1.07;letter-spacing:-.02em}
 .about-page .about-prose{font-size:18px;line-height:1.6;padding-top:0;margin-top:32px;max-width:none}
 .about-prose p{margin-bottom:22px}
 .chapter-perspective .about-title{margin-left:0;font-size:12.5vw}
 .chapter-perspective .about-prose{margin-top:32px}
 .chapter-design .about-title{margin-bottom:32px}.chapter-design .about-prose{margin-top:0}
 .chapter-support .about-title{margin-bottom:32px}.chapter-support .about-prose{margin-top:0}
 .about-page .chapter-path{padding-bottom:0}
 .chapter-path .about-prose{margin-top:32px}
 .chapter-path .path-image{margin-top:40px}
 .chapter-path .path-image img{max-width:88%;margin:0 auto}
 .about-steps li{padding-left:46px}
 .about-page #contact.contact-soft{min-height:620px;padding:95px 7% 100px}
 .about-page .contact-soft h2{font-size:12vw}
 .about-page .contact-soft h2 span{font-size:1em}
 .about-page .contact-soft .contact-description{font-size:15px;max-width:31ch}
 .about-page .contact-action{gap:22px}
}
@media(max-width:650px) and (max-height:740px){.about-page .about-hero{min-height:625px}.about-page .hero h1.hero-display{font-size:15vw}.about-page .about-hero-intro{font-size:16px}}
@media(prefers-reduced-motion:reduce){.about-hero-image img,.about-page.about-motion [data-reveal]{transform:none!important;opacity:1!important}.about-title .ink-word{color:var(--ink);transition:none}}

/* ===== hero-assembly.css ===== */
.hero-display{z-index:3;pointer-events:none}.hero-display>span{color:var(--ink);background:none;-webkit-text-fill-color:var(--ink);animation:none!important;filter:none;opacity:1;translate:none;scale:none}
.hero-assembly{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}
.hero.assembly-active .hero-display{opacity:0}
.hero.assembly-done .hero-assembly{display:none}
@media(prefers-reduced-motion:reduce){.hero-assembly{display:none}.hero.assembly-active .hero-display{opacity:1}}

/* ===== scroll-thread.css ===== */
.scroll-thread{position:absolute;top:0;left:0;width:100%;z-index:10;pointer-events:none;overflow:hidden;contain:layout style;opacity:.72}
.scroll-thread svg{display:block;width:100%;height:100%;overflow:hidden}
.scroll-thread path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.scroll-thread .thread-light{stroke:url(#thread-silver);stroke-width:1.1}
.scroll-thread .thread-soft{stroke:url(#thread-silver);stroke-width:3;opacity:.09}
.about-orbit,.search-orbit{visibility:hidden}
.scroll-thread .thread-loop{stroke:#bec5c8;stroke-width:1.1;opacity:.7}
.scroll-thread .thread-loop-soft{stroke:#dce1e2;stroke-width:3;opacity:.06}
.scroll-thread .thread-pulse{stroke:#faf7eb;stroke-width:1.7;opacity:0}
@media(max-width:650px){.scroll-thread{opacity:.58}.scroll-thread .thread-light{stroke-width:1}.scroll-thread .thread-loop{stroke-width:1;opacity:.8}}
@media(prefers-reduced-motion:reduce){.scroll-thread{display:none}}

/* ===== contact-soft.css ===== */
#contact.contact-soft{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;height:auto;min-height:72svh;margin:0;padding:110px 6% 120px;overflow:hidden;background:var(--bg)}
.contact-soft::before{content:'';position:absolute;z-index:-1;inset:10% 10%;background:radial-gradient(ellipse at 50% 55%,#bfc6cb0d,transparent 64%);opacity:.4;transition:opacity .8s}
.contact-soft:hover::before{opacity:1}
.contact-soft .contact-heading{position:relative;inset:auto;display:flex;flex-direction:column;align-items:center;width:100%;gap:0;text-align:center;transform:none!important;opacity:1;margin:0;padding:0}
.contact-soft .eyebrow{font-size:10px;letter-spacing:2px;color:#a9aaa5;margin-bottom:27px}
.contact-soft h2{font-family:'Sofia Sans Semi Condensed',sans-serif;font-style:normal;font-weight:400;font-size:clamp(58px,7.2vw,112px);line-height:1.03;letter-spacing:-.045em;margin:0;color:var(--ink);white-space:normal;mask-image:none;-webkit-text-stroke:0;transform:none;flex:none}
.contact-soft h2 span{display:block;color:#b4b6b1}
.contact-soft .contact-description{max-width:36ch;margin:28px auto 35px;font-size:15px;line-height:1.8;letter-spacing:-.01em;color:#aca9a2}
.contact-soft .contact-action{--pointer-x:50%;--pointer-y:50%;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:42px;min-width:252px;min-height:66px;padding:9px 10px 9px 26px;border:1px solid #dad6cd4d;border-radius:99px;background:#ffffff03;color:var(--ink);font-size:14px;letter-spacing:0;text-align:left;overflow:hidden;transition:border-color .4s,box-shadow .4s,background .4s}
.contact-action::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(120px circle at var(--pointer-x) var(--pointer-y),#e0e5e833,transparent 75%);opacity:0;transition:opacity .45s}
.contact-action .contact-arrow{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #dad6cd3b;border-radius:50%;font-size:23px;font-weight:400;transition:transform .45s cubic-bezier(.2,.7,.3,1),background .4s,color .4s}
.contact-action:hover,.contact-action:focus-visible{border-color:#e6e2d999;box-shadow:0 0 25px #d9e4e608;background:#ffffff06}
.contact-action:hover::before,.contact-action:focus-visible::before{opacity:1}
.contact-action:hover .contact-arrow,.contact-action:focus-visible .contact-arrow{transform:translate(2px,-2px);background:var(--ink);color:#101110}
@media(max-width:650px){#contact.contact-soft{min-height:65svh;padding:90px 7% 100px}.contact-soft h2{font-size:clamp(47px,13.5vw,78px)}.contact-soft h2 span{font-size:.86em;white-space:nowrap}.contact-soft .eyebrow{font-size:9px;margin-bottom:24px}.contact-soft .contact-description{font-size:13px;line-height:1.8;max-width:30ch;margin:25px auto 30px}.contact-soft .contact-action{min-width:240px;min-height:62px;font-size:13px}.contact-soft::before{inset:0}}
@media(prefers-reduced-motion:reduce){.contact-soft::before,.contact-soft .contact-action,.contact-action::before,.contact-action .contact-arrow{transition:none}.contact-action:hover .contact-arrow,.contact-action:focus-visible .contact-arrow{transform:none}}
.contact-soft .contact-action{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;justify-content:center;gap:0;padding:10px 66px;text-align:center;line-height:1.2}
.contact-soft .contact-action>span:first-child{display:block;text-align:center;line-height:1.2}
.contact-soft .contact-action .contact-arrow{position:absolute;right:12px;top:50%;translate:0 -50%}
@media(max-width:650px){.contact-soft .contact-action{padding:9px 61px}.contact-soft .contact-action .contact-arrow{right:10px}}
