/* ===========================================================
   Pranit Muttha — Portfolio (crystal / glass aesthetic)
   Fonts: Syne (display) · Outfit (UI) · JetBrains Mono (meta)
   =========================================================== */

:root {
  --bg: #eef1f6;
  --bg-deep: #dde3ec;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(255, 255, 255, 0.38);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --border: rgba(20, 28, 48, 0.10);
  --border-2: rgba(20, 28, 48, 0.18);
  --text: #0d1224;
  --text-2: #2c3346;
  --muted: #5e667a;
  --muted-2: #8a90a3;

  --accent: #6b7cff;
  --accent-2: #8a6bff;
  --accent-soft: rgba(107, 124, 255, 0.14);
  --good: #2bb673;
  --warn: #d59532;
  --bad: #d24668;

  --display: "Syne", "Inter Tight", system-ui, sans-serif;
  --sans: "Outfit", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 20px;
  --glass-blur: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; font-family: var(--display); letter-spacing: -0.02em; }

/* ---------- Crystal ambient backdrop ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(180, 200, 255, 0.55), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(220, 190, 255, 0.50), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 90%, rgba(190, 230, 255, 0.55), transparent 60%),
    linear-gradient(180deg, #eef1f6 0%, #e4e9f3 50%, #ede5f5 100%);
}
.ambient::before {
  content: '';
  position: absolute;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(140, 170, 255, 0.45), transparent 70%);
  filter: blur(60px);
  animation: drift1 18s ease-in-out infinite alternate;
}
.ambient::after {
  content: '';
  position: absolute;
  width: 55vw; height: 55vw; max-width: 800px; max-height: 800px;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(200, 160, 255, 0.42), transparent 70%);
  filter: blur(60px);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 40px); }
}
@keyframes drift2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50px, -60px); }
}

.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 28, 48, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 28, 48, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black 5%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 5%, transparent 75%);
  opacity: 0.7;
}

/* ---------- Glass utility ---------- */
.glass {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    0 12px 40px rgba(20, 28, 48, 0.08);
}

/* Ticker removed */

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 16px; z-index: 60;
  margin-top: 16px;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 14px 10px 18px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 30px rgba(20, 28, 48, 0.08);
  border-radius: 999px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 15px;
}
.brand .glyph {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(107, 124, 255, 0.4);
}
.nav-links {
  display: flex; justify-content: center; gap: 4px;
  font-size: 13px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.6); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .2s ease;
}
.btn:hover { border-color: var(--text); transform: translateY(-1px); background: rgba(255, 255, 255, 0.75); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(107, 124, 255, 0.32);
}
.btn.primary:hover { box-shadow: 0 12px 32px rgba(107, 124, 255, 0.45); transform: translateY(-2px); }
.btn .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(60px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); position: relative; }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(20, 28, 48, 0.06);
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--good) 25%, transparent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(48px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 14ch;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, #c478ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede {
  margin: 32px 0 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-2);
  line-height: 1.55;
}
.hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta-strip {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 12px 40px rgba(20, 28, 48, 0.07);
  overflow: hidden;
}
.hero-meta-strip > div {
  padding: 22px 24px;
  border-right: 1px solid rgba(20, 28, 48, 0.08);
}
.hero-meta-strip > div:last-child { border-right: 0; }
.hero-meta-strip .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero-meta-strip .v { font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--text); font-weight: 500; }
.hero-meta-strip .v small { font-family: var(--sans); font-size: 13px; color: var(--muted); display: block; margin-top: 4px; font-weight: 400; }

