/* ======================================================================
   cv.indh.io — Cinematic AI architect edition
   Mobile-first. Glassmorphism over atmospheric section backgrounds.
   ====================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Tokens --------------------------------------------------------- */

:root {
  --bg-base: #07080b;
  --bg-deep: #04050a;
  --bg-elev: #0d0f15;
  --bg-glass: rgba(13, 15, 21, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f4f5;
  --text-muted: #a8aab2;
  --text-dim: #6b6e78;

  /* Warm accent (matches the LED warmth in the screenshots + Gemini mark) */
  --warm: #ff8a3c;
  --warm-dim: #c2611f;
  --warm-soft: rgba(255, 138, 60, 0.12);

  /* Cool accent (matches dashboard cyan in screenshots) */
  --cool: #6cd1ff;
  --cool-soft: rgba(108, 209, 255, 0.1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 12vh, 9rem);

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;

  --t-fast: 200ms ease;
  --t: 320ms cubic-bezier(0.2, 0.65, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.2, 0.65, 0.2, 1);

  --blur: 18px;
}

[data-theme="light"] {
  --bg-base: #f5f3ee;
  --bg-deep: #ebe7df;
  --bg-elev: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.62);
  --border-glass: rgba(15, 17, 23, 0.08);
  --border-glass-strong: rgba(15, 17, 23, 0.16);
  --text: #0f1117;
  --text-muted: #4d505a;
  --text-dim: #8a8e98;
  --warm: #c2611f;
  --warm-dim: #8d4615;
  --warm-soft: rgba(194, 97, 31, 0.1);
  --cool: #1278a7;
  --cool-soft: rgba(18, 120, 167, 0.08);
}

/* --- Reset ---------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-base);
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--warm); }

button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }

/* --- Layout primitives --------------------------------------------- */

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

.section {
  position: relative;
  padding-block: var(--section-y);
  isolation: isolate;
}

/* Atmospheric backgrounds for sections */
.bg-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.bg-image::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      var(--bg-base) 0%,
      rgba(7, 8, 11, 0.55) 18%,
      rgba(7, 8, 11, 0.6) 50%,
      rgba(7, 8, 11, 0.85) 90%,
      var(--bg-base) 100%);
}

[data-theme="light"] .bg-image { opacity: 0.55; filter: saturate(0.8); }
[data-theme="light"] .bg-image::after {
  background:
    linear-gradient(180deg,
      var(--bg-base) 0%,
      rgba(245, 243, 238, 0.6) 18%,
      rgba(245, 243, 238, 0.7) 50%,
      rgba(245, 243, 238, 0.9) 90%,
      var(--bg-base) 100%);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--warm));
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 2rem;
  max-width: 22ch;
  font-weight: 600;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}

p { margin: 0 0 1rem; color: var(--text-muted); max-width: 62ch; }
p.lede { color: var(--text); font-size: 1.125rem; line-height: 1.55; }

/* --- Header / nav --------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, transparent 100%);
  transition: background var(--t), backdrop-filter var(--t);
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border-bottom: 1px solid var(--border-glass);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: filter var(--t-fast);
}

.brand:hover { filter: drop-shadow(0 4px 16px rgba(255, 138, 60, 0.4)); }

.brand img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  border: 1px solid var(--border-glass-strong);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--t-fast);
}

.icon-btn:hover {
  border-color: var(--warm);
  color: var(--warm);
}

.icon-btn svg { width: 16px; height: 16px; }

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

/* --- Hero ----------------------------------------------------------- */

.hero {
  min-height: 100svh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(80% 60% at 20% 30%, rgba(255, 138, 60, 0.15) 0%, transparent 60%),
    radial-gradient(70% 50% at 90% 80%, rgba(108, 209, 255, 0.1) 0%, transparent 60%),
    var(--bg-deep);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  width: 100%;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
}

.hero-content { max-width: 38rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border-radius: 99px;
  border: 1px solid var(--border-glass-strong);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-badge .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 0 var(--warm);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 60, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 138, 60, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 1.75rem;
  min-height: 1em;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--warm) 0%, #ffb37a 60%, var(--cool) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.headline-rotator {
  display: inline-block;
  position: relative;
  transition: opacity 220ms ease, transform 320ms ease;
  background: linear-gradient(135deg, var(--warm) 0%, #ffb37a 50%, var(--cool) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border-glass-strong);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  transition: all var(--t-fast);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--warm) 0%, var(--warm-dim) 100%);
  border-color: var(--warm);
  color: #0f0e0c;
  font-weight: 600;
  box-shadow: 0 6px 24px -8px rgba(255, 138, 60, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -10px rgba(255, 138, 60, 0.7);
  color: #0f0e0c;
}

.btn-ghost:hover {
  border-color: var(--warm);
  color: var(--warm);
  transform: translateY(-1px);
}

.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero portrait */
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass-strong);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 138, 60, 0.08);
}

