/* n1n3b1t.com — high-tech / modern
 * Dark default, cool slate palette, grotesk display, mono coordinates,
 * grid scaffolding. No tropes (no faux terminal, no neon excess).
 */

:root {
  /* dark by default — this is the high-tech mode */
  --bg:           #0A0B0D;
  --bg-elev:      #101216;
  --bg-card:      #14171C;
  --ink:          #E8EAEE;
  --ink-2:        #A4ABB6;
  --ink-3:        #6B7280;
  --ink-4:        #3D434C;
  --line:         #1C1F25;
  --line-2:       #262A32;
  --line-bright:  #353A44;

  --accent:       oklch(0.86 0.18 130);   /* electric mint */
  --accent-2:     oklch(0.74 0.15 200);   /* cool cyan */
  --accent-soft:  oklch(0.86 0.18 130 / 0.14);
  --accent-line:  oklch(0.86 0.18 130 / 0.40);
  --warn:         oklch(0.82 0.15 75);    /* amber for highlights */

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --grid-size: 56px;
}

[data-theme="light"] {
  --bg:          #F5F4F0;
  --bg-elev:     #ECEAE3;
  --bg-card:     #FFFFFF;
  --ink:         #0F1115;
  --ink-2:       #3B4049;
  --ink-3:       #6B7280;
  --ink-4:       #A8AEB8;
  --line:        #DEDBD2;
  --line-2:      #C7C3B6;
  --line-bright: #B0AC9F;
  --accent:      oklch(0.55 0.16 145);
  --accent-soft: oklch(0.55 0.16 145 / 0.10);
  --accent-line: oklch(0.55 0.16 145 / 0.35);
}

[data-density="compact"] { --gutter: clamp(16px, 3vw, 40px); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
body::after {
  /* Ambient grid — very subtle, masked to the edges so it stays out of reading area */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: -1px -1px;
  -webkit-mask-image:
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, transparent 35%, black 90%);
  mask-image:
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, transparent 35%, black 90%);
  opacity: 0.55;
}
body::before {
  /* glow accent on hero area */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 30% at 80% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 20%, oklch(0.74 0.15 200 / 0.05), transparent 70%);
}

body.no-grid::after { display: none; }

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ────────── shared ────────── */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01", "cv01", "zero";
  letter-spacing: -0.01em;
}

