 :root {
  --bg: #071a38; --bg-deep: #041229; --panel: #0d2548; --panel-2: #102d53;
  --text: #f4f8ff; --muted: #a9bad2; --line: rgba(153,190,230,.18);
  --teal: #25e0d0; --blue: #3299ff; --gold: #f6c84c; --shadow: 0 24px 70px rgba(0,0,0,.22);
}
body.light {
  --bg: #f3f7fc; --bg-deep: #e8eff8; --panel: #fff; --panel-2: #eaf2fb;
  --text: #10233f; --muted: #536781; --line: rgba(20,50,85,.15);
  --teal: #008f89; --blue: #176dcc; --gold: #b57b00; --shadow: 0 20px 55px rgba(27,54,86,.10);
}
*{box-sizing:border-box} html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;line-height:1.65;transition:background .3s,color .3s}
a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}
.site-header{height:82px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;gap:25px;position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg-deep) 88%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:13px;min-width:max-content}.brand-mark{font:700 27px "Space Grotesk";letter-spacing:-2px;color:var(--text);border-bottom:3px solid var(--teal);padding:0 4px}.brand-mark span{color:var(--gold)}
.brand-copy{display:grid;line-height:1.25}.brand-copy strong{font:700 15px "Space Grotesk"}.brand-copy small{font-size:10px;color:var(--muted);letter-spacing:1px;margin-top:4px}
.navigation{display:flex;align-items:center;gap:clamp(13px,2.2vw,32px)}.nav-link{font-size:13px;font-weight:700;color:var(--muted);transition:color .2s}.nav-link:hover,.nav-link.active{color:var(--teal)}
.header-actions{display:flex;align-items:center;gap:12px}.theme-toggle,.menu-toggle{border:1px solid var(--line);background:var(--panel);color:var(--text);width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:20px}.menu-toggle{display:none}
.button{display:inline-flex;align-items:center;gap:15px;padding:13px 20px;border:1px solid var(--teal);border-radius:9px;background:var(--teal);color:#052139;font-weight:800;font-size:13px;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(37,224,208,.18)}.button span{font-size:18px}.button-small{padding:10px 15px}.button-outline{background:transparent;color:var(--text);border-color:var(--line)}
.section-wrap{width:min(1160px,90%);margin-inline:auto}.hero{min-height:600px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:35px;padding-top:65px;padding-bottom:55px;overflow:hidden}
.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.2px;color:var(--teal);margin:0 0 18px}.status-dot,.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px rgba(37,224,208,.12);margin-right:9px}
h1,h2,h3,p{margin-top:0}h1,h2{font-family:"Space Grotesk",sans-serif;letter-spacing:-2px}h1{font-size:clamp(43px,6vw,75px);line-height:1.05;margin-bottom:22px}h1 em{font-style:normal;color:var(--teal)}.hero h2{font:600 15px "DM Sans";letter-spacing:0;color:var(--muted);line-height:1.6}.hero h2 b{color:var(--gold);padding:0 3px}.hero-description{max-width:530px;color:var(--muted);font-size:16px;margin:20px 0 27px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-tags{display:flex;gap:24px;flex-wrap:wrap;margin-top:42px;color:var(--muted);font-size:12px}.hero-tags span:first-letter{color:var(--teal)}
.hero-art{height:460px;position:relative;display:grid;place-items:center}.hero-glow{position:absolute;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(23,177,201,.22),transparent 70%);z-index:-1}.orbit{position:absolute;border:1px solid rgba(37,224,208,.24);border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:390px;height:300px}.orbit-two{width:320px;height:420px;transform:rotate(35deg);border-color:rgba(50,153,255,.3)}
.portrait-placeholder{width:min(310px,75%);height:370px;border-radius:46% 46% 18px 18px;background:linear-gradient(145deg,#0e7190,#0d2c55 65%);border:1px solid rgba(37,224,208,.45);box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;z-index:2;overflow:hidden}.portrait-placeholder:before{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.17);border-radius:50%;top:30px}.portrait-icon{font:700 72px "Space Grotesk";color:rgba(255,255,255,.88);letter-spacing:-8px}.portrait-placeholder strong{font-size:13px;margin-top:15px}.portrait-placeholder small{font-size:10px;color:#c4d8e8}.portrait-placeholder code{color:var(--teal)}
.floating-note{position:absolute;z-index:3;background:var(--panel);border:1px solid var(--line);padding:12px 16px;border-radius:9px;font-size:11px;font-weight:700;box-shadow:var(--shadow)}.note-top{top:75px;right:0;color:var(--gold)}.note-bottom{bottom:50px;left:0}.pulse{width:6px;height:6px}
.quick-facts{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);padding:24px 0;margin-bottom:30px}.quick-facts div{display:flex;align-items:center;justify-content:center;gap:14px;border-right:1px solid var(--line)}.quick-facts div:last-child{border:0}.quick-facts strong{font:700 24px "Space Grotesk";color:var(--teal)}.quick-facts span{font-size:12px;color:var(--muted);line-height:1.35}
.section{padding:95px 0 30px}.section-heading{margin-bottom:35px}.section-heading h2,.contact-section h2{font-size:clamp(34px,4vw,52px);line-height:1.1;margin-bottom:12px}.section-heading h2 span,.contact-section h2 span{color:var(--teal)}.section-intro{color:var(--muted);max-width:560px;font-size:14px}
.about-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px}.about-card,.values-panel,.skill-card,.project-card{background:var(--panel);border:1px solid var(--line);border-radius:14px}.about-card{padding:32px}.about-symbol{font-size:34px;color:var(--teal);margin-bottom:15px}.about-card p{color:var(--muted);font-size:14px}.text-link{display:inline-flex;gap:12px;color:var(--teal);font-weight:800;font-size:13px;margin-top:10px}.values-panel{padding:18px 28px}.value-row{display:flex;gap:18px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--line)}.value-row:last-child{border:0}.value-icon{width:42px;height:42px;border-radius:10px;background:var(--panel-2);display:grid;place-items:center;color:var(--teal);font-size:21px}.value-row h3{font:700 15px "Space Grotesk";margin:0 0 4px}.value-row p{font-size:12px;color:var(--muted);margin:0}
.skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.skill-card{padding:23px;transition:transform .25s,border-color .25s}.skill-card:hover,.project-card:hover{transform:translateY(-5px);border-color:rgba(37,224,208,.55)}.skill-icon{width:42px;height:42px;border-radius:10px;background:var(--panel-2);display:grid;place-items:center;color:var(--teal);font-size:22px;margin-bottom:19px}.skill-card h3,.project-info h3{font:700 16px "Space Grotesk";margin-bottom:8px}.skill-card p,.project-info p{font-size:12px;color:var(--muted);min-height:60px}.skill-chips{display:flex;gap:6px;flex-wrap:wrap}.skill-chips span,.project-type{font-size:9px;color:var(--teal);border:1px solid rgba(37,224,208,.25);border-radius:20px;padding:4px 8px}
.projects-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.project-card{overflow:hidden;transition:transform .25s,border-color .25s}.project-art{height:160px;padding:17px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;color:#fff}.project-art:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.22);border-radius:50%;right:-50px;bottom:-90px}.project-art span{font-size:10px;opacity:.75}.project-art b{font:700 26px "Space Grotesk";line-height:1.05;letter-spacing:-1px}.project-art i{position:absolute;right:17px;top:14px;font-size:20px;font-style:normal}.art-teal{background:linear-gradient(135deg,#087e85,#123c66)}.art-gold{background:linear-gradient(135deg,#a56a16,#492c25)}.art-blue{background:linear-gradient(135deg,#176dcc,#10264b)}.art-purple{background:linear-gradient(135deg,#7045a6,#20305d)}.project-info{padding:17px}.project-info p{min-height:40px;margin-bottom:14px}
.services-grid{border-top:1px solid var(--line)}.service-item{display:grid;grid-template-columns:55px 1fr 30px;align-items:center;gap:15px;padding:22px 10px;border-bottom:1px solid var(--line)}.service-item>span{color:var(--teal);font:700 14px "Space Grotesk"}.service-item h3{font:700 16px "Space Grotesk";margin:0 0 4px}.service-item p{color:var(--muted);font-size:12px;margin:0}.service-item>b{color:var(--teal);font-size:20px}
.contact-section{margin-top:100px;padding:85px 0;background:var(--bg-deep);border-block:1px solid var(--line)}.contact-grid{display:grid;grid-template-columns:1fr .8fr;gap:70px;align-items:center}.contact-section h2{margin-bottom:20px}.contact-section>div>div>p{color:var(--muted);font-size:14px}.contact-detail{font-size:13px;color:var(--muted);margin-top:12px}.contact-detail span{color:var(--teal);margin-right:10px}.contact-form{display:grid;gap:9px;background:var(--panel);padding:27px;border:1px solid var(--line);border-radius:14px}.contact-form label{font-size:11px;font-weight:700;color:var(--muted);margin-top:5px}.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--line);background:var(--bg-deep);color:var(--text);padding:12px 13px;border-radius:7px;outline:none;font-size:12px;resize:vertical}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--teal)}.contact-form .button{justify-content:center;margin-top:8px;cursor:pointer}.form-note{font-size:10px;color:var(--muted);margin:0;text-align:center}
.site-footer{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-footer>p,.back-top{font-size:11px;color:var(--muted);margin:0}.back-top{color:var(--teal);font-weight:700}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .65s ease,transform .65s ease}.reveal.visible{opacity:1;transform:translateY(0)}
@media(max-width:1000px){.site-header{gap:12px}.brand-copy{display:none}.navigation{gap:14px}.skills-grid,.projects-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:550px}.hero-art{height:400px}}
@media(max-width:760px){.site-header{height:70px;padding-inline:5%;}.menu-toggle{display:block;margin-left:auto}.header-actions{gap:7px}.header-actions .button{display:none}.navigation{display:none;position:absolute;top:69px;left:0;right:0;background:var(--bg-deep);padding:18px 5%;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0}.navigation.open{display:flex}.nav-link{padding:12px 5px;border-bottom:1px solid var(--line)}.brand-copy{display:grid}.hero{grid-template-columns:1fr;padding-top:65px;gap:5px}.hero-art{height:340px;grid-row:1}.hero-copy{grid-row:2}.portrait-placeholder{height:290px;width:230px}.orbit-one{width:300px;height:230px}.orbit-two{width:250px;height:320px}.note-top{top:30px;right:5%}.note-bottom{bottom:25px;left:5%}.hero-tags{margin-top:30px;gap:15px}.quick-facts{margin-top:20px}.quick-facts div{gap:8px}.quick-facts strong{font-size:18px}.quick-facts span{font-size:10px}.section{padding-top:70px}.about-grid,.contact-grid{grid-template-columns:1fr;gap:15px}.contact-grid{gap:35px}.contact-section{margin-top:70px;padding:65px 0}.site-footer{padding-block:25px;flex-wrap:wrap}.site-footer>p{order:3;width:100%}}
@media(max-width:480px){.brand-mark{font-size:23px}.brand-copy strong{font-size:12px}.brand-copy small{font-size:8px}.hero{padding-top:40px}.hero h2{font-size:13px}.hero-description{font-size:14px}.hero-buttons .button{width:100%;justify-content:center}.hero-tags{font-size:10px}.quick-facts{grid-template-columns:1fr;gap:13px;padding:18px 0}.quick-facts div{justify-content:flex-start;border:0;padding-left:20%}.skills-grid,.projects-grid{grid-template-columns:1fr}.skill-card p{min-height:0}.project-art{height:180px}.about-card{padding:23px}.values-panel{padding:12px 20px}.section-heading h2,.contact-section h2{letter-spacing:-1px}.contact-form{padding:20px}.site-footer .brand-copy{display:grid}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}
.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}
