/* ============================================================
   JEET PATEL PORTFOLIO — SYSTEM OS INTERFACE
   Creative Concept: The Living Operating System
   Palette: Deep Forest Green (#2D4A3E) + Aged Parchment (#F5E6C8)
             + Signal Amber (#E8A020) + Oxidized Copper (#7FB5A0)
   Typefaces: Fraunces (editorial serif) + Space Mono (terminal precision)
   ============================================================ */

/* Google Fonts are loaded via <link> in index.html (with preconnect) for optimal performance. */

/* ============================================================
   CSS CUSTOM PROPERTIES — DESIGN SYSTEM TOKENS
   ============================================================ */
:root {
  --forest: #2D4A3E;
  --forest-dark: #1E3329;
  --forest-deep: #152720;
  --forest-mid: #3A5C4E;
  --forest-lt: #4A7060;
  --parchment: #F5E6C8;
  --parchment-dk: #E8D4A8;
  --parchment-lt: #FAF2E1;
  --amber: #E8A020;
  --amber-lt: #F5B83D;
  --amber-dk: #C4871A;
  --copper: #7FB5A0;
  --copper-lt: #9ECFBE;
  --copper-dk: #5A9080;
  --rust: #C45C3A;
  --ink: #1A2820;

  --font-serif: 'Fraunces', 'DM Serif Display', Georgia, serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-sharp: cubic-bezier(0.7, 0, 0.3, 1);

  --panel-gap: 2px;
  --border: 1px solid rgba(245, 230, 200, 0.15);
  --border-amber: 1px solid rgba(232, 160, 32, 0.4);
  --radius-sm: 3px;
  --radius: 6px;

  --z-cursor: 9999;
  --z-modal: 1000;
  --z-nav: 100;
  --z-panels: 10;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--forest-deep);
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow: hidden;
  /* panels handle their own scroll */
  cursor: none;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: none;
  font-family: inherit;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
#cursor-outer {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-smooth),
    height 0.3s var(--ease-smooth),
    border-color 0.3s,
    opacity 0.3s,
    background 0.3s;
  mix-blend-mode: difference;
}

#cursor-inner {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
}

body.cursor-hover #cursor-outer {
  width: 52px;
  height: 52px;
  background: rgba(232, 160, 32, 0.08);
  border-color: var(--amber-lt);
}

body.cursor-hover #cursor-inner {
  width: 6px;
  height: 6px;
  background: var(--amber-lt);
}

body.cursor-click #cursor-outer {
  width: 20px;
  height: 20px;
}

/* ============================================================
   BOOT SEQUENCE OVERLAY
   ============================================================ */
#boot-screen {
  position: fixed;
  inset: 0;
  background: var(--forest-deep);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  gap: 0.5rem;
  transition: opacity 0.8s var(--ease-smooth);
}

#boot-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.boot-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--amber);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: bootLogo 0.6s var(--ease-spring) 0.2s forwards;
}

@keyframes bootLogo {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.boot-line {
  font-size: 0.75rem;
  color: var(--copper);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.boot-line.visible {
  opacity: 1;
}

.boot-line::before {
  content: '▶';
  color: var(--amber);
  font-size: 0.6rem;
}

.boot-bar-wrap {
  width: 280px;
  height: 2px;
  background: rgba(245, 230, 200, 0.1);
  border-radius: 2px;
  margin-top: 2rem;
  overflow: hidden;
}

.boot-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dk), var(--amber), var(--amber-lt));
  width: 0%;
  border-radius: 2px;
  transition: width 0.4s var(--ease-smooth);
}

.boot-system-text {
  font-size: 0.65rem;
  color: rgba(245, 230, 200, 0.3);
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   MAIN LAYOUT — TILING OS INTERFACE
   ============================================================ */
#app {
  display: grid;
  height: 100vh;
  width: 100vw;
  grid-template-rows: 36px 1fr 28px;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "topbar  topbar"
    "sidebar content"
    "statusbar statusbar";
  gap: var(--panel-gap);
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.6s var(--ease-smooth);
}

#app.visible {
  opacity: 1;
}

/* ============================================================
   TOP BAR — OS MENU BAR
   ============================================================ */
