/*
 * Zebida portfolio front page.
 * Converted from the standalone HTML template. Every rule is scoped to .zebida-front
 * so Blocksy's header, footer, and other pages are not affected.
 */

/* Neutralise Blocksy's global typography inside the portfolio sections. */
.zebida-front{color-scheme:light;overflow-x:clip}
:root[data-theme=dark] .zebida-front{color-scheme:dark}
.zebida-front :where(h1,h2,h3,p){color:inherit;font-family:inherit;text-transform:none}
.zebida-front :where(p){margin-block:1em}
.zebida-front :where(h1,h2,h3){margin-block:0}
.zebida-front :where(img){max-width:100%}
.zebida-front .project-art{background:var(--zb-green-light)}
.zebida-front a:where(:hover,:focus){color:inherit}

.zebida-front *{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5.5rem}
.zebida-front{margin:0;background:var(--zb-paper);color:var(--zb-ink);font-family:var(--zb-body);font-size:1rem;line-height:1.65;-webkit-font-smoothing:antialiased}
.zebida-front a{color:inherit;text-decoration:none}
.zebida-front .section-wrap{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.zebida-front .hero{position:relative;min-height:675px;padding:70px 0 86px;display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:44px;overflow:hidden}
.zebida-front .hero-copy{position:relative;z-index:2;padding:0 0 28px}
.zebida-front .eyebrow{margin:0 0 23px;color:var(--zb-green);font-size:.78rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.zebida-front .hero h1{max-width:640px;margin:0;font:700 clamp(3.2rem,6.25vw,5.45rem)/1.04 var(--zb-display);letter-spacing:-.075em}
.zebida-front .hero h1 span{color:var(--zb-green)}
.zebida-front .hero-intro{max-width:475px;margin:26px 0 0;color:#5e6965;font-size:1.1rem;line-height:1.75}
.zebida-front .hero-actions{display:flex;align-items:center;gap:28px;margin-top:33px}
.zebida-front .zb-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:0 21px;border-radius:5px;font-size:.9rem;font-weight:700;transition:transform .2s,background .2s,color .2s}
.zebida-front .zb-button:hover{transform:translateY(-2px)}
.zebida-front .zb-button-dark{background:var(--zb-ink);color:white}
.zebida-front .zb-button-dark:hover{background:var(--zb-green)}
.zebida-front .zb-button-dark span,.zebida-front .zb-button-light span{font-size:1.1rem}
.zebida-front .text-link{font-size:.92rem;font-weight:700;text-decoration:underline;text-decoration-color:#aab8ac;text-underline-offset:5px}
.zebida-front .text-link:hover{color:var(--zb-green)}
.zebida-front .hero-footnote{display:flex;align-items:center;gap:12px;margin-top:55px;color:#89918d;font-size:.82rem}
.zebida-front .footnote-line{width:34px;height:1px;background:#9ba7a0}
.zebida-front .hero-visual{position:relative;justify-self:end;width:min(100%,456px);height:516px;margin:0 27px 4px 0}
.zebida-front .scroll-cue{position:absolute;bottom:25px;left:0;display:flex;align-items:center;gap:10px;color:#929a96;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}
.zebida-front .scroll-cue span{display:block;width:22px;height:22px;border:1px solid #b6c0b7;border-radius:50%;position:relative}
.zebida-front .scroll-cue span:after{content:"";position:absolute;width:4px;height:4px;left:8px;top:6px;border-right:1px solid var(--zb-green);border-bottom:1px solid var(--zb-green);transform:rotate(45deg)}
.zebida-front .intro-band{background:#e8eee7;border-block:1px solid #e1e8e0}
.zebida-front .intro-band-inner{min-height:174px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.zebida-front .intro-band p{margin:0;font:600 clamp(1.35rem,2.7vw,2rem)/1.35 var(--zb-display);letter-spacing:-.05em}
.zebida-front .intro-band p span{color:#738078}
.zebida-front .discipline-list{display:flex;align-items:center;gap:14px;color:#59665e;font-size:.77rem;font-weight:600}
.zebida-front .discipline-list i{width:4px;height:4px;border-radius:50%;background:#83a18b}
.zebida-front .work{padding-top:118px;padding-bottom:126px}
.zebida-front .section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:41px}
.zebida-front .section-heading .eyebrow{margin-bottom:13px}
.zebida-front .section-heading h2,.zebida-front .about-heading h2{margin:0;font:700 clamp(2.6rem,4.3vw,4rem)/1.08 var(--zb-display);letter-spacing:-.07em}
.zebida-front .green-dot{color:var(--zb-green)}
.zebida-front .heading-note{margin:0 0 5px;color:#78817c;font-size:.9rem;line-height:1.55}
.zebida-front .project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.zebida-front .project-card{min-width:0;display:block;padding:10px 10px 23px;background:#fff;border:1px solid #e4e9e3;border-radius:7px;transition:transform .25s,box-shadow .25s}
.zebida-front .project-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px #1d302414}
.zebida-front .project-art{height:210px;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:3px}
.zebida-front .schema-art{background:#dce9dd}
.zebida-front .schema-art:before,.zebida-front .schema-art:after{content:"";position:absolute;border:1px solid #84a58e55;border-radius:50%}
.zebida-front .schema-art:before{width:240px;height:240px}
.zebida-front .schema-art:after{width:176px;height:176px}
.zebida-front .scorix-art{background:#dce7ed}
.zebida-front .scorix-art:before{content:"";position:absolute;width:190px;height:190px;border:1px solid #7291a055;border-radius:50%;right:-24px;top:-48px}
.zebida-front .oraxis-art{background:#e7e4da}
.zebida-front .project-meta{display:flex;align-items:center;justify-content:space-between;padding:21px 9px 0}
.zebida-front .project-kicker{margin:0 0 5px;color:#829087;font-size:.72rem;font-weight:600}
.zebida-front .project-meta h3{margin:0;font:700 1.24rem var(--zb-display);letter-spacing:-.045em}
.zebida-front .project-open{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dce3dc;border-radius:50%;color:var(--zb-green)}
.zebida-front .project-description{margin:13px 9px 0;color:#727c76;font-size:.86rem;line-height:1.65}
.zebida-front .about-section{padding:100px 0 108px;background:#e8eee7}
.zebida-front .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:95px}
.zebida-front .about-heading .eyebrow{margin-bottom:18px}
.zebida-front .about-heading h2 span{color:#75877c}
.zebida-front .about-copy{max-width:480px;padding-top:3px}
.zebida-front .about-copy p{color:#66716b;font-size:.94rem;line-height:1.8}
.zebida-front .about-copy .about-lead{margin-top:0;color:#26342d;font:600 1.3rem/1.55 var(--zb-display);letter-spacing:-.035em}
.zebida-front .about-link{display:inline-block;margin-top:11px}
.zebida-front .contact-section{padding-top:105px;padding-bottom:73px}
.zebida-front .contact-panel{position:relative;min-height:320px;padding:53px 62px;display:grid;grid-template-columns:1fr .7fr;align-items:center;gap:65px;overflow:hidden;background:#1c2924;color:white;border-radius:7px}
.zebida-front .contact-panel .eyebrow{color:#a6d4b4;margin-bottom:16px}
.zebida-front .contact-panel h2{margin:0;font:700 clamp(2.8rem,4.7vw,4.5rem)/1.04 var(--zb-display);letter-spacing:-.07em}
.zebida-front .contact-side{position:relative;z-index:1;max-width:330px}
.zebida-front .contact-side p{margin:0 0 24px;color:#ced8d1;font-size:.94rem;line-height:1.75}
.zebida-front .zb-button-light{background:#dcebdd;color:#20352a}
.zebida-front .zb-button-light:hover{background:#fff}
.zebida-front .contact-spark{position:absolute;right:15%;top:-98px;color:#34483e;font-size:19rem;line-height:1;pointer-events:none}
@media(max-width:900px){.zebida-front .section-wrap{width:min(100% - 48px,720px)}
.zebida-front .hero{min-height:610px;grid-template-columns:1fr .8fr;gap:17px;padding-top:55px}
.zebida-front .hero h1{font-size:clamp(3rem,7vw,4.6rem)}
.zebida-front .hero-visual{height:430px;width:100%;margin-right:12px}
.zebida-front .intro-band-inner{align-items:flex-start;justify-content:center;flex-direction:column;padding-block:35px;gap:17px}
.zebida-front .project-grid{gap:14px}
.zebida-front .project-art{height:170px}
.zebida-front .project-description{font-size:.82rem}
.zebida-front .about-grid{gap:52px}
.zebida-front .contact-panel{padding:45px;gap:35px}}
@media(max-width:640px){html{scroll-padding-top:4.5rem}
.zebida-front .section-wrap{width:calc(100% - 40px)}
.zebida-front .hero{display:flex;flex-direction:column;align-items:stretch;gap:35px;padding:52px 0 78px}
.zebida-front .hero-copy{padding:0}
.zebida-front .eyebrow{font-size:.7rem;margin-bottom:17px}
.zebida-front .hero h1{max-width:550px;font-size:clamp(3rem,13vw,4.35rem);line-height:1.02}
.zebida-front .hero-intro{margin-top:20px;font-size:1rem}
.zebida-front .hero-actions{gap:20px;margin-top:27px}
.zebida-front .zb-button{min-height:48px;padding-inline:16px;font-size:.83rem}
.zebida-front .text-link{font-size:.84rem}
.zebida-front .hero-footnote{margin-top:31px}
.zebida-front .hero-visual{justify-self:center;align-self:center;width:min(86%,360px);height:405px;margin:0 0 8px}
.zebida-front .scroll-cue{bottom:17px}
.zebida-front .intro-band-inner{min-height:145px;padding-block:26px}
.zebida-front .intro-band p{font-size:1.38rem}
.zebida-front .discipline-list{flex-wrap:wrap;gap:8px 11px;font-size:.72rem}
.zebida-front .work{padding-top:77px;padding-bottom:82px}
.zebida-front .section-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:25px}
.zebida-front .section-heading h2,.zebida-front .about-heading h2{font-size:2.7rem}
.zebida-front .heading-note{font-size:.85rem}
.zebida-front .project-grid{grid-template-columns:1fr;gap:14px}
.zebida-front .project-card{padding:9px 9px 19px}
.zebida-front .project-art{height:205px}
.zebida-front .project-description{font-size:.86rem}
.zebida-front .about-section{padding:73px 0 77px}
.zebida-front .about-grid{grid-template-columns:1fr;gap:28px}
.zebida-front .about-copy .about-lead{font-size:1.17rem}
.zebida-front .about-copy p{font-size:.9rem}
.zebida-front .contact-section{padding-top:70px;padding-bottom:49px}
.zebida-front .contact-panel{min-height:0;grid-template-columns:1fr;gap:19px;padding:35px 27px}
.zebida-front .contact-panel h2{font-size:3.15rem}
.zebida-front .contact-side{max-width:360px}
.zebida-front .contact-side p{font-size:.88rem}
.zebida-front .contact-spark{right:-13px;top:94px;font-size:11rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.zebida-front *,.zebida-front *:before,.zebida-front *:after{transition:none!important;animation:none!important}}
.zebida-front .hero{min-height:630px;padding:48px 0 42px;grid-template-columns:1fr 1fr;align-items:end;gap:24px;background:#fff}
.zebida-front .hero-copy{align-self:center;padding:0 0 28px}
.zebida-front .hero .eyebrow{margin-bottom:27px;color:#59635f;font-size:.75rem;letter-spacing:.035em;text-transform:none}
.zebida-front .hero-stats{display:flex;gap:34px;margin:0 0 39px}
.zebida-front .hero-stats>div{display:flex;flex-direction:column;gap:2px;padding-left:12px;border-left:1px solid #d7dcd8}
.zebida-front .hero-stats strong{font:600 1.25rem/1.1 var(--zb-display);letter-spacing:-.05em;color:#28302d}
.zebida-front .hero-stats span{font-size:.72rem;color:#75807b}
.zebida-front .hero h1{margin:0 0 14px;color:#272d2b;font:400 clamp(6rem,11.2vw,9.5rem)/.88 var(--zb-display);letter-spacing:-.105em}
.zebida-front .hero h1 .hello-period{color:var(--zb-green)}
.zebida-front .hero-intro{max-width:430px;margin:17px 0 0;color:#68716e;font-size:1rem;line-height:1.7}
.zebida-front .hero-intro strong{color:#303a35;font-weight:700}
.zebida-front .hero-actions{gap:22px;margin-top:24px}
.zebida-front .hero-footnote{margin-top:38px;color:#848c87;font-size:.75rem}
.zebida-front .hero-visual{position:relative;justify-self:end;align-self:end;width:min(100%,500px);height:570px;margin:0;display:flex;align-items:flex-end;justify-content:center}
.zebida-front .hero-cutout{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;background:transparent;border-radius:0;filter:none;box-shadow:none}
@media(max-width:900px){.zebida-front .hero{min-height:550px;padding:40px 0 34px;grid-template-columns:1fr .95fr;gap:12px}
.zebida-front .hero h1{font-size:clamp(5rem,10.5vw,7.5rem)}
.zebida-front .hero-visual{height:490px;width:100%}
.zebida-front .hero-stats{gap:22px;margin-bottom:32px}}
@media(max-width:640px){.zebida-front .hero{display:grid;grid-template-columns:1fr;gap:15px;min-height:0;padding:42px 0 28px}
.zebida-front .hero-copy{padding:0}
.zebida-front .hero .eyebrow{margin-bottom:21px}
.zebida-front .hero-stats{margin-bottom:30px}
.zebida-front .hero h1{font-size:clamp(5.7rem,22vw,8rem)}
.zebida-front .hero-intro{font-size:.95rem}
.zebida-front .hero-footnote{margin-top:27px}
.zebida-front .hero-visual{justify-self:center;width:min(100%,380px);height:390px;margin-top:0}
.zebida-front .hero-cutout{object-position:center bottom}}
:root[data-theme=dark] .zebida-front{background:var(--zb-paper);color:var(--zb-ink)}
:root[data-theme=dark] .zebida-front .hero{background:#171c19}
:root[data-theme=dark] .zebida-front .hero .eyebrow,:root[data-theme=dark] .zebida-front .hero-stats span,:root[data-theme=dark] .zebida-front .hero-footnote{color:var(--zb-muted)}
:root[data-theme=dark] .zebida-front .hero-stats>div{border-color:var(--zb-line)}
:root[data-theme=dark] .zebida-front .hero-stats strong,:root[data-theme=dark] .zebida-front .hero h1,:root[data-theme=dark] .zebida-front .hero-intro strong{color:var(--zb-ink)}
:root[data-theme=dark] .zebida-front .zb-button-dark{background:#d7e9dc;color:#1c2a21}
:root[data-theme=dark] .zebida-front .intro-band,:root[data-theme=dark] .zebida-front .about-section{background:#202923;border-color:#303d35}
:root[data-theme=dark] .zebida-front .intro-band p span,:root[data-theme=dark] .zebida-front .discipline-list,:root[data-theme=dark] .zebida-front .heading-note,:root[data-theme=dark] .zebida-front .project-description,:root[data-theme=dark] .zebida-front .project-kicker,:root[data-theme=dark] .zebida-front .about-copy p{color:var(--zb-muted)}
:root[data-theme=dark] .zebida-front .project-card{background:#1c221f;border-color:var(--zb-line)}
:root[data-theme=dark] .zebida-front .schema-art{background:#27352c}
:root[data-theme=dark] .zebida-front .scorix-art{background:#253239}
:root[data-theme=dark] .zebida-front .oraxis-art{background:#35342b}
:root[data-theme=dark] .zebida-front .schema-art:before,:root[data-theme=dark] .zebida-front .schema-art:after,:root[data-theme=dark] .zebida-front .scorix-art:before{border-color:#9db9a455}
:root[data-theme=dark] .zebida-front .project-open{border-color:var(--zb-line)}
:root[data-theme=dark] .zebida-front .about-heading h2 span{color:#a8c0ad}
:root[data-theme=dark] .zebida-front .about-copy .about-lead{color:var(--zb-ink)}
:root[data-theme=dark] .zebida-front .contact-panel{background:#1c2924}
.zebida-front .project-art>img{display:block;width:100%;height:100%;object-fit:cover}

/* Full-width hero (v1.2): white band edge to edge, copy aligned with the content column,
   portrait larger and pinned to the right edge of the screen, sitting on the band's bottom edge. */
.zebida-front .hero{--hero-gutter:max(32px,calc((100% - 1160px) / 2));width:100%;max-width:none;margin:0;min-height:min(780px,calc(100vh - var(--header-height,120px)));padding:0 0 0 var(--hero-gutter);grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:end;gap:32px;overflow:hidden}
.zebida-front .hero-copy{align-self:center;max-width:560px;padding:56px 0 96px}
.zebida-front .hero-visual{justify-self:end;align-self:end;width:100%;max-width:760px;height:clamp(560px,76vh,740px);margin:0;padding-top:24px}
.zebida-front .hero-cutout{object-position:right bottom}
.zebida-front .scroll-cue{left:var(--hero-gutter);bottom:32px}
@media(max-width:900px){.zebida-front .hero{--hero-gutter:24px;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.zebida-front .hero-copy{padding:44px 0 88px}.zebida-front .hero-visual{height:520px}}
@media(max-width:640px){.zebida-front .hero{--hero-gutter:20px;grid-template-columns:1fr;padding:0;gap:0}.zebida-front .hero-copy{padding:40px var(--hero-gutter) 8px}.zebida-front .hero-visual{justify-self:end;width:100%;max-width:none;height:430px;padding-top:0}.zebida-front .hero-cutout{object-position:center bottom}.zebida-front .scroll-cue{display:none}}
/* Portrait at 120% of the hero-visual box (desktop); grows upward and leftward from the bottom-right corner. */
@media(min-width:901px){.zebida-front .hero-visual{justify-content:flex-end;overflow:visible}.zebida-front .hero-cutout{height:120%;width:auto;max-width:none;flex:none}}
/* Cards (v1.3): the whole card opens the project page via a stretched title link;
   the link icon sits above it and opens the project's own site. */
.zebida-front .project-card{position:relative}
.zebida-front .project-card:focus-within{box-shadow:0 0 0 2px var(--zb-green)}
.zebida-front .project-link{color:inherit;text-decoration:none}
.zebida-front .project-link:focus{outline:none}
.zebida-front .project-link:after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.zebida-front .project-open{position:relative;z-index:2;flex:none;transition:background .2s,color .2s,border-color .2s}
.zebida-front .project-open:hover,.zebida-front .project-open:focus-visible{background:var(--zb-green);border-color:var(--zb-green);color:#fff}
:root[data-theme=dark] .zebida-front .project-open:hover,:root[data-theme=dark] .zebida-front .project-open:focus-visible{color:#151a18}
.zebida-front .project-open svg{display:block}
