/* SEIF4D — an editorial portfolio, built around the work. */
:root{--paper:#f0efe8;--lime:#c8ff35}
body{background:#0b0e0f}main{overflow:clip}
:is(a,button,input,summary):focus-visible{outline:3px solid var(--lime);outline-offset:5px}
#ambient-canvas,.cursor-orb{opacity:.16}
.hero{max-width:1440px;margin:auto;grid-template-columns:1.15fr 1fr;gap:5%;padding:105px 6% 36px;min-height:auto;position:relative;align-items:center}
.hero-copy{position:relative;z-index:2}
.hero h1{font-size:clamp(4.6rem,7.8vw,7.8rem);line-height:.88;letter-spacing:-.07em;margin-bottom:12px;background:none!important;color:var(--paper)!important;-webkit-text-fill-color:var(--paper)!important;animation:none!important}
.hero .kicker{font-size:.72rem;letter-spacing:.15em;margin-bottom:16px;color:var(--lime)}
.hero h2{font-size:clamp(1.85rem,2.7vw,2.75rem);line-height:1.14;letter-spacing:-.04em;max-width:620px;margin-bottom:10px}
.hero h2 mark{background:none;color:var(--lime);padding:0}
.typing-cursor::after{display:none}
.hero-intro{font-size:.95rem;line-height:1.65;max-width:490px;margin-bottom:0;color:#a9b0b0}
.hero-tags{margin-block:14px}.hero-tags span{background:transparent;border-color:#363c3c;font-size:.65rem;letter-spacing:.12em}
.hero-actions{gap:12px;margin-block:18px}.hero-actions a{min-height:48px;border-radius:12px}
.hero-stats{padding-top:16px;border-top:1px solid #303535;max-width:480px}.hero-stats dt{font-size:1.45rem}.hero-stats dd{font-size:.64rem}
.hero-art{width:100%;height:500px;position:relative;align-self:center;transform:none!important}
.hero-photo-wrap{width:100%;height:100%;border-radius:175px 175px 24px 24px;overflow:hidden;transform:rotate(3deg);border:1px solid #454d3d;background:#d5debd}
.hero-photo-wrap img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);mix-blend-mode:luminosity}
.hero-badge{position:absolute;z-index:4;bottom:24px;inset-inline-start:-24px;display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,#dbff4a 0%,#c8ff35 55%,#a5ef0c 100%);color:#0b0e0f;padding:11px 18px;border-radius:12px;transform:rotate(-5deg);font:700 .76rem var(--mono);letter-spacing:.09em;box-shadow:0 16px 36px rgba(0,0,0,.5),0 0 24px rgba(200,255,53,.32),inset 0 1px 0 rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.35);cursor:default;user-select:none;overflow:hidden;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease}
.hero-badge::before{content:'';position:absolute;top:0;left:-130%;width:80%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-25deg);animation:badgeShine 4.5s ease-in-out infinite;pointer-events:none}
@keyframes badgeShine{0%,65%{left:-130%}100%{left:230%}}
.hero-badge:hover{transform:rotate(-2deg) scale(1.04);box-shadow:0 20px 45px rgba(0,0,0,.65),0 0 35px rgba(200,255,53,.55)}
.badge-dot{width:7px;height:7px;border-radius:50%;background:#0b0e0f;box-shadow:0 0 0 2px rgba(11,14,15,.2);animation:dotPulse 2s infinite}
@keyframes dotPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.65}}
.badge-text{font-weight:800;letter-spacing:.09em;white-space:nowrap}
.badge-text i{font-style:normal;opacity:.55;margin-inline:3px}
.badge-tag{font-size:.6rem;font-weight:900;background:#0b0e0f;color:var(--lime);padding:2px 7px;border-radius:5px;letter-spacing:.05em}
.hero-art .scribble{top:18px;bottom:auto;inset-inline-end:0;font-size:1.4rem;z-index:3}.hero-note{display:none}
.tech-ticker{opacity:.6;border-block:1px solid #303535;transform:rotate(-1deg);margin-block:10px 40px}
.work,.build,.process,.about,.faq,.contact{padding-block:90px}
.section-top{align-items:end;margin-bottom:38px}.section-top h2{font-size:clamp(3.2rem,6.4vw,6rem);line-height:1.02;letter-spacing:-.055em}.section-lead{line-height:1.8;max-width:360px}
.filter-bar{gap:8px;margin-bottom:30px;flex-wrap:wrap}.filter-btn{min-height:44px;padding:10px 18px;border-radius:10px}
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 26px}
.project-card,.project-card.light-card{background:transparent;color:var(--paper);padding:0;border:0;border-radius:0;display:flex;flex-direction:column;box-shadow:none;transform:none!important;transition:none}
.project-card::before,.project-card::after{display:none}
.project-card.hidden{display:none}
.project-media{order:-1;aspect-ratio:4/3;border-radius:20px;margin:0 0 20px;overflow:hidden;background:#181d1b}
.project-media img{transition:transform .6s cubic-bezier(.2,.7,.2,1);transform:none}.project-card:hover .project-media img{transform:scale(1.035)}
.project-media b{inset:auto 16px 16px auto;border:1px solid #ffffff35;backdrop-filter:blur(14px);padding:8px 12px;border-radius:99px;letter-spacing:.08em}
.card-head{padding-inline:4px;margin:0 0 15px}.card-head h3{font-size:1.6rem;letter-spacing:-.035em}.card-head p{color:#9aa3a3;font-size:.85rem;margin-top:6px}.card-head>span{font:400 .85rem monospace;color:#78827c}
.card-tags{padding-inline:4px;gap:6px}.card-tags span{border-color:#38413b;color:#bdc5bc;font-size:.61rem}.card-click-hint{margin-top:15px;padding:12px 4px 0;border-top:1px solid #303936;color:var(--lime);font-size:.75rem;justify-content:space-between}
.build,.about{background:var(--paper)}
.about h2 mark{color:#08090a!important;background:linear-gradient(180deg,transparent 50%,rgba(200,255,53,.75) 50% 92%,transparent 92%);padding:0 .06em}
.project-brief{text-align:start;max-width:760px;margin:36px auto;padding:28px;background:#111715;border:1px solid #3b4435;border-radius:20px}.brief-field{display:grid;gap:10px;margin-bottom:22px}.brief-field label{font-size:.9rem;font-weight:700}.brief-field select,.brief-field textarea{width:100%;min-height:48px;border:1px solid #434c43;background:#0a100d;color:#f0efe8;border-radius:10px;padding:12px 14px;font:inherit}.brief-field textarea{resize:vertical}.brief-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.brief-footer p{font-size:.78rem!important;margin:0!important;color:#a1ada4;max-width:350px}.brief-footer button{flex-shrink:0;border:0;cursor:pointer;min-height:48px}#brief-status{font-size:.85rem}#brief-mail[hidden]{display:none}
[dir=rtl] .hero h2,[dir=rtl] .section-top h2{letter-spacing:0;line-height:1.4}
[dir=rtl] .hero .kicker{letter-spacing:0}
@media(min-width:1100px){.project-card:nth-child(even){margin-top:70px}.project-card:nth-child(3) .project-media,.project-card:nth-child(4) .project-media{aspect-ratio:1.25}}
@media(max-width:900px){.hero{padding:120px 5% 60px;min-height:auto;gap:30px}.hero-art{height:430px}.hero h1{font-size:5.5rem}}
@media(max-width:768px){
 .site-header{top:10px;min-width:calc(100% - 28px);height:52px}.site-header.scrolled{height:52px}
 .hero{padding:84px 22px 42px;display:grid;grid-template-columns:minmax(0,1fr);text-align:start;gap:26px;align-items:start}
 .hero-copy{order:2;display:block;max-width:none;align-items:start}.hero h1{font-size:clamp(4rem,19vw,6.7rem);margin:0 0 18px}.hero .kicker{font-size:.66rem;margin-bottom:20px}
 .hero h2{font-size:clamp(1.7rem,7.8vw,2.6rem);line-height:1.25;margin-block:16px}.hero-intro{font-size:.9rem;line-height:1.85;margin-inline:0}.hero-intro br{display:none}
 .hero-tags{justify-content:start;margin-block:20px}.hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:24px 0;gap:8px}.hero-actions a{font-size:.76rem;padding:12px 8px;min-height:50px}.hero-stats{width:100%;justify-content:space-between;margin:0;gap:10px}.hero-stats dd{font-size:.6rem}
 .hero-art{order:1;width:100%;height:clamp(200px,62vw,280px);margin:0;padding:0}.hero-photo-wrap{border-radius:100px 100px 18px 18px;width:100%;height:100%;margin-inline:auto;transform:none;box-shadow:0 22px 48px rgba(0,0,0,.38);transition:width 1.25s cubic-bezier(.16,1,.3,1),border-radius 1.25s cubic-bezier(.16,1,.3,1),box-shadow 1.25s ease}.hero-photo-wrap.cinematic-intro{width:58%;border-radius:82px 82px 18px 18px;box-shadow:0 30px 60px rgba(0,0,0,.55)}.hero-photo-wrap img{object-position:center 28%}.hero-badge{bottom:14px;inset-inline-start:8%;padding:8px 13px;font-size:.62rem;gap:7px}.badge-tag{font-size:.54rem;padding:1px 5px}.hero-art .scribble{font-size:1.25rem}
 .tech-ticker{margin-block:15px 0}.work,.build,.process,.about,.faq,.contact{padding:58px 20px}
 .section-top{gap:20px;margin-bottom:26px}.section-top h2{font-size:clamp(2.4rem,10vw,3.5rem);line-height:1.1}.section-lead{font-size:.9rem;max-width:100%}[dir=rtl] .section-top h2{font-size:2.35rem;line-height:1.4}
 .app-nav{grid-template-columns:repeat(4,1fr);width:calc(100% - 24px);max-width:420px;padding:6px;border-radius:22px;background:rgba(18,23,22,.95);border-color:#455039;box-shadow:0 12px 40px #0008}.app-nav a[data-section=build]{display:none}.app-nav a{min-height:52px;gap:4px;border-radius:15px}.app-nav a.active{background:var(--lime)!important;color:#0b0e0f!important;box-shadow:0 4px 14px rgba(200,255,53,.35)}.app-nav a.active svg.app-icon{stroke:#0b0e0f!important;color:#0b0e0f!important;background:none!important;filter:none!important;transform:scale(1.08)}.app-nav a.active small{color:#0b0e0f!important;font-weight:800!important;background:none!important;font-size:.65rem}
 footer{padding-bottom:110px!important}
 .project-brief{padding:20px}.brief-footer{align-items:stretch;flex-direction:column}.brief-footer button{width:100%}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

