:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-2: #1e1e1e;
  --text: #f3f3f3;
  --muted: #b7b7b7;
  --accent: #d12b2b;
  --accent-soft: #ffcb52;
  --ring: rgba(255, 203, 82, 0.22);
  --maxw: 1120px;
}

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

body {
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at 10% -10%, #242424 0%, var(--bg) 45%),
    linear-gradient(135deg, #0b0b0b 0%, #0a0a0a 60%, #111 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(56px);
  opacity: 0.35;
}

body::before {
  width: 360px;
  height: 360px;
  background: rgba(209, 43, 43, 0.8);
  top: 8%;
  left: -120px;
  animation: orbDriftA 12s ease-in-out infinite;
}

body::after {
  width: 300px;
  height: 300px;
  background: rgba(255, 203, 82, 0.75);
  right: -100px;
  bottom: 8%;
  animation: orbDriftB 14s ease-in-out infinite;
}

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

a:hover {
  color: #ffe09b;
}

main {
  width: min(var(--maxw), 92vw);
  margin: 2rem auto 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.navbar a {
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #fff;
  background: rgba(209, 43, 43, 0.24);
}

.section-surface {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.section-surface::after {
  content: "";
  position: absolute;
  inset: -80% 0 auto;
  height: 70%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 75%
  );
  transform: translateX(-120%) rotate(4deg);
  animation: sheenSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hero,
.page-intro {
  animation: lift 0.45s ease-out;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: center;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.headshot-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.45);
  background: #111;
}

.headshot-frame.small {
  max-width: 300px;
}

.headshot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  aspect-ratio: 3 / 4;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  margin-bottom: 0.6rem;
}

.lead {
  max-width: 70ch;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  background: linear-gradient(160deg, #db3232 0%, #ab1e1e 100%);
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.research-download-btn {
  margin-top: 0.7rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.kpi-grid,
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.1rem 0;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.2rem;
}

.two-col {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.clean-list {
  margin-left: 1.1rem;
}

.clean-list li {
  margin: 0.35rem 0;
}

.timeline-wrap {
  margin-top: 1.1rem;
}

.timeline-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-grid article {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1rem;
}

form {
  display: grid;
  gap: 0.65rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  padding: 0.68rem 0.75rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--ring);
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.site-footer {
  width: min(var(--maxw), 92vw);
  margin: 0 auto 2rem;
  text-align: center;
  color: #9f9f9f;
}

@keyframes lift {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes orbDriftA {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(75px, -30px) scale(1.12);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes orbDriftB {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-80px, 22px) scale(1.15);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes sheenSweep {
  0%,
  100% {
    transform: translateX(-120%) rotate(4deg);
  }
  45%,
  55% {
    transform: translateX(125%) rotate(4deg);
  }
}


.gallery-section {
  margin-top: 1.1rem;
}

.gallery-head {
  margin-bottom: 1rem;
}

.gallery-section.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
}

.gallery-grid {
  column-count: 4;
  column-gap: 0.75rem;
}

.gallery-item {
  margin: 0;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  break-inside: avoid;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .kpi-grid,
  .card-grid,
  .two-col,
  .timeline-grid,
  .contact-layout,
  .hero-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
  }

  .header-inner {
    min-height: 95px;
    padding: 0.55rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .navbar {
    width: 100%;
  }

  .headshot-frame.small {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    column-count: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .section-surface::after {
    animation: none;
  }
}