#topbar {
  grid-area: topbar;
  background: rgba(45, 74, 62, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: var(--z-nav);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.os-dots {
  display: flex;
  gap: 5px;
}

.os-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.os-dot:hover {
  opacity: 1;
  transform: scale(1.2);
}

.os-dot.red {
  background: var(--rust);
}

.os-dot.yellow {
  background: var(--amber);
}

.os-dot.green {
  background: var(--copper);
}

.os-title {
  font-size: 0.7rem;
  color: rgba(245, 230, 200, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 0.75rem;
}

.topbar-center {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.65rem;
  color: rgba(245, 230, 200, 0.5);
}

.topbar-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* ============================================================
   SIDEBAR — MODULE NAVIGATOR
   ============================================================ */
#sidebar {
  grid-area: sidebar;
  background: rgba(30, 51, 41, 0.98);
  border-right: var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.sidebar-section {
  padding: 0.75rem 0;
  border-bottom: var(--border);
}

.sidebar-label {
  font-size: 0.58rem;
  color: rgba(245, 230, 200, 0.3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.55);
  cursor: none;
  position: relative;
  transition: color 0.2s, background 0.2s;
  border-left: 2px solid transparent;
}

.nav-item:hover {
  color: var(--parchment);
  background: rgba(127, 181, 160, 0.06);
}

.nav-item.active {
  color: var(--amber);
  border-left-color: var(--amber);
  background: rgba(232, 160, 32, 0.06);
}

.nav-item .nav-icon {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.nav-item .nav-label {
  flex: 1;
}

.nav-item .nav-badge {
  font-size: 0.55rem;
  background: rgba(232, 160, 32, 0.2);
  color: var(--amber);
  border-radius: 2px;
  padding: 1px 4px;
  border: 1px solid rgba(232, 160, 32, 0.3);
}

.sidebar-identity {
  padding: 1.25rem 1rem;
  border-bottom: var(--border);
}

.sid-initials {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.sid-name {
  font-size: 0.72rem;
  color: var(--parchment);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sid-role {
  font-size: 0.62rem;
  color: var(--copper);
  margin-top: 0.15rem;
}

.sid-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.58rem;
  color: rgba(245, 230, 200, 0.4);
}

.sid-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse-status 2.5s infinite;
}

@keyframes pulse-status {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-footer {
  margin-top: auto;
  padding: 0.75rem 1rem;
  border-top: var(--border);
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.2);
  letter-spacing: 0.05em;
}

/* ============================================================
   CONTENT AREA — MAIN PANEL
   ============================================================ */
#content {
  grid-area: content;
  position: relative;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 160, 32, 0.3) transparent;
}

.panel::-webkit-scrollbar {
  width: 3px;
}

.panel::-webkit-scrollbar-thumb {
  background: rgba(232, 160, 32, 0.3);
  border-radius: 2px;
}

.panel::-webkit-scrollbar-track {
  background: transparent;
}

.panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.panel.exit {
  opacity: 0;
  transform: translateX(-24px);
  pointer-events: none;
}

/* Panel header — shared across all panels */
.panel-header {
  margin-bottom: 3rem;
  position: relative;
}

.panel-breadcrumb {
  font-size: 0.62rem;
  color: rgba(245, 230, 200, 0.35);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-breadcrumb span {
  color: var(--amber);
}

.panel-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--parchment);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.panel-title em {
  font-style: italic;
  color: var(--amber);
}

.panel-divider {
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin-top: 1.25rem;
  position: relative;
}

.panel-divider::after {
  content: '';
  position: absolute;
  left: 52px;
  top: 0;
  width: 200px;
  height: 2px;
  background: rgba(245, 230, 200, 0.08);
}

/* ============================================================
   PANEL: IDENTITY / HERO
   ============================================================ */
#panel-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.identity-main {}

.identity-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.identity-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--copper);
}

.identity-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--parchment);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.identity-name .name-last {
  color: var(--amber);
  font-style: italic;
}

.identity-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--parchment-dk);
  font-style: italic;
  font-weight: 300;
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.identity-sub {
  font-size: 0.72rem;
  color: var(--copper);
  letter-spacing: 0.08em;
}

.identity-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right;
  border-right: 2px solid var(--amber);
  padding-right: 1.5rem;
}

.identity-stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--amber);
  line-height: 1;
  font-weight: 300;
}

.identity-stat-label {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.identity-system-log {
  background: rgba(26, 40, 32, 0.8);
  border: var(--border);
  border-left: 2px solid var(--amber-dk);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.68rem;
  color: var(--copper);
}

.system-log-header {
  font-size: 0.58rem;
  color: rgba(245, 230, 200, 0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.system-log-header::before {
  content: '◉';
  color: var(--amber);
  font-size: 0.5rem;
}

.log-line {
  display: flex;
  gap: 0.75rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(245, 230, 200, 0.04);
  opacity: 0;
  transition: opacity 0.3s;
}

.log-line.shown {
  opacity: 1;
}

.log-prefix {
  color: rgba(245, 230, 200, 0.25);
  flex-shrink: 0;
}

.log-text {
  color: var(--copper-lt);
}

.log-ok {
  color: var(--amber);
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================================
   IDENTITY: PILLARS ROW
   Three core domain capsules sitting between tagline and log
   ============================================================ */
.identity-pillars {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.identity-pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  background: rgba(30, 51, 41, 0.4);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-spring);
  cursor: default;
}

.identity-pillar:hover {
  background: rgba(30, 51, 41, 0.8);
  border-color: rgba(232, 160, 32, 0.35);
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 0.85rem;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
}

.pillar-label {
  font-size: 0.7rem;
  color: var(--parchment);
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
}

.pillar-detail {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.38);
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding-left: 0.4rem;
  border-left: 1px solid rgba(245, 230, 200, 0.12);
}

/* ============================================================
   IDENTITY: EDUCATION FOOTNOTE inside the log box
   ============================================================ */
.identity-edu-footnote {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(245, 230, 200, 0.07);
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.28);
  letter-spacing: 0.04em;
}

.edu-fn-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 230, 200, 0.18);
  margin-right: 0.3rem;
}

.edu-fn-inst {
  color: rgba(245, 230, 200, 0.45);
}

.edu-fn-sep {
  color: rgba(245, 230, 200, 0.15);
}

.edu-fn-degree {
  font-style: italic;
  color: rgba(127, 181, 160, 0.55);
}

.edu-fn-meta {
  color: rgba(245, 230, 200, 0.22);
}



/* ============================================================
   PANEL: SKILLS - TECH STACK
   ============================================================ */
.genome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.genome-domain {
  position: relative;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(30, 51, 41, 0.4);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
  overflow: hidden;
}

.genome-domain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--domain-color, var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.genome-domain:hover {
  background: rgba(30, 51, 41, 0.8);
  border-color: rgba(245, 230, 200, 0.25);
  transform: translateY(-2px);
}

.genome-domain:hover::before {
  transform: scaleX(1);
}

.domain-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.domain-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--parchment);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.domain-count {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.3);
}

.domain-descriptor {
  font-size: 0.65rem;
  color: var(--copper);
  font-style: italic;
  margin-top: -0.45rem;
  margin-bottom: 0.85rem;
}

.domain-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  font-size: 0.67rem;
  color: rgba(245, 230, 200, 0.7);
  border: 1px solid rgba(245, 230, 200, 0.12);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.tech-tag:hover {
  color: var(--parchment);
  border-color: rgba(232, 160, 32, 0.4);
  background: rgba(232, 160, 32, 0.05);
}

/* ============================================================
   PANEL: EXPERIENCE — TIMELINE ARCHITECTURE
   ============================================================ */
