@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

::selection{ background: var(--orange); color:#0b0d0f; }

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb{ background: linear-gradient(var(--orange), var(--green)); border-radius: 10px; }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; letter-spacing:-.01em; }
p{ margin:0; }
.mono{ font-family: var(--font-mono); }

.container{ max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section{ position: relative; padding: 140px 0; scroll-margin-top: 110px; }
.section-inner{ position: relative; z-index: 2; }

.eyebrow-code{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-mono); font-size: 14px; color: var(--green);
  letter-spacing: .02em;
}
.eyebrow-code::before{ content:'▍'; color: var(--orange); }

.section-title{
  font-size: clamp(32px, 4vw, 52px);
  margin: 10px 0 18px;
}
.section-sub{ color: var(--text-dim); max-width: 620px; font-size: 17px; margin-bottom: 48px; }

/* =========================================================
   BACKGROUND LAYERS
   ========================================================= */
#particles-canvas{
  position: fixed; inset:0; width:100%; height:100%;
  z-index: 0; pointer-events: none;
}
.grid-overlay{
  position: fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 70%);
  opacity:.5;
}

/* =========================================================
   NAVBAR — floating, centered, glass
   ========================================================= */
.navbar{
  position: fixed; top: 18px; left:50%; transform: translateX(-50%);
  z-index: 500;
  display:flex; align-items:center; gap: 6px;
  padding: 8px 10px 8px 18px;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  max-width: calc(100% - 32px);
  transition: all .4s var(--ease);
}
.navbar .logo{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-weight:700; font-size:14px;
  color: var(--text); white-space:nowrap; padding-right: 10px;
  border-right: 1px solid var(--border);
}
.navbar .logo .dot{ width:8px; height:8px; border-radius:50%; background: var(--green); box-shadow:0 0 10px var(--green); }

