:root{--brand:#FF6A3D;--bg:#0c0f16;--surface:#121722;--ink:#e8eefc;--muted:#9aa5b6;--ring:#243145;--glass:rgba(18,23,34,.55);--radius:22px;--shadow:0 30px 60px rgba(0,0,0,.25);--shadow-soft:0 18px 40px rgba(0,0,0,.12)}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}
.container{max-width:1200px;margin-inline:auto;padding-inline:20px}
.grid{display:grid;gap:24px}.grid-2{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr}.grid-hero{gap:48px}
@media(min-width:900px){.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-hero{grid-template-columns:1.05fr 1fr}}
.card{background:var(--surface);border:1px solid var(--ring);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-soft)}
.tag{display:inline-block;padding:.4rem .9rem;border:1px solid var(--ring);border-radius:999px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#c7d2fe}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.2rem;border-radius:16px;font-weight:600;border:1px solid var(--ring)}.btn-solid{background:var(--brand);color:#fff;box-shadow:0 8px 22px rgba(255,106,61,.35)}.btn-ghost{background:transparent;color:var(--ink)}
.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:#cbd5e1}
section{padding-block:72px}
/* header glass */
.site-header{position:sticky;top:0;z-index:40;border-bottom:1px solid var(--ring)}.site-header::before{content:"";position:absolute;inset:0;background:var(--glass);backdrop-filter:saturate(140%) blur(14px)}.site-header>.container{position:relative;z-index:1;height:64px;display:flex;align-items:center;justify-content:space-between; overflow-x: hidden;}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:700}.brand-badge{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff}
.nav{display:none;gap:24px}.nav a{color:#cbd5e1}.nav a:hover{color:#fff}.cta{display:none}@media(min-width:900px){.nav{display:flex}.cta{display:inline-flex}}
/* hero */
.hero-title{font-size:clamp(28px,3.5vw,40px);line-height:1.15;margin:8px 0 0}.hero-sub{color:#cbd5e1}
.hero-portrait{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:28px}.hero-portrait img{width:100%;height:100%;object-fit:cover}.hero-portrait::after{content:"";position:absolute;inset:0;background:linear-gradient(to top, rgba(12,15,22,.92), transparent 35%)}
.hero-name{position:absolute;left:1%;bottom:-16px;transform:translateX(-50%);width:160%;text-align:left;pointer-events:none;font-weight:900;letter-spacing:-.04em;color:rgba(255,255,255,.06);line-height:1}.hero-name span{font-size:clamp(14vw,16vw,18vw)}
/* work grid */
.work-grid{display:grid;gap:18px}.work-card{position:relative;overflow:hidden;border:1px solid var(--ring);border-radius:18px}.work-card img{height:240px;width:100%;object-fit:cover;transition:transform .35s ease}.work-card:hover img{transform:scale(1.03)}.work-card .overlay{position:absolute;inset:0;background:linear-gradient(to top, rgba(0,0,0,.55), transparent)}.work-card .meta{position:absolute;left:12px;right:12px;bottom:10px;display:flex;justify-content:space-between;color:#fff}
/* footer */
footer{border-top:1px solid var(--ring);padding:28px 0;color:#cbd5e1}
/* décor */
.glow{position:fixed;inset:0;pointer-events:none;z-index:-1}.glow::before{content:"";position:absolute;left:-160px;top:80px;width:420px;height:420px;border-radius:50%;filter:blur(80px);background:radial-gradient(closest-side, rgba(255,106,61,.22), transparent)}.glow::after{content:"";position:absolute;right:-100px;top:50%;width:380px;height:380px;border-radius:50%;filter:blur(90px);background:radial-gradient(closest-side, rgba(36,49,69,.7), transparent)}
@media (max-width: 899px){
  .hide-mobile { display: none !important; }
}


.hero-name {
  position: absolute;
  bottom: -10px;          /* tweak vertical */
  right: 0;
  left: auto;
  transform: none;
  width: 120%;
  text-align: right;
}

.card {
  background: rgba(255, 255, 255, 0.15);              /* semi-transparent glass color */
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px) saturate(140%);
  -webkit-backdrop-filter: blur(5px) saturate(140%); /* Safari support */
}

/* ============== RESUME SECTION (CLEAN) ============== */

/* Glass card */
.resume .card{
  background: rgba(18,23,34,.55);
  border: 1px solid var(--ring);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
}

/* ---------- TOP: Portrait + Intro ---------- */
.resume .resume-top{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-bottom:28px;
  align-items:stretch;
}
.resume .portrait{ overflow:hidden; }
.resume .portrait img{ width:100%; height:100%; object-fit:cover; border-radius:18px; }
.resume .intro .hello{
  margin:0 0 10px; font-size:clamp(36px,6vw,72px);
  font-weight:800; line-height:.9; text-transform:uppercase;
}
.resume .intro .hello span{ color:var(--brand); }
.resume .bio{ margin-bottom:18px; }
.resume .pills{ display:grid; gap:10px; }
.resume .pill{
  display:flex; align-items:center; justify-content:center;
  padding:.7rem 1rem; border-radius:999px;
  background:rgba(255,255,255,.06); border:1px solid var(--ring);
  font-size:14px;
}

/* ---------- GRID BELOW ---------- */
.resume .resume-cards{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;   /* mobile: stacked */
  margin-top:8px;
}

/* ---------- DESKTOP LAYOUT (no span on .exp; .soft spans 2) ---------- */
@media (min-width:900px){
  .resume .resume-top{ grid-template-columns:1fr 2fr; }

  .resume .resume-cards{
    --row: 220px;                          /* adjust 200–240 to taste */
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: var(--row);            /* equal heights per row */
    gap:16px;
    align-items:stretch;
  }
  
  .resume .card {
      max-height: 250px;
  }

  /* exact placement */
  .resume .edu   { grid-column:1;            grid-row:1; }
  .resume .exp   { grid-column:2;            grid-row:1; }          /* ← no span */
  .resume .skills{ grid-column:3;            grid-row:1; }
  .resume .soft  { grid-column:1 / span 2;   grid-row:2; }          /* ← spans 2 cols */
  .resume .lang  { grid-column:3;            grid-row:2; }

  /* make cards fill tracks */
  .resume .resume-cards .card{ height:100%; display:flex; flex-direction:column; overflow:hidden; }
}

/* ---------- Timeline (Experience) ---------- */
.resume .timeline{ position:relative; margin-left:20px; }
.resume .timeline::before{
  content:""; position:absolute; left:-16px; top:8px; bottom:8px; width:2px;
  background:rgb(253 51 51);
}
.resume .t-item{ position:relative; margin:10px 0; }
.resume .t-dot{
  position:absolute; left:-20px; top:5px;
  width:10px; height:10px; border-radius:50%;
  background:var(--brand);
}
.resume .t-year{ font-size:12px; color:var(--muted); }
.resume .t-role{ font-weight:700; }

/* ---------- Skills list ---------- */
.resume .skills ul{ margin:0; padding-left:18px; display:grid; gap:6px; }

/* ---------- Software Skills tiles (4 : 2) ---------- */
.resume .soft{ padding-bottom:14px; }
.resume .soft .apps{
  display:grid; gap:16px;
  grid-template-columns: 1fr 1fr;   /* mobile: 2-up */
  margin-top:12px;
}
@media (min-width:900px){
  .resume .soft .apps{ grid-template-columns: repeat(4, 1fr); }  /* desktop: 4-up */
}
.resume .soft .app{
  display:flex; align-items:center; gap:12px;
  padding:7px 8px;
  border-radius:10px; border:1px solid var(--ring);
  background:rgba(255,255,255,.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  transition: transform .15s ease;
}
.resume .soft .app:hover{ transform: translateY(-2px); }
.resume .soft .ic{
  width:30px; height:30px; flex:0 0 30px;
  display:grid; place-items:center; font-weight:800; color:#fff;
  border-radius:8px;
  background:linear-gradient(180deg, rgba(255,106,61,.22), rgba(255,106,61,.14));
  border:1px solid rgba(255,106,61,.45);
  font-size:12px;
}
.resume .soft .app-text{ line-height:1.1; }
.resume .soft .app-name{ font-weight:700; margin-bottom:2px; font-size:14px; }
.resume .soft .app-text span{ font-size:10px; color:var(--muted); display:block; }

/* ---- Top grid ---- */
.resume .resume-top{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  align-items:stretch;
}

/* Portrait: white card like reference */
.resume .portrait-card{
  background:#ffffff;
  color:#0c0f16;
  border:0;
  padding:0;                 /* image edges touch the radius */
  overflow:hidden;
}
.resume .portrait-card img{
  width:100%; height:100%; object-fit:cover; border-radius:18px;
}

/* Right card: glass stays per theme */
.resume .intro-card{ padding:24px; max-height:250px; }

/* HELLO! */
.resume .hello{
  margin:0 0 8px;
  font-weight:900;
  letter-spacing:-.02em;
  text-transform:uppercase;
  line-height:.9;
  font-size:clamp(48px, 8vw, 112px);
  color:#fff;
  display:flex; align-items:flex-start; gap:6px;
}
.resume .hello .bang{
  color:var(--brand);
  font-style:normal;
  position:relative;
  line-height:0.8;
}
.resume .hello .bang::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-16px;               /* orange dot under the exclamation */
  width:14px; height:14px;
  border-radius:50%;
  background:var(--brand);
}

/* Bio paragraph tone like screenshot */
.resume .hello-bio{
  color:#cbd5e1;
  margin:10px 0 18px;
}

/* Contact pills (2 × 2 on desktop) */
.resume .contact-grid{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;          /* mobile */
}
@media (min-width:900px){
  .resume .resume-top{ grid-template-columns: 1fr 2fr; gap:28px; }
  .resume .contact-grid{ grid-template-columns:1fr 1fr; }
  .resume .pills{
      display: flex;
  }
}

.resume .contact-pill{
  display:flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  background:var(--brand);
  color:#0c0f16;                       /* dark text on orange like ref */
  font-weight:600;
  border:1px solid rgba(0,0,0,.15);
  box-shadow:0 10px 22px rgba(255,106,61,.25);
  transition:transform .15s ease, filter .15s ease;
  text-align:center;
  white-space:nowrap;
}
.resume .contact-pill:hover{ transform:translateY(-1px); filter:brightness(.98); }
.resume .contact-pill:active{ transform:translateY(0); }

/*for animejs */
/* ---------- Mobile Hero (hidden ≥900px) ---------- */
.m-hero{
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px 18px 22px;
  margin: 14px 20px 0;
  border-radius: 28px;
  border: 1px solid var(--ring);
  background:
    radial-gradient(120px 120px at 8% 22%, rgba(255,106,61,.22), transparent 60%),
    radial-gradient(160px 160px at 88% 10%, rgba(36,49,69,.35), transparent 70%),
    linear-gradient(140deg, #121722 0%, #0c0f16 60%);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  overflow: hidden;
}
@media (min-width: 900px){ .m-hero{ display:none; } }  /* mobile only */

.m-hero__header{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--ring);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px) saturate(130%);
  width: fit-content;
}
.m-hero__logo{
  width: 26px; height: 26px; display:grid; place-items:center;
  border-radius: 999px; background: var(--brand); color: #fff;
  box-shadow: 0 8px 22px rgba(255,106,61,.45);
}
.m-hero__brand{ color:#e6edf8; letter-spacing:.1px; }

.m-hero__img{
  margin-top: 4px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.m-hero__img img{ width: 200px; height: auto; display:block; }

.m-hero__row{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.m-hero__pill{
  display:inline-block; padding: 8px 12px;
  border-radius: 999px; border: 1px solid var(--ring);
  background: rgba(255,255,255,.04);
  letter-spacing: .18em; font-size: 12px; color:#cbd5e1;
}
.m-hero__eyebrow{ font-size: 12px; letter-spacing: .22em; color:#cbd5e1; }

.m-hero__title{
  font-size: clamp(26px, 8.8vw, 36px);
  line-height: 1.05;
  margin: 2px 0 0;
  font-weight: 800;
}
.m-hero__title span{ color:#e9efff; }

.m-hero__desc{ color:#c7d3e0; line-height: 1.7; }

.m-hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; align-items:center; }
.m-hero .btn{ padding: 12px 16px; border-radius: 14px; }
.m-hero .btn-solid{ background: var(--brand); color:#fff; border-color: transparent;
  box-shadow: 0 16px 26px rgba(255,106,61,.35); }
.m-hero .btn-ghost{ background: transparent; color:#e6edf8; }
.btn-outline{
  display:inline-flex; align-items:center; gap:8px; padding: 12px 14px;
  border-radius: 14px; border:1px solid var(--ring); background: rgba(255,255,255,.03);
  color:#e6edf8;
}

.m-hero__resume{ margin-top: 4px; width: fit-content; }

.m-hero__word{
  position: absolute; left: 16px; right: 16px; 
  text-align: left; pointer-events:none; user-select:none;
  font-weight: 900; letter-spacing: -.04em;
  color: rgba(255,255,255,.06); line-height: .8;
  font-size: clamp(18vw, 22vw, 26vw);
  margin-top: 420px;
}

/* prevent accidental horizontal scroll on small screens */
html, body { overflow-x: clip; }

/* ===== Header: glass, animated, auto-hide ===== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--ring);
  transition: transform .28s ease;
}
.site-header::before{
  content:""; position:absolute; inset:0;
  background: rgba(18,23,34,.55);
  backdrop-filter: saturate(140%) blur(14px);
}
.site-header.site-header--hide{ transform: translateY(-100%) }

.site-bar{ position:relative; z-index:1; height:64px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{display:flex; align-items:center; gap:.6rem; font-weight:700}
.brand-badge{display:grid; place-items:center; width:34px; height:34px; border-radius:50%;
  background:var(--brand); color:#fff; box-shadow:0 10px 22px rgba(255,106,61,.35)}
/* Desktop nav */
.site-nav{ display:none; gap:24px; align-items:center }
.site-nav a{
  position:relative; color:#cbd5e1; padding:8px 2px;
}
.site-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:4px; height:2px;
  background: linear-gradient(90deg, var(--brand), #ffb89f);
  transition: right .25s ease;
}
.site-nav a:hover{ color:#fff }
.site-nav a:hover::after{ right:0 }

/* Mobile toggle (hamburger → X) */
.site-toggle{
  display:inline-grid; gap:5px; width:44px; height:40px;
  align-items:center; justify-items:center;
  border:1px solid var(--ring); border-radius:10px;
  background:rgba(255,255,255,.04); color:#e6edf8;
}
.site-toggle .bar{
  display:block; width:22px; height:2px; border-radius:2px;
  background:#e6edf8; transition: transform .25s ease, opacity .2s ease;
}
.site-header.is-open .site-toggle .bar:nth-child(1){ transform: translateY(7px) rotate(45deg) }
.site-header.is-open .site-toggle .bar:nth-child(2){ opacity:0 }
.site-header.is-open .site-toggle .bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg) }

/* Mobile menu panel (inline under header) */
.site-menu{
  position:absolute; left:0; right:0; top:64px; z-index:90;
  border-bottom:1px solid var(--ring);
  background: rgba(18,23,34,.65);
  backdrop-filter: saturate(140%) blur(12px);
  overflow:hidden; max-height:0; opacity:0; transform: translateY(-6px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
}
.site-header.is-open .site-menu{ max-height: 380px; opacity:1; transform:none }
.site-menu a{
  display:block; padding:12px 20px; border-top:1px solid rgba(255,255,255,.06);
  color:#e6edf8;
}
.site-menu a:first-child{ border-top:0 }

/* Responsive visibility */
@media (min-width: 900px){
  .site-nav{ display:flex }
  .site-toggle{ display:none }
  .site-menu{ display:none !important }
}

/* Prevent horizontal scroll from overlays */
html, body { overflow-x: clip; }




