/* Robert Ryan portfolio — design tokens, layout and components. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root{color-scheme:light;--bg:#f4f2ed;--surface:#fff;--surface-2:#ebe8e1;--text:#15151a;--muted:#65636c;--line:#d8d4cb;--accent:#725cff;--accent-2:#a99cff;--lime:#d9ff64;--dark:#111116;--dark-muted:#a6a4af;--radius:28px;--shadow:0 25px 80px rgba(25,20,45,.12);--max:1440px}
[data-theme=dark]{color-scheme:dark;--bg:#0d0e12;--surface:#16171d;--surface-2:#202127;--text:#f5f3ee;--muted:#aaa8b1;--line:#303139;--accent:#9988ff;--accent-2:#725cff;--dark:#07070a;--dark-muted:#aaa8b1;--shadow:0 25px 80px rgba(0,0,0,.35)}
@media(prefers-color-scheme:dark){[data-theme=auto]{color-scheme:dark;--bg:#0d0e12;--surface:#16171d;--surface-2:#202127;--text:#f5f3ee;--muted:#aaa8b1;--line:#303139;--accent:#9988ff;--accent-2:#725cff;--dark:#07070a;--dark-muted:#aaa8b1;--shadow:0 25px 80px rgba(0,0,0,.35)}}
*{box-sizing:border-box}html{scroll-behavior:smooth}.i18n-pending body{visibility:hidden}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,sans-serif;line-height:1.6;overflow-x:hidden}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:999;left:16px;top:-100px;padding:12px 18px;background:var(--text);color:var(--bg);border-radius:8px}.skip-link:focus{top:16px}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.ambient{position:fixed;z-index:-1;border-radius:50%;filter:blur(100px);opacity:.14;pointer-events:none}.ambient-one{width:45vw;height:45vw;background:var(--accent);right:-20vw;top:10vh}.ambient-two{width:35vw;height:35vw;background:#69cfea;left:-20vw;top:70vh}
.site-header{position:fixed;z-index:100;top:0;left:0;right:0;max-width:var(--max);margin:auto;height:82px;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;justify-content:space-between;transition:background .3s,border .3s}.site-header.scrolled{background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:14px;font-weight:800}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--text);color:var(--bg);border-radius:10px}.site-header nav{display:flex;gap:26px}.site-header nav a{text-decoration:none;color:var(--muted);font-size:14px;font-weight:600}.site-header nav a:hover{color:var(--text)}.header-actions{display:flex;align-items:center;gap:10px}.header-link{font-size:14px;font-weight:700;text-decoration:none}.language-switcher{display:flex;border:1px solid var(--line);border-radius:99px;padding:2px;background:var(--surface)}.language-switcher button{min-width:44px;min-height:40px;padding:0 10px;border:0;border-radius:99px;background:transparent;color:var(--muted);font:700 11px Manrope;cursor:pointer}.language-switcher button.active{background:var(--text);color:var(--bg)}.theme-toggle,.menu-toggle{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer}.menu-toggle{display:none}.menu-toggle span{display:block;width:17px;height:1px;background:currentColor;margin:5px auto}
.hero{max-width:var(--max);margin:auto;min-height:100svh;padding:150px clamp(20px,6vw,96px) 90px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:7vw;align-items:center}.kicker,.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800}.kicker{display:flex;align-items:center;gap:10px;color:var(--muted)}.status-dot{width:8px;height:8px;border-radius:50%;background:#43c477;box-shadow:0 0 0 5px rgba(67,196,119,.14)}.hero h1{font-size:clamp(46px,6.3vw,96px);line-height:.99;letter-spacing:-.065em;max-width:1040px;margin:25px 0 30px}.hero h1 span,.section-heading h2 span{color:var(--accent)}.hero-lead{max-width:710px;font-size:clamp(17px,1.45vw,21px);color:var(--muted)}.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;padding:14px 20px;border-radius:12px;text-decoration:none;font-weight:700;font-size:14px;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-3px)}.button-primary{background:var(--text);color:var(--bg);box-shadow:0 10px 30px rgba(20,20,30,.15)}.button-secondary{border:1px solid var(--line);background:var(--surface)}.microcopy{font-size:12px;color:var(--muted);margin:18px 0 0}.hero-art{position:relative;min-height:560px;display:grid;place-items:center}.art-window{position:relative;width:min(100%,480px);background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);transform:rotate(2deg);overflow:hidden}.window-bar{display:flex;align-items:center;gap:6px;height:48px;padding:0 17px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.window-bar i{width:7px;height:7px;border-radius:50%;background:var(--line)}.window-bar span{margin-left:auto}.window-body{padding:52px 42px 58px;background:linear-gradient(140deg,var(--surface),color-mix(in srgb,var(--accent) 9%,var(--surface)))}.art-label{display:inline-block;padding:6px 9px;border-radius:99px;background:var(--lime);color:#15151a;font-size:9px;font-weight:800;text-transform:uppercase}.art-title,.art-copy{height:22px;border-radius:5px;background:var(--text);margin-top:24px}.art-title.short{width:68%;margin-top:8px}.art-copy{height:8px;width:84%;opacity:.18;margin-top:28px}.art-copy.small{width:58%;margin-top:7px}.art-button{height:34px;width:100px;border-radius:8px;background:var(--accent);margin-top:28px}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%}.orbit-one{width:540px;height:540px}.orbit-two{width:410px;height:410px}.float-pill{position:absolute;padding:12px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);font:700 12px Manrope}.float-pill b{color:var(--accent)}.pill-one{right:0;top:110px;transform:rotate(6deg)}.pill-two{left:2%;bottom:120px;transform:rotate(-7deg);background:var(--accent);color:white}
.marquee{border-block:1px solid var(--line);overflow:hidden}.marquee>div{max-width:var(--max);margin:auto;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:22px;white-space:nowrap;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.11em}.marquee i{color:var(--accent);font-style:normal}
.section{max-width:var(--max);margin:auto;padding:clamp(90px,11vw,170px) clamp(20px,6vw,96px)}.status-panel{padding:clamp(28px,5vw,72px);display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw;background:var(--dark);color:#f8f7f3;border-radius:var(--radius);box-shadow:var(--shadow)}.status-intro h2,.section-heading h2,.about-copy h2{font-size:clamp(40px,5vw,72px);line-height:1.04;letter-spacing:-.055em}.accent{color:var(--accent)}.status-intro>p:not(.eyebrow){color:var(--dark-muted);max-width:440px}.progress{height:3px;background:#383840;margin-top:42px}.progress span{display:block;width:72%;height:100%;background:linear-gradient(90deg,var(--accent),var(--lime))}.status-intro small{display:block;margin-top:10px;color:var(--dark-muted)}.deliverables{display:grid;grid-template-columns:1fr 1fr}.deliverables article{min-height:120px;padding:24px;border-top:1px solid #33333b;display:grid;grid-template-columns:38px 1fr;gap:8px}.deliverables article:nth-child(odd){border-right:1px solid #33333b}.deliverables span{color:var(--lime);font-weight:700}.deliverables h3{font-size:15px;margin:3px 0}
.split-section{display:grid;grid-template-columns:.6fr 1.4fr;gap:5vw;border-top:1px solid var(--line)}.about-copy h2{max-width:900px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin-top:55px;color:var(--muted);font-size:18px}.section-heading{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:60px}.section-heading h2{margin-bottom:0}.section-heading>p{max-width:420px;color:var(--muted);margin:0}.skill-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:20px;overflow:hidden}.skill-group{padding:32px;border-right:1px solid var(--line);background:var(--surface)}.skill-group:last-child{border:0}.skill-group>span{font-size:11px;color:var(--accent);font-weight:800}.skill-group h3{font-size:20px;margin:48px 0 24px}.skill-group ul{list-style:none;padding:0;margin:0}.skill-group li{padding:8px 0;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.experience-section{background:var(--surface);max-width:none}.experience-section>*{max-width:calc(var(--max) - 12vw);margin-left:auto;margin-right:auto}.timeline{border-top:1px solid var(--line)}.timeline-item{display:grid;grid-template-columns:.55fr 1.45fr;gap:6vw;padding:45px 0;border-bottom:1px solid var(--line)}.timeline-item time{font-size:12px;font-weight:700;color:var(--muted)}.timeline-item h3{font-size:clamp(24px,2.5vw,38px);letter-spacing:-.035em;margin:5px 0 14px}.timeline-item>div>p:last-child{max-width:700px;color:var(--muted)}.role-meta{text-transform:uppercase;letter-spacing:.11em;font-size:10px;font-weight:800;color:var(--accent);margin:0}
.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.case-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:transform .35s,box-shadow .35s}.case-card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}.case-visual{height:330px;position:relative;display:grid;place-items:center;overflow:hidden}.visual-a{background:#d9ff64;color:#15151a}.score{display:grid;place-items:center;width:130px;height:130px;border:18px solid #15151a;border-radius:50%;font:800 40px Manrope}.rings{position:absolute;width:260px;height:260px;border:1px solid #15151a;border-radius:50%}.visual-b{background:#a99cff}.wp-grid{display:grid;grid-template-columns:120px 120px;gap:12px;transform:rotate(-5deg)}.wp-grid i{height:90px;border:2px solid #17151e;background:rgba(255,255,255,.3);border-radius:10px}.wp-grid i:first-child{grid-row:span 2;height:auto}.visual-c{background:#19191f}.components{display:flex;align-items:center;gap:10px}.components i{width:48px;height:140px;border:1px solid #77727f;border-radius:8px}.components i:nth-child(2),.components i:nth-child(4){height:200px;background:var(--accent)}.visual-d{background:#b8e5f0}.path{display:flex;align-items:center}.path i{width:55px;height:55px;border:8px solid #15151a;border-radius:50%}.path i+ i{margin-left:20px}.path i+ i:before{content:'';display:block;width:28px;height:3px;background:#15151a;transform:translate(-36px,18px)}.case-copy{position:relative;padding:30px}.badge{display:inline-flex;padding:6px 9px;border-radius:99px;border:1px solid var(--line);font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--muted)}.case-copy h3{font-size:26px;margin:24px 0 8px}.case-copy p{color:var(--muted);max-width:440px;margin-bottom:0}.case-index{position:absolute;right:30px;top:35px;font-size:11px;color:var(--muted)}
.quote-section{max-width:var(--max);margin:auto;padding:40px clamp(20px,8vw,130px) 150px}.quote-section blockquote{font:600 clamp(38px,6vw,82px)/1.08 Manrope;margin:0;letter-spacing:-.055em}.quote-section blockquote span{color:var(--accent)}.contact-section{background:var(--dark);color:#f6f4ef;padding:clamp(90px,11vw,160px) clamp(20px,8vw,120px)}.contact-inner{max-width:1200px;margin:auto}.contact-inner h2{font-size:clamp(60px,10vw,150px);line-height:.9;letter-spacing:-.07em;margin:20px 0 35px}.contact-inner>p:not(.eyebrow){color:var(--dark-muted);max-width:650px;font-size:19px}.contact-list{margin-top:65px;border-top:1px solid #383840}.contact-list a{display:grid;grid-template-columns:.7fr 1.3fr auto;gap:20px;align-items:center;text-decoration:none;padding:25px 0;border-bottom:1px solid #383840}.contact-list a span{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--dark-muted)}.contact-list a strong{font-size:19px}.contact-list a b{color:var(--lime);font-size:20px;transition:transform .2s}.contact-list a:hover b{transform:translate(4px,-4px)}footer{max-width:var(--max);margin:auto;padding:35px clamp(20px,6vw,96px);display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:30px;font-size:12px;color:var(--muted)}footer p:last-child{text-align:right}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}.reveal.visible{opacity:1;transform:none}
@media(max-width:1080px){.site-header nav{position:absolute;top:72px;left:20px;right:20px;display:none;flex-direction:column;background:var(--surface);padding:24px;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.site-header nav.open{display:flex}.header-link{display:none}.menu-toggle{display:block}.hero{grid-template-columns:1fr;padding-top:130px}.hero-art{min-height:460px}.status-panel,.split-section{grid-template-columns:1fr}.skill-grid{grid-template-columns:1fr 1fr}.skill-group:nth-child(2){border-right:0}.skill-group:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:680px){.site-header{height:70px}.brand>span:last-child{display:none}.language-switcher button{min-width:42px;padding:0 8px}.hero{padding-top:115px}.hero h1{font-size:clamp(42px,13vw,62px)}.hero-art{min-height:390px}.art-window{width:90%}.window-body{padding:38px 28px}.orbit-one{width:390px;height:390px}.orbit-two{width:300px;height:300px}.pill-one{right:0}.pill-two{left:0}.marquee>div{justify-content:flex-start;overflow:hidden}.marquee span:nth-of-type(n+4),.marquee span:nth-of-type(n+4)+i{display:none}.section{padding-block:85px}.status-panel{border-radius:18px}.deliverables{grid-template-columns:1fr}.deliverables article:nth-child(odd){border-right:0}.two-columns,.skill-grid,.case-grid{grid-template-columns:1fr}.skill-group{border-right:0;border-bottom:1px solid var(--line)}.section-heading{display:block}.section-heading>p{margin-top:25px}.timeline-item{grid-template-columns:1fr;gap:14px}.case-visual{height:260px}.quote-section{padding-bottom:95px}.contact-list a{grid-template-columns:1fr auto}.contact-list a span{grid-column:1/-1}.contact-list a b{grid-column:2;grid-row:2}.contact-list a strong{grid-column:1;grid-row:2}footer{grid-template-columns:1fr}footer .brand>span:last-child{display:inline}footer p:last-child{text-align:left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}.case-card:hover,.button:hover{transform:none}}