.nav-links{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.nav-links a{
  display:block; padding: 10px 16px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 13.5px; color: var(--text-dim);
  transition: color .25s, background .25s;
  white-space: nowrap;
}
.nav-links a:hover{ color: var(--text); background: var(--bg-card); }
.nav-links a.active{ color:#0b0d0f; background: linear-gradient(120deg,var(--orange),var(--yellow)); }

.nav-actions{ display:flex; align-items:center; gap:6px; padding-left: 8px; border-left: 1px solid var(--border); }
.icon-btn{
  display:flex; align-items:center; justify-content:center;
  width: 40px; height:40px; border-radius:50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); transition: transform .3s var(--ease), background .3s, color .3s;
  position: relative;
}
.icon-btn:hover{ transform: translateY(-2px); background: var(--orange); color:#0b0d0f; }
.icon-btn .material-symbols-outlined{ font-size: 20px; }

.nav-toggle{ display:none; }

/* Theme toggle sun/moon swap */
.theme-toggle .icon-sun, .theme-toggle .icon-moon{ position:absolute; transition: opacity .3s, transform .4s var(--ease); }
[data-theme="dark"] .theme-toggle .icon-sun{ opacity:0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .theme-toggle .icon-moon{ opacity:1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-sun{ opacity:1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon{ opacity:0; transform: rotate(-90deg) scale(.4); }

/* Template dropdown */
.template-select{ position: relative; }
.template-menu{
  position: absolute; top: 52px; right:0; min-width: 190px;
  background: var(--bg-card-solid); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  padding: 8px; opacity:0; visibility:hidden; transform: translateY(-8px);
  transition: all .25s var(--ease);
}
.template-select.open .template-menu{ opacity:1; visibility:visible; transform: translateY(0); }
.template-menu button{
  width:100%; display:flex; align-items:center; gap:10px;
  padding: 10px 12px; border:none; background:none; color: var(--text);
  border-radius: var(--radius-sm); font-size:14px; text-align:left;
}
.template-menu button:hover{ background: var(--bg-card); }
.template-menu button.active{ color: var(--orange); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  min-height: 100vh; display:flex; align-items:center;
  padding-top: var(--nav-h);
  position: relative;
}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center;
}
.hero-eyebrow{ font-family: var(--font-mono); color: var(--text-faint); font-size:15px; margin-bottom: 14px; }
.hero h1{
  font-size: clamp(40px, 6vw, 74px); line-height: 1.02; margin-bottom: 20px;
}
.hero-role{ font-family: var(--font-mono); font-size: clamp(18px,2.4vw,26px); color: var(--green); margin-bottom: 22px; min-height: 34px; }
.hero-role .cursor{ display:inline-block; width:2px; background: var(--green); margin-left:2px; animation: blink 1s steps(1) infinite; }
.hero p.desc{ color: var(--text-dim); max-width: 520px; font-size: 16.5px; margin-bottom: 34px; }

.btn-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 46px; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 15px 26px; border-radius: var(--radius-pill);
  font-weight:600; font-size:15px; border:1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover{ transform: translateY(-3px); }
.btn-primary{ background: linear-gradient(120deg,var(--orange),var(--yellow)); color:#100b06; box-shadow: var(--glow-orange); }
.btn-outline{ background: var(--bg-card); border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover{ border-color: var(--green); color: var(--green); }

.hero-stats{ display:flex; gap: 36px; }
.hero-stats .stat b{ display:block; font-family: var(--font-display); font-size: 30px; color: var(--text); }
.hero-stats .stat span{ font-size: 13px; color: var(--text-faint); font-family: var(--font-mono); }

.hero-scene-wrap{ position:relative; height: 480px; }
#hero-3d{ position:absolute; inset:0; width:100%; height:100%; }
.hero-scene-wrap .scene-caption{
  position:absolute; bottom: 6px; left:50%; transform:translateX(-50%);
  font-family: var(--font-mono); font-size:12px; color: var(--text-faint);
  display:flex; align-items:center; gap:8px;
}
.hero-scene-wrap .scene-caption .dot{ width:6px;height:6px;border-radius:50%; background: var(--green); animation: pulse-dot 1.6s infinite; }

@keyframes blink{ 50%{ opacity:0; } }
@keyframes pulse-dot{ 0%,100%{ opacity:1;} 50%{ opacity:.2;} }

/* =========================================================
   RESEARCH & THESIS
   ========================================================= */

.research-card{
  overflow:hidden;
}

.research-card .timeline-head h3{
  max-width: 780px;
  line-height: 1.35;
}

.research-category-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.research-category{
  background: rgba(255,122,41,.10);
  color:var(--orange);
  border-color:rgba(255,122,41,.25);
}

.research-description{
  max-width: 900px;
  line-height:1.75;
}


/* Research Images */

.research-images{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
  margin-top:22px;
  margin-bottom:20px;
}

.research-image-card{
  background:var(--bg-2);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  overflow:hidden;
  transition:
    transform .3s var(--ease),
    border-color .3s,
    box-shadow .3s;
}

.research-image-card:hover{
  transform:translateY(-5px);
  border-color:var(--border-strong);
  box-shadow:var(--shadow-card);
}

.research-image-link{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:var(--bg-1);
}

.research-image-link img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s var(--ease);
}

.research-image-card:hover .research-image-link img{
  transform:scale(1.05);
}

.research-image-caption{
  padding:10px 12px;
  color:var(--text-dim);
  font-size:12px;
  font-family:var(--font-mono);
  border-top:1px solid var(--border);
}

.research-links{
  margin-top:18px;
}

.research-dot{
  border-color:var(--green);
  box-shadow:var(--glow-green);
}

/* =========================================================
   RESEARCH PAPER PDF VIEWER
   ========================================================= */

.research-paper-viewer{
  margin-top:24px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  background:var(--bg-2);
}

.research-paper-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  background:var(--bg-card);
  border-bottom:1px solid var(--border);
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--text-dim);
}

.research-paper-close{
  border:1px solid var(--border);
  background:transparent;
  color:var(--text-dim);
  padding:6px 12px;
  border-radius:var(--radius-sm);
  cursor:pointer;
  font-family:var(--font-mono);
  transition:.25s ease;
}

.research-paper-close:hover{
  color:var(--orange);
  border-color:var(--orange);
}

.research-paper-frame{
  display:block;
  width:100%;
  height:800px;
  border:0;
  background:#fff;
}
/* =========================================================
   EXPERIENCE — timeline
   ========================================================= */
.timeline{ position:relative; margin-top: 20px; }
.timeline::before{
  content:''; position:absolute; left: 28px; top:0; bottom:0; width:2px;
  background: linear-gradient(var(--orange), var(--green));
  opacity:.35;
}
.timeline-item{ position:relative; padding-left: 76px; margin-bottom: 46px; }
.timeline-item:last-child{ margin-bottom:0; }
.timeline-dot{
  position:absolute; left: 18px; top: 6px; width: 20px; height:20px; border-radius:50%;
  background: var(--bg-1); border: 3px solid var(--orange); box-shadow: var(--glow-orange);
}
.timeline-card{
  background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 30px; backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), border-color .35s;
}
.timeline-card:hover{ transform: perspective(800px) rotateX(1deg) translateY(-4px); border-color: var(--border-strong); }
.timeline-head{ display:flex; flex-wrap:wrap; justify-content:space-between; gap: 10px; margin-bottom: 12px; }
.timeline-head h3{ font-size: 21px; }
.timeline-head a{ color: var(--orange); }
.timeline-meta{ font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 14px; }
.timeline-badge{
  display:inline-block; padding: 4px 12px; border-radius: var(--radius-pill);
  font-size:12px; font-family: var(--font-mono); background: rgba(53,208,127,.12); color: var(--green);
  border: 1px solid rgba(53,208,127,.3);
}
.timeline-card p.desc{ color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }

.sub-projects{ display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; }
.sub-project{
  background: var(--bg-2); border:1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; font-size: 13.5px; color: var(--text-dim);
}
.sub-project .sp-head{ display:flex; align-items:center; gap:8px; color:var(--text); font-weight:600; margin-bottom:6px; }
.sub-project .sp-head .material-symbols-outlined{ color: var(--yellow); font-size:18px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid{ display:grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items:start; }
.about-card{
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), transparent);
  padding: 30px; position:relative; overflow:hidden;
  transform-style: preserve-3d;
}
.about-card::after{
  content:''; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: linear-gradient(140deg, var(--orange), transparent 40%, var(--green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:.5; pointer-events:none;
}
.about-card .avatar-ring{
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255,122,41,.18), rgba(53,208,127,.14));
  display:flex; align-items:center; justify-content:center; font-size: 90px; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.about-highlights{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-highlights div{ border-top: 1px solid var(--border); padding-top: 10px; }
.about-highlights b{ display:block; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom: 4px;}
.about-highlights span{ font-size: 14.5px; }

.about-body p{ color: var(--text-dim); font-size: 16px; margin-bottom: 22px; }
.about-body strong{ color: var(--text); background: linear-gradient(transparent 65%, rgba(255,122,41,.25) 0); }
.about-buttons{ display:flex; gap:14px; margin-top: 30px; flex-wrap: wrap; }

/* =========================================================
   SKILLS
   ========================================================= */
.skills-cats{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.skill-cat{ background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md); padding: 26px; }
.skill-cat h3{ font-family: var(--font-mono); font-size:15px; color: var(--yellow); margin-bottom: 20px; }
.skill-list{ display:flex; flex-wrap:wrap; gap: 10px; }
.skill-chip{
  display:flex; align-items:center; gap:8px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--bg-2);
  font-size: 14px; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.skill-chip .material-symbols-outlined{ font-size: 18px; color: var(--green); }
.skill-chip:hover{ transform: translateY(-4px) scale(1.03); border-color: var(--orange); background: var(--bg-1); }

/* =========================================================
   PROJECTS
   ========================================================= */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 36px; }
.filter-btn{
  padding: 9px 18px; border-radius: var(--radius-pill); border:1px solid var(--border);
  background: var(--bg-card); color: var(--text-dim); font-size: 13.5px; font-family: var(--font-mono);
  transition: all .25s;
}
.filter-btn:hover{ color: var(--text); }
.filter-btn.active{ background: linear-gradient(120deg,var(--orange),var(--yellow)); color:#100b06; border-color: transparent; }

.projects-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 26px; perspective: 1200px; }
.project-card{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; position:relative; overflow:hidden;
  transition: transform .12s linear, border-color .3s;
  will-change: transform;
}
.project-card:hover{ border-color: var(--border-strong); }
.project-card .pc-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px;}
.project-card .pc-id{ font-family: var(--font-mono); color: var(--text-faint); font-size: 12px; }
.project-card h3{ font-size: 20px; margin-bottom: 10px; }
.project-card p{ color: var(--text-dim); font-size: 14px; margin-bottom: 18px; min-height: 66px;}
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom: 20px; }
.tag{ font-size: 11px; font-family: var(--font-mono); padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(244,201,93,.12); color: var(--yellow); border:1px solid rgba(244,201,93,.3); }
.pc-links{ display:flex; gap:10px; }
.pc-links a{
  flex:1; text-align:center; padding: 10px; border-radius: var(--radius-sm);
  font-size: 13px; font-family: var(--font-mono); border: 1px solid var(--border);
  transition: all .25s;
}
.pc-links a:hover{ background: var(--green); color:#08110b; border-color: var(--green); }
.pc-links a.disabled{ opacity:.35; pointer-events:none; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.contact-list{ display:flex; flex-direction:column; gap: 16px; }
.contact-row{
  display:flex; align-items:center; gap:16px; padding: 18px 20px;
  background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius-md);
  transition: transform .3s var(--ease), border-color .3s;
}
.contact-row:hover{ transform: translateX(6px); border-color: var(--orange); }
.contact-row .ic{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(140deg, var(--orange), var(--yellow)); color:#100b06; flex-shrink:0;
}
.contact-row b{ display:block; font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.05em;}
.contact-row span{ font-size: 15px; }

.contact-panel{
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--bg-card); padding: 36px; position:relative;
}
.contact-panel .terminal-bar{ display:flex; gap:8px; margin-bottom: 20px; }
.terminal-bar span{ width:11px; height:11px; border-radius:50%; }
.terminal-bar span:nth-child(1){ background:#ff5f57; }
.terminal-bar span:nth-child(2){ background:#febc2e; }
.terminal-bar span:nth-child(3){ background:#28c840; }
.contact-panel pre{ font-family: var(--font-mono); font-size: 14px; color: var(--green); white-space: pre-wrap; line-height:1.9; margin:0; }
.contact-panel .k{ color: var(--text-faint); }
.contact-panel .v{ color: var(--yellow); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ border-top: 1px solid var(--border); padding: 60px 0 30px; position:relative; z-index:2; }
.footer-top{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 24px; margin-bottom: 34px; }
.footer-quote{ font-family: var(--font-display); font-size: 22px; }
.footer-social{ display:flex; gap: 10px; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size: 13px; color: var(--text-faint); font-family: var(--font-mono); border-top: 1px solid var(--border); padding-top: 22px; }

/* back to top */
.back-to-top{
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 48px; height:48px; border-radius:50%;
  background: linear-gradient(140deg,var(--orange),var(--yellow)); color:#100b06;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--glow-orange);
  opacity:0; transform: translateY(20px); pointer-events:none;
  transition: all .35s var(--ease);
}
.back-to-top.show{ opacity:1; transform:translateY(0); pointer-events:all; }

/* scroll progress */
.scroll-progress{ position: fixed; top:0; left:0; height:3px; background: linear-gradient(90deg,var(--orange),var(--green)); z-index: 600; width:0%; }

/* loader */
.preloader{
  position: fixed; inset:0; background: var(--bg); z-index: 900;
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:16px;
  transition: opacity .5s var(--ease), visibility .5s;
}
.preloader.hidden{ opacity:0; visibility:hidden; }
.preloader .p-logo{ font-family: var(--font-mono); font-size: 22px; }
.preloader .p-bar{ width:180px; height:3px; background: var(--bg-2); border-radius:2px; overflow:hidden; }
.preloader .p-bar i{ display:block; height:100%; width:30%; background: linear-gradient(90deg,var(--orange),var(--green)); animation: loadmove 1.1s ease-in-out infinite; }
@keyframes loadmove{ 0%{ transform: translateX(-100%);} 100%{ transform: translateX(400%);} }

/* Custom cursor (desktop only) */
.cursor-dot{
  position: fixed; top:0; left:0; width:10px; height:10px; border-radius:50%;
  background: var(--orange); pointer-events:none; z-index: 999; mix-blend-mode: difference;
  transform: translate(-50%,-50%);
}
.cursor-ring{
  position: fixed; top:0; left:0; width:34px; height:34px; border-radius:50%;
  border: 1px solid var(--orange); pointer-events:none; z-index: 998;
  transform: translate(-50%,-50%); transition: width .2s, height .2s, opacity .2s;
}

/* reveal-on-scroll base */
[data-reveal]{ opacity:0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in{ opacity:1; transform:none; }

/* ============================================================
   TEMPLATE: BOOKS — skeuomorphic page look
   ============================================================ */
body[data-template="books"] .section{
  background: var(--bg-1);
  margin: 24px auto; max-width: 980px; border-radius: 6px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.5), inset 0 0 0 1px var(--border);
  padding: 90px 70px;
}
body[data-template="books"] .section::before{
  content: attr(data-page); position:absolute; bottom: 26px; right: 40px;
  font-family: var(--font-mono); font-size:12px; color: var(--text-faint);
}
body[data-template="books"] .section-title{ font-family: 'Space Grotesk', serif; }
body[data-template="books"] .hero{ min-height: auto; padding: 60px 0 20px; }
body[data-template="books"] .project-card,
body[data-template="books"] .timeline-card,
body[data-template="books"] .skill-cat,
body[data-template="books"] .about-card{ background: var(--bg-2); }
body[data-template="books"] #particles-canvas,
body[data-template="books"] .grid-overlay{ opacity:.25; }

/* ============================================================
   TEMPLATE: RESUME — clean print-like single column
   ============================================================ */
body[data-template="resume"]{ }
body[data-template="resume"] .section{ padding: 60px 0; max-width: 860px; margin:0 auto; }
body[data-template="resume"] .hero{ min-height:auto; padding: 140px 0 40px; }
body[data-template="resume"] .hero-grid{ grid-template-columns: 1fr; }
body[data-template="resume"] .hero-scene-wrap{ display:none; }
body[data-template="resume"] .hero-stats{ border-top:1px solid var(--border); padding-top:20px; }
body[data-template="resume"] .about-grid{ grid-template-columns: 1fr; }
body[data-template="resume"] .about-card{ display:none; }
body[data-template="resume"] .skills-cats{ grid-template-columns: 1fr; }
body[data-template="resume"] .projects-grid{ grid-template-columns: 1fr 1fr; }
body[data-template="resume"] #particles-canvas,
body[data-template="resume"] .grid-overlay{ display:none; }
body[data-template="resume"] .timeline-card:hover{ transform:none; }
body[data-template="resume"] .contact-grid{ grid-template-columns: 1fr; }

/* ============================================================
   TEMPLATE: RESTAURANT — menu styling
   ============================================================ */
body[data-template="restaurant"] .section-title::after{ content:' 🍽'; font-size: .6em; }
body[data-template="restaurant"] .eyebrow-code::before{ content:'— '; }
body[data-template="restaurant"] .project-card{
  border-style: dashed; border-color: var(--border-strong);
}
body[data-template="restaurant"] .skill-chip{ border-radius: var(--radius-sm); }
body[data-template="restaurant"] .timeline::before{ background: repeating-linear-gradient(var(--orange) 0 6px, transparent 6px 12px); opacity:.6;}
body[data-template="restaurant"] .filter-btn{ border-radius: var(--radius-sm); }