.exp-timeline {
  position: relative;
  padding-left: 2rem;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--amber), rgba(232, 160, 32, 0.1));
}

.exp-entry {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.exp-entry.visible {
  opacity: 1;
  transform: translateX(0);
}

.exp-entry::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-deep);
  border: 2px solid var(--amber);
  transition: background 0.2s, border-color 0.2s;
}

.exp-entry:hover::before {
  background: var(--amber);
}

.exp-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.exp-role {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--parchment);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.exp-company {
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exp-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.65rem;
  color: rgba(245, 230, 200, 0.35);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.exp-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.exp-highlight {
  font-style: italic;
  font-size: 0.8rem;
  color: var(--copper-lt);
  border-left: 2px solid rgba(127, 181, 160, 0.4);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.exp-impact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.exp-impact li {
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.65);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.exp-impact li::before {
  content: '→';
  color: var(--amber-dk);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============================================================
   PANEL: CERTIFICATIONS
   ============================================================ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.cert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  background: rgba(30, 51, 41, 0.4);
  cursor: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring),
    background 0.3s,
    border-color 0.3s;
}

.cert-card::after {
  content: 'VIEW CREDENTIAL →';
  position: absolute;
  bottom: 1.15rem;
  right: 1.25rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}

.cert-card:hover {
  transform: translateY(-3px);
  background: rgba(30, 51, 41, 0.8);
  border-color: rgba(245, 230, 200, 0.25);
}

.cert-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.cert-card[data-has-file="false"]::after {
  content: 'VERIFY ONLINE ↗';
}

.cert-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: height 0.25s;
}

.cert-card:hover .cert-accent-bar {
  height: 4px;
}

.cert-issuer-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
  background: rgba(245, 230, 200, 0.06);
  border: 1px solid rgba(245, 230, 200, 0.1);
  color: rgba(245, 230, 200, 0.5);
}

.cert-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--parchment);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.cert-subtitle {
  font-size: 0.65rem;
  color: var(--copper);
  font-style: italic;
  margin-bottom: 0;
}

.cert-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.3);
  line-height: 1;
}

/* ============================================================
   LIGHTBOX MODAL
   ============================================================ */
#cert-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth);
}

#cert-modal.open {
  opacity: 1;
  pointer-events: auto;
}

#cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 39, 32, 0.92);
  backdrop-filter: blur(20px);
  cursor: none;
}

.modal-container {
  position: relative;
  z-index: 1;
  width: min(860px, 92vw);
  max-height: 88vh;
  background: var(--forest);
  border: var(--border-amber);
  border-radius: var(--radius);
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

#cert-modal.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(26, 40, 32, 0.8);
  border-bottom: var(--border);
  flex-shrink: 0;
}

.modal-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-os-dots {
  display: flex;
  gap: 5px;
}

.modal-os-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.modal-cert-name {
  font-size: 0.7rem;
  color: rgba(245, 230, 200, 0.5);
  letter-spacing: 0.05em;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.modal-btn {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  cursor: none;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-mono);
}

.modal-btn-close {
  color: rgba(245, 230, 200, 0.4);
  border: 1px solid rgba(245, 230, 200, 0.15);
}

.modal-btn-close:hover {
  background: rgba(196, 92, 58, 0.15);
  color: var(--rust);
  border-color: rgba(196, 92, 58, 0.3);
}

.modal-btn-verify {
  background: rgba(232, 160, 32, 0.1);
  color: var(--amber);
  border: 1px solid rgba(232, 160, 32, 0.3);
}

.modal-btn-verify:hover {
  background: rgba(232, 160, 32, 0.2);
}

.modal-img-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  position: relative;
  background: rgba(21, 39, 32, 0.5);
  min-height: 0;
}

.modal-cert-content {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 0;
}

.modal-cert-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* PDF embed inside the cert lightbox */
.modal-cert-embed {
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: none;
  border-radius: var(--radius-sm);
  display: block;
}

/* Prev / next navigation arrows */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(21, 39, 32, 0.88);
  border: 1px solid rgba(232, 160, 32, 0.4);
  border-radius: 50%;
  color: var(--amber);
  font-size: 1.4rem;
  line-height: 1;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.modal-nav-btn:hover {
  background: rgba(232, 160, 32, 0.15);
  border-color: var(--amber);
}

.modal-nav-btn:disabled {
  opacity: 0.25;
}

#modal-nav-prev {
  left: 0.6rem;
}

#modal-nav-next {
  right: 0.6rem;
}

/* Counter — "3 / 7" in topbar */
.modal-nav-counter {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.4);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  margin-left: 0.5rem;
}

.modal-footer {
  padding: 0.75rem 1.25rem;
  background: rgba(26, 40, 32, 0.8);
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  color: rgba(245, 230, 200, 0.35);
  flex-shrink: 0;
}

.modal-footer-id {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.modal-footer-issuer {
  color: var(--copper);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

#modal-cert-year {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: rgba(245, 230, 200, 0.35);
}

/* ============================================================
   PANEL: AWARDS
   ============================================================ */
.awards-layout {
  display: grid;
  gap: 1.25rem;
}

.award-entry {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(30, 51, 41, 0.4);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}

.award-entry:hover {
  background: rgba(30, 51, 41, 0.7);
  border-color: rgba(232, 160, 32, 0.25);
}

/* Clickable award entry (has certFiles) */
.award-entry.award-has-certs {
  cursor: none;
}

.award-entry.award-has-certs::after {
  content: 'VIEW CERTIFICATES →';
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}

.award-entry.award-has-certs:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.award-entry::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-smooth);
}

.award-entry:hover::before {
  transform: scaleY(1);
}

.award-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2px;
}

.award-emblem {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--amber);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.55rem;
}

.award-category {
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.3);
  text-align: center;
  line-height: 1.3;
}

.award-body {}