.coord {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  row-gap: 4px;
}
.coord-tag {
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.coord .sep { color: var(--ink-4); }

.section-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  white-space: nowrap;
}
.section-num .pip {
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.section-title .accent { color: var(--accent); }
.section-title .soft { color: var(--ink-3); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 64px; height: 1px;
  background: var(--accent);
}
.section-head .lhs { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.section-head .rhs {
  color: var(--ink-3);
  font-size: 12.5px;
  max-width: 320px;
  text-align: right;
  font-family: var(--font-mono);
  line-height: 1.6;
  white-space: pre-line;
}

section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }

/* ────────── status bar (top) ────────── */

.statusbar {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.statusbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  overflow: hidden;
}
.statusbar .item { display: inline-flex; align-items: center; gap: 8px; }
.statusbar .item .k { color: var(--ink-4); }
.statusbar .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.statusbar .grow { flex: 1; }

/* ────────── nav ────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-bright);
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute;
  background: var(--accent);
}
.brand-mark::before { width: 8px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.brand-mark::after  { width: 1px; height: 8px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.brand strong { font-weight: 600; }
.brand .sep { color: var(--ink-4); }
.brand .name { color: var(--ink-2); }

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--ink-3);
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::before {
  content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; background: var(--ink-4); opacity: 0; transition: opacity .2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::before { background: var(--accent); opacity: 1; }

/* mode toggle — rectangular, tech-y */
.mode-toggle {
  display: inline-flex;
  background: var(--bg-elev);
  border: 1px solid var(--line-bright);
  position: relative;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mode-toggle button {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 8px 14px;
  position: relative;
  z-index: 1;
  transition: color .2s ease;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.mode-toggle button.active { color: var(--bg); }
.mode-toggle .pill {
  position: absolute;
  top: 0; bottom: 0;
  background: var(--accent);
  transition: left .35s cubic-bezier(.7, .1, .2, 1), width .35s cubic-bezier(.7, .1, .2, 1);
  z-index: 0;
}

/* ────────── hero ────────── */

.hero {
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: visible;
}

/* corner brackets framing the hero */
.hero-frame {
  position: relative;
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--accent);
}
.hero-frame::before { top: -8px; left: -8px; border-right: none; border-bottom: none; }
.hero-frame::after  { bottom: -8px; right: -8px; border-left: none; border-top: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.hero h1 .first { display: block; }
.hero h1 .last  {
  display: block;
  position: relative;
}
.hero h1 .last .dot {
  display: inline-block;
  width: 0.18em; height: 0.18em;
  background: var(--accent);
  margin-left: 0.04em;
  vertical-align: bottom;
  transform: translateY(-0.05em);
  animation: cursor-blink 1.2s steps(1) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-top: 24px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-tagline .prefix { color: var(--accent); }
.hero-tagline .pipe { color: var(--ink-4); }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 8px;
}
.hero-summary {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

.hero-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.hero-meta .k { color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10.5px; align-self: center; }
.hero-meta a:hover { color: var(--accent); }

.seeking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: linear-gradient(to right, var(--accent-soft), transparent);
  border: 1px solid var(--accent-line);
  padding: 8px 14px;
  align-self: flex-start;
}
.seeking::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* stats bento — tech card grid */
.stats {
  margin-top: clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-bright);
  background: var(--bg-elev);
}
.stat {
  padding: 38px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 150px;
  position: relative;
  border-right: 1px solid var(--line-bright);
  transition: background .25s ease;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-card); }
.stat-idx {
  position: absolute;
  top: 10px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  white-space: nowrap;
}
.stat .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: auto;
}
.stat .v .accent { color: var(--accent); }
.stat .l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
  padding-right: 60px;
}
.stat .n {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  margin-top: 2px;
}

/* ────────── summary ────────── */

.summary-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.summary-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.summary-sidebar .label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.summary-sidebar .stat-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.summary-sidebar .stat-mini .n {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.summary-sidebar .stat-mini .t {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.summary-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;
}
.summary-body .accent { color: var(--accent); }

/* ────────── experience timeline ────────── */

.exp-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.exp {
  display: grid;
  grid-template-columns: 180px 1fr 100px;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  align-items: start;
  cursor: pointer;
  transition: background .2s ease;
}
.exp::before {
  /* left indicator stripe */
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background .25s ease;
}
.exp:hover { background: color-mix(in oklab, var(--bg-elev) 50%, transparent); }
.exp:hover::before { background: var(--ink-4); }
.exp.open::before { background: var(--accent); }
.exp.open { background: color-mix(in oklab, var(--bg-elev) 70%, transparent); }

.exp-period {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
}
.exp-period .years { color: var(--ink-4); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }

.exp-main { min-width: 0; }
.exp-row1 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.exp-company {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.exp-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.exp-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 6px;
  letter-spacing: 0.01em;
}
.exp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 3px 8px;
  white-space: nowrap;
}
.tag.accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.exp-cta {
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  align-self: start;
  user-select: none;
}
.exp-cta .chev {
  width: 22px; height: 22px;
  border: 1px solid var(--line-bright);
  display: grid; place-items: center;
  transition: transform .35s ease, background .2s ease, border-color .2s ease, color .2s ease;
  color: var(--ink-3);
}
.exp:hover .exp-cta .chev { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.exp.open .exp-cta .chev { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--bg); }

