@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;600;700;800;900&family=DM+Mono:wght@300;400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; overflow-x: hidden; }

/* ── EXACT KENTO TOKENS ── */
:root {
  /* Dark mode — toggle knob right (dark circle) */
  --bg:        #1c1c1c;
  --bg2:       #222;
  --fg:        #e0e0e0;
  --fg-dim:    #888;
  --divider:   rgba(200,200,200,0.12);
  --sw:        200px;   /* sidebar width — matches Kento's ~200px */
  --font:      'Raleway', sans-serif;
  --mono:      'DM Mono', monospace;
}

/* Light mode — exact Kento: #f0f0f0 pure light grey */
body.light {
  --bg:      #f0f0f0;
  --bg2:     #e8e8e8;
  --fg:      #1a1a1a;
  --fg-dim:  #aaa;
  --divider: rgba(0,0,0,0.1);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.75;
  overflow-x: hidden;
  /* hide scrollbar — Kento has none */
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: background .3s, color .3s;
}
body::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════
   SIDEBAR — exact Kento measurements
   Width: ~200px
   Padding: 40px top, 48px left
   Nav font: 14px (0.875rem), weight 300
   Icons: 28×28px, stroke 1.8, gap 24px
   ══════════════════════════════════════ */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sw);
  padding: 40px 0 32px 48px;
  display: flex;
  flex-direction: column;
  z-index: 200;
  background: var(--bg);
  transition: background .3s;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;   /* gap between nav and icons */
}

.sidebar nav a {
  font-size: 0.875rem;    /* ~14px — exact Kento match */
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  text-decoration: none;
  padding: 9px 0;         /* Kento's spacing between nav items */
  transition: color .2s;
  position: relative;
  width: fit-content;
  text-transform: none;
}
.sidebar nav a.active {
  color: var(--fg);
}
.sidebar nav a.active::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 0;
  width: 100%; height: 1px;
  background: var(--fg);
}
.sidebar nav a:hover { color: var(--fg); }

/* Superlative — visible, monospace, below nav gap */
.sidebar-sup {
  margin-top: -24px;       /* pull up closer to nav */
  margin-bottom: 24px;
}
.sidebar-sup a {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-decoration: none;
  opacity: .55;
  transition: opacity .25s, color .25s;
  display: block;
  padding: 4px 0;
}
.sidebar-sup a:hover { opacity: 1; color: var(--fg); }

/* Icons — 28×28px like Kento, gap 24px */
.sidebar-icons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-icons a {
  color: var(--fg);
  opacity: .85;
  transition: opacity .2s;
  display: block;
  line-height: 1;
}
.sidebar-icons a:hover { opacity: 1; }
.sidebar-icons svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.sidebar-footer {
  margin-top: auto;
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--fg-dim);
  letter-spacing: .03em;
}

/* ══════════════════════════════════════
   MOBILE NAV — horizontal top bar
   (Kento keeps nav visible on mobile
   as a compact top bar)
   ══════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 300;
  transition: background .3s;
}
.mobile-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.mobile-nav-links a {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.mobile-nav-links a.active { color: var(--fg); }
.mobile-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--fg);
}
.mobile-nav-links a:hover { color: var(--fg); }
.mobile-nav-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.mobile-nav-icons a { color: var(--fg); opacity: .8; display: block; }
.mobile-nav-icons a:hover { opacity: 1; }
.mobile-nav-icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ══════════════════════════════════════
   TOGGLE — exact Kento: top right
   Dark circle knob, pill shape
   ══════════════════════════════════════ */
.toggle-btn {
  position: fixed;
  top: 22px; right: 36px;
  z-index: 400;
  width: 56px; height: 28px;
  border-radius: 14px;
  background: rgba(120,120,120,.18);
  border: 1.5px solid rgba(180,180,180,.2);
  cursor: pointer;
  transition: background .3s;
}
body.light .toggle-btn {
  background: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.12);
}
.toggle-knob {
  position: absolute;
  right: 4px; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #1c1c1c;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  transition: transform .3s, background .3s;
}
body.light .toggle-knob {
  transform: translateX(-28px);
  background: #1c1c1c;
}

/* Cursor dot */
#cur {
  position: fixed;
  width: 22px; height: 22px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: .2;
  transform: translate(-50%,-50%);
  transition: left .07s, top .07s;
}