.award-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--parchment);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.award-org {
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.award-desc {
  font-size: 0.74rem;
  color: rgba(245, 230, 200, 0.6);
  line-height: 1.6;
}

.award-metric-col {
  text-align: right;
  flex-shrink: 0;
}

.award-metric {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--copper-lt);
  font-style: italic;
  white-space: nowrap;
}

.award-period {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.3);
  margin-top: 0.25rem;
}

/* ============================================================
   PANEL: CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-left {}

.contact-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--parchment);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.contact-statement strong {
  color: var(--amber);
  font-style: normal;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-link-row .contact-link {
  flex: 1;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border: var(--border);
  border-radius: var(--radius-sm);
  background: rgba(30, 51, 41, 0.4);
  cursor: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
  text-decoration: none;
  color: inherit;
}

.contact-link:hover {
  background: rgba(30, 51, 41, 0.8);
  border-color: rgba(232, 160, 32, 0.3);
  transform: translateX(3px);
}

.contact-link-label {
  font-size: 0.65rem;
  color: rgba(245, 230, 200, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: 1;
}

.contact-link-value {
  font-size: 0.78rem;
  color: var(--parchment);
}

.contact-link-arrow {
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.25);
  transition: color 0.2s, transform 0.2s;
}

.contact-link:hover .contact-link-arrow {
  color: var(--amber);
  transform: translateX(3px);
}

.contact-copy-btn {
  padding: 0.95rem 1rem;
  border: var(--border);
  border-radius: var(--radius-sm);
  background: rgba(30, 51, 41, 0.4);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.contact-copy-btn:hover {
  background: rgba(232, 160, 32, 0.12);
  border-color: var(--amber);
}

.contact-copy-btn.copied {
  background: rgba(52, 199, 89, 0.15);
  border-color: #34C759;
  color: #34C759;
}

.contact-resume-row .contact-link-resume {
  border-color: rgba(232, 160, 32, 0.4);
  background: rgba(232, 160, 32, 0.07);
}

.contact-resume-row .contact-link-resume:hover {
  background: rgba(232, 160, 32, 0.16);
  border-color: var(--amber);
}

.contact-link-badge {
  font-size: 0.62rem;
  color: var(--amber);
  background: rgba(232, 160, 32, 0.15);
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}

.contact-status-card {
  border: var(--border-amber);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(232, 160, 32, 0.04);
}

.csc-header {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.csc-header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-status 2s infinite;
}

.csc-field {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(245, 230, 200, 0.06);
}

.csc-field:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.csc-key {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.3);
  margin-bottom: 0.25rem;
}

.csc-val {
  font-size: 0.78rem;
  color: var(--parchment);
}

/* Version switcher header row */
.contact-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-version-toggle {
  display: none; /* Hidden to preview final presentation */
  align-items: center;
  background: rgba(30, 51, 41, 0.6);
  border: var(--border);
  border-radius: 20px;
  padding: 3px;
  gap: 3px;
}

.cvt-btn {
  background: transparent;
  border: none;
  color: rgba(245, 230, 200, 0.5);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 16px;
  cursor: none;
  transition: all 0.2s var(--ease-smooth);
}

.cvt-btn.active {
  background: var(--amber);
  color: #0d1b15;
  font-weight: 700;
}

.cvt-btn:hover:not(.active) {
  color: var(--parchment);
}

/* ============================================================
   CONTACT V2: TACTICAL GRID & SPEC STRIP
   ============================================================ */
.contact-v2-wrapper {
  animation: fadeIn 0.3s var(--ease-smooth);
}

.contact-v2-statement {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(245, 230, 200, 0.85);
  margin-bottom: 2rem;
  max-width: 800px;
}

.contact-v2-statement strong {
  color: var(--amber);
  font-weight: 600;
}

.contact-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cv2-card {
  position: relative;
  border: var(--border);
  border-radius: var(--radius);
  background: rgba(30, 51, 41, 0.45);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
  text-decoration: none;
  color: inherit;
  cursor: none;
}

.cv2-card:hover {
  background: rgba(30, 51, 41, 0.85);
  border-color: rgba(232, 160, 32, 0.35);
  transform: translateY(-2px);
}

.cv2-card-featured {
  border-color: rgba(232, 160, 32, 0.3);
  background: rgba(232, 160, 32, 0.04);
}

.cv2-card-featured:hover {
  border-color: var(--amber);
  background: rgba(232, 160, 32, 0.09);
}

.cv2-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cv2-card-title {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-family: var(--font-mono);
}

.cv2-card-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--parchment);
  word-break: break-all;
  margin-bottom: 1rem;
}

.cv2-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(245, 230, 200, 0.06);
  gap: 0.5rem;
}

.cv2-link-action {
  font-size: 0.72rem;
  color: rgba(245, 230, 200, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.cv2-card:hover .cv2-link-action {
  color: var(--amber);
  transform: translateX(3px);
}

.cv2-copy-btn {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(232, 160, 32, 0.1);
  border: 1px solid rgba(232, 160, 32, 0.25);
  color: var(--amber);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.cv2-copy-btn:hover {
  background: rgba(232, 160, 32, 0.25);
  border-color: var(--amber);
}

.cv2-copy-btn.copied {
  background: rgba(52, 199, 89, 0.2);
  border-color: #34C759;
  color: #34C759;
}

/* V2 Unified Spec Strip */
.contact-v2-spec {
  border: var(--border-amber);
  border-radius: var(--radius);
  background: rgba(232, 160, 32, 0.03);
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cv2-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cv2-spec-label {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.4);
}

.cv2-spec-val {
  font-size: 0.76rem;
  color: var(--parchment);
  line-height: 1.45;
}

.cv2-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 6px #34C759;
  margin-right: 0.35rem;
}

@media (max-width: 900px) {
  .contact-v2-grid {
    grid-template-columns: 1fr;
  }
  .contact-v2-spec {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .contact-v2-spec {
    grid-template-columns: 1fr;
  }
}




/* ============================================================
   CONTACT V3: FOCUSED CONTACT
   ============================================================ */

.contact-v3-wrapper {
  animation: fadeIn 0.35s var(--ease-smooth);
  max-width: 860px;
}

/* --- Availability tag: one line at the top --- */
.cv3-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(245, 230, 200, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 2.75rem;
}

.cv3-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 7px rgba(74, 222, 128, 0.65);
  animation: pulse-status 2s ease-in-out infinite;
  flex-shrink: 0;
}

.cv3-avail-text {
  color: rgba(245, 230, 200, 0.45);
}

/* --- Email hero --- */
.cv3-email-hero {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 230, 200, 0.08);
}

.cv3-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.28);
  margin-bottom: 0.9rem;
}

