*{box-sizing:border-box} :root{--bg:#070A10;--surface:#0D111A;--surface-2:#111722;--text:#F4F6FB;--muted:#9AA3B5;--line:rgba(255,255,255,.10);--violet:#8B7CFF;--blue:#6EA8FF;--max:1240px}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}#webgl{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;background:#05070d;isolation:isolate}#webgl canvas{display:block;width:100%;height:100%}.noise{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}.ambient{position:fixed;width:42vw;height:42vw;border-radius:50%;filter:blur(100px);pointer-events:none;z-index:0;opacity:.13}.ambient--one{background:#4F46E5;top:12%;right:-20%}.ambient--two{background:#2563EB;bottom:0;left:-22%}.site-header{position:fixed;z-index:10;top:0;left:50%;transform:translateX(-50%);width:min(var(--max),calc(100% - 48px));height:84px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.brand{justify-self:start;font:700 25px/1 "Space Grotesk";letter-spacing:-.08em}.brand::first-letter{color:var(--violet)}.main-nav{display:flex;gap:34px;justify-content:center}.main-nav a,.language-switch{color:#B8BFCC;font-size:13px;transition:color .25s}.main-nav a:hover,.main-nav a.is-active,.language-switch:hover{color:var(--text)}.header-actions{justify-self:end;display:flex;align-items:center;gap:16px}.language-switch{font-size:11px;letter-spacing:.12em}.cv-button{border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:11px 16px;font-size:12px;background:rgba(7,10,16,.35);backdrop-filter:blur(12px)}.cv-button span{margin-left:8px;color:var(--violet)}.section{position:relative;z-index:3;width:min(var(--max),calc(100% - 48px));margin:0 auto;min-height:100vh;display:flex;align-items:center}.hero{padding-top:80px}.hero-copy{width:52%;max-width:620px}.eyebrow{color:#A8B0BF;font-size:10px;letter-spacing:.25em;margin:0 0 22px}h1,h2,h3{font-family:"Space Grotesk",sans-serif}h1{font-size:clamp(58px,7vw,104px);line-height:.91;letter-spacing:-.065em;margin:0}h1 span,h2 span{color:var(--violet)}.hero-lead{color:var(--muted);max-width:500px;line-height:1.7;margin:30px 0;font-size:16px}.actions,.project-actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;gap:12px;border-radius:999px;padding:14px 20px;font-size:13px;border:1px solid rgba(255,255,255,.16)}.button--primary{background:var(--violet);color:#090A10;border-color:var(--violet);box-shadow:0 10px 40px rgba(139,124,255,.22)}.button--ghost{background:rgba(255,255,255,.025);color:var(--text)}.button--compact{padding:12px 15px;font-size:11px}.hero-note{position:absolute;right:3%;top:34%;display:grid;gap:8px;color:#7F899C;font-size:13px;letter-spacing:.16em}.hero-note::after{content:"";display:block;width:38px;height:1px;background:var(--violet);margin-top:14px}.scroll-cue{position:absolute;right:3%;bottom:10%;display:flex;align-items:center;gap:12px;color:#7F899C;font-size:10px;text-transform:uppercase;letter-spacing:.15em}.scroll-icon{width:22px;height:36px;border:1px solid rgba(255,255,255,.35);border-radius:20px;position:relative}.scroll-icon::after{content:"";position:absolute;width:3px;height:7px;border-radius:4px;background:var(--text);top:7px;left:50%;transform:translateX(-50%);animation:scroll 1.8s infinite}@keyframes scroll{0%,100%{transform:translate(-50%,0);opacity:.3}50%{transform:translate(-50%,8px);opacity:1}}.projects{padding:130px 0;gap:65px;align-items:flex-start}.section-intro{flex:0 0 31%;position:sticky;top:150px}.section-intro h2,.about-copy h2,.contact-copy h2{font-size:clamp(42px,5vw,68px);line-height:.96;letter-spacing:-.055em;margin:0 0 24px}.section-intro>p,.about-copy>p,.contact-copy>p{color:var(--muted);line-height:1.7;max-width:440px}.text-link{display:inline-block;margin-top:18px;color:var(--violet);font-size:12px}.text-link--muted{color:#8B93A3}.project-list{flex:1}.featured-project{display:grid;grid-template-columns:1.08fr .92fr;min-height:690px;border:1px solid var(--line);border-radius:26px;overflow:hidden;background:rgba(13,17,26,.68);backdrop-filter:blur(18px)}.featured-project-visual{position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(139,124,255,.22),transparent 42%),linear-gradient(145deg,#0B0F18,#080A10)}.phone-stage{position:relative;transform:rotate(-7deg) translateY(8px);transition:transform .5s ease}.featured-project:hover .phone-stage{transform:rotate(-3deg) translateY(-8px)}.phone-glow{position:absolute;inset:10% -20%;background:rgba(139,124,255,.20);filter:blur(65px);border-radius:50%}.phone-device{position:relative;width:250px;height:510px;padding:8px;border-radius:34px;background:#06080D;border:1px solid rgba(255,255,255,.20);box-shadow:0 50px 100px rgba(0,0,0,.55),0 0 70px rgba(139,124,255,.15)}.phone-device img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:27px;display:block}.phone-speaker{position:absolute;z-index:2;top:13px;left:50%;width:72px;height:17px;transform:translateX(-50%);border-radius:12px;background:#05070B}.visual-label{position:absolute;left:28px;bottom:24px;display:flex;gap:14px;color:#747E91;font-size:9px;letter-spacing:.16em}.visual-label span:first-child{color:var(--violet)}.featured-project-content{padding:48px 42px;display:flex;flex-direction:column;justify-content:center}.project-meta{display:flex;justify-content:space-between;color:#788297;font-size:9px;letter-spacing:.15em}.featured-project-content h3{font-size:58px;line-height:1;margin:28px 0 6px;letter-spacing:-.06em}.project-subtitle{margin:0 0 22px;color:#C6CBD5;font:500 17px "Space Grotesk"}.project-description{color:var(--muted);font-size:14px;line-height:1.75;max-width:470px}.project-highlights{display:grid;gap:0;margin:25px 0;border-top:1px solid var(--line)}.project-highlights div{display:grid;grid-template-columns:32px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06);align-items:center}.project-highlights span{color:#697386;font-size:9px}.project-highlights strong{font-size:12px;font-weight:500;color:#C6CBD5}.project-actions{margin-top:4px}.store-mark{font-size:11px}.github-mark{font-size:14px}.project-proof{font-size:9px;color:#707B8D;margin:22px 0 0;display:flex;align-items:center;gap:8px}.project-proof span{width:6px;height:6px;border-radius:50%;background:var(--violet);box-shadow:0 0 10px rgba(139,124,255,.7)}.secondary-projects{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.project-card{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:rgba(13,17,26,.68);backdrop-filter:blur(16px)}.project-card-visual{height:310px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 35%,rgba(139,124,255,.17),transparent 52%),#090D15}.project-content{padding:22px}.project-content h3{font-size:29px;margin:17px 0 8px;letter-spacing:-.04em}.project-content p{color:var(--muted);line-height:1.6;font-size:12px}.stacked-phone{position:absolute;width:132px;height:264px;border-radius:24px;padding:6px;background:#05070B;border:1px solid rgba(255,255,255,.18);box-shadow:0 30px 60px rgba(0,0,0,.45)}.stacked-phone--back{transform:translate(-34px,4px) rotate(-10deg);opacity:.35}.stacked-phone--front{transform:translate(24px,0) rotate(8deg)}.learning-screen{height:100%;border-radius:19px;padding:16px 11px;background:linear-gradient(155deg,#25165B,#0C1020);display:flex;flex-direction:column;gap:9px}.learning-screen small{font-size:6px;color:#A69AFF;letter-spacing:.1em}.learning-screen strong{font:600 18px/1.03 "Space Grotesk"}.learning-glow{width:48px;height:48px;border-radius:50%;align-self:center;background:radial-gradient(circle at 35% 30%,#D0C9FF,#806CFF 32%,#17103B 72%);box-shadow:0 0 32px rgba(139,124,255,.45)}.learning-block{height:65px;border-radius:10px;background:rgba(255,255,255,.08)}.browser-mockup{width:82%;aspect-ratio:16/10;border:1px solid rgba(255,255,255,.16);border-radius:13px;overflow:hidden;background:#14100D;box-shadow:0 30px 80px rgba(0,0,0,.45)}.browser-bar{height:23px;background:#0A0C11;display:flex;gap:5px;align-items:center;padding-left:9px}.browser-bar i{width:5px;height:5px;border-radius:50%;background:#747B88}.browser-content{height:calc(100% - 23px);padding:8% 9%;position:relative;background:linear-gradient(120deg,#261913,#0E0D0D)}.browser-content small{color:#C8A98E;letter-spacing:.2em;font-size:6px}.browser-content strong{display:block;margin-top:9px;font:500 25px/1 "Space Grotesk";max-width:190px}.coffee-shape{position:absolute;right:10%;bottom:7%;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle,#E2C2A5 0 18%,#553322 20% 45%,transparent 47%);opacity:.65}.technologies{padding:130px 0;gap:80px}.tech-stage{flex:1;min-height:620px;display:grid;place-items:center}.tech-orbit{position:relative;width:min(620px,46vw);aspect-ratio:1}.tech-orbit::before,.tech-orbit::after{content:"";position:absolute;inset:12%;border:1px solid rgba(139,124,255,.15);border-radius:50%;transform:rotate(18deg)}.tech-orbit::after{inset:24%;transform:rotate(-32deg)}.tech-center{position:absolute;inset:38%;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at 35% 30%,#413D73,#101422 62%);border:1px solid rgba(139,124,255,.35);box-shadow:0 0 70px rgba(139,124,255,.15)}.tech-center span{font:600 27px "Space Grotesk"}.tech-center small{font-size:7px;color:#7D8799;letter-spacing:.18em;margin-top:5px}.tech-node{position:absolute;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:#B6BECC;min-width:72px}.tech-node img{width:30px;height:30px;filter:grayscale(1) brightness(2);opacity:.9}.tech-node--1{top:2%;left:46%}.tech-node--2{top:18%;right:5%}.tech-node--3{top:48%;right:-1%}.tech-node--4{bottom:15%;right:12%}.tech-node--5{bottom:2%;left:44%}.tech-node--6{bottom:17%;left:10%}.tech-node--7{top:48%;left:-1%}.tech-node--8{top:18%;left:7%}.about{padding:130px 0;justify-content:space-between}.about-copy{max-width:530px}.about-panel{width:44%}.profile-card{position:relative;padding:28px;border:1px solid var(--line);border-radius:24px;background:radial-gradient(circle at 75% 15%,rgba(139,124,255,.16),transparent 34%),linear-gradient(145deg,rgba(17,23,34,.92),rgba(8,11,17,.94));box-shadow:0 30px 90px rgba(0,0,0,.24);overflow:hidden}.profile-card::after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(139,124,255,.10);border-radius:50%;right:-110px;bottom:-110px}.profile-top{display:flex;justify-content:space-between;gap:20px;align-items:center;color:#7F899C;font-size:9px;letter-spacing:.16em}.profile-status{display:inline-flex;align-items:center;gap:7px;color:#9CA5B5}.profile-status i{width:6px;height:6px;border-radius:50%;background:var(--violet);box-shadow:0 0 12px rgba(139,124,255,.75)}.profile-core{display:flex;align-items:center;gap:18px;margin:46px 0 30px}.profile-monogram{width:72px;height:72px;display:grid;place-items:center;border:1px solid rgba(139,124,255,.35);border-radius:18px;background:rgba(139,124,255,.08);font:600 28px/1 "Space Grotesk";letter-spacing:-.08em;box-shadow:inset 0 0 35px rgba(139,124,255,.08)}.profile-core strong{display:block;font:600 19px/1.2 "Space Grotesk"}.profile-core span{display:block;margin-top:7px;color:#7F899C;font-size:11px}.profile-divider{height:1px;background:var(--line);margin-bottom:6px}.profile-row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:11px}.profile-row span{color:#697386}.profile-row strong{color:#C4CAD5;font-weight:500}.profile-stack{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}.profile-stack span{border:1px solid rgba(255,255,255,.09);border-radius:999px;padding:7px 9px;color:#AAB2C0;background:rgba(255,255,255,.025);font-size:9px}.about-caption{color:#AAB1BF;font:500 15px "Space Grotesk";margin-top:15px}.contact{padding:130px 0 170px;justify-content:space-between;min-height:88vh}.contact-copy{max-width:620px}.contact-note{font:500 16px "Space Grotesk";color:#9CA5B5;display:flex;gap:12px;align-items:center}.contact-note span:nth-child(2){color:var(--violet)}.site-footer{position:relative;z-index:3;width:min(var(--max),calc(100% - 48px));margin:0 auto;padding:22px 0 32px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr 1fr;color:#697386;font-size:10px}.site-footer div{justify-self:end;display:flex;gap:18px}.site-footer a:hover{color:var(--text)}
@media(max-width:900px){.site-header{grid-template-columns:1fr auto}.main-nav{display:none}.section{width:min(100% - 32px,720px);min-height:auto;padding-top:120px;padding-bottom:120px}.hero{min-height:100svh;padding-top:110px}.hero-copy{width:100%}.hero-note{display:none}.scroll-cue{right:0;bottom:6%}.projects,.technologies,.about,.contact{display:block}.section-intro{position:static;margin-bottom:42px}.featured-project{grid-template-columns:1fr;min-height:0}.featured-project-visual{min-height:560px}.featured-project-content{padding:38px 28px}.secondary-projects{grid-template-columns:1fr}.tech-stage{min-height:520px}.tech-orbit{width:min(620px,90vw)}.about-panel{width:100%;margin-top:50px}.contact-note{margin-top:60px}.site-footer{grid-template-columns:1fr;gap:12px}.site-footer div{justify-self:start}}
@media(max-width:560px){.site-header{width:calc(100% - 32px);height:72px}.cv-button{padding:9px 12px}.header-actions{gap:9px}h1{font-size:clamp(52px,16vw,74px)}.hero-lead{font-size:14px}.featured-project-visual{min-height:450px}.phone-device{width:205px;height:420px}.featured-project-content h3{font-size:48px}.project-actions .button{width:100%;justify-content:center}.tech-node{font-size:8px}.tech-node img{width:25px;height:25px}.tech-center{inset:36%}.profile-card{padding:22px}.profile-top{align-items:flex-start}.profile-row{flex-direction:column;gap:5px}}

/* V3.4 — cinematic futuristic office home */
.office-hero{min-height:100svh;padding-top:84px;overflow:hidden;display:block;position:relative}
.office-welcome{position:absolute;left:50%;top:14%;transform:translateX(-50%);z-index:5;text-align:center;display:grid;gap:8px;pointer-events:none;text-shadow:0 2px 22px rgba(0,0,0,.72)}
.office-kicker{font-size:10px;letter-spacing:.34em;color:#AEB8CA}
.office-welcome strong{font:500 clamp(22px,2.5vw,36px)/1 "Space Grotesk";letter-spacing:.18em;color:#F4F6FB}
.office-sub{font-size:8px;letter-spacing:.18em;color:#7F899C}
.office-card{position:absolute;z-index:6;width:260px;min-height:102px;padding:20px 18px;display:grid;grid-template-columns:42px 1fr 20px;align-items:center;gap:13px;border:1px solid rgba(70,76,102,.34);border-radius:16px;background:linear-gradient(135deg,rgba(8,12,21,.78),rgba(12,15,26,.58));backdrop-filter:blur(16px);box-shadow:0 18px 55px rgba(0,0,0,.30),inset 0 0 28px rgba(139,124,255,.045);transition:transform .35s ease,border-color .35s ease,background .35s ease}
.office-card:hover{transform:translateY(-5px);border-color:rgba(139,124,255,.62);background:linear-gradient(135deg,rgba(36,41,70,.72),rgba(10,14,23,.46))}
.office-card strong{display:block;font:500 13px "Space Grotesk";letter-spacing:.14em;color:#F1F3F8}
.office-card small{display:block;margin-top:6px;color:#9DA7B8;font-size:10px;line-height:1.4}
.office-card>a{font-size:16px;color:#B9AEFF;text-align:right}
.office-card-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(139,124,255,.38);border-radius:12px;background:rgba(139,124,255,.08);color:#B8AEFF;font:500 13px "Space Grotesk";box-shadow:0 0 25px rgba(139,124,255,.10)}
.office-card--projects{left:7%;top:30%}.office-card--technologies{left:9%;top:57%}.office-card--about{right:7%;top:30%}.office-card--contact{right:9%;top:57%}
.office-side-note{position:absolute;z-index:5;display:grid;gap:9px;color:#768195;font-size:9px;letter-spacing:.26em;line-height:1.1}.office-side-note::before{content:"";width:34px;height:1px;background:rgba(139,124,255,.7);margin-bottom:5px}.office-side-note--left{left:3%;top:39%}.office-side-note--right{right:3%;top:46%;text-align:right}.office-side-note--right::before{justify-self:end}
.office-scroll{position:absolute;z-index:7;left:50%;bottom:7%;transform:translateX(-50%);display:flex;align-items:center;gap:11px;color:#788397;font-size:9px;text-transform:uppercase;letter-spacing:.18em}.office-scroll .scroll-icon{width:20px;height:34px}
@media(max-width:900px){.office-card{width:220px;min-height:88px;padding:15px}.office-card--projects{left:2%;top:28%}.office-card--technologies{left:2%;top:58%}.office-card--about{right:2%;top:28%}.office-card--contact{right:2%;top:58%}.office-side-note{display:none}.office-welcome{top:15%}}
@media(max-width:560px){.office-welcome{top:16%}.office-welcome strong{font-size:21px}.office-card{width:180px;grid-template-columns:32px 1fr 14px;gap:8px;padding:12px;border-radius:12px}.office-card-icon{width:32px;height:32px;border-radius:9px}.office-card strong{font-size:10px}.office-card small{font-size:8px}.office-card--projects{left:3%;top:30%}.office-card--technologies{left:3%;top:57%}.office-card--about{right:3%;top:30%}.office-card--contact{right:3%;top:57%}}

/* =========================================================
   PHASE 1 — HOME ONLY
   The 3D room is the environment. UI stays in the free
   architectural area and does not cover the panoramic window.
   ========================================================= */

.home-section {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

.home-identity {
  position: absolute;
  z-index: 6;
  left: clamp(32px, 4vw, 72px);
  top: 50%;
  width: min(520px, 34vw);
  transform: translateY(-50%);
  color: #f8f9fc;
  text-shadow: 0 3px 26px rgba(4, 6, 14, .42);
}

.home-eyebrow {
  margin: 0 0 22px;
  color: #e2e5ee;
  font: 600 10px/1 Inter, system-ui, sans-serif;
  letter-spacing: .30em;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

.home-identity h1 {
  margin: 0;
  color: #f7f8fc;
  font: 600 clamp(64px, 6.8vw, 116px)/.86 "Space Grotesk", sans-serif;
  letter-spacing: -.075em;
  text-shadow:
    0 4px 30px rgba(0,0,0,.34),
    0 0 48px rgba(139,124,255,.18);
}

.home-identity h1 span {
  color: #a99cff;
}

.home-description {
  max-width: 390px;
  margin: 28px 0 0;
  color: #eef0f6;
  font: 400 14px/1.65 Inter, system-ui, sans-serif;
  text-shadow: 0 2px 15px rgba(0,0,0,.58);
}

.home-cards {
  position: absolute;
  z-index: 7;
  top: 50%;
  right: clamp(28px, 4.2vw, 76px);
  width: min(320px, 25vw);
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-card {
  position: relative;
  min-height: 104px;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  grid-template-rows: auto 1fr;
  column-gap: 13px;
  align-items: start;
  border: 1px solid rgba(214, 217, 255, .24);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(7, 10, 22, .88), rgba(24, 25, 52, .72));
  box-shadow: 0 18px 50px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f7f8fc;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.home-card:hover {
  transform: translateX(-6px);
  border-color: rgba(169,156,255,.72);
  background: linear-gradient(135deg, rgba(17, 19, 43, .94), rgba(35, 34, 67, .80));
  box-shadow: 0 24px 62px rgba(0,0,0,.38), 0 0 32px rgba(139,124,255,.11), inset 0 1px 0 rgba(255,255,255,.14);
}

.home-card__number {
  color: #b3a9ff;
  font: 600 9px/1 Inter, system-ui, sans-serif;
  letter-spacing: .10em;
}

.home-card__content {
  min-width: 0;
}

.home-card__label {
  display: block;
  margin: 0 0 8px;
  color: #c8ccda;
  font: 500 8px/1.25 Inter, system-ui, sans-serif;
  letter-spacing: .13em;
  white-space: nowrap;
}

.home-card h2 {
  margin: 0;
  color: #ffffff;
  font: 500 clamp(22px, 1.75vw, 28px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}

.home-card__arrow {
  justify-self: end;
  color: #b9afff;
  font-size: 17px;
  line-height: 1;
}

.home-card::after {
  content: "";
  grid-column: 2 / 4;
  align-self: end;
  width: 100%;
  height: 1px;
  margin-top: 15px;
  background: linear-gradient(90deg, rgba(169,156,255,.45), rgba(255,255,255,.06));
}

/* Header: no repeated section navigation on Home. */
.site-header {
  grid-template-columns: 1fr auto;
}

.main-nav {
  display: none;
}

@media (max-width: 1050px) {
  .home-identity {
    width: min(430px, 38vw);
  }

  .home-cards {
    width: min(300px, 29vw);
    right: 3vw;
  }

  .home-card {
    min-height: 96px;
  }
}

@media (max-width: 760px) {
  .home-identity {
    left: 28px;
    top: 31%;
    width: min(430px, calc(100% - 56px));
    transform: translateY(-50%);
  }

  .home-identity h1 {
    font-size: clamp(58px, 15vw, 82px);
  }

  .home-description {
    font-size: 13px;
  }

  .home-cards {
    top: auto;
    right: 28px;
    bottom: 30px;
    width: min(430px, calc(100% - 56px));
    transform: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .home-card {
    min-height: 92px;
    padding: 15px;
    grid-template-columns: 24px 1fr 16px;
    column-gap: 9px;
  }

  .home-card__label {
    font-size: 7px;
  }

  .home-card h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .home-identity {
    top: 27%;
  }

  .home-cards {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .home-card {
    min-height: 70px;
  }

  .home-card::after {
    display: none;
  }
}

/* =========================================================
   MOBILE COMMAND MENU
   ========================================================= */

/* Hidden by default — desktop keeps the existing navigation */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}


/* =========================================================
   MOBILE — <= 560px
   ========================================================= */

@media (max-width: 560px) {

  /* -----------------------------------------
     HEADER
     ----------------------------------------- */

  .site-header {
    width: calc(100% - 32px);
    height: 72px;
  }

  /* Keep only LF + MENU on mobile */
  .site-header .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    position: relative;
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 9px;

    min-height: 38px;
    padding: 0 13px;

    border: 1px solid rgba(157, 140, 255, 0.28);
    border-radius: 999px;

    background: rgba(8, 10, 16, 0.58);
    color: #f5f5f7;

    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;

    cursor: pointer;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition:
      border-color 0.3s ease,
      background 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    border-color: rgba(157, 140, 255, 0.55);
    background: rgba(12, 14, 22, 0.78);
  }

  .mobile-menu-toggle:active {
    transform: scale(0.96);
  }

  .mobile-menu-toggle__indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;

    background: #9d8cff;

    box-shadow:
      0 0 8px rgba(157, 140, 255, 0.8),
      0 0 18px rgba(157, 140, 255, 0.35);
  }

  .mobile-menu-toggle__text {
    line-height: 1;
  }


  /* -----------------------------------------
     MOBILE MENU CONTAINER
     ----------------------------------------- */

  .mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 100;

    display: block;

    visibility: hidden;
    pointer-events: none;

    overflow: hidden;
  }

  .mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
  }


  /* -----------------------------------------
     BACKDROP
     ----------------------------------------- */

  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 3, 7, 0.72);

    opacity: 0;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    transition: opacity 0.35s ease;
  }

  .mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
  }


  /* -----------------------------------------
     MENU PANEL
     ----------------------------------------- */

  .mobile-menu__panel {
    position: absolute;

    top: 12px;
    right: 12px;
    bottom: 12px;

    width: min(88vw, 390px);

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid rgba(157, 140, 255, 0.22);
    border-radius: 24px;

    background:
      linear-gradient(
        145deg,
        rgba(16, 18, 26, 0.97),
        rgba(7, 9, 14, 0.98)
      );

    box-shadow:
      -20px 0 60px rgba(0, 0, 0, 0.35),
      0 30px 80px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);

    transform: translateX(calc(100% + 30px));

    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
  }


  /* -----------------------------------------
     PANEL HEADER
     ----------------------------------------- */

  .mobile-menu__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mobile-menu__title {
    display: block;

    color: #f5f5f7;

    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
  }

  .mobile-menu__status {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 7px;

    color: #777d89;

    font-family: "Inter", sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.16em;
  }

  .mobile-menu__status-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #9d8cff;

    box-shadow:
      0 0 8px rgba(157, 140, 255, 0.85);
  }


  /* -----------------------------------------
     CLOSE BUTTON
     ----------------------------------------- */

  .mobile-menu__close {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.025);

    color: #f5f5f7;

    font-family: "Inter", sans-serif;
    font-size: 23px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
      border-color 0.25s ease,
      background 0.25s ease,
      transform 0.25s ease;
  }

  .mobile-menu__close:hover {
    border-color: rgba(157, 140, 255, 0.4);
    background: rgba(157, 140, 255, 0.08);
    transform: rotate(90deg);
  }


  /* -----------------------------------------
     NAVIGATION
     ----------------------------------------- */

  .mobile-menu__navigation {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding-top: 25px;

    overflow-y: auto;
  }

  .mobile-menu__label {
    margin-bottom: 12px;

    color: #676d79;

    font-family: "Inter", sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
  }


  /* -----------------------------------------
     NAVIGATION LINKS
     ----------------------------------------- */

  .mobile-menu__link {
    position: relative;

    display: grid;
    grid-template-columns: 28px 1fr 20px;
    align-items: center;
    column-gap: 12px;

    min-height: 72px;

    padding: 10px 4px;

    border-top: 1px solid rgba(255, 255, 255, 0.065);

    color: inherit;
    text-decoration: none;

    transition:
      padding 0.3s ease,
      background 0.3s ease;
  }

  .mobile-menu__link:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .mobile-menu__link::before {
    content: "";

    position: absolute;

    left: -22px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: #9d8cff;

    transform: scaleY(0);
    transform-origin: center;

    transition: transform 0.3s ease;
  }

  .mobile-menu__link:hover {
    padding-left: 10px;

    background:
      linear-gradient(
        90deg,
        rgba(157, 140, 255, 0.07),
        transparent
      );
  }

  .mobile-menu__link:hover::before {
    transform: scaleY(1);
  }


  /* -----------------------------------------
     LINK NUMBER
     ----------------------------------------- */

  .mobile-menu__number {
    color: #727887;

    font-family: "Space Grotesk", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }


  /* -----------------------------------------
     LINK CONTENT
     ----------------------------------------- */

  .mobile-menu__link-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-menu__link-title {
    color: #f5f5f7;

    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .mobile-menu__link-description {
    color: #707682;

    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.03em;
  }


  /* -----------------------------------------
     LINK ARROW
     ----------------------------------------- */

  .mobile-menu__arrow {
    color: #9d8cff;

    font-size: 17px;

    transform: translateX(0);

    transition: transform 0.3s ease;
  }

  .mobile-menu__link:hover .mobile-menu__arrow {
    transform: translate(4px, -4px);
  }


  /* -----------------------------------------
     FOOTER
     ----------------------------------------- */

  .mobile-menu__footer {
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mobile-menu__footer-row {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;
  }

  .mobile-menu__footer-label {
    margin-right: auto;

    color: #676d79;

    font-family: "Inter", sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.16em;
  }

  .mobile-menu__language {
    color: #707682;

    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;

    text-decoration: none;

    transition: color 0.25s ease;
  }

  .mobile-menu__language:hover,
  .mobile-menu__language--active {
    color: #f5f5f7;
  }

  .mobile-menu__language-separator {
    color: #3d414b;
    font-size: 10px;
  }


  /* -----------------------------------------
     CV
     ----------------------------------------- */

  .mobile-menu__cv {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 12px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);

    color: #dfe1e7;

    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;

    text-decoration: none;

    transition:
      color 0.25s ease,
      padding 0.25s ease;
  }

  .mobile-menu__cv:hover {
    padding-left: 5px;
    color: #9d8cff;
  }


  /* -----------------------------------------
     CONNECTION STATUS
     ----------------------------------------- */

  .mobile-menu__connection {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 16px;

    color: #555b67;

    font-family: "Inter", sans-serif;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0.15em;
  }

  .mobile-menu__connection-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #6ed6ff;

    box-shadow:
      0 0 7px rgba(110, 214, 255, 0.8);
  }


  /* -----------------------------------------
     HOME CARDS
     ----------------------------------------- */

  /*
   * On very small screens the four desktop cards
   * are replaced by the command menu.
   */

  .home-cards {
    display: none;
  }


  /* -----------------------------------------
     HOME IDENTITY
     ----------------------------------------- */

  .home-identity {
    left: 20px;
    width: calc(100% - 40px);
  }


  /* -----------------------------------------
     REDUCED MOTION
     ----------------------------------------- */

  .mobile-menu.reduced-motion .mobile-menu__panel,
  .mobile-menu.reduced-motion .mobile-menu__backdrop {
    transition: none;
  }

}

/* =========================================================
   GLOBAL PAGE TRANSITION
   ========================================================= */

.page-transition {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at center,
      rgba(47, 35, 110, 0.24),
      rgba(6, 7, 8, 0.98) 58%,
      #060708 100%
    );

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  overflow: hidden;

  transition:
    opacity 0.42s ease,
    visibility 0.42s ease;
}


/* ---------------------------------------------------------
   ACTIVE STATE
   --------------------------------------------------------- */

.page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* ---------------------------------------------------------
   CENTRAL LF CORE
   --------------------------------------------------------- */

.page-transition__core {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 74px;
  height: 74px;

  border: 1px solid
    rgba(157, 140, 255, 0.55);

  border-radius: 50%;

  background:
    rgba(11, 13, 17, 0.64);

  backdrop-filter:
    blur(16px);

  box-shadow:
    0 0 0 1px
      rgba(157, 140, 255, 0.05),

    0 0 40px
      rgba(157, 140, 255, 0.16),

    inset 0 0 30px
      rgba(157, 140, 255, 0.06);

  transform:
    scale(0.72);

  opacity: 0;

  transition:
    transform 0.55s cubic-bezier(.16,1,.3,1),
    opacity 0.32s ease;
}

.page-transition.is-active
.page-transition__core {
  transform:
    scale(1);

  opacity: 1;
}


.page-transition__loader {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(157, 140, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(157, 140, 255, 0.12),
    inset 0 0 12px rgba(157, 140, 255, 0.08);
  animation: pageTransitionLoaderSpin 1.8s linear infinite;
}

.page-transition__loader::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(110, 214, 255, 0.18);
}

.page-transition__loader-dot {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9d8cff;
  box-shadow:
    0 0 10px rgba(157, 140, 255, 0.8),
    0 0 20px rgba(110, 214, 255, 0.35);
  transform: translateX(-50%);
}

@keyframes pageTransitionLoaderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ---------------------------------------------------------
   SCAN LINE
   --------------------------------------------------------- */

.page-transition__scan {
  position: absolute;

  left: -10%;
  right: -10%;

  top: 50%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(110, 214, 255, 0) 20%,
      rgba(110, 214, 255, 0.8) 50%,
      rgba(157, 140, 255, 0.65) 60%,
      rgba(110, 214, 255, 0) 80%,
      transparent 100%
    );

  box-shadow:
    0 0 24px
      rgba(110, 214, 255, 0.42);

  transform:
    scaleX(0);

  transform-origin:
    center;

  opacity: 0;
}

.page-transition.is-active
.page-transition__scan {
  animation:
    pageTransitionScan
    0.62s
    cubic-bezier(.16,1,.3,1)
    forwards;
}


@keyframes pageTransitionScan {

  0% {
    transform:
      scaleX(0);

    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  55% {
    transform:
      scaleX(1);

    opacity: 1;
  }

  100% {
    transform:
      scaleX(1.15);

    opacity: 0;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .page-transition {
    transition:
      opacity 0.2s ease;
  }

  .page-transition__core {
    transition:
      opacity 0.2s ease;
    transform: none;
  }

  .page-transition__scan {
    animation: none;
  }

}

/* =========================================================
   MOBILE LANDSCAPE
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

  .home-identity {
    left: 5%;
    top: 50%;
    width: 42%;
  }

  .home-identity h1 {
    font-size: clamp(46px, 8vw, 72px);
  }

  .home-description {
    max-width: 360px;
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.5;
  }
.home-cards {
  top: 50%;
  right: 3%;
  bottom: auto;
  width: 41%;
  transform: translateY(-50%);
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

 .home-card {
  min-height: 78px;
  padding: 12px 11px;
  grid-template-columns: 18px minmax(0, 1fr) 12px;
  column-gap: 6px;
}

  .home-card__label {
    font-size: 6px;
  }

.home-card h2 {
  font-size: clamp(15px, 2.1vw, 19px);
  white-space: nowrap;
}
  .home-card__arrow {
    font-size: 14px;
  }

  .home-card::after {
    margin-top: 10px;
  }

}