/* Reset and Core Variables */
:root {
  --bg: #090a0c;
  --bg-elevated: #111318;
  --bg-card: #16181d;
  --text-main: #ffffff;
  --text-muted: #b0b3ba;
  --accent-gold: #c9a96e;
  --accent-emerald: #47b881;
  --accent-purple: #8f85d3;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.25);
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  --sheen-soft: rgba(222, 232, 245, 0.10);
  --sheen-mid: rgba(176, 205, 235, 0.18);
  --sheen-edge: rgba(255, 255, 255, 0.24);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #090a0c 0%, #0f1419 25%, #1a1f26 50%, #0f1419 75%, #090a0c 100%);
  position: relative;
  overflow-x: hidden;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(71, 184, 129, 0.4);
  color: #fff;
}

header,
section,
footer,
#progress-bar,
.mobile-nav {
  position: relative;
  z-index: 2;
}

.project-card,
.cap-card,
.think-card,
.now-card,
.contact-grid,
.cred-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project-card>*,
.cap-card>*,
.think-card>*,
.now-card>*,
.contact-grid>*,
.cred-card>* {
  position: relative;
  z-index: 2;
}

.project-card::before,
.cap-card::before,
.think-card::before,
.now-card::before,
.contact-grid::before,
.cred-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 95% at 15% -18%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), transparent 45%);
  opacity: 0.52;
  pointer-events: none;
  z-index: 0;
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-emerald), rgba(71, 184, 129, 0.6));
  z-index: 1005;
  transition: width 0.15s;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  font-family: var(--font-serif);
}

.serif {
  font-family: var(--font-serif);
}

.mono {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.container-sm {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.section {
  padding: 9rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4.5rem;
  max-width: 700px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-emerald);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent-emerald);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg);
  font-weight: 500;
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, rgba(9, 10, 12, 0.98), rgba(9, 10, 12, 0.9));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(9, 10, 12, 0.95);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  z-index: 1001;
  position: relative;
  color: var(--text-main);
}

.logo span {
  color: var(--accent-emerald);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-emerald);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav .nav-link {
  font-size: 2rem;
  font-family: var(--font-serif);
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.mobile-nav .nav-link:hover {
  color: var(--accent-emerald);
}

.mobile-nav .nav-link::after {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-meta-bar {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.hero-meta-item {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-meta-item i {
  width: 4px;
  height: 4px;
  background: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 i {
  font-style: italic;
  color: var(--accent-emerald);
}

.hero p {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.hero-portrait-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 3/4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hero-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 50px rgba(9, 10, 12, 0.9);
  pointer-events: none;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.1);
  transition: filter var(--transition);
}

.hero-portrait-wrapper:hover .hero-portrait {
  filter: grayscale(0%) contrast(1.1);
}

.portrait-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 3;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.portrait-accent span {
  display: block;
  color: var(--text-main);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* Credibility Strip */
.proof-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 19, 24, 0.5);
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.proof-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.proof-item:hover {
  color: var(--text-main);
}

.proof-icon {
  font-size: 1.25rem;
  color: var(--accent-gold);
}

/* Projects */
#projects {
  background: var(--bg);
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.project-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.project-card.flagship {
  border-color: rgba(71, 184, 129, 0.4);
  background: linear-gradient(145deg, var(--bg-elevated) 0%, rgba(71, 184, 129, 0.05) 100%);
}

.project-card.flagship:hover {
  border-color: var(--accent-emerald);
  box-shadow: 0 32px 64px rgba(71, 184, 129, 0.2);
}

.project-content {
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
}

.project-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-main);
  background: var(--bg-card);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flagship-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--bg);
  background: var(--accent-emerald);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.project-summary {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3.5rem;
  font-family: var(--font-serif);
}

.project-details {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.pd-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pd-col h4::before {
  content: '';
  display: block;
  width: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.pd-col p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.pd-result-wrapper {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.metric-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
  border-right: 1px solid var(--border);
}

.metric-val {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent-emerald);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pd-result-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pd-result-text h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pd-result-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-proof-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all var(--transition);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.proof-link:hover {
  background: var(--text-main);
  color: var(--bg);
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.proof-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.05em;
  cursor: default;
}

.project-card.secondary-build .project-content {
  padding: clamp(2rem, 4vw, 3rem);
}

.project-card.secondary-build .project-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.project-card.secondary-build .pd-result-wrapper {
  padding: 1.5rem;
  background: transparent;
  border: 1px dashed var(--border);
}

/* How I Think */
#thinking {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.think-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.think-card {
  padding: 3rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.think-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.think-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  display: block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.think-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.think-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.cap-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cap-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.cap-card h3 {
  font-size: 1.35rem;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cap-statement {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cap-why {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-emerald);
}

.cap-why strong {
  color: var(--text-main);
  font-weight: 500;
}

.cap-micro {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.cap-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cap-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Research & Now (Two column lists) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.list-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.list-item:first-child {
  border-top: 1px solid var(--border);
}

.list-item:hover {
  border-bottom-color: var(--accent-gold);
  transform: translateX(0.75rem);
}

.list-item .meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.list-item h3 {
  font-size: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.list-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Now Section */
#now {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.now-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.now-card:hover {
  border-color: rgba(71, 184, 129, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.now-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  background: rgba(71, 184, 129, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
}

.now-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.now-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Beyond */
.beyond-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: start;
}

.beyond-main p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.beyond-main p strong {
  color: var(--text-main);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.1rem;
}

.beyond-aside {
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.beyond-aside h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.beyond-list {
  list-style: none;
}

.beyond-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.beyond-list li::before {
  content: '→';
  color: var(--accent-purple);
  font-family: var(--font-mono);
}

/* Contact / Presence Layer */
#contact {
  padding: 8rem 0 8rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(71, 184, 129, 0.08), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(143, 133, 211, 0.06), transparent 40%),
    var(--bg-card);
}

.contact-grid {
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
  background: rgba(17, 19, 24, 0.88);
  backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-info .section-label {
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: clamp(3rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.contact-p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 450px;
}

.contact-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.contact-best {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.link-vault {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vault-link {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vault-link:hover {
  border-color: rgba(71, 184, 129, 0.5);
  background: rgba(71, 184, 129, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(71, 184, 129, 0.12);
}

.vl-icon {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.vl-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.vl-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Credentials */
#credentials {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cred-card {
  padding: 2rem 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cred-card:hover {
  border-color: rgba(71, 184, 129, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cred-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.cred-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
}

.cred-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cred-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  transition: color 0.3s;
}

.cred-card:hover .cred-arrow {
  color: var(--accent-emerald);
}

/* Footer */
footer {
  padding: 3rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-meta-bar {
    justify-content: center;
  }

  .hero p {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 3rem;
    gap: 4rem;
  }

  .contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-p {
    text-align: center;
  }

  .contact-cta-wrapper {
    align-items: center;
  }

  .portrait-accent {
    left: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 900px) {
  .project-details {
    grid-template-columns: 1fr;
    gap: 2rem;
    border-left: none;
    padding-left: 0;
  }

  .pd-col h4::before {
    display: none;
  }

  .beyond-wrap {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .section {
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding-top: 8rem;
  }

  .btn {
    width: 100%;
  }

  .proof-grid {
    gap: 1.5rem;
    justify-content: center;
  }

  .project-content {
    padding: 2rem;
  }

  .pd-result-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-chip {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1rem;
  }

  .link-vault {
    grid-template-columns: 1fr;
  }

  .cred-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