.cv3-hero-email {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  position: relative;
  transition: color 0.2s;
  word-break: break-all;
}

.cv3-hero-email::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--amber);
  margin-top: 0.4rem;
  border-radius: 1px;
  transition: width 0.35s var(--ease-smooth);
}

.cv3-hero-email:hover {
  color: var(--amber-lt);
}

.cv3-hero-email:hover::after {
  width: 100%;
}

/* Two action buttons side by side */
.cv3-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cv3-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: none;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  white-space: nowrap;
}

/* Primary: solid amber */
.cv3-hero-btn-primary {
  background: var(--amber);
  color: var(--ink);
  border: 1px solid var(--amber);
  font-weight: 700;
}

.cv3-hero-btn-primary:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 160, 32, 0.25);
}

/* Ghost: outlined */
.cv3-hero-btn-ghost {
  background: transparent;
  color: rgba(245, 230, 200, 0.65);
  border: 1px solid rgba(245, 230, 200, 0.18);
}

.cv3-hero-btn-ghost:hover {
  border-color: rgba(245, 230, 200, 0.4);
  color: var(--parchment);
  background: rgba(245, 230, 200, 0.04);
}

.cv3-hero-btn-ghost.copied {
  border-color: rgba(74, 222, 128, 0.5);
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.06);
}

/* --- Channel tiles: 3-column equal grid --- */
.cv3-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cv3-tile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border: var(--border);
  border-radius: var(--radius);
  background: rgba(30, 51, 41, 0.4);
  text-decoration: none;
  color: inherit;
  cursor: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.cv3-tile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}

.cv3-tile:hover {
  background: rgba(30, 51, 41, 0.75);
  border-color: rgba(232, 160, 32, 0.3);
  transform: translateY(-3px);
}

.cv3-tile:hover::after {
  transform: scaleX(1);
}

/* Resume tile gets a subtle amber tint from the start */
.cv3-tile-accent {
  border-color: rgba(232, 160, 32, 0.2);
  background: rgba(232, 160, 32, 0.03);
}

.cv3-tile-accent:hover {
  border-color: rgba(232, 160, 32, 0.5);
  background: rgba(232, 160, 32, 0.07);
}

.cv3-tile-symbol {
  font-size: 1.1rem;
  color: rgba(245, 230, 200, 0.3);
  line-height: 1;
  transition: color 0.2s;
}

.cv3-tile:hover .cv3-tile-symbol {
  color: var(--amber);
}

.cv3-tile-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cv3-tile-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.3);
}

.cv3-tile-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--parchment);
  word-break: break-all;
  line-height: 1.4;
}

.cv3-tile-accent .cv3-tile-label {
  color: rgba(232, 160, 32, 0.45);
}

.cv3-tile-cta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(245, 230, 200, 0.2);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  align-self: flex-start;
}

.cv3-tile:hover .cv3-tile-cta {
  color: var(--amber);
  transform: translateX(4px);
}

/* V3 responsive */
@media (max-width: 900px) {
  .cv3-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .cv3-tiles {
    grid-template-columns: 1fr;
  }
  .cv3-hero-email {
    font-size: 1.2rem;
  }
}



/* Main two-column asymmetric layout */
.contact-v3-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* Left: ambient glow + statement + beacon */
.contact-v3-left {
  position: relative;
}

.cv3-ambient-glow {
  position: absolute;
  top: -40px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(232, 160, 32, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.cv3-statement {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  color: var(--parchment);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 2.25rem;
}

.cv3-statement strong {
  color: var(--amber);
  font-style: normal;
  font-weight: 400;
}

/* Availability beacon */
.cv3-beacon {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.cv3-beacon-line {
  flex-shrink: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), rgba(232, 160, 32, 0.1));
  border-radius: 1px;
  min-height: 130px;
  align-self: stretch;
}

.cv3-beacon-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cv3-field {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
}

.cv3-field-label {
  color: rgba(245, 230, 200, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.cv3-field-sep {
  color: rgba(232, 160, 32, 0.4);
  flex-shrink: 0;
}

.cv3-field-val {
  color: var(--parchment);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* Live pulsing availability dot */
.cv3-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
  animation: pulse-status 2s ease-in-out infinite;
  flex-shrink: 0;
}

.cv3-live-dot-sm {
  width: 5px;
  height: 5px;
}

/* Right: email command block + channel list */
.contact-v3-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Email command block */
.cv3-email-block {
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid rgba(232, 160, 32, 0.25);
  border-radius: var(--radius);
  background: rgba(232, 160, 32, 0.04);
  position: relative;
  overflow: hidden;
}

.cv3-email-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 160, 32, 0.6), transparent);
}

.cv3-email-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.3);
  margin-bottom: 0.65rem;
}

.cv3-email-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--parchment-lt);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
  word-break: break-all;
}

.cv3-email-value:hover {
  color: var(--amber);
}

.cv3-email-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 230, 200, 0.07);
}

.cv3-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(245, 230, 200, 0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s, gap 0.2s;
}

.cv3-action-link:hover {
  color: var(--copper-lt);
  gap: 0.6rem;
}

.cv3-action-icon {
  transition: transform 0.2s;
}

.cv3-action-link:hover .cv3-action-icon {
  transform: translateX(2px);
}

