/* Leo's portfolio: warm whites and pastel blue. */
:root{--paper:#f9fcfe;--ink:#203746;--muted:#6e8190;--lavender:#e1f0fb;--lavender-deep:#4d7f9f;--peach:#e7f2fb;--mint:#dceef2;--line:#e2ebf0}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;min-width:320px;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid var(--lavender-deep);outline-offset:5px;border-radius:3px}
.site-shell{max-width:1440px;min-height:100vh;margin:auto;padding:0 clamp(24px,5.5vw,88px);display:flex;flex-direction:column}
.site-header{height:105px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.wordmark{font-family:'Fraunces',Georgia,serif;font-size:32px;font-weight:500;letter-spacing:-2px;line-height:1}
.wordmark span,.period{color:#78aaca}
.site-nav{display:flex;gap:37px;align-items:center}
.site-nav a{font-size:13px;font-weight:600;color:#718593;min-height:44px;display:flex;align-items:center;position:relative;transition:color .2s}
.site-nav a:hover,.site-nav a[aria-current=page]{color:var(--ink)}
.site-nav a[aria-current=page]::after{content:'';height:2px;position:absolute;bottom:6px;left:0;right:0;background:#8bb9d8;border-radius:2px}
.home-main{flex:1;display:flex;align-items:center;padding:60px 0 80px}
.hero{width:100%;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.8fr);gap:clamp(30px,6vw,95px);align-items:center}
.hero-copy{padding:22px 0 38px}
.eyebrow{display:flex;align-items:center;gap:10px;color:#738999;font-size:10px;font-weight:700;letter-spacing:2.2px;line-height:1.5}
.eyebrow-dot{height:7px;width:7px;flex:0 0 7px;border-radius:50%;background:#9dcbea}
h1,h2,p{margin-top:0}
.hero h1,.projects-intro h1{font-family:'Fraunces',Georgia,serif;font-size:clamp(52px,5.7vw,86px);font-weight:500;line-height:1.13;letter-spacing:-3.5px;margin:25px 0 24px;text-wrap:balance}
.highlight{position:relative;white-space:nowrap;z-index:0}
.highlight::after{content:'';position:absolute;z-index:-1;left:-.025em;right:-.04em;bottom:.06em;height:.3em;border-radius:50% 45% 40% 35%;background:#d5ebf9;transform:rotate(-2deg)}
.hero-description,.projects-intro p{font-size:16px;line-height:1.8;color:var(--muted);max-width:460px;margin:0 0 32px}
.primary-link{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;min-height:52px;background:var(--ink);color:#fff;padding:0 19px 0 23px;border-radius:7px;font-size:13px;font-weight:600;transition:transform .2s,background .2s,box-shadow .2s}
.primary-link:hover{background:#355b73;transform:translateY(-2px);box-shadow:0 10px 24px #3a6d8a20}
.primary-link span{font-size:18px;font-weight:400}
.hero-visual{width:100%;max-width:450px;justify-self:end;aspect-ratio:1/1.04;padding:15px;background:#e1f0fb;border-radius:220px 220px 14px 14px;position:relative}
.hero-visual::before{content:'';position:absolute;width:68px;height:68px;border-radius:50%;background:#d5eaf7;left:-30px;top:12%;z-index:-1}
.hero-visual::after{content:'';position:absolute;width:41px;height:41px;border-radius:50%;background:#cbe7e4;right:-21px;bottom:17%;z-index:-1}
.visual-paper{height:100%;overflow:hidden;position:relative;border:1px solid #c8e0ef;border-radius:210px 210px 8px 8px;background:#e9f4fb}
.paper-label{position:absolute;top:11%;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;letter-spacing:2.4px;font-weight:700;color:#7298af;z-index:2}
.paper-label span{padding:0 7px}
.visual-arch{position:absolute;left:17%;right:17%;top:23%;bottom:-21%;border-radius:55% 55% 0 0;background:#b5d7ea;overflow:hidden;transform:rotate(-13deg)}
.arch-inner{position:absolute;left:18%;right:18%;top:15%;bottom:-8%;border-radius:55% 55% 0 0;background:#d1e8f5}
.arch-orbit{position:absolute;left:33%;right:33%;top:31%;bottom:0;border-radius:55% 55% 0 0;background:#edf7fc}
.visual-asterisk{position:absolute;right:14%;top:36%;font-size:61px;color:#92bed8;font-family:Georgia,serif;line-height:1;transform:rotate(-15deg)}
.paper-note{position:absolute;bottom:12%;left:12%;font-family:'Fraunces',Georgia,serif;font-size:clamp(19px,2.3vw,34px);line-height:1.13;color:#33566a;transform:rotate(-6deg)}
.paper-note em{font-style:italic;color:#6c9bb6}
.site-footer{min-height:78px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#8294a0;font-size:11px}
.projects-main{flex:1;padding:clamp(65px,9vw,118px) 0 90px}
.projects-intro h1{margin:23px 0 18px}
.projects-intro p{margin-bottom:0}
.projects-content{margin-top:56px}
.projects-empty{min-height:340px;border:1px dashed #cbdfea;background:#f5fbff;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px}
.empty-symbol{width:64px;height:64px;border-radius:50%;background:#e2f1fa;display:grid;place-items:center;color:#8dbbd7;font-size:30px;margin-bottom:20px}
.projects-empty h2{font-family:'Fraunces',Georgia,serif;font-size:31px;font-weight:500;letter-spacing:-.8px;margin:0 0 10px}
.projects-empty p{font-size:14px;color:var(--muted);line-height:1.7;margin:0 0 25px;max-width:300px}
.projects-empty a{font-size:12px;font-weight:700;color:#477d9d;border-bottom:1px solid #97c1dc;padding-bottom:5px;min-height:32px}
.projects-empty a span{padding-left:8px}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.project-card{display:flex;min-height:280px;flex-direction:column;justify-content:space-between;padding:28px;border-radius:12px;background:var(--lavender);transition:transform .2s,box-shadow .2s}
.project-card:nth-child(3n+2){background:var(--peach)}
.project-card:nth-child(3n+3){background:var(--mint)}
.project-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #243f5014}
.project-card .project-arrow{align-self:flex-end;font-size:21px}
.project-card h2{font-family:'Fraunces',Georgia,serif;font-size:30px;font-weight:500;margin:0 0 8px}
.project-card p{font-size:13px;color:#58707e;line-height:1.6;margin:0}
@media(max-width:850px){.hero{grid-template-columns:1fr .75fr;gap:28px}.hero h1{font-size:clamp(46px,6.4vw,70px)}.hero-visual{max-width:390px}.paper-note{font-size:24px}}
@media(max-width:650px){.site-shell{padding:0 22px}.site-header{height:78px}.site-nav{gap:22px}.home-main{align-items:flex-start;padding:54px 0 62px}.hero{display:flex;flex-direction:column;align-items:stretch;gap:28px}.hero-copy{padding:0}.hero h1{font-size:clamp(48px,10.5vw,66px);letter-spacing:-2.7px;margin:21px 0}.highlight{white-space:normal}.hero-description{font-size:14px;line-height:1.75;margin-bottom:27px}.hero-visual{align-self:center;width:min(100%,390px);aspect-ratio:1.25/1;max-width:none}.visual-arch{top:20%}.paper-label{top:9%}.paper-note{font-size:24px;bottom:10%}.projects-main{padding:66px 0}.projects-intro h1{font-size:60px;letter-spacing:-2.5px}.projects-intro p{font-size:14px}.projects-content{margin-top:38px}.projects-empty{min-height:310px}.site-footer{min-height:66px}}
@media(max-width:380px){.site-shell{padding:0 18px}.hero h1{font-size:45px}.hero-visual{aspect-ratio:1.15/1}.eyebrow{font-size:9px;letter-spacing:1.6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
