/* JD Sites — editorial studio gallery. Safari frame: Ali Imam / 21st.dev (MIT). */
.sites-page{--studio-bg:#09130e;--studio-surface:#122119;--studio-line:#314335;--studio-text:#f1f5ea;--studio-muted:#afbfad;--studio-accent:#b8ee70;background:var(--studio-bg);color:var(--studio-text);color-scheme:dark}
.sites-page main{overflow:clip}.sites-page h1,.sites-page h2,.sites-page h3{font-family:'Space Grotesk',Montserrat,sans-serif;font-weight:500;letter-spacing:-.065em}
.sites-page h1 em,.sites-page h2 em{font-style:normal;color:var(--studio-accent)}
.sites-page :focus-visible{outline:3px solid var(--studio-accent);outline-offset:5px}
.studio-eyebrow{display:flex;align-items:center;gap:9px;color:var(--studio-accent);font-size:.68rem;font-weight:700;letter-spacing:.13em;line-height:1.6;margin-bottom:28px}
.studio-eyebrow>span:first-child{width:7px;height:7px;border-radius:50%;background:var(--studio-accent);box-shadow:0 0 0 5px #b8ee700d}
.studio-hero{position:relative;background:radial-gradient(ellipse at 84% 42%,#263c2469,transparent 51%)}
.studio-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;padding-block:80px 68px}
.studio-intro{position:relative;z-index:2}.studio-intro h1{font-size:clamp(3.6rem,6.7vw,6rem);line-height:.99;margin:0 0 28px;letter-spacing:-.075em;text-wrap:initial}
.studio-lead{max-width:425px;color:var(--studio-muted);font-size:.98rem;line-height:1.8;margin-bottom:28px}
.studio-hero-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.sites-page .button--primary{background:var(--studio-accent);color:#142310;border-color:var(--studio-accent)}
.sites-page .button--primary:hover{background:#c8f895;box-shadow:0 10px 34px #b8ee7019}.sites-page .button--text{color:var(--studio-text)}
.studio-signature{display:flex;align-items:center;gap:12px;font-size:.57rem;font-weight:600;letter-spacing:.14em;color:#8fa28e;margin-top:42px}.studio-signature i{width:3px;height:3px;border-radius:50%;background:#849d76}
.studio-visual{position:relative;min-width:0;height:510px;perspective:1200px;display:grid;align-items:center;padding:25px 0 25px 12px}
.visual-orbit{position:absolute;border:1px solid #b8ee7018;border-radius:50%;pointer-events:none}.orbit-one{width:520px;height:520px;left:30px;top:-4px}.orbit-two{width:400px;height:400px;left:89px;top:54px;border-style:dashed}
.hero-browser{width:100%;transform:rotateY(-14deg) rotateX(8deg) rotateZ(3deg);transition:transform .8s var(--smooth);position:relative;z-index:1}
.studio-visual:hover .hero-browser{transform:rotateY(-5deg) rotateX(3deg) rotateZ(1deg)}
.safari-window{position:relative;border:1px solid #c7d1c34d;border-radius:10px;background:#e8eee1;overflow:hidden;box-shadow:0 2px 0 #adbaa5,0 5px 0 #6c7e675c,0 24px 48px #0005;transform-origin:center;transition:transform .65s var(--smooth),box-shadow .65s var(--smooth)}
.safari-toolbar{height:32px;position:relative;color:#52604d;background:#eef1eb;border-bottom:1px solid #ccd5c6;user-select:none}
.safari-chrome{position:absolute;inset:0;width:100%;height:100%}.safari-address{position:absolute;left:25%;width:53%;top:50%;transform:translateY(-50%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-family:Arial,sans-serif;font-size:9px;color:#56644f;line-height:1}
.safari-back{position:absolute;left:10%;top:50%;transform:translateY(-50%);font:17px Arial;color:#788171}.safari-tabs{position:absolute;right:3%;top:50%;transform:translateY(-50%);font:17px Arial;color:#788171}
.safari-screen{position:relative;aspect-ratio:1.6;overflow:hidden;background:#d8e4cb}.safari-screen::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at var(--pointer-x,50%) var(--pointer-y,0%),#ffffff19,transparent 60%);pointer-events:none;z-index:3}
.concept-page{height:100%;background:#e3edcf;color:#163321;padding:24px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.concept-top,.concept-bottom{display:flex;justify-content:space-between;gap:10px;font-size:7px;letter-spacing:.12em;font-weight:700;position:relative;z-index:2}.concept-top{border-bottom:1px solid #254b2625;padding-bottom:14px}.concept-main{position:relative;flex:1;padding-top:23px}.concept-kicker{font-size:8px;display:block;position:relative;z-index:1}.concept-main strong{display:block;font:500 clamp(2.4rem,4vw,3.5rem)/.95 'Space Grotesk',sans-serif;letter-spacing:-.07em;margin-top:14px;position:relative;z-index:1}.concept-orb{position:absolute;right:-20px;bottom:-32px;width:205px;height:205px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#e2f7ad,#87ba33 36%,#345f1a 68%,#152b19);box-shadow:inset -12px -10px 24px #152b1970,18px 30px 28px #27442344;transform:rotate(-28deg)}.concept-orb i{position:absolute;inset:10% -4%;border-radius:50%;border:1px solid #e3f2c95c;transform:rotateX(55deg)}.concept-orb i:nth-child(2){inset:24% -10%}.concept-orb i:nth-child(3){inset:38% -13%}.concept-bottom{padding-top:17px;margin-top:20px}.concept-bottom>span:last-child{font-size:18px;line-height:1}
.floating-note{position:absolute;z-index:3;display:flex;gap:11px;align-items:center;padding:14px 17px;border-radius:15px;border:1px solid #c6e5a739;background:#192b1ded;box-shadow:0 15px 35px #0003;color:#b6c7ac;font-size:.68rem;line-height:1.5;backdrop-filter:blur(14px)}.floating-note .icon{width:25px;height:25px;color:var(--studio-accent)}.floating-note strong{color:#eff6e7;font-weight:600}.note-design{left:4px;top:19px;transform:rotate(-5deg)}.note-responsive{bottom:25px;right:0;transform:rotate(3deg)}.visual-coordinate{position:absolute;bottom:3px;left:34px;color:#8da084;font-size:.5rem;letter-spacing:.2em}
.studio-divider{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--studio-line);padding-block:20px;font-size:.65rem;color:var(--studio-muted);gap:16px}.studio-divider>span:last-child{font-size:.55rem;letter-spacing:.14em}.studio-divider>a{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--studio-line);border-radius:50%;color:var(--studio-accent);transition:background .25s var(--smooth),transform .3s var(--spring)}.studio-divider>a:hover{background:#b8ee7017;transform:translateY(3px)}
.studio-portfolio{padding:102px 0 88px;scroll-margin-top:108px}.studio-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:50px}.studio-section-heading h2,.approach-layout h2{font-size:clamp(2.5rem,4.7vw,4.2rem);line-height:1.03;margin-bottom:0}.studio-section-heading .studio-eyebrow{margin-bottom:20px}.portfolio-intro{max-width:320px;padding-bottom:5px}.portfolio-intro p{font-size:.86rem;line-height:1.8;color:var(--studio-muted);margin-bottom:17px}.studio-status{display:inline-flex;align-items:center;gap:8px;color:#c6d5bd;font-size:.65rem}.studio-status i{width:6px;height:6px;background:var(--studio-accent);border-radius:50%}
.sites-project-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px 28px}.site-project{min-width:0;--stage:#183523;--screen:#d4e6b6;--art-ink:#213e20;--orb:#739c3e;--rest-y:-7deg;--rest-z:-1.5deg}
.project-tone-02{--stage:#31372a;--screen:#eeeddb;--art-ink:#414735;--orb:#aaaa80;--rest-y:7deg;--rest-z:1.5deg}.project-tone-03{--stage:#263e36;--screen:#b6cfc0;--art-ink:#163b2b;--orb:#6d9e81}.project-tone-04{--stage:#27321e;--screen:#c2d497;--art-ink:#273a1d;--orb:#6e893b;--rest-y:7deg;--rest-z:1.5deg}.project-tone-05{--stage:#2d322d;--screen:#d7ddd3;--art-ink:#2c3c30;--orb:#8c9d87}.project-tone-06{--stage:#183c29;--screen:#c8e1a8;--art-ink:#193c20;--orb:#6da23e;--rest-y:7deg;--rest-z:1.5deg}
.project-stage{aspect-ratio:1.4;position:relative;display:flex;align-items:center;padding:38px 34px 47px;perspective:1100px;background:radial-gradient(ellipse at 45% 20%,#ffffff0b,transparent 68%),var(--stage);border:1px solid #c8e7b214;border-radius:22px;overflow:hidden}
.project-stage::before{content:'';position:absolute;inset:0;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(#000,transparent)}
.project-stage .safari-window{width:100%;transform:rotateX(calc(8deg + var(--tilt-x,0deg))) rotateY(calc(var(--rest-y) + var(--tilt-y,0deg))) rotateZ(var(--rest-z));will-change:auto}
.project-stage:focus-within .safari-window{transform:rotateX(0) rotateY(0) rotateZ(0)}.stage-caption{position:absolute;bottom:15px;left:0;width:100%;text-align:center;font-size:.43rem;letter-spacing:.2em;color:#d6e3cd80}
.project-placeholder{height:100%;background:var(--screen);color:var(--art-ink);padding:19px 22px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.placeholder-top{display:flex;justify-content:space-between;position:relative;z-index:2;font-size:6px;letter-spacing:.12em;font-weight:700}.placeholder-art{position:absolute;inset:0}.placeholder-number{position:absolute;right:18px;top:10%;font:500 clamp(5.5rem,13vw,11rem)/1 'Space Grotesk',sans-serif;letter-spacing:-.1em;color:var(--art-ink);opacity:.085}.placeholder-ring{position:absolute;right:8%;top:5%;width:60%;aspect-ratio:1;border:1px solid currentColor;opacity:.2;border-radius:50%}.placeholder-ring::after{content:'';position:absolute;inset:15%;border:1px solid currentColor;border-radius:50%}.placeholder-orb{position:absolute;width:35%;aspect-ratio:1;border-radius:50%;right:3%;bottom:8%;background:radial-gradient(circle at 30% 20%,#ffffffb0,transparent 53%),var(--orb);box-shadow:inset -14px -8px 22px #0a261530,15px 18px 23px #15302033}
.placeholder-bottom{margin-top:auto;display:flex;align-items:end;justify-content:space-between;position:relative;z-index:2}.placeholder-bottom strong{font:500 clamp(1.5rem,2.6vw,2.25rem)/1.05 'Space Grotesk',sans-serif;letter-spacing:-.065em}.placeholder-bottom>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid currentColor;border-radius:50%}.placeholder-bottom .icon{width:15px;height:15px}
.project-shot{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .65s var(--smooth)}.site-project.has-preview:hover .project-shot{transform:scale(1.018)}
.project-info{padding:22px 4px 0}.project-meta{display:flex;justify-content:space-between;gap:16px;font-size:.62rem;color:#8da38f}.project-category{text-transform:uppercase;letter-spacing:.12em}.project-status{color:#b9c7b3}.project-title-line{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px}.project-name{font-size:1.55rem;line-height:1.2;margin:0;letter-spacing:-.04em!important}.project-index{font:400 .8rem 'Space Grotesk',sans-serif;color:#698269}.project-description{color:var(--studio-muted);font-size:.78rem;line-height:1.65;margin:11px 0 0}.project-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.project-actions:has(>[hidden]:only-child){display:none}.project-preview,.project-link,.preview-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-bottom:1px solid #7b986658;background:none;color:var(--studio-accent);font-size:.74rem;font-weight:700;padding:8px 0;cursor:pointer;margin-top:13px}.project-preview .icon,.project-link .icon{width:16px;height:16px}.project-preview:hover,.project-link:hover,.preview-link:hover{color:#e6ffca;border-color:currentColor}.project-link{margin-left:auto}
.studio-approach{padding:84px 0;border-block:1px solid var(--studio-line);background:#101d15}.approach-layout{display:grid;grid-template-columns:1fr 1fr;gap:88px;align-items:center}.approach-layout>div>p:last-child{font-size:.88rem;color:var(--studio-muted);line-height:1.8;max-width:400px;margin:26px 0 0}.approach-items article{display:flex;align-items:flex-start;gap:20px;padding:25px 0;border-bottom:1px solid var(--studio-line)}.approach-items article:first-child{padding-top:0}.approach-items article:last-child{border:0;padding-bottom:0}.approach-items h3{font-family:Montserrat,sans-serif;font-size:.92rem;font-weight:600;letter-spacing:-.025em;margin:0 0 10px;line-height:1.4}.approach-items p{font-size:.78rem;color:var(--studio-muted);line-height:1.75;margin:0}.approach-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:13px;background:#b8ee700b;border:1px solid #b8ee7030;color:var(--studio-accent);transition:transform .35s var(--spring),background .3s var(--smooth)}.approach-items article:hover .approach-icon{transform:rotate(-5deg) translateY(-2px);background:#b8ee701b}
.studio-contact{padding:88px 0 96px}.studio-contact-panel{display:grid;grid-template-columns:1fr 260px;gap:38px;align-items:center;padding:60px;border:1px solid #b8ee7040;border-radius:28px;background:radial-gradient(ellipse at 100% 0,#37522580,transparent 65%),#14251b;position:relative;overflow:hidden}.studio-contact-panel h2{font-size:clamp(2.7rem,4.7vw,4.5rem);line-height:1.03;margin-bottom:22px}.studio-contact-panel p:not(.studio-eyebrow){font-size:.86rem;color:var(--studio-muted);line-height:1.8;max-width:480px;margin-bottom:26px}.contact-sculpture{display:flex;align-items:center;flex-direction:column;gap:38px}.contact-sculpture>.icon{width:150px;height:150px;color:var(--studio-accent);stroke-width:1;filter:drop-shadow(10px 15px 0 #b8ee7014);transition:transform .6s var(--spring)}.studio-contact-panel:hover .contact-sculpture>.icon{transform:translate(5px,-5px)}.contact-sculpture>span{font-size:.58rem;line-height:1.7;letter-spacing:.15em;color:#a7c096;text-align:center}
.sites-page .site-footer{background:#07100b;border-top:1px solid var(--studio-line)}.sites-page .footer-grid{color:var(--studio-muted)}
.site-preview-open{overflow:hidden}.site-preview-dialog{color:var(--studio-text);background:#132018;width:min(1100px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:1px solid #71856b;border-radius:20px;padding:24px;overflow:auto;box-shadow:0 24px 100px #0008}.site-preview-dialog::backdrop{background:#030a06d9;backdrop-filter:blur(8px)}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.preview-heading .studio-eyebrow{margin:0 0 7px;font-size:.55rem}.preview-heading h2{font-size:1.45rem;margin:0;letter-spacing:-.035em}.preview-close{display:grid;place-items:center;width:44px;height:44px;flex:none;background:#223428;border:1px solid #647b58;border-radius:13px;color:#f1f5ea;cursor:pointer;transition:transform .25s var(--spring)}.preview-close:active{transform:scale(.94)}.preview-image-wrap{max-height:65dvh;overflow:auto;background:#07100b;border-radius:10px}.preview-image{display:block;width:100%;height:auto}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:12px}.preview-caption{color:var(--studio-muted);font-size:.76rem;margin:0}.preview-link{flex:none;margin:0}
@media(min-width:1400px){.sites-page main .shell{width:min(1260px,calc(100% - 80px))}.studio-hero-grid{padding-block:100px 80px}.studio-visual{height:540px}.concept-main strong{font-size:4rem}}
@media(max-width:1050px){.studio-hero-grid{padding-block:64px 54px}.studio-intro h1{font-size:4.75rem}.studio-visual{height:470px}.floating-note{padding:12px;font-size:.58rem}.note-design{top:15px}.note-responsive{bottom:42px}.concept-orb{width:160px;height:160px}.concept-page{padding:20px}.concept-main strong{font-size:2.8rem}.studio-signature{font-size:.52rem;gap:8px}.project-stage{padding:26px 22px 38px}.safari-toolbar{height:28px}.placeholder-bottom strong{font-size:1.65rem}.studio-section-heading{gap:32px}.approach-layout{gap:48px}.studio-contact-panel{padding:44px;grid-template-columns:1fr 180px}}
@media(max-width:820px){.studio-hero-grid{grid-template-columns:1fr;gap:22px;padding-top:54px}.studio-intro h1{font-size:clamp(3.8rem,10vw,5.8rem)}.studio-lead{max-width:520px}.studio-visual{height:460px;width:min(560px,100%);margin:auto;padding:40px 12px}.note-design{left:4px;top:5px}.note-responsive{bottom:0;right:4px}.hero-browser{transform:rotateY(-10deg) rotateX(7deg) rotateZ(2deg)}.visual-coordinate{bottom:1px;left:12px}.studio-signature{margin-top:30px}.studio-portfolio{padding:68px 0}.studio-section-heading{align-items:flex-start}.portfolio-intro{max-width:270px}.studio-section-heading h2,.approach-layout h2{font-size:2.8rem}.sites-project-grid{gap:38px 22px}.project-stage{aspect-ratio:1.22;padding:25px 17px 37px}.placeholder-top{font-size:5px}.placeholder-bottom strong{font-size:1.3rem}.placeholder-bottom>span{width:24px;height:24px}.project-placeholder{padding:14px}.project-name{font-size:1.3rem}.project-description{font-size:.72rem}.safari-address{font-size:7px}.concept-page .concept-main strong{font-size:3.3rem}.approach-layout{grid-template-columns:1fr;gap:40px}.approach-layout>div>p:last-child{max-width:540px}.studio-approach{padding:60px 0}.studio-contact-panel{padding:38px;grid-template-columns:1fr 140px}.contact-sculpture>.icon{width:115px;height:115px}.studio-contact-panel h2{font-size:3rem}}
@media(max-width:600px){.studio-hero-grid{padding-block:44px 28px;gap:28px}.studio-intro h1{font-size:clamp(3.4rem,13vw,4.8rem)}.studio-eyebrow{font-size:.55rem;margin-bottom:24px;letter-spacing:.11em}.studio-lead{font-size:.86rem;line-height:1.8}.studio-hero-actions{gap:8px}.studio-hero-actions .button{font-size:.75rem;padding:12px 16px;min-height:48px}.studio-hero-actions .button--text{padding-inline:10px}.studio-signature{font-size:.46rem;letter-spacing:.09em}.studio-visual{height:330px;padding:25px 8px}.hero-browser{transform:rotateY(-7deg) rotateX(5deg) rotateZ(2deg)}.safari-toolbar{height:25px}.concept-page{padding:16px}.concept-top,.concept-bottom{font-size:5px}.concept-top{padding-bottom:9px}.concept-main{padding-top:14px}.concept-kicker{font-size:6px}.concept-page .concept-main strong{font-size:2.2rem;margin-top:9px}.concept-bottom{margin-top:9px;padding-top:9px}.concept-orb{width:135px;height:135px;right:-21px;bottom:-17px}.floating-note{border-radius:11px;padding:9px 11px;font-size:.5rem;gap:7px}.floating-note .icon{width:19px;height:19px}.note-design{top:0;left:5px}.note-responsive{bottom:3px;right:4px}.visual-coordinate{font-size:.37rem;left:6px}.orbit-one{width:330px;height:330px;left:15px;top:0}.orbit-two{width:260px;height:260px;left:45px;top:36px}.studio-divider{padding-block:18px}.studio-divider>span:first-child{font-size:.61rem;max-width:195px;line-height:1.6}.studio-divider>span:last-child{display:none}.studio-divider>a{margin-left:auto}.studio-portfolio{padding:55px 0 60px;scroll-margin-top:90px}.studio-section-heading{display:block;margin-bottom:32px}.studio-section-heading h2,.approach-layout h2{font-size:clamp(2.55rem,10vw,3.25rem)}.portfolio-intro{max-width:none;margin-top:24px}.portfolio-intro p{font-size:.8rem;margin-bottom:14px}.sites-project-grid{grid-template-columns:1fr;gap:36px}.project-stage{aspect-ratio:1.3;padding:27px 24px 40px;border-radius:18px}.project-stage .safari-window{transform:rotateX(5deg) rotateY(var(--rest-y)) rotateZ(var(--rest-z))}.placeholder-bottom strong{font-size:1.65rem}.placeholder-top{font-size:6px}.project-placeholder{padding:18px}.placeholder-number{font-size:7.5rem}.project-name{font-size:1.5rem}.project-description{font-size:.75rem}.project-meta{font-size:.58rem}.project-info{padding-top:19px}.approach-items article{gap:14px}.approach-items h3{font-size:.85rem}.approach-items p{font-size:.75rem}.studio-contact{padding:56px 0}.studio-contact-panel{display:block;padding:30px 26px}.studio-contact-panel h2{font-size:2.7rem}.studio-contact-panel p:not(.studio-eyebrow){font-size:.8rem}.contact-sculpture{display:none}.studio-contact-panel .button{width:100%;font-size:.8rem}.preview-footer{display:block}.preview-link{margin-top:12px}.site-preview-dialog{padding:17px;width:calc(100% - 20px)}.preview-heading h2{font-size:1.2rem}}
@media(hover:none){.studio-visual:hover .hero-browser{transform:rotateY(-7deg) rotateX(5deg) rotateZ(2deg)}.site-project.has-preview:hover .project-shot{transform:none}}
@media(prefers-reduced-motion:reduce){.hero-browser,.studio-visual:hover .hero-browser,.project-stage .safari-window,.contact-sculpture>.icon,.studio-contact-panel:hover .contact-sculpture>.icon{transform:none!important}.sites-page *, .sites-page *::before,.sites-page *::after{transition:none!important;animation:none!important}}
.concept-bottom .concept-arrow{display:grid;place-items:center;width:20px;height:20px}
.concept-bottom .concept-arrow .icon{display:block;width:15px;height:15px;stroke-width:2}
.site-project .safari-screen{aspect-ratio:1422/912}
.site-project .project-shot{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.site-project .project-shot[hidden]{display:none}
.site-project .project-placeholder[hidden]{display:none}