/* Terminal-style copy button */
.cv3-copy-cmd {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber);
  background: rgba(232, 160, 32, 0.08);
  border: 1px solid rgba(232, 160, 32, 0.22);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  cursor: none;
  transition: all 0.2s;
  letter-spacing: 0.04em;
  margin-left: auto;
}

.cv3-copy-cmd:hover {
  background: rgba(232, 160, 32, 0.18);
  border-color: var(--amber);
}

.cv3-copy-cmd.copied {
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.4);
}

.cv3-cmd-prefix {
  color: rgba(232, 160, 32, 0.5);
  font-style: normal;
}

.cv3-copy-cmd.copied .cv3-cmd-prefix {
  color: rgba(74, 222, 128, 0.6);
}

/* Channel list - clean horizontal rows, no boxes */
.cv3-channels {
  display: flex;
  flex-direction: column;
}

.cv3-channel {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(245, 230, 200, 0.06);
  text-decoration: none;
  color: inherit;
  cursor: none;
  transition: background 0.2s, padding-left 0.25s var(--ease-smooth);
  border-radius: var(--radius-sm);
}

.cv3-channel:first-child {
  border-top: 1px solid rgba(245, 230, 200, 0.06);
}

.cv3-channel:hover {
  background: rgba(30, 51, 41, 0.6);
  padding-left: 0.75rem;
  padding-right: 0.5rem;
}

.cv3-ch-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.35);
}

.cv3-ch-value {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--parchment);
  word-break: break-all;
}

.cv3-ch-cta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(245, 230, 200, 0.25);
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s;
  text-align: right;
}

.cv3-channel:hover .cv3-ch-cta {
  color: var(--amber);
  transform: translateX(3px);
}

/* Resume channel gets subtle amber tint on the cta */
.cv3-channel-resume .cv3-ch-label {
  color: rgba(232, 160, 32, 0.5);
}

.cv3-channel-resume .cv3-ch-cta {
  color: rgba(232, 160, 32, 0.35);
}

.cv3-channel-resume:hover .cv3-ch-cta {
  color: var(--amber);
}

/* Bottom OS-style status strip */
.cv3-status-strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.85rem 1.25rem;
  border: var(--border);
  border-radius: var(--radius);
  background: rgba(30, 51, 41, 0.5);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.cv3-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 120px;
}

.cv3-strip-label {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(245, 230, 200, 0.28);
  text-transform: uppercase;
}

.cv3-strip-val {
  font-size: 0.7rem;
  color: rgba(245, 230, 200, 0.75);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cv3-strip-sep {
  color: rgba(245, 230, 200, 0.1);
  padding: 0 1rem;
  font-size: 0.9rem;
  align-self: center;
  flex-shrink: 0;
}

/* V3 responsive */
@media (max-width: 900px) {
  .contact-v3-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .cv3-channel {
    grid-template-columns: 5rem 1fr auto;
    gap: 0.6rem;
  }
  .cv3-strip-item {
    min-width: 45%;
  }
  .cv3-strip-sep {
    display: none;
  }
}
/* ============================================================
   CONTACT V4: ZERO-SCROLL ASYMMETRIC SPLIT
   ============================================================ */
/* Tighter panel header margin in contact to maximize visible height */
#panel-contact .panel-header {
  margin-bottom: 1.5rem;
}

.cv4-panoramic {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
  animation: fadeIn 0.35s var(--ease-smooth);
}

/* LEFT PANE */
.cv4-left-pane {
  display: flex;
  flex-direction: column;
}

.cv4-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.6);
  margin-bottom: 0.85rem;
}

.cv4-status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
  animation: pulse-status 2.2s infinite;
  flex-shrink: 0;
}

.cv4-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--parchment);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.cv4-spec-table {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 230, 200, 0.1);
}

.cv4-spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cv4-spec-lbl {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.35);
}

.cv4-spec-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--parchment);
  line-height: 1.4;
}

/* RIGHT PANE (ACTION DECK) */
.cv4-right-pane {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Action Card Base */
.cv4-card {
  border: 1px solid rgba(245, 230, 200, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(30, 51, 41, 0.4);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease-spring);
  position: relative;
}

/* Card 1: Direct Email */
.cv4-card-email {
  padding: 1rem 1.25rem;
  border-color: rgba(232, 160, 32, 0.35);
  background: linear-gradient(135deg, rgba(30, 51, 41, 0.65) 0%, rgba(21, 39, 32, 0.85) 100%);
}

.cv4-card-email:hover {
  border-color: rgba(232, 160, 32, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cv4-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cv4-tag {
  color: var(--amber);
  font-weight: 700;
}

.cv4-meta-note {
  color: rgba(245, 230, 200, 0.35);
}

.cv4-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cv4-email-link {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  color: var(--parchment);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.cv4-email-link:hover {
  color: var(--amber-lt);
}

.cv4-email-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cv4-btn-action {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s var(--ease-smooth);
}

.cv4-btn-copy {
  background: rgba(245, 230, 200, 0.05);
  color: rgba(245, 230, 200, 0.75);
  border: 1px solid rgba(245, 230, 200, 0.18);
}

.cv4-btn-copy:hover {
  background: rgba(245, 230, 200, 0.12);
  border-color: rgba(232, 160, 32, 0.45);
  color: var(--parchment);
}

.cv4-btn-copy.copied {
  border-color: #34C759;
  color: #34C759;
  background: rgba(52, 199, 89, 0.15);
}

.cv4-btn-write {
  background: var(--amber);
  color: var(--ink);
  border: 1px solid var(--amber);
  font-weight: 700;
}

.cv4-btn-write:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
  box-shadow: 0 4px 12px rgba(232, 160, 32, 0.35);
}

/* Card 2: Featured Resume */
.cv4-card-resume {
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: none;
  border-color: rgba(232, 160, 32, 0.25);
  background: rgba(232, 160, 32, 0.05);
}

.cv4-card-resume:hover {
  border-color: var(--amber);
  background: rgba(232, 160, 32, 0.1);
  transform: translateY(-2px);
}

.cv4-resume-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cv4-resume-badge {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 700;
}

.cv4-resume-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--parchment);
  font-weight: 400;
}

.cv4-resume-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(245, 230, 200, 0.45);
}

