  :root{
    --bg: #07070c;
    --bg-2: #0b0b14;
    --panel: rgba(255,255,255,0.035);
    --panel-2: rgba(255,255,255,0.055);
    --panel-border: rgba(255,255,255,0.09);
    --text: #f1f2f9;
    --muted: #8d92ac;
    --muted-2: #5c6180;
    --blue: #6e8bff;
    --violet: #a479ff;
    --amber: #ffb454;
    --grad: linear-gradient(120deg, var(--blue), var(--violet));
    --grad-warm: linear-gradient(120deg, var(--amber), var(--violet));
    --radius: 20px;
    --maxw: 1180px;
  }
  *{margin:0; padding:0; box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x:hidden;
    position:relative;
  }
  ::selection{ background: var(--violet); color:#06070d; }

  h1,h2,h3,h4{ font-family:'Space Grotesk', sans-serif; letter-spacing:-0.02em; line-height:1.2; }
  .mono{ font-family:'JetBrains Mono', monospace; }
  a{ text-decoration:none; color:inherit; }
  ul{ list-style:none; }
  img{ max-width:100%; display:block; }
  svg{ display:block; }

  .wrap{ max-width: var(--maxw); margin:0 auto; padding:0 32px; }

  :focus-visible{ outline: 2px solid var(--blue); outline-offset:3px; border-radius:6px; }

  /* ---------- background atmosphere ---------- */
  .bg-field{
    position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none;
    background:
      radial-gradient(ellipse 900px 600px at 12% -5%, rgba(110,139,255,0.16), transparent 60%),
      radial-gradient(ellipse 800px 700px at 100% 10%, rgba(164,121,255,0.14), transparent 60%),
      radial-gradient(ellipse 600px 500px at 40% 105%, rgba(255,180,84,0.06), transparent 60%),
      var(--bg);
  }
  .grid-overlay{
    position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:0.35;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 20%, transparent 75%);
  }
  .noise{
    position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:0.03;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  /* ---------- glass utility ---------- */
  .glass{
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .glow-border{ position:relative; }
  .glow-border::before{
    content:''; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
    background: linear-gradient(135deg, rgba(110,139,255,0.5), rgba(164,121,255,0.1), rgba(110,139,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity:0; transition: opacity .4s ease; pointer-events:none;
  }
  .glow-border:hover::before{ opacity:1; }

  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'JetBrains Mono', monospace; font-size:12.5px; letter-spacing:0.12em;
    text-transform:uppercase; color: var(--blue);
  }
  .eyebrow::before{ content:''; width:6px; height:6px; border-radius:50%; background: var(--grad); box-shadow:0 0 12px var(--blue); }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding: 14px 28px; border-radius: 100px; font-weight:600; font-size:15px;
    cursor:pointer; border:1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background: var(--grad); color:#06070d;
    box-shadow: 0 8px 30px -8px rgba(110,139,255,0.55);
  }
  .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 36px -6px rgba(110,139,255,0.7); }
  .btn-ghost{
    background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--panel-border);
  }
  .btn-ghost:hover{ background: rgba(255,255,255,0.07); transform: translateY(-2px); border-color: rgba(110,139,255,0.4); }
  .btn:active{ transform: scale(0.96); }

  section{ position:relative; }
  .section-pad{ padding: 130px 0; }
  .section-head{ max-width: 640px; margin-bottom: 56px; }
  .section-head h2{ font-size: clamp(30px, 4vw, 46px); font-weight:600; margin-top:14px; line-height:1.15; }
  .section-head p{ color: var(--muted); margin-top:16px; font-size:16px; line-height:1.7; }

  .reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); }
  .reveal.in{ opacity:1; transform:none; }

  .icon{ width:22px; height:22px; stroke: currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

  /* ================= NAV ================= */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    padding: 18px 0; transition: background .35s ease, border-color .35s ease, padding .35s ease;
    border-bottom: 1px solid transparent;
  }
  header.scrolled{
    background: rgba(7,7,12,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,0.07); padding: 13px 0;
  }
  nav{ display:flex; align-items:center; justify-content:space-between; }
  .logo{ font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:19px; letter-spacing:-0.01em; display:flex; align-items:center; gap:10px;}
  .logo .dot{ width:9px; height:9px; border-radius:3px; background: var(--grad); box-shadow: 0 0 14px var(--blue); transform: rotate(45deg); }
  .nav-links{ display:flex; align-items:center; gap:36px; }
  .nav-links a{
    font-size:14.5px; color: var(--muted); font-weight:500; position:relative; padding: 4px 0; transition: color .25s ease;
  }
  .nav-links a::after{
    content:''; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background: var(--grad); transition: width .3s ease;
  }
  .nav-links a:hover{ color: var(--text); }
  .nav-links a:hover::after{ width:100%; }
  .nav-right{ display:flex; align-items:center; gap:18px; }
  .nav-links a.active{ color: var(--text); }
  .nav-links a.active::after{ width:100%; }
  .burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:200; width:26px; background:none; border:none; padding:10px; margin:-10px -10px -10px 0; box-sizing:content-box; }
  .burger span{ height:2px; width:100%; background: var(--text); border-radius:2px; transition: all .3s ease; }
  .burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2){ opacity:0; }
  .burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu{
    position:fixed; inset:0; z-index:150; background: rgba(7,7,12,0.98); backdrop-filter: blur(20px);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:30px;
    opacity:0; pointer-events:none; transition: opacity .4s ease;
  }
  .mobile-menu.open{ opacity:1; pointer-events:all; }
  .mobile-menu a{ font-size:26px; font-family:'Space Grotesk',sans-serif; font-weight:500; color: var(--text); }
  .mobile-menu .btn{ margin-top:10px; }

  /* ================= HERO ================= */
  .hero{
    min-height:100vh; display:flex; align-items:center; padding-top:120px; padding-bottom:60px;
  }
  .hero::before{
    content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
    background: radial-gradient(560px circle at var(--mx,50%) var(--my,15%), rgba(110,139,255,0.11), transparent 60%);
    transition: background .1s ease-out;
  }
  .hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns: 1.15fr 0.85fr; gap:60px; align-items:center; }
  .scroll-cue{
    position:absolute; bottom:16px; left:50%; transform:translateX(-50%); z-index:1;
    display:flex; flex-direction:column; align-items:center; gap:7px; color: var(--muted-2);
    font-size:11px; letter-spacing:0.14em; animation: cue-bounce 2.4s ease-in-out infinite;
  }
  .scroll-cue svg{ width:14px; height:14px; stroke: var(--muted-2); fill:none; stroke-width:1.6; }
  @keyframes cue-bounce{ 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,6px); } }
  .hero-left .eyebrow{ margin-bottom:22px; }
  .hero h1{
    font-size: clamp(38px, 5.4vw, 68px); font-weight:600; line-height:1.08; letter-spacing:-0.03em;
  }
  .hero h1 .accent{
    background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero-sub{ margin-top:26px; font-size:17px; line-height:1.75; color: var(--muted); max-width:490px; }
  .hero-actions{ display:flex; align-items:center; gap:16px; margin-top:38px; flex-wrap:wrap; }
  .hero-meta{ display:flex; align-items:center; gap:22px; margin-top:36px; flex-wrap:wrap; }
  .availability{
    display:inline-flex; align-items:center; gap:9px; font-size:13.5px; color: var(--muted);
    font-family:'JetBrains Mono', monospace;
  }
  .pulse-dot{ width:8px; height:8px; border-radius:50%; background:#43e97b; box-shadow:0 0 0 rgba(67,233,123,0.6); animation: pulse 2s infinite; flex-shrink:0; }
  @keyframes pulse{
    0%{ box-shadow:0 0 0 0 rgba(67,233,123,0.55); }
    70%{ box-shadow:0 0 0 9px rgba(67,233,123,0); }
    100%{ box-shadow:0 0 0 0 rgba(67,233,123,0); }
  }
  .currently-badge{
    display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 6px; border-radius:100px;
    font-size:13px; color: var(--text);
  }
  .currently-badge .cb-dot{ width:22px; height:22px; border-radius:50%; background: var(--grad-warm); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:#06070d; font-family:'Space Grotesk',sans-serif; }
  .currently-badge b{ font-weight:600; }

  /* hero visual */
  .hero-visual{ position:relative; height:480px; }
  .visual-card{ position:absolute; inset:0; border-radius: 28px; overflow:hidden; }
  #heroCanvas{ position:absolute; inset:0; width:100%; height:100%; }
  .visual-frame{
    position:absolute; inset:0; border-radius:28px; border:1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 60px rgba(110,139,255,0.06);
  }
  .chip-row{ display:contents; }
  .float-chip{
    position:absolute; padding:10px 16px; border-radius:14px; font-family:'JetBrains Mono', monospace; font-size:12.5px;
    display:flex; align-items:center; gap:8px; animation: floaty 6s ease-in-out infinite;
  }
  .float-chip span.tag{ color: var(--blue); }
  .chip-1{ top:8%; left:2%; animation-delay:0s; }
  .chip-2{ bottom:16%; right:0%; animation-delay:1.2s; }
  .chip-3{ top:44%; right:8%; animation-delay:2.4s; }
  @keyframes floaty{
    0%,100%{ transform: translateY(0px); }
    50%{ transform: translateY(-14px); }
  }

  /* ================= MARQUEE (signature strip) ================= */
  .marquee-sec{ padding: 34px 0; border-top:1px solid var(--panel-border); border-bottom:1px solid var(--panel-border); overflow:hidden; }
  .marquee-track{ display:flex; width:max-content; animation: scroll-left 32s linear infinite; }
  .marquee-track span{
    font-family:'Space Grotesk',sans-serif; font-size:22px; font-weight:500; color: var(--muted-2);
    padding: 0 34px; display:flex; align-items:center; gap:34px; white-space:nowrap; letter-spacing:-0.01em;
  }
  .marquee-track span i{ font-style:normal; width:6px; height:6px; border-radius:50%; background: var(--grad); display:inline-block; opacity:.7; }
  .marquee-track span b{ color: var(--text); font-weight:600; }
  @keyframes scroll-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; overflow-x:auto; } }

  /* ================= ABOUT ================= */
  .about-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap:70px; align-items:flex-start; }
  .about-copy p{ color: var(--muted); font-size:16px; line-height:1.85; margin-bottom:18px; }
  .about-copy p strong{ color: var(--text); font-weight:600; }
  .about-highlights{ display:flex; flex-direction:column; gap:16px; }
  .hl-card{ padding:24px 26px; display:flex; gap:18px; align-items:flex-start; }
  .hl-icon{ width:42px; height:42px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
    background: linear-gradient(145deg, rgba(110,139,255,0.16), rgba(164,121,255,0.10)); color: var(--blue); }
  .hl-card h4{ font-size:16.5px; font-weight:600; margin-bottom:6px; }
  .hl-card p{ color: var(--muted); font-size:14px; line-height:1.6; }

  /* ================= SKILLS ================= */
  .skills-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; align-items:start; }
  .skill-card{
    padding: 32px 28px; transition: transform .35s ease, border-color .35s ease, background .35s ease;
    position:relative; overflow:hidden; display:flex; flex-direction:column; text-align:left;
  }
  .skill-card:hover{ transform: translateY(-6px); border-color: rgba(110,139,255,0.35); background: rgba(255,255,255,0.055); }
  .skill-icon{ width:52px; height:52px; display:flex; align-items:center; justify-content:center; color: var(--blue);
    border-radius:14px; background: linear-gradient(145deg, rgba(110,139,255,0.16), rgba(164,121,255,0.10)); margin-bottom:20px; }
  .skill-card h4{ font-size:17.5px; font-weight:600; margin-bottom:8px; }
  .skill-card p{ color: var(--muted); font-size:14px; line-height:1.6; }

  /* ================= SERVICES ================= */
  .services-list{ display:flex; flex-direction:column; }
  .service-row{
    display:grid; grid-template-columns: 90px 1fr 130px; align-items:center; gap:30px;
    padding: 34px 8px; border-bottom:1px solid var(--panel-border); transition: padding-left .35s ease, background .35s ease;
    cursor:default;
  }
  .service-row:first-child{ border-top:1px solid var(--panel-border); }
  .service-row:hover{ padding-left:20px; background: rgba(255,255,255,0.025); }
  .service-num{ font-family:'JetBrains Mono',monospace; color: var(--muted-2); font-size:14px; }
  .service-body h3{ font-size:22px; font-weight:600; margin-bottom:8px; }
  .service-body p{ color: var(--muted); font-size:15px; line-height:1.65; max-width:560px; }
  .service-arrow{ justify-self:end; width:42px; height:42px; border-radius:50%; border:1px solid var(--panel-border);
    display:flex; align-items:center; justify-content:center; color: var(--muted); transition: all .3s ease; }
  .service-row:hover .service-arrow{ background: var(--grad); color:#06070d; border-color:transparent; transform: rotate(45deg); }

  /* ================= PROCESS ================= */
  .process-track{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; position:relative; align-items:start; }
  .process-track::before{
    content:''; position:absolute; top:26px; left:5%; right:5%; height:1px;
    background: linear-gradient(90deg, transparent, rgba(110,139,255,0.35), rgba(164,121,255,0.35), transparent);
  }
  .step{ position:relative; }
  .step-num{
    width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-family:'JetBrains Mono',monospace; font-size:14px; margin-bottom:22px; position:relative; z-index:2;
    background: var(--bg-2); border:1px solid var(--panel-border);
  }
  .step:hover .step-num{ border-color: var(--blue); box-shadow: 0 0 20px rgba(110,139,255,0.35); color: var(--blue); }
  .step h4{ font-size:17px; font-weight:600; margin-bottom:8px; }
  .step p{ color: var(--muted); font-size:14px; line-height:1.6; }

  /* ================= PROJECTS ================= */
  .projects-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:28px; align-items:stretch; }
  .project-card{ overflow:hidden; position:relative; display:flex; flex-direction:column; }
  .project-media{
    height:240px; position:relative; overflow:hidden; border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #10142a, #171225);
  }
  .project-media .mesh{
    position:absolute; inset:0;
    background: radial-gradient(circle at 30% 20%, rgba(110,139,255,0.35), transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(164,121,255,0.3), transparent 55%);
    transition: transform .6s ease;
  }
  .project-card:hover .mesh{ transform: scale(1.15); }
  .project-tag{
    position:absolute; top:18px; left:18px; padding:6px 14px; border-radius:100px; font-size:11.5px;
    font-family:'JetBrains Mono',monospace; background: rgba(7,7,12,0.6); border:1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
  }
  .project-mono{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    font-family:'JetBrains Mono',monospace; font-size:13px; color: rgba(255,255,255,0.3); letter-spacing:0.05em; text-align:center; padding:0 20px;}
  .project-body{ padding: 28px 28px 30px; display:flex; flex-direction:column; flex:1; }
  .project-body h3{ font-size:21px; font-weight:600; margin-bottom:10px; }
  .project-body p{ color: var(--muted); font-size:14.5px; line-height:1.65; margin-bottom:16px; }
  .project-points{ list-style:none; margin-bottom:22px; display:flex; flex-direction:column; gap:8px; }
  .project-points li{ font-size:13.5px; color: var(--muted); display:flex; gap:9px; align-items:flex-start; }
  .project-points li::before{ content:''; width:5px; height:5px; border-radius:50%; background: var(--grad); margin-top:7px; flex-shrink:0; }
  .project-card{ transition: transform .4s ease, box-shadow .4s ease; }
  .project-card:hover{ transform: translateY(-8px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6); }
  .link-btn{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color: var(--blue); margin-top:auto; }
  .link-btn .arrow{ transition: transform .3s ease; }
  .project-card:hover .link-btn .arrow{ transform: translate(4px,-4px); }

  /* ================= EXPERIENCE ================= */
  .exp-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; }
  .exp-badge{ display:inline-block; padding:8px 18px; border-radius:100px; font-size:13px; font-family:'JetBrains Mono',monospace; color: var(--violet); margin-bottom:18px; }
  .exp-title{ font-size: clamp(26px,3.4vw,36px); font-weight:600; line-height:1.2; margin-bottom:20px; }
  .exp-areas{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
  .area-pill{ padding:9px 18px; border-radius:100px; font-size:13.5px; color: var(--muted); }
  .exp-note{ color: var(--muted); font-size:15px; line-height:1.75; }
  .exp-visual{ padding:40px; display:flex; flex-direction:column; gap:22px; }
  .exp-stat{ display:flex; align-items:center; gap:14px; padding-bottom:20px; border-bottom:1px solid var(--panel-border); }
  .exp-stat:last-child{ border-bottom:none; padding-bottom:0; }
  .exp-stat .num{ font-family:'Space Grotesk',sans-serif; font-size:34px; font-weight:600; background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .exp-stat .label{ color: var(--muted); font-size:14px; }

  /* ================= WHY ================= */
  .why-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; align-items:start; }
  .why-card{ padding:30px 24px; text-align:left; display:flex; flex-direction:column; }
  .why-icon{ width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; color: var(--amber);
    background: linear-gradient(145deg, rgba(255,180,84,0.16), rgba(164,121,255,0.10)); margin-bottom:18px; }
  .why-card h4{ font-size:16px; font-weight:600; margin-bottom:8px; }
  .why-card p{ color: var(--muted); font-size:13.5px; line-height:1.6; }

  /* ================= CONTACT ================= */
  .contact-panel{ padding: 70px 60px; text-align:center; position:relative; overflow:hidden; }
  .contact-panel::before{
    content:''; position:absolute; inset:0;
    background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(110,139,255,0.15), transparent 70%);
    pointer-events:none;
  }
  .contact-panel h2{ font-size: clamp(30px,4.6vw,50px); font-weight:600; line-height:1.15; max-width:700px; margin:0 auto; }
  .contact-panel > p{ color: var(--muted); font-size:17px; margin: 20px auto 40px; max-width:500px; }
  .contact-actions{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin-bottom:40px; }
  .contact-details{ display:flex; justify-content:center; gap:34px; flex-wrap:wrap; font-family:'JetBrains Mono',monospace; font-size:14px; color: var(--muted); position:relative; }
  .contact-details a{ color: var(--text); transition:color .25s ease; }
  .contact-details a:hover{ color: var(--blue); }

  /* ================= FOOTER ================= */
  footer{ padding: 60px 0 34px; border-top:1px solid var(--panel-border); }
  .footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:36px; margin-bottom:44px; }
  .footer-brand p{ color: var(--muted); font-size:14px; margin-top:10px; max-width:320px; line-height:1.6; }
  .footer-links{ display:flex; gap:30px; flex-wrap:wrap; }
  .footer-links a{ color: var(--muted); font-size:14px; transition:color .25s ease; }
  .footer-links a:hover{ color: var(--text); }
  .footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
    padding-top:26px; border-top:1px solid var(--panel-border); color: var(--muted-2); font-size:13px; }

  /* ================= FINAL CTA ================= */
  .final-cta{ padding: 140px 0; text-align:center; }
  .final-cta h2{ font-size: clamp(30px,5.4vw,58px); font-weight:600; line-height:1.15; }
  .final-cta p{ color: var(--muted); font-size:16px; margin-top:18px; }
  .final-cta .btn{ margin-top:40px; padding:18px 40px; font-size:16px; }

  /* ---------- mobile sticky CTA ---------- */
  .mobile-cta{ display:none; }

  /* ---------- responsive ---------- */
  @media (max-width: 980px){
    .hero-grid{ grid-template-columns: 1fr; }
    .hero-visual{ height:340px; order:-1; }
    .about-grid{ grid-template-columns:1fr; gap:44px; }
    .skills-grid{ grid-template-columns: repeat(2,1fr); }
    .projects-grid{ grid-template-columns: 1fr; }
    .exp-wrap{ grid-template-columns:1fr; }
    .why-grid{ grid-template-columns: repeat(2,1fr); }
    .process-track{ grid-template-columns: repeat(2,1fr); row-gap:40px; }
    .process-track::before{ display:none; }
  }
  @media (max-width: 900px){
    .nav-links{ display:none; }
    .nav-right .btn{ display:none; }
    .burger{ display:flex; }
  }
  @media (max-width: 700px){
    .wrap{ padding:0 22px; }
    .section-pad{ padding: 76px 0; }
    .skills-grid{ grid-template-columns: 1fr; }
    .why-grid{ grid-template-columns: 1fr; }
    .service-row{ grid-template-columns: 34px 1fr; align-items:flex-start; gap:4px 14px; padding: 26px 4px; }
    .service-num{ padding-top:3px; }
    .service-arrow{ display:none; }
    .contact-panel{ padding: 40px 22px; }
    .footer-top{ flex-direction:column; }
    .contact-details{ flex-direction:column; gap:14px; }
    .hero-actions{ flex-direction:column; align-items:stretch; }
    .hero-actions .btn{ width:100%; }
    .marquee-track span{ font-size:16px; padding:0 18px; gap:18px; }
    .marquee-sec{ padding:22px 0; }

    /* hero: collapse absolute chip layout into a flowing row under the visual */
    .hero{ padding-top:104px; padding-bottom:36px; min-height:auto; }
    .hero-visual{ height:auto; order:-1; }
    .visual-card{ position:relative; height:220px; }
    .scroll-cue{ display:none; }
    .chip-row{
      display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:14px; position:static;
    }
    .float-chip{ position:static; animation:none; }
    .hero-meta{ flex-direction:column; align-items:flex-start; gap:14px; }

    /* mobile sticky contact bar */
    body{ padding-bottom:78px; }
    .mobile-cta{
      display:flex; gap:10px; position:fixed; left:0; right:0; bottom:0; z-index:130;
      padding:12px 16px calc(12px + env(safe-area-inset-bottom));
      background: rgba(7,7,12,0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
      border-top:1px solid var(--panel-border);
    }
    .mobile-cta a{ flex:1; padding:12px 10px; font-size:13.5px; }
  }
  @media (max-width: 420px){
    .wrap{ padding:0 18px; }
    .hero h1{ font-size: clamp(30px, 9vw, 38px); }
    .hero-sub{ font-size:15.5px; }
    .section-head h2{ font-size: clamp(25px, 7.5vw, 30px); }
    .contact-panel h2{ font-size: clamp(24px, 7.5vw, 32px); }
    .final-cta h2{ font-size: clamp(24px, 7.5vw, 34px); }
    .skill-card, .why-card, .hl-card{ padding-left:20px; padding-right:20px; }
    .currently-badge{ font-size:12px; }
    .process-track{ grid-template-columns: 1fr; row-gap:32px; }
  }
  @media (max-width: 340px){
    .wrap{ padding:0 14px; }
    .hero h1{ font-size: clamp(27px, 9.5vw, 34px); }
    .hero-sub{ font-size:14.5px; }
    .btn{ padding:12px 20px; font-size:14px; }
    .marquee-track span{ font-size:14px; padding:0 14px; gap:14px; }
    .mobile-cta a{ font-size:12.5px; padding:11px 6px; }
  }

  /* short / landscape phones — hero shouldn't force a tall forced-scroll viewport */
  @media (max-height: 520px) and (orientation: landscape){
    .hero{ min-height:auto; padding-top:96px; padding-bottom:28px; }
    .hero-visual{ height:200px; }
    .scroll-cue{ display:none; }
  }

  /* large desktop / wide monitors — a touch more breathing room, never wider than comfortable reading */
  @media (min-width: 1440px){
    :root{ --maxw: 1260px; }
    .hero-visual{ height:520px; }
  }
  @media (min-width: 1800px){
    :root{ --maxw: 1360px; }
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
    .reveal{ opacity:1; transform:none; }
  }