.exp-highlight {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 2px solid var(--warn);
  background: oklch(0.82 0.15 75 / 0.08);
  color: var(--warn);
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.exp-highlight::before {
  content: "★";
  color: var(--warn);
}

.exp-detail {
  grid-column: 2 / 4;
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s cubic-bezier(.7, .1, .2, 1), margin .3s ease;
}
.exp.open .exp-detail {
  max-height: 900px;
  margin-top: 18px;
}
.exp-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 760px;
}
.exp-bullets li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-sans);
}
.exp-bullets li::before {
  content: ">";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

/* ────────── skills ────────── */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line-bright);
  background: var(--bg-elev);
}
.skill-group {
  background: transparent;
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--line-bright);
  border-bottom: 1px solid var(--line-bright);
  position: relative;
}
.skill-group:nth-child(2n) { border-right: none; }
.skill-group:nth-last-child(-n+2):nth-child(odd):last-child,
.skill-group:nth-last-child(1),
.skill-group:nth-last-child(2):nth-child(odd) { /* keep bottom for visual symmetry */ }

.skill-group h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.skill-group h3 .idx {
  color: var(--ink-4);
  font-weight: 400;
}
.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.skill-items span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  padding: 4px 9px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  cursor: default;
  white-space: nowrap;
}
.skill-items span:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

/* ────────── highlights ────────── */

.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.hl {
  background: var(--bg-elev);
  border: 1px solid var(--line-bright);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
/* corner crosshairs */
.hl::before, .hl::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--ink-3);
  border-style: solid;
  border-width: 0;
  transition: border-color .3s ease;
}
.hl::before { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.hl::after  { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.hl:hover {
  border-color: var(--accent-line);
  background: var(--bg-card);
}
.hl:hover::before, .hl:hover::after { border-color: var(--accent); }

.hl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hl-year { color: var(--accent); }
.hl-idx  { color: var(--ink-4); }

.hl-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.hl-blurb {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.hl-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.06em;
}

/* ────────── contact ────────── */

.contact {
  padding: clamp(80px, 10vw, 130px) 0 40px;
}
.contact-inner {
  background: var(--bg-elev);
  border: 1px solid var(--line-bright);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.contact-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 100%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  position: relative;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  color: var(--ink);
}
.contact h2 .accent { color: var(--accent); }
.contact-sub {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 400px;
  text-wrap: pretty;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: end;
  font-family: var(--font-mono);
}
.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px 16px 0;
  border-bottom: 1px solid var(--line-bright);
  font-size: 12.5px;
  color: var(--ink);
  transition: padding-left .25s ease, color .2s ease;
  letter-spacing: 0.01em;
  gap: 12px;
  min-width: 0;
}
.channel > span:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.channel:first-child { border-top: 1px solid var(--line-bright); }
.channel:hover { padding-left: 8px; color: var(--accent); }
.channel .arrow { transition: transform .25s ease; color: var(--ink-3); }
.channel:hover .arrow { transform: translate(4px, -4px); color: var(--accent); }
.channel .k {
  color: var(--ink-4);
  display: inline-block;
  width: 44px;
  flex-shrink: 0;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot {
  text-align: center;
  padding: 28px 0 44px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.foot .sep { color: var(--line-bright); }

/* ────────── responsive ────────── */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .summary-block { grid-template-columns: 1fr; gap: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line-bright); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-bright); }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-group { border-right: none; }
  .highlights { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .exp { grid-template-columns: 1fr; gap: 10px; padding-left: 14px; }
  .exp-period { flex-direction: row; gap: 12px; }
  .exp-cta { display: none; }
  .exp-detail { grid-column: 1; }
  .nav-links { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .rhs { text-align: left; max-width: 100%; }
  .brand .name { display: none; }
  .brand .sep { display: none; }
  .statusbar .hide-sm { display: none; }
}

@media (max-width: 560px) {
  .statusbar .hide-md { display: none; }
}

/* fade-in on load */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal[data-delay="1"] { animation-delay: .06s; }
.reveal[data-delay="2"] { animation-delay: .12s; }
.reveal[data-delay="3"] { animation-delay: .20s; }
.reveal[data-delay="4"] { animation-delay: .28s; }
.reveal[data-delay="5"] { animation-delay: .36s; }