.cv4-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.35);
  color: var(--amber);
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
}

.cv4-card-resume:hover .cv4-pill-badge {
  background: var(--amber);
  color: var(--ink);
}

/* 3. Twin Channels: LinkedIn & GitHub */
.cv4-channels-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.cv4-card-channel {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: none;
}

.cv4-card-channel:hover {
  background: rgba(30, 51, 41, 0.8);
  border-color: rgba(232, 160, 32, 0.4);
  transform: translateY(-2px);
}

.cv4-chan-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cv4-chan-glyph {
  color: var(--amber);
  font-size: 0.75rem;
}

.cv4-chan-tag {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--parchment);
}

.cv4-chan-val {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(245, 230, 200, 0.4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv4-chan-cta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--copper);
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  transition: color 0.2s;
}

.cv4-card-channel:hover .cv4-chan-cta {
  color: var(--amber);
}

/* Responsive for Split View */
@media (max-width: 900px) {
  .cv4-panoramic {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .cv4-channels-twin {
    grid-template-columns: 1fr;
  }
  .cv4-email-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Compact laptop screens: tighten vertical padding to guarantee zero-scroll */
@media (min-width: 901px) and (max-height: 820px) {
  #panel-contact {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  #panel-contact .panel-header {
    margin-bottom: 1rem;
  }
  .cv4-headline {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
  }
  .cv4-spec-table {
    gap: 0.45rem;
    padding-top: 0.75rem;
  }
  .cv4-right-pane {
    gap: 0.65rem;
  }
  .cv4-card-email {
    padding: 0.8rem 1.15rem;
  }
  .cv4-card-resume {
    padding: 0.7rem 1.15rem;
  }
  .cv4-card-channel {
    padding: 0.7rem 0.9rem;
  }
}

/* ============================================================
   CONTACT V5: DIRECT ENGAGEMENT (REFINED)
   ============================================================ */
.cv5-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.75rem;
  align-items: stretch;
  max-width: 980px;
  animation: fadeIn 0.3s var(--ease-smooth);
}

/* LEFT COLUMN: Scope & Parameters */
.cv5-col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cv5-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.6);
  margin-bottom: 0.85rem;
}

.cv5-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
  animation: pulse-status 2.2s infinite;
  flex-shrink: 0;
}

.cv5-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--parchment);
  margin-bottom: 1.35rem;
}

.cv5-statement strong {
  color: var(--amber);
  font-weight: 400;
}

.cv5-params {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid rgba(245, 230, 200, 0.1);
  padding-top: 1rem;
}

.cv5-param-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cv5-param-key {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.35);
}

.cv5-param-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(245, 230, 200, 0.85);
  line-height: 1.4;
}

/* RIGHT COLUMN: Actions & Links */
.cv5-col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
}

/* Email Box */
.cv5-email-box {
  border: 1px solid rgba(232, 160, 32, 0.35);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30, 51, 41, 0.65) 0%, rgba(21, 39, 32, 0.85) 100%);
  padding: 0.95rem 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.cv5-email-box:hover {
  border-color: rgba(232, 160, 32, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cv5-box-header {
  margin-bottom: 0.45rem;
}

.cv5-box-lbl {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

.cv5-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cv5-email-addr {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  color: var(--parchment);
  letter-spacing: -0.01em;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.cv5-email-addr:hover {
  color: var(--amber-lt);
}

.cv5-email-btns {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cv5-btn-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: none;
  background: rgba(245, 230, 200, 0.05);
  color: rgba(245, 230, 200, 0.75);
  border: 1px solid rgba(245, 230, 200, 0.18);
  transition: all 0.2s;
  white-space: nowrap;
}

.cv5-btn-copy:hover {
  background: rgba(245, 230, 200, 0.12);
  border-color: rgba(232, 160, 32, 0.45);
  color: var(--parchment);
}

.cv5-btn-copy.copied {
  border-color: #34C759;
  color: #34C759;
  background: rgba(52, 199, 89, 0.15);
}

.cv5-btn-write {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--amber);
  color: var(--ink);
  border: 1px solid var(--amber);
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}

.cv5-btn-write:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
  box-shadow: 0 4px 12px rgba(232, 160, 32, 0.35);
}

/* Channel Links */
.cv5-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cv5-link-row {
  border: 1px solid rgba(245, 230, 200, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(30, 51, 41, 0.4);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  cursor: none;
  transition: all 0.25s var(--ease-spring);
}

.cv5-link-row:hover {
  background: rgba(30, 51, 41, 0.8);
  border-color: rgba(232, 160, 32, 0.35);
  transform: translateY(-2px);
}

.cv5-link-resume {
  border-color: rgba(232, 160, 32, 0.25);
  background: rgba(232, 160, 32, 0.05);
}

.cv5-link-resume:hover {
  border-color: var(--amber);
  background: rgba(232, 160, 32, 0.1);
}

.cv5-link-info {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  overflow: hidden;
  min-width: 0;
}

.cv5-link-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--parchment);
}

.cv5-link-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(245, 230, 200, 0.4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv5-link-action {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--copper);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.cv5-link-row:hover .cv5-link-action {
  color: var(--amber);
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 900px) {
  .cv5-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .cv5-email-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cv5-email-btns {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================================
   STATUS BAR - BOTTOM OF OS
   ============================================================ */
#statusbar {
  grid-area: statusbar;
  background: rgba(45, 74, 62, 0.98);
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.35);
  letter-spacing: 0.06em;
  z-index: var(--z-nav);
}

.statusbar-left,
.statusbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sb-item .sb-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
}

.sb-item .sb-dot.green {
  background: #4ADE80;
}

.sb-item .sb-dot.copper {
  background: var(--copper);
}

#sb-active-panel {
  color: var(--amber);
}