@media (min-width: 880px) {
  .hero-portrait {
    margin: 0;
    margin-left: auto;
    max-width: 100%;
  }
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--warm) 90deg, transparent 180deg, var(--cool) 270deg, transparent 360deg);
  z-index: -1;
  filter: blur(28px);
  opacity: 0.35;
  animation: rotate 18s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 8, 11, 0.5) 100%);
  pointer-events: none;
}

.hero-portrait-meta {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.hero-portrait-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warm);
  margin-right: 0.4rem;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--warm);
}

/* --- Thesis --------------------------------------------------------- */

.thesis-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
}

@media (min-width: 880px) {
  .thesis-grid { grid-template-columns: repeat(3, 1fr); }
}

.thesis-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  border: 1px solid var(--border-glass);
  transition: border-color var(--t), transform var(--t);
}

.thesis-card:hover {
  border-color: var(--border-glass-strong);
  transform: translateY(-2px);
}

.thesis-card .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--warm);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.thesis-card p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  max-width: none;
}

/* --- Proof bar ------------------------------------------------------ */

.proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  margin-top: 2.5rem;
  overflow: hidden;
}

@media (min-width: 720px) { .proof { grid-template-columns: repeat(4, 1fr); } }

.proof-item {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

@media (max-width: 719px) {
  .proof-item:nth-child(2n) { border-right: 0; }
  .proof-item:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (min-width: 720px) {
  .proof-item:last-child { border-right: 0; }
  .proof-item { border-bottom: 0; }
}

.proof-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--warm) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Stack ---------------------------------------------------------- */

.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 760px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .stack-grid { grid-template-columns: repeat(3, 1fr); } }

.stack-card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.stack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--warm), transparent);
  opacity: 0;
  transition: opacity var(--t);
}

.stack-card:hover {
  border-color: var(--border-glass-strong);
  transform: translateY(-3px);
}

.stack-card:hover::before { opacity: 1; }

.stack-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
}

.stack-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm);
  background: var(--warm-soft);
  padding: 0.3rem 0.55rem;
  border-radius: 99px;
  border: 1px solid var(--warm-soft);
}

.stack-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 0.65rem;
}

.stack-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.stack-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 1px;
  background: var(--warm);
  opacity: 0.7;
}

/* --- Work cases ----------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.case {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.case:hover {
  border-color: var(--warm);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px -16px rgba(255, 138, 60, 0.25);
}

.case[data-wip="true"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 100% 0%, var(--warm-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.case-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.case-company {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: -0.015em;
}

.case-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: none;
  line-height: 1.55;
}

.case-tech {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.wip-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  border: 1px solid var(--warm);
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  flex-shrink: 0;
  background: var(--warm-soft);
}

/* --- Gallery -------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  position: relative;
  transition: transform var(--t);
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1), filter var(--t);
  filter: saturate(0.85) brightness(0.9);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1);
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  color: var(--warm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--border-glass-strong);
}

/* --- Contact -------------------------------------------------------- */

.contact-card {
  padding: clamp(2rem, 5vw, 3.75rem);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, var(--warm-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

@media (min-width: 600px) { .contact-links { grid-template-columns: repeat(2, 1fr); } }

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: all var(--t-fast);
}

.contact-link:hover {
  border-color: var(--warm);
  background: var(--warm-soft);
  color: var(--warm);
  transform: translateY(-2px);
}

.contact-link svg { width: 22px; height: 22px; flex-shrink: 0; }

.contact-link-meta { display: flex; flex-direction: column; min-width: 0; }

.contact-link-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.contact-link-value {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Footer --------------------------------------------------------- */

.site-footer {
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-deep);
}

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

.footer-links {
  display: flex; gap: 1.25rem 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-links a:hover { color: var(--warm); }
.footer-links svg { width: 1.25rem; height: 1.25rem; }

.footer-tagline {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Reveal on scroll ---------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-portrait::before, .hero-badge .pulse { animation: none; }
}
