/* An open portrait composition, joined by a single sapphire field and slow layered motion. */
.about-gabriela{--about-progress:0;--about-shift:0px;background:var(--paper,#fdfdfb);color:#22241f;scroll-margin-top:24px}
.about-stage{position:relative;isolation:isolate;overflow:clip;padding:36px 6% 30px;background:var(--paper,#fdfdfb)}
.about-atmosphere{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}.about-contours{position:absolute;inset:-8% -5%;width:110%;height:116%;color:#c7d1de;opacity:.6;transform:translateY(calc(var(--about-progress)*-24px))}.about-contours path{stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
.about-sapphire-field{position:absolute;left:-28%;top:20%;width:65%;height:82%;background:#0f52ba;border-radius:48% 52% 54% 46% / 51% 43% 57% 49%;transform:translateX(calc(var(--about-progress)*30px)) rotate(calc(-12deg + var(--about-progress)*15deg));transform-origin:42% 50%;will-change:transform}
.about-stage-top,.about-stage-foot{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:10px;letter-spacing:.09em;color:#626975}.about-stage-top>span:first-child{background:var(--paper,#fdfdfb);padding:5px 9px 5px 0}.about-stage-hint{color:#0f52ba}
.about-scene{position:relative;display:grid;grid-template-columns:42% 58%;align-items:center;min-height:660px;padding:42px 0 32px}
.about-photo{position:absolute;left:-10%;top:36px;width:56%;bottom:-100px;margin:0;pointer-events:none;z-index:0}.about-photo-frame{position:absolute;inset:0;overflow:visible;background:none}.about-photo img{position:absolute;display:block;left:50%;top:0;width:auto;height:190%;max-width:none;object-fit:contain;transform:translateX(calc(-50% + var(--about-shift))) translateY(calc(var(--about-progress)*-10px));transform-origin:50% 30%;will-change:transform}.about-photo figcaption,.about-crop{display:none}
.about-words{position:relative;z-index:1;grid-column:2;padding-left:20px}.about-beat{margin-bottom:24px}.about-beat:last-child{margin-bottom:0}.about-beat h3{position:relative;font-family:'Barlow Condensed','DM Sans',sans-serif;font-size:clamp(68px,7.8vw,140px);font-weight:500;line-height:.97;letter-spacing:-.025em;text-transform:uppercase;margin:0;white-space:nowrap;transition:color .8s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1),-webkit-text-stroke-color .8s}
.about-beat-number{display:inline-block;vertical-align:top;font-family:'DM Sans',sans-serif;font-size:9px;font-weight:400;letter-spacing:0;line-height:2;color:#0f52ba;width:24px;margin-top:8px}.about-word-dot{color:#0f52ba}.about-beat p{font-size:14px;line-height:1.7;color:#59616d;max-width:390px;margin:14px 0 0 26px}
.about-stage-foot{font-size:9px;letter-spacing:.04em}.about-stage-foot{justify-content:flex-end}.about-stage-foot>span:first-child{display:none}.about-scroll-track{display:none}.about-scene-count{color:#0f52ba;min-width:44px;text-align:right}
.about-after{position:relative;background:var(--paper,#fdfdfb);padding:56px 6% 88px;max-width:1800px;margin:auto}.about-after-kicker{font-size:9px;letter-spacing:.1em;color:#626975;margin:0 0 24px}.about-after-grid{display:grid;grid-template-columns:1fr 1fr;gap:8%}.about-after-title{font-size:clamp(30px,3.4vw,50px);font-weight:450;line-height:1.12;letter-spacing:-.05em;margin:0}.about-after-title span{color:#0f52ba}.about-after-copy>p{font-size:15px;line-height:1.75;color:#626975;max-width:470px;margin:0}
.about-social{display:flex;align-items:center;justify-content:space-between;gap:24px;text-decoration:none;color:#22241f;border-top:1px solid #dfe1e4;padding-top:18px;margin-top:24px;max-width:470px;font-size:13px}.about-social small{display:block;font-size:10px;color:#686e77;margin-top:6px}.about-social-arrow{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#0f52ba;color:white;font-size:20px;transition:transform .5s cubic-bezier(.2,.7,.2,1),border-radius .5s,background .5s}.about-social:hover .about-social-arrow{transform:rotate(-8deg);border-radius:50%;background:#0b4197}.about-social:focus-visible{outline:2px solid #0f52ba;outline-offset:6px}
/* Local interpolation smooths only this scene, leaving native page scrolling intact. */
.about-pinned .about-journey{height:calc(100svh + var(--about-run,650px))}.about-pinned .about-stage{position:sticky;top:0;height:100svh;display:grid;grid-template-rows:auto 1fr auto;box-sizing:border-box}.about-pinned .about-scene{min-height:0;padding:24px 0}.about-pinned .about-photo{top:12px;bottom:0}.about-pinned .about-words{padding-top:0}.about-pinned .about-beat{margin-bottom:16px}.about-pinned .about-beat:last-child{margin-bottom:0}
.about-pinned .about-beat h3{color:transparent;-webkit-text-stroke:1px #a7aeba;transform:translateX(0)}.about-pinned .about-word-dot{color:inherit}.about-pinned .about-beat-number{-webkit-text-stroke:0;color:#75808e}.about-pinned .about-beat p{max-height:0;opacity:0;overflow:hidden;margin-top:0;transform:translateY(12px);transition:max-height .75s cubic-bezier(.2,.7,.2,1),margin .75s cubic-bezier(.2,.7,.2,1),opacity .65s,transform .8s}
.about-pinned .about-beat.is-active h3{color:#0f52ba;-webkit-text-stroke-color:transparent;transform:translateX(10px)}.about-pinned .about-beat.is-active .about-beat-number{color:#0f52ba}.about-pinned .about-beat.is-active p{max-height:100px;margin-top:16px;opacity:1;transform:none}
@media(min-width:1800px){.about-stage{padding-left:max(6%,calc((100vw - 1600px)/2));padding-right:max(6%,calc((100vw - 1600px)/2))}.about-after{padding-left:8%;padding-right:8%}}
@media(max-width:1000px){.about-photo{left:-17%;width:54%}.about-beat h3{font-size:clamp(58px,7.8vw,100px)}.about-beat p{font-size:13px}.about-stage-top{font-size:9px}.about-stage-foot{font-size:8px;gap:14px}.about-words{padding-left:8px}}
@media(max-width:800px){.about-stage{padding-top:28px}.about-stage-hint{display:none}.about-scene{grid-template-columns:1fr;min-height:0;gap:32px;padding:24px 0 32px}.about-photo{position:relative;left:auto;top:auto;bottom:auto;width:100%;height:410px;max-width:440px;margin:0 auto;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0%,#000 86%,transparent 100%);mask-image:linear-gradient(#000 0%,#000 86%,transparent 100%)}.about-photo img{height:190%;transform:translateX(-50%);will-change:auto}.about-words{grid-column:1;padding:0}.about-sapphire-field{top:92px;left:-34%;width:112%;height:370px;transform:rotate(-14deg);will-change:auto}.about-contours{opacity:.45}.about-beat{padding:22px 0;border-top:1px solid #dfe2e7;margin:0}.about-beat:last-child{padding-bottom:0}.about-beat h3{font-size:clamp(58px,12.5vw,94px)}.about-beat.is-active h3{color:#0f52ba}.about-beat p{font-size:14px;max-width:520px}.about-stage-foot{display:none}.about-after{padding-top:24px;padding-bottom:60px}.about-after-grid{grid-template-columns:1fr;gap:24px}.about-after-title{font-size:34px}.about-after-copy>p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.about-gabriela *{transition:none!important;will-change:auto!important}.about-sapphire-field{transform:rotate(-8deg)!important}.about-photo img{transform:translateX(-50%)!important}.about-contours{transform:none!important}}
.motion-paused .about-gabriela *{transition:none!important;will-change:auto!important}.motion-paused .about-photo img{transform:translateX(-50%)!important}.motion-paused .about-contours{transform:none!important}
@media print{.about-journey{height:auto!important}.about-stage{position:relative!important;height:auto!important}.about-beat h3{color:#22241f!important;-webkit-text-stroke:0!important;transform:none!important}.about-beat p{max-height:none!important;opacity:1!important;margin-top:14px!important;transform:none!important}}

/* A soft paper-coloured trail sits in the atmosphere, behind the untouched portrait. */
.portrait-ink{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.portrait-ink{display:none}}
.motion-paused .portrait-ink{display:none}
@media print{.portrait-ink{display:none}}

/* A clear chapter title and restrained, staggered entrance. */
.about-section-label h2{font-family:'Barlow Condensed','DM Sans',sans-serif;font-size:clamp(38px,4.2vw,64px);font-weight:500;line-height:.95;letter-spacing:-.025em;text-transform:uppercase;margin:0 0 9px;color:#22241f}
.about-section-label h2>span{color:#0f52ba}.about-section-label>span{display:block;font-size:9px;letter-spacing:.08em;color:#626975}
.about-stage-top{align-items:flex-start}.about-stage-hint{padding-top:9px}
.about-motion-ready .about-section-label,.about-motion-ready .about-words{opacity:0;transform:translateY(22px);transition:opacity 1s cubic-bezier(.22,1,.36,1),transform 1.2s cubic-bezier(.22,1,.36,1)}
.about-motion-ready .about-words{transition-delay:.16s}
.about-motion-ready.about-entered .about-section-label,.about-motion-ready.about-entered .about-words{opacity:1;transform:none}
.about-motion-ready .about-section-label h2{clip-path:inset(0 100% 0 0);transition:clip-path 1.1s cubic-bezier(.22,1,.36,1)}
.about-motion-ready.about-entered .about-section-label h2{clip-path:inset(0 0 0 0)}
.about-pinned .about-beat p{transition:max-height .9s cubic-bezier(.22,1,.36,1),margin .9s cubic-bezier(.22,1,.36,1),opacity .65s ease,transform .9s cubic-bezier(.22,1,.36,1)}
@media(max-width:800px){.about-section-label h2{font-size:44px}.about-scene{padding-top:18px}.about-sapphire-field{top:126px}}
@media(prefers-reduced-motion:reduce){.about-motion-ready .about-section-label,.about-motion-ready .about-words{opacity:1;transform:none}.about-motion-ready .about-section-label h2{clip-path:none}}
.motion-paused .about-section-label,.motion-paused .about-words{opacity:1;transform:none}.motion-paused .about-section-label h2{clip-path:none}

/* The mobile chapter shares the desktop scroll sequence in one compact scene. */
@media(max-width:800px){
 .about-pinned .about-stage{padding:22px 6% 18px;grid-template-rows:auto minmax(0,1fr) auto}
 .about-pinned .about-section-label h2{font-size:36px;margin-bottom:6px}
 .about-pinned .about-section-label>span{font-size:8px}
 .about-pinned .about-stage-hint{display:block;max-width:100px;font-size:8px;line-height:1.5;text-align:right;padding-top:5px}
 .about-pinned .about-scene{grid-template-columns:1fr;grid-template-rows:minmax(130px,1fr) auto;align-items:stretch;gap:12px;padding:12px 0}
 .about-pinned .about-photo{top:auto;bottom:auto;left:auto;width:100%;height:100%;max-height:none;align-self:stretch;max-width:440px}
 .about-pinned .about-photo img{height:190%;transform:translateX(calc(-50% + var(--about-shift)))}
 .about-pinned .about-sapphire-field{top:100px;left:-28%;width:115%;height:36svh;transform:rotate(calc(-14deg + var(--about-progress)*9deg))}
 .about-pinned .about-words{grid-column:1;padding:0 0 0 4px;align-self:end}
 .about-pinned .about-beat{padding:0;border:0;margin:0 0 13px}
 .about-pinned .about-beat h3{font-size:clamp(34px,10vw,48px);line-height:1.02}
 .about-pinned .about-beat-number{width:20px;font-size:8px;margin-top:2px}
 .about-pinned .about-beat p{font-size:12px;line-height:1.55;max-width:340px;margin-left:22px}
 .about-pinned .about-beat.is-active p{max-height:90px;margin-top:8px}
 .about-pinned .about-beat.is-active h3{transform:translateX(5px)}
 .about-pinned .about-stage-foot{display:flex;font-size:8px}
}

/* Previously revealed mobile descriptions remain open, including on reverse scroll. */
@media(max-width:800px){
 .about-beat p{font-size:15px}
 .about-pinned .about-beat p{font-size:14px;line-height:1.55}
 .about-pinned .about-beat.is-revealed h3{color:#0f52ba;-webkit-text-stroke-color:transparent;transform:translateX(5px)}
 .about-pinned .about-beat.is-revealed .about-beat-number{color:#0f52ba}
 .about-pinned .about-beat.is-revealed p{max-height:160px;margin-top:8px;opacity:1;transform:none}
}

@media(max-width:800px){.about-pinned .about-sapphire-field{height:max(100px,calc(100svh - var(--about-copy-height,220px) - 150px))}}

/* Headings can also open descriptions directly, with native keyboard activation. */
.about-beat-toggle{appearance:none;background:none;border:0;padding:0;margin:0;display:block;width:100%;text-align:left;font:inherit;letter-spacing:inherit;line-height:inherit;text-transform:inherit;color:inherit;-webkit-text-stroke:inherit;cursor:pointer}
.about-beat-toggle:focus-visible{outline:2px solid #0f52ba;outline-offset:7px;border-radius:2px}

/* Keep the same scroll composition when the preview window becomes shorter. */
.about-pinned{--about-stage-height:max(100svh,600px)}
.about-pinned .about-journey{height:calc(var(--about-stage-height) + var(--about-run,650px))}
.about-pinned .about-stage{height:var(--about-stage-height);top:min(0px,calc(100svh - var(--about-stage-height)))}
@media(max-width:800px){.about-pinned{--about-stage-height:max(100svh,calc(var(--about-copy-height,220px) + 240px))}}

/* Mobile letters fill with scroll progress; the highest revealed progress is retained. */
@media(max-width:800px){
 .about-pinned .about-word-fill{display:inline-block;color:transparent;-webkit-text-fill-color:transparent;-webkit-text-stroke:1px #a7aeba;background:linear-gradient(#0f52ba,#0f52ba) left center/var(--about-word-fill,0%) 100% no-repeat;background-clip:text;-webkit-background-clip:text}
 .about-pinned .about-word-fill .about-word-dot{color:inherit;-webkit-text-fill-color:inherit;-webkit-text-stroke:inherit}
 .about-pinned .about-beat.is-active p,.about-pinned .about-beat.is-revealed p{max-height:240px}
}

/* Give Polish descenders room inside the text paint area. Once the reveal is
   complete, render solid text instead of retaining a gradient and grey stroke. */
@media(max-width:800px){
 .about-pinned .about-word-fill{padding-bottom:.22em;margin-bottom:-.22em;vertical-align:top;-webkit-text-stroke-width:.7px}
 .about-pinned .about-beat.is-word-filled .about-word-fill{color:#0f52ba;-webkit-text-fill-color:#0f52ba;-webkit-text-stroke:0;background:none}
}
