@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(assets/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(assets/fonts/dm-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(assets/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(assets/fonts/dm-sans-700.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url(assets/fonts/dm-sans-800.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(assets/fonts/space-grotesk-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(assets/fonts/space-grotesk-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(assets/fonts/space-grotesk-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(assets/fonts/space-grotesk-700.ttf) format('truetype');
}

:root{--bg:#0e1020;--panel:#141528;--panel2:#1c1d37;--text:#f5f3ff;--muted:#aaa9c7;--border:#343250;--accent:#a382ff;--accent2:#7b69e9;--shadow:rgba(0,0,0,.3);color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,sans-serif;line-height:1.5;overflow-x:hidden}body.light{--bg:#f6f5fc;--panel:#fff;--panel2:#eeebfa;--text:#24223a;--muted:#6b6884;--border:#dcd8eb;--accent:#7550df;--accent2:#8465e9;--shadow:rgba(59,45,105,.12);color-scheme:light}a{color:inherit;text-decoration:none}button{font:inherit}.shell{width:min(1480px,calc(100% - 100px));margin:auto}.starfield{pointer-events:none;position:absolute;inset:0 0 auto;height:800px;background-image:radial-gradient(circle,#9588db 1px,transparent 1.6px),radial-gradient(circle,#b9b2e0 .8px,transparent 1.4px);background-size:209px 199px,287px 257px;background-position:17px 45px,125px 93px;opacity:.28}.site-header{height:90px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:14px;font-family:'Space Grotesk',sans-serif;font-size:30px;font-weight:700;letter-spacing:-1.5px}.brand-icon{width:42px;height:42px;color:#ac8afa;filter:drop-shadow(0 0 8px rgba(152,124,255,.16))}.nav{display:flex;align-items:center;gap:26px;margin-left:auto;margin-right:45px}.nav-link,.shop{font-weight:700;padding:10px 19px;border-radius:27px;transition:background .2s,color .2s;white-space:nowrap}.nav-link:hover,.nav-link.active{background:rgba(131,119,194,.18)}.shop{display:flex;align-items:center;gap:9px;color:#7f7b9d;background:rgba(112,104,153,.12);cursor:not-allowed}.shop svg{width:18px;fill:none;stroke:currentColor;stroke-width:2}.theme-toggle{width:52px;height:52px;border:1.5px solid #8d83d9;border-radius:50%;display:grid;place-items:center;color:#d5c5ff;background:transparent;cursor:pointer}.theme-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.theme-toggle .sun{display:none}body.light .theme-toggle .sun{display:block}body.light .theme-toggle .moon{display:none}.menu-toggle{display:none}.hero{position:relative;min-height:538px;display:flex;align-items:center;padding-top:20px;padding-bottom:44px}.hero-copy{position:relative;z-index:2;max-width:610px;flex:0 0 48%}.hero h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(48px,5.4vw,81px);letter-spacing:-4px;line-height:1.1;margin:0 0 12px;font-weight:700}.hero h1 span{color:var(--accent)}.hero-subtitle{font-size:clamp(22px,2vw,29px);color:#c5bfdd;margin:10px 0}.hero-description{color:var(--muted);font-size:19px;max-width:480px;margin:14px 0 25px}.primary-cta{display:inline-flex;align-items:center;gap:11px;border-radius:17px;background:linear-gradient(110deg,#a789ff,#8b73fc);padding:14px 25px;color:#16122d;font-weight:800;font-size:17px;box-shadow:0 12px 30px rgba(118,88,226,.18);transition:transform .2s,filter .2s}.primary-cta:hover{transform:translateY(-3px);filter:brightness(1.08)}.primary-cta svg{width:25px;height:25px}.social-row{display:flex;gap:25px;margin-top:28px}.social-row a{color:var(--text)}.social-row svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.8}.hero-scene{position:absolute;inset:-38px -75px -13px 35%;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to right,transparent,black 18%,black 94%,transparent)}.desk-art{width:100%;height:100%;object-fit:cover;display:block;filter:drop-shadow(0 22px 20px rgba(0,0,0,.2))}.featured{position:relative;z-index:2;margin-top:-10px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:24px}.section-heading h2{font-family:'Space Grotesk',sans-serif;font-size:34px;letter-spacing:-1.5px;margin:0;line-height:1.2}.heading-line{display:inline-block;width:42px;height:5px;border-radius:9px;background:var(--accent);vertical-align:middle;margin-left:10px}.text-link{font-size:15px;color:#c1b7ed;white-space:nowrap}.text-link span{font-size:21px;margin-left:7px}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.featured-card{min-width:0;background:var(--panel);border:1px solid var(--border);border-radius:19px;display:flex;overflow:hidden;min-height:182px;cursor:pointer;color:var(--text);text-align:left;padding:0;transition:transform .2s,border .2s}.featured-card:hover,.project-card:hover{transform:translateY(-5px);border-color:var(--accent)}.featured-art{width:46%;min-width:40%;height:auto;object-fit:cover;background:#282343}.featured-content{padding:23px 20px;display:flex;flex-direction:column;justify-content:center}.tag{align-self:start;background:rgba(125,111,191,.18);color:#cec6ff;padding:4px 11px;border-radius:22px;font-size:12px;font-weight:700;white-space:nowrap}.featured-content h3{font-size:21px;line-height:1.18;margin:16px 0 9px}.featured-content p{color:var(--muted);font-size:14px;line-height:1.4;margin:0}.projects-section{padding-top:125px;padding-bottom:85px}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--accent);font-weight:800}.dot{color:var(--accent)}.section-intro{margin:10px 0 0;color:var(--muted);font-size:17px}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 27px}.filter{border:1px solid var(--border);border-radius:40px;background:var(--panel);color:var(--muted);padding:10px 18px;cursor:pointer;transition:all .2s}.filter:hover,.filter.active{background:var(--accent);border-color:var(--accent);color:#171329;font-weight:700}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{display:flex;flex-direction:column;overflow:hidden;background:var(--panel);border:1px solid var(--border);border-radius:20px;text-align:left;padding:0;cursor:pointer;color:var(--text);transition:transform .2s,border .2s}.project-card img{width:100%;height:205px;object-fit:cover}.project-card-body{padding:23px}.project-card h3{font-family:'Space Grotesk',sans-serif;font-size:22px;margin:13px 0 8px}.project-card p{color:var(--muted);font-size:15px;margin:0}.about-section{padding-top:55px;padding-bottom:85px}.about-panel{border:1px solid var(--border);background:linear-gradient(120deg,var(--panel),var(--panel2));border-radius:25px;padding:65px 70px;display:flex;justify-content:space-between;align-items:center;gap:40px}.about-panel>div:first-child{max-width:720px}.about-panel h2,.contact-section h2{font-family:'Space Grotesk';font-size:clamp(35px,4vw,53px);letter-spacing:-2px;margin:12px 0}.about-panel p{font-size:18px;color:var(--muted)}.about-symbol{width:220px;height:220px;position:relative;border:1px solid #7464b1;border-radius:40px;transform:rotate(-8deg);display:grid;place-items:center;background:linear-gradient(135deg,#3e3367,#201e3e);color:#c7b6ff;font-size:90px;box-shadow:0 15px 50px #0002}.about-symbol span:not(:first-child){position:absolute;font-size:35px;right:20px;top:10px}.about-symbol span:last-child{right:auto;top:auto;bottom:10px;left:15px;font-size:24px}.contact-section{text-align:center;padding:65px 20px 115px}.contact-section h2 span{color:var(--accent)}.contact-section p{max-width:650px;color:var(--muted);font-size:18px;margin:15px auto 25px}.contact-placeholder{border:1px dashed var(--border);border-radius:25px;color:var(--muted);padding:12px 22px;display:inline-block}.site-footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:25px;padding-bottom:35px;color:var(--muted);font-size:14px}.site-footer a:hover{color:var(--accent)}.project-dialog{width:min(540px,calc(100% - 28px));background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:21px;padding:25px;box-shadow:0 22px 90px #0008}.project-dialog::backdrop{background:rgba(5,5,19,.8);backdrop-filter:blur(6px)}.dialog-close{float:right;background:var(--panel2);border:1px solid var(--border);border-radius:50%;width:33px;height:33px;color:var(--text);font-size:22px;cursor:pointer}.project-dialog img{width:100%;max-height:240px;object-fit:cover;border-radius:13px;margin-top:12px}.project-dialog h2{font-size:29px;margin:15px 0 5px}.project-dialog p{color:var(--muted)}body.light .hero-scene{opacity:.83}body.light .hero-subtitle{color:var(--muted)}body.light .featured-content .tag,body.light .project-card .tag{color:var(--accent)}body.light .text-link{color:var(--accent)}
@media(max-width:1100px){.shell{width:min(100% - 56px,1480px)}.nav{gap:5px;margin-right:20px}.nav-link,.shop{padding:10px 13px}.hero h1{letter-spacing:-2.5px}.hero-copy{flex-basis:53%}.hero-scene{left:31%;right:-175px}.featured-card{min-height:145px}.featured-content{padding:12px}.featured-content h3{font-size:17px;margin:10px 0 6px}.featured-content p{font-size:12px}}
@media(max-width:760px){.shell{width:calc(100% - 36px)}.site-header{height:76px}.brand{font-size:25px}.brand-icon{width:35px;height:35px}.theme-toggle{width:42px;height:42px;margin-left:auto;margin-right:10px}.menu-toggle{display:block;border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:12px;font-size:24px;width:43px;height:43px}.nav{display:none;position:absolute;top:70px;right:0;left:0;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:14px;margin:0;flex-direction:column;align-items:stretch;gap:3px;box-shadow:0 20px 35px var(--shadow)}.nav.open{display:flex}.hero{display:block;padding-top:38px;min-height:680px}.hero-copy{max-width:100%}.hero h1{font-size:clamp(44px,11vw,66px)}.hero-description{font-size:16px;max-width:440px}.hero-subtitle{font-size:22px}.hero-scene{inset:235px -62px 0 2%;opacity:.75;mask-image:linear-gradient(to bottom,transparent,black 20%,black 95%)}.social-row{margin-top:20px}.featured{margin-top:12px}.featured-grid{grid-template-columns:1fr;gap:13px}.featured-card{min-height:143px}.featured-art{width:40%;min-width:40%}.featured-content{padding:18px}.featured-content h3{font-size:21px}.featured-content p{font-size:14px}.section-heading h2{font-size:26px}.text-link{font-size:13px}.projects-section{padding-top:85px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-card img{height:140px}.project-card-body{padding:14px}.project-card h3{font-size:18px}.project-card p{font-size:13px}.about-panel{padding:34px;flex-direction:column;align-items:start}.about-symbol{width:125px;height:125px;font-size:55px;align-self:center}.contact-section{padding-bottom:80px}}
@media(max-width:480px){.hero{min-height:655px}.hero-scene{inset:260px -90px 0 -30%}.project-grid{grid-template-columns:1fr}.project-card img{height:200px}.section-heading{align-items:start}.section-heading h2{font-size:25px}.section-heading .text-link{margin-top:8px}.featured-content h3{font-size:19px}.featured-content p{font-size:13px}.featured-card{min-height:130px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

.hero-carousel{inset:0 0 0 39%;pointer-events:auto;mask-image:none;touch-action:pan-y;border-radius:24px}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s;mask-image:linear-gradient(to right,transparent,black 22%,black 78%,transparent),linear-gradient(to bottom,black 68%,transparent 100%);mask-composite:intersect}
.hero-slide.is-active{opacity:1;visibility:visible}
.carousel-art{object-fit:contain;padding:32px 48px;background:radial-gradient(ellipse at center,#30274a88,transparent 70%)}
.hero-carousel .desk-art{left:48px;width:calc(100% - 96px)}
.carousel-controls{display:contents}
.carousel-controls button{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:44px;height:56px;border:0;border-radius:12px;background:transparent;color:var(--accent);font-size:48px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .2s,color .2s}
.carousel-prev{left:0}.carousel-next{right:0}
.carousel-controls button:hover{background:var(--panel2);color:var(--text)}
.carousel-controls .carousel-pause,.carousel-position{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.carousel-controls .carousel-pause:focus-visible{top:auto;bottom:12px;right:48px;transform:none;width:auto;height:36px;margin:0;padding:6px 12px;clip-path:none;background:var(--panel);font-size:16px}
.hero-carousel:focus-visible,.carousel-controls button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){.hero-carousel{inset:350px 0 0;opacity:1;mask-image:none}.hero{min-height:760px}.carousel-art{padding:0 34px}.hero-carousel .desk-art{left:34px;width:calc(100% - 68px)}.carousel-controls button{width:32px;font-size:38px}}
@media(max-width:480px){.hero-carousel{inset:340px 0 0}.hero{min-height:700px}}
.nav-link{transition:background .2s,color .2s,transform .2s}
.featured .section-heading .text-link{display:inline-block;transition:color .2s}
@media(hover:hover){.nav-link:hover{transform:translateY(-3px)}.featured .section-heading .text-link:hover{color:#eee8ff}body.light .featured .section-heading .text-link:hover{color:#987bea}}
/* Homepage entrance: stationary fades for chrome/art; rise only for copy/cards. */
@keyframes home-fade-in{from{opacity:0}to{opacity:1}}
@keyframes home-rise-in{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:no-preference){
 .home-page .hero-carousel,.home-page .primary-cta,.home-page .social-row,.home-page .section-heading,.home-page .contact-section,.home-page .site-footer{animation:home-fade-in .85s ease var(--entrance-delay,0s) backwards}
 .home-page .hero-copy h1,.home-page .hero-subtitle,.home-page .hero-description,.home-page .featured-grid{animation:home-rise-in .85s cubic-bezier(.22,1,.36,1) var(--entrance-delay,0s) backwards}
 .home-page .hero-carousel{--entrance-delay:.12s}
 .home-page .hero-copy h1{--entrance-delay:.18s}
 .home-page .hero-subtitle{--entrance-delay:.28s}
 .home-page .hero-description{--entrance-delay:.38s}
 .home-page .primary-cta{--entrance-delay:.48s}
 .home-page .social-row{--entrance-delay:.58s}
 .home-page .featured .section-heading{--entrance-delay:.68s}
 .home-page .featured .featured-grid{--entrance-delay:.78s}
 .home-page .products-section .section-heading{--entrance-delay:.9s}
 .home-page .products-section .featured-grid{--entrance-delay:1s}
 .home-page .contact-section{--entrance-delay:1.12s}
 .home-page .site-footer{--entrance-delay:1.22s}
}
@media(prefers-reduced-motion:no-preference){
 .projects-page .projects-section .section-heading{animation:home-rise-in .85s cubic-bezier(.22,1,.36,1) .18s backwards}
 .projects-page .filters{animation:home-fade-in .85s ease .38s backwards}
 .projects-page .project-grid{animation:home-rise-in .85s cubic-bezier(.22,1,.36,1) .58s backwards}
 .projects-page .site-footer{animation:home-fade-in .85s ease .78s backwards}
}
@media(prefers-reduced-motion:no-preference){
 .about-page .about-panel{animation:home-fade-in .85s ease .08s backwards}
 .about-page .about-panel>div:first-child{animation:home-rise-in .85s cubic-bezier(.22,1,.36,1) .18s backwards;translate:0 0;will-change:translate}
 .about-page .about-symbol{animation:home-fade-in .85s ease .28s backwards}
 .about-page .about-interests>.eyebrow{display:inline-block;animation:home-fade-in .85s ease .4s backwards}
 .about-page .interest-grid{animation:home-rise-in .85s cubic-bezier(.22,1,.36,1) .52s backwards;translate:0 0;will-change:translate}
 .about-page .about-interests>.text-link{display:inline-block;animation:home-fade-in .85s ease .7s backwards}
 .about-page .site-footer{animation:home-fade-in .85s ease .8s backwards}
}
.products-section{position:relative;z-index:2;margin-top:64px}
.products-status{font-size:14px;color:var(--muted);white-space:nowrap}
.product-card{cursor:default}
.product-card:hover{transform:none;border-color:var(--border)}
@media(max-width:760px){.products-section{margin-top:44px}}
/* Dedicated pages (Home, Projects, About); shared visual language */
.standalone-page{min-height:calc(100vh - 210px);padding-top:68px;padding-bottom:120px;position:relative;z-index:1}
.about-section.standalone-page{padding-top:76px}
.about-interests{padding:58px 0 0}
.interest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 30px}
.interest-grid>div{border:1px solid var(--border);border-radius:18px;padding:25px;background:var(--panel)}
.interest-grid strong{font-size:20px;color:var(--text)}
.interest-grid p{font-size:15px;color:var(--muted);margin:8px 0 0}
@media(max-width:760px){.standalone-page{padding-top:42px;padding-bottom:80px}.interest-grid{grid-template-columns:1fr}.about-section.standalone-page{padding-top:44px}}

/* Keep text on the same compositing layer as its entrance finishes. */
@media(prefers-reduced-motion:no-preference){.home-page .hero-copy h1,.home-page .hero-subtitle,.home-page .hero-description,.home-page .featured-grid,.projects-page .projects-section .section-heading,.projects-page .project-grid{translate:0 0;will-change:translate}}
html{scrollbar-gutter:stable}