/* ---------- Hero live panel ---------- */
.hero-live {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 50px rgba(20, 28, 48, 0.10);
  padding: 28px;
  display: grid;
  gap: 20px;
}
.hero-live .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-live .head .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-live .head .pulse {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--good);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-live .head .pulse::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--good) 22%, transparent);
  animation: pulse 1.8s infinite;
}
.hero-live .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-live .stat {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-live .stat .k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-live .stat .v {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-live .spark {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  padding: 10px 10px 4px;
}
.hero-live > .label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
}

/* ---------- Section ---------- */
section.bay { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.section-head h2 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head .meta { text-align: right; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }

/* ---------- Project cards ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.project {
  grid-column: span 3;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 40px rgba(20, 28, 48, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.project:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 24px 60px rgba(20, 28, 48, 0.14);
}
.project.feature { grid-column: span 6; }
.project-body {
  padding: 32px;
  display: grid;
  gap: 18px;
}
.project.feature .project-body { padding: 48px 48px 36px; }
.project-body .row1 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.project-body h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.project.feature .project-body h3 { font-size: clamp(28px, 3vw, 44px); }
.project-body .role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-body p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 60ch;
  line-height: 1.6;
}
.project.feature .project-body p { font-size: 16.5px; max-width: 64ch; }
.project-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.5);
}
.project-body .foot {
  margin-top: 8px; padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.project-body .foot a {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
}
.project-body .foot a:hover { gap: 10px; color: var(--accent-2); }
.project-body .foot .year { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }

/* ---------- Demo canvas (project preview) ---------- */
.demo-wrap {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.22);
}
.demo-canvas {
  padding: 24px 28px;
}
.project.feature .demo-canvas { padding: 28px 48px 36px; }
.kpi-row {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}
.kpi {
  flex: 1;
  padding-right: 20px;
  border-right: 1px solid var(--border);
  margin-right: 20px;
}
.kpi:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.kpi .k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-bottom: 6px;
}
.kpi .v {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.kpi .v small {
  font-size: 15px;
  font-family: var(--sans);
  color: var(--muted);
}
.kpi .delta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--good);
  margin-top: 5px;
  letter-spacing: 0.03em;
}
.kpi .delta.neg { color: var(--warn); }
.spark-frame, .ear-frame, .fc-frame {
  background: rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ear-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.ear-status.warn { color: var(--bad); }
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pslot {
  height: 44px;
  border-radius: 9px;
  border: 1px solid var(--border);
  position: relative;
  transition: background .5s ease, border-color .5s ease;
}
.pslot::after {
  content: attr(data-slot);
  position: absolute;
  bottom: 5px; right: 7px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(20, 28, 48, 0.4);
}
.pslot.occ {
  background: rgba(107, 124, 255, 0.18);
  border-color: rgba(107, 124, 255, 0.38);
}
.pslot.occ::after { color: rgba(107, 124, 255, 0.65); }
.pslot.free {
  background: rgba(43, 182, 115, 0.14);
  border-color: rgba(43, 182, 115, 0.35);
}
.fc-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}
.fc-legend span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.fc-legend .f { color: var(--accent); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-portrait {
  border-radius: var(--radius);
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.55),
    rgba(220, 230, 255, 0.35));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 50px rgba(20, 28, 48, 0.10);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex;
  align-items: flex-end;
}
.about-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 80% 10%, rgba(107, 124, 255, 0.30), transparent 60%),
    radial-gradient(400px 300px at 20% 80%, rgba(196, 120, 255, 0.25), transparent 60%);
}
.about-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.30) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
}
.about-portrait .badge {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 18px 22px;
  display: grid; gap: 4px;
  box-shadow: 0 8px 24px rgba(20, 28, 48, 0.10);
}
.about-portrait .badge .name { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.about-portrait .badge .role { color: var(--muted); font-size: 13px; }
.about-portrait .badge .loc { font-family: var(--mono); font-size: 11px; color: var(--text-2); margin-top: 6px; }

.about-copy h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}
.about-copy p {
  color: var(--text-2);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 0 16px;
}
.about-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-grid .stat {
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 20px rgba(20, 28, 48, 0.06);
}
.about-grid .stat .v {
  font-family: var(--display); font-size: 32px; letter-spacing: -0.02em; font-weight: 600;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-grid .stat .k { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Experience timeline ---------- */
.timeline {
  display: grid; gap: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 14px 40px rgba(20, 28, 48, 0.08);
  overflow: hidden;
}
.tl-row {
  display: grid;
  grid-template-columns: 160px 1.2fr 1.4fr 1fr;
  gap: 28px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(20, 28, 48, 0.08);
  align-items: start;
  transition: background .2s ease;
}
.tl-row:last-child { border-bottom: 0; }
.tl-row:hover { background: rgba(255, 255, 255, 0.35); }
.tl-row .when { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; letter-spacing: 0.04em; }
.tl-row .role { font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.tl-row .org { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.tl-row .desc { color: var(--text-2); font-size: 14.5px; max-width: 50ch; }
.tl-row .stack { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }

/* ---------- Skills ---------- */
.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.skill {
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(20, 28, 48, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.skill:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 36px rgba(20, 28, 48, 0.10); }
.skill .h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.skill .n { font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; font-weight: 500; }
.skill .lvl { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.skill .bar { height: 4px; background: rgba(20, 28, 48, 0.08); border-radius: 999px; overflow: hidden; }
.skill .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

/* ---------- Contact ---------- */
.contact-wrap {
  border-radius: var(--radius);
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.55),
    rgba(225, 230, 255, 0.40));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 60px rgba(20, 28, 48, 0.10);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 100% 0%, rgba(107, 124, 255, 0.20), transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.contact-grid h2 {
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.contact-grid h2 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.contact-list { display: grid; gap: 0; }
.contact-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 28, 48, 0.08);
  transition: padding .2s ease;
}
.contact-row:hover { padding-left: 8px; }
.contact-row .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; min-width: 60px; }
.contact-row .v { font-family: var(--display); font-size: 18px; }
.contact-row:hover .v {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.contact-row .arrow { color: var(--muted); }

/* ---------- Footer ---------- */
footer.bay {
  padding: 36px 0 28px;
  border-top: 1px solid rgba(20, 28, 48, 0.08);
}
.foot-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}
.foot-row .copy { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.foot-row .links { display: flex; gap: 8px; }
.foot-row .links a {
  font-family: var(--mono); font-size: 11px; color: var(--text-2);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.foot-row .links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.7); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .project { grid-column: span 6; }
  .project.feature { grid-column: span 6; }
  .about { grid-template-columns: 1fr; }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .tl-row { grid-template-columns: 110px 1fr; }
  .tl-row .desc, .tl-row .stack { grid-column: 2; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .nav { top: 10px; }
  .hero-meta-strip { grid-template-columns: 1fr 1fr; }
  .hero-meta-strip > div:nth-child(2) { border-right: 0; }
  .hero-meta-strip > div:nth-child(1), .hero-meta-strip > div:nth-child(2) { border-bottom: 1px solid rgba(20, 28, 48, 0.08); }
  .skills { grid-template-columns: 1fr; }
  .foot-row { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(4, 1fr); }
}