/* ══════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════ */
.main { margin-left: var(--sw); }

/* Shared primitives */
.pg { padding: 0 64px 72px 48px; }

.lbl {
  font-size: 0.875rem;   /* match Kento's "ABOUT ME" label size */
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--fg);
  margin-bottom: 10px;
}
.rule { height: 1px; background: var(--divider); margin-bottom: 22px; }

.body-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--fg);
  opacity: .82;
}
.body-text p + p { margin-top: 10px; }

.scroll-dot {
  width: 26px; height: 26px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  opacity: .28;
  margin-top: 48px;
}

/* ══════════════════════════════════════
   HERO — Kento's exact grid
   Left: name fills ~55% of main area
   Right: About Me in remaining 45%
   Name is weight 200, very thin
   ══════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
  padding: 0 64px 60px 48px;
  align-items: center;
}
.hero-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}

/* Name font — weight 200 (ultra-thin like Kento)
   Size calibrated so VYAVAHARE fits on one line:
   main area = viewport - 200px sidebar = ~1240px at 1440px screen
   left col = 55% = ~682px
   Raleway 200 at 5vw = ~72px per line, VYAVAHARE (9 chars × ~45px) = ~405px ✓ */
.hero-name {
  font-weight: 200;
  font-size: clamp(3rem, 5.5vw, 7rem);
  line-height: 1.02;
  letter-spacing: .04em;
  margin-bottom: 20px;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-role {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: .03em;
  opacity: .82;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.5;
  max-width: 360px;
  margin-bottom: 80px;
}
.hero-tagline .light-line { font-weight: 300; opacity: .7; }

.hero-contact {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  opacity: .72;
}

.hero-r { padding-left: 40px; }

/* ── STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.stat-cell {
  padding: 28px 0 28px 28px;
  border-right: 1px solid var(--divider);
}
.stat-cell:last-child { border-right: none; }
.stat-n { font-size: clamp(1.5rem,2.5vw,2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 5px; }
.stat-l { font-family: var(--mono); font-size: .52rem; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 2px; margin-top: 28px; }
.card { border: 1px solid var(--divider); padding: 28px 26px; transition: background .2s; }
.card:hover { background: rgba(255,255,255,.04); }
body.light .card:hover { background: rgba(0,0,0,.03); }
.card-ey { font-size: .62rem; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px; }
.card-ti { font-size: .92rem; font-weight: 600; margin-bottom: 7px; line-height: 1.3; }
.card-bd { font-size: .82rem; font-weight: 300; line-height: 1.82; opacity: .68; }

/* ── PILLS ── */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: .7rem; font-weight: 300; border: 1px solid rgba(200,200,200,.25); border-radius: 999px; padding: 5px 14px; opacity: .65; transition: opacity .2s, border-color .2s; }
body.light .pill { border-color: rgba(0,0,0,.18); }
.pill:hover { opacity: 1; border-color: var(--fg); }