/* ============================================================
   EASTER EGG — KONAMI / SECRET CONSOLE
   ============================================================ */
#secret-console {
  position: fixed;
  bottom: 40px;
  right: 24px;
  width: 360px;
  background: var(--forest-deep);
  border: var(--border-amber);
  border-radius: var(--radius);
  font-size: 0.68rem;
  overflow: hidden;
  z-index: 500;
  transform: translateY(120%) scale(0.95);
  transition: transform 0.45s var(--ease-spring), opacity 0.35s;
  opacity: 0;
  pointer-events: none;
}

#secret-console.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.console-header {
  background: rgba(26, 40, 32, 0.9);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border);
  font-size: 0.6rem;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.console-body {
  padding: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.console-line {
  color: var(--copper);
  line-height: 1.4;
  display: flex;
  gap: 0.5rem;
}

.console-line .prompt {
  color: var(--amber-dk);
}

.console-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-top: var(--border);
}

.console-input-prompt {
  color: var(--amber);
  font-size: 0.7rem;
}

#console-input {
  background: none;
  border: none;
  outline: none;
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  flex: 1;
  caret-color: var(--amber);
}

/* ============================================================
   ANIMATED GRID BACKGROUND — subtle, classy
   ============================================================ */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(127, 181, 160, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 181, 160, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 50%, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
}

/* ============================================================
   SCANLINE EFFECT — homage to CRT terminals
   ============================================================ */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8000;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.025) 2px,
      rgba(0, 0, 0, 0.025) 4px);
  opacity: 0.5;
}

/* ============================================================
   CURSOR PROXIMITY GLOW ON INTERACTIVE ELEMENTS
   ============================================================ */
.glow-target {
  transition: box-shadow 0.3s;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  body {
    overflow: auto;
    cursor: auto;
  }

  #cursor-outer,
  #cursor-inner {
    display: none;
  }

  #app {
    display: block;
    height: auto;
    overflow: auto;
  }

  #topbar {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  #sidebar {
    display: none;
  }

  #content {
    overflow: visible;
  }

  .panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    padding: 1.5rem 1.25rem;
  }

  .panel.active {
    display: block;
  }

  .identity-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .identity-stats {
    flex-direction: row;
    text-align: left;
    border-right: none;
    border-top: 2px solid var(--amber);
    padding-right: 0;
    padding-top: 1rem;
    justify-content: space-around;
  }

  .award-entry {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .award-metric-col {
    grid-column: 2;
    text-align: left;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .genome-grid {
    grid-template-columns: 1fr;
  }

  #panel-identity {
    padding: 2rem 1.25rem;
    min-height: calc(100vh - 36px);
  }

  /* Mobile nav bar */
  #mobile-nav {
    display: flex !important;
    position: sticky;
    top: 36px;
    background: rgba(30, 51, 41, 0.98);
    border-bottom: var(--border);
    overflow-x: auto;
    z-index: 90;
    scrollbar-width: none;
  }

  #mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav-item {
    flex-shrink: 0;
    padding: 0.7rem 1rem;
    font-size: 0.65rem;
    color: rgba(245, 230, 200, 0.5);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
  }

  .mobile-nav-item.active {
    color: var(--amber);
    border-bottom-color: var(--amber);
  }

  #statusbar {
    display: none;
  }
}

#mobile-nav {
  display: none;
}

/* ============================================================
   SCROLL ANIMATIONS — Entry effects for panel content
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.in {
  animation: revealIn 0.5s var(--ease-smooth) forwards;
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger delays */
.reveal:nth-child(1) {
  animation-delay: 0.05s;
}

.reveal:nth-child(2) {
  animation-delay: 0.12s;
}

.reveal:nth-child(3) {
  animation-delay: 0.19s;
}

.reveal:nth-child(4) {
  animation-delay: 0.26s;
}

.reveal:nth-child(5) {
  animation-delay: 0.33s;
}

.reveal:nth-child(6) {
  animation-delay: 0.40s;
}

/* ============================================================
   TOOLTIP
   ============================================================ */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--forest-deep);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem;
  font-size: 0.6rem;
  color: var(--parchment);
  white-space: nowrap;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   LOADING STATE
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg,
      rgba(245, 230, 200, 0.04) 25%,
      rgba(245, 230, 200, 0.08) 50%,
      rgba(245, 230, 200, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.text-amber {
  color: var(--amber);
}

.text-copper {
  color: var(--copper);
}

.font-serif {
  font-family: var(--font-serif);
}

/* ============================================================
   EDUCATION BLOCK — rendered inside Identity panel
   ============================================================ */
.identity-education {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: var(--border);
  border-left: 2px solid var(--copper-dk);
  border-radius: var(--radius);
  background: rgba(30, 51, 41, 0.35);
  max-width: 520px;
}

.edu-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.3);
  margin-bottom: 0.6rem;
}

.edu-institution {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--parchment);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.edu-degree {
  font-size: 0.72rem;
  color: var(--copper-lt);
  font-style: italic;
  margin-bottom: 0.6rem;
}

.edu-meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.62rem;
  color: rgba(245, 230, 200, 0.35);
  align-items: center;
}

/* Resume link — distinct amber tint in contact panel */
.contact-link-resume {
  border-color: rgba(232, 160, 32, 0.2) !important;
  background: rgba(232, 160, 32, 0.04) !important;
}

.contact-link-resume:hover {
  background: rgba(232, 160, 32, 0.1) !important;
  border-color: rgba(232, 160, 32, 0.4) !important;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

  #boot-screen,
  #cursor-outer,
  #cursor-inner,
  .scanlines,
  .grid-bg {
    display: none !important;
  }

  body {
    overflow: auto;
    background: white;
    color: black;
  }
}