/* BADGE */
.badge { display: inline-block; font-family: var(--mono); font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; }
.b-dim { color: var(--fg-dim); } .b-yellow { color: #e8b84b; } .b-green { color: #6dbf7e; } .b-blue { color: #7eb8e8; }

/* ── TIMELINE ── */
.tl { margin-top: 24px; }
.tl-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--divider); }
.tl-row:last-child { border-bottom: none; }
.tl-date { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); padding-top: 4px; }
.tl-co { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.tl-ro { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 10px; }
.tl-bl { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tl-bl li { font-size: .8rem; font-weight: 300; line-height: 1.78; opacity: .72; padding-left: 14px; position: relative; }
.tl-bl li::before { content: '—'; position: absolute; left: 0; color: var(--fg-dim); }

/* ── WORKS ── */
.works-header { padding: 72px 64px 0 48px; display: flex; align-items: flex-end; justify-content: space-between; }
.works-header-right { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; color: var(--fg-dim); padding-bottom: 4px; }

.work-item {
  display: grid;
  grid-template-columns: 38% 62%;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  text-decoration: none;
  color: var(--fg);
  transition: background .18s;
  min-height: 200px;
}
.work-item:hover { background: rgba(255,255,255,.025); }
body.light .work-item:hover { background: rgba(0,0,0,.025); }

.wi-metric {
  padding: 44px 0 44px 48px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--divider);
}
.wi-metric-num { font-size: clamp(2.2rem,4vw,5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.wi-metric-lbl { font-family: var(--mono); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }

.wi-info { padding: 44px 64px 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.wi-counter { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--fg-dim); margin-bottom: 14px; }
.wi-title { font-size: clamp(1rem,1.8vw,1.7rem); font-weight: 200; letter-spacing: .04em; line-height: 1.15; margin-bottom: 6px; text-transform: uppercase; }
.wi-sub { font-size: .76rem; font-weight: 300; color: var(--fg-dim); margin-bottom: 12px; }
.wi-desc { font-size: .82rem; font-weight: 300; line-height: 1.84; opacity: .68; max-width: 460px; }
.wi-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.wi-tag { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); border: 1px solid var(--divider); border-radius: 999px; padding: 3px 10px; }

/* ── DETAIL ── */
.detail-back { padding: 28px 64px 0 48px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: color .2s; }
.detail-back:hover { color: var(--fg); }
.detail-header { padding: 20px 64px 16px 48px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--divider); }
.detail-title { font-size: clamp(1.1rem,2.2vw,2.2rem); font-weight: 200; letter-spacing: .05em; text-transform: uppercase; }
.detail-links { display: flex; gap: 20px; }
.detail-link { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); text-decoration: none; transition: color .2s; }
.detail-link:hover { color: var(--fg); }
.detail-metric-strip { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--divider); }
.dms-cell { padding: 32px 0 32px 48px; border-right: 1px solid var(--divider); }
.dms-cell:last-child { border-right: none; }
.dms-n { font-size: clamp(1.6rem,2.8vw,3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 5px; }
.dms-l { font-family: var(--mono); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.detail-body { padding: 48px 64px 72px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.detail-desc { font-size: .84rem; font-weight: 300; line-height: 1.92; opacity: .75; }
.detail-meta { display: flex; flex-direction: column; }
.dm-row { padding: 13px 0; border-bottom: 1px solid var(--divider); display: flex; align-items: baseline; justify-content: space-between; }
.dm-row:first-child { border-top: 1px solid var(--divider); }
.dm-label { font-family: var(--mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.dm-val { font-size: .76rem; font-weight: 300; opacity: .72; }

/* ── LAB/WRITING ── */
.writing-hero { padding: 72px 64px 48px 48px; display: grid; grid-template-columns: 48% 52%; gap: 64px; border-bottom: 1px solid var(--divider); align-items: end; }
.wh-tagline { font-size: clamp(2rem,4.5vw,5rem); font-weight: 200; letter-spacing: .02em; line-height: 1.0; }
.wh-tagline strong { font-weight: 800; }
.platform-row { display: flex; gap: 2px; margin-top: 26px; }
.platform-chip { border: 1px solid var(--divider); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; transition: background .2s; text-decoration: none; color: var(--fg); }
.platform-chip:hover { background: rgba(255,255,255,.04); }
body.light .platform-chip:hover { background: rgba(0,0,0,.03); }
.pc-name { font-size: .78rem; font-weight: 700; }
.pc-handle { font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; color: var(--fg-dim); }
.pc-status { font-family: var(--mono); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); margin-top: 4px; }
.wh-desc { font-size: .84rem; font-weight: 300; line-height: 1.88; opacity: .74; }

.article-list { margin-top: 28px; }
.article-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--divider); text-decoration: none; color: var(--fg); transition: opacity .2s; align-items: baseline; }
.article-row:first-child { border-top: 1px solid var(--divider); }
.article-row:hover { opacity: .72; }
.ar-title { font-size: .9rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.ar-sub { font-size: .72rem; font-weight: 300; color: var(--fg-dim); }
.ar-meta { font-family: var(--mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap; }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 2px; margin-top: 20px; }
.topic-chip { border: 1px solid var(--divider); padding: 20px 18px; transition: background .2s; }
.topic-chip:hover { background: rgba(255,255,255,.04); }
body.light .topic-chip:hover { background: rgba(0,0,0,.03); }
.topic-icon { font-size: 1.1rem; margin-bottom: 8px; }
.topic-name { font-size: .8rem; font-weight: 600; margin-bottom: 4px; }
.topic-desc { font-size: .68rem; font-weight: 300; opacity: .58; line-height: 1.6; }

/* ── ABOUT ── */
.skills-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px 28px; margin-top: 22px; }
.sk-cat { font-family: var(--mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 13px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 22px; }
.learn-card { border: 1px solid var(--divider); padding: 22px 20px; transition: background .2s; }
.learn-card:hover { background: rgba(255,255,255,.04); }
body.light .learn-card:hover { background: rgba(0,0,0,.03); }
.learn-lbl { font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: #e8b84b; margin-bottom: 7px; }
.learn-title { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.cert-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 22px; }
.cert { border: 1px solid var(--divider); padding: 20px 18px; transition: background .2s; }
.cert:hover { background: rgba(255,255,255,.04); }
body.light .cert:hover { background: rgba(0,0,0,.03); }
.cert-name { font-size: .82rem; font-weight: 600; margin-bottom: 5px; line-height: 1.3; }
.cert-by { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 3px; }
.cert-date { font-family: var(--mono); font-size: .56rem; color: var(--fg-dim); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 28px; }
.ci-lbl { font-family: var(--mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; }
.ci-val { font-size: .86rem; font-weight: 300; margin-bottom: 22px; }
.ci-val a { color: var(--fg); text-decoration: none; opacity: .8; transition: opacity .2s; }
.ci-val a:hover { opacity: 1; }
.avail { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--divider); padding: 10px 16px; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); margin-top: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6dbf7e; animation: p 2s infinite; }
@keyframes p { 0%,100%{opacity:1}50%{opacity:.25} }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.field input, .field textarea { background: transparent; border: none; border-bottom: 1px solid var(--divider); color: var(--fg); font-family: var(--font); font-size: .84rem; font-weight: 300; padding: 10px 0; outline: none; transition: border-color .2s; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--fg); }
.field textarea { resize: vertical; min-height: 100px; }
.send-btn { background: var(--fg); color: var(--bg); font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; border: none; padding: 13px 32px; cursor: pointer; transition: opacity .2s; }
.send-btn:hover { opacity: .8; }

/* ── BOT NAV ── */
.bot-nav { display: flex; flex-direction: column; align-items: flex-end; padding: 0 64px 56px 0; gap: 8px; }
.bot-nav a { font-size: 1.2rem; font-weight: 200; letter-spacing: .12em; color: var(--fg); text-decoration: none; opacity: .52; transition: opacity .2s; }
.bot-nav a:hover { opacity: 1; }

/* SECTION HEADING */
.sec-hd { font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-dim); margin: 48px 0 0; padding-bottom: 9px; border-bottom: 1px solid var(--divider); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE — mobile keeps top nav
   (matching Kento behaviour)
   ══════════════════════════════════════ */
@media(max-width:860px) {
  :root { --sw: 0px; }

  /* Hide sidebar, show mobile nav */
  .sidebar { display: none; }
  .mobile-nav { display: flex; }

  /* Offset content below mobile nav */
  .main { margin-left: 0; margin-top: 56px; }

  /* Move toggle below mobile nav */
  .toggle-btn { top: 66px; right: 16px; z-index: 200; }
  #cur { display: none; }

  .pg { padding: 40px 20px 52px; }

  .hero { grid-template-columns: 1fr; padding: 32px 20px 52px; min-height: auto; }
  .hero-r { padding-left: 0; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--divider); }
  .hero-name { font-size: clamp(2.8rem, 10vw, 5rem); }
  .hero-tagline { margin-bottom: 40px; }

  .stat-row { grid-template-columns: repeat(3,1fr); }
  .cards { grid-template-columns: 1fr; }

  .tl-row { grid-template-columns: 1fr; gap: 5px; }

  .work-item { grid-template-columns: 1fr; min-height: auto; }
  .wi-metric { border-right: none; border-bottom: 1px solid var(--divider); padding: 28px 20px; }
  .wi-info { padding: 24px 20px 32px; }
  .works-header { padding: 32px 20px 0; }

  .detail-metric-strip { grid-template-columns: 1fr 1fr; }
  .detail-body { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 52px; }
  .detail-back { padding-left: 20px; padding-right: 20px; }
  .detail-header { padding-left: 20px; padding-right: 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-cols { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: 1fr 1fr; }
  .bot-nav { padding: 0 20px 48px; }

  .writing-hero { grid-template-columns: 1fr; padding: 32px 20px 36px; gap: 28px; }
  .platform-row { flex-direction: column; }
  .dms-cell { padding-left: 20px; }
}
