/* ==========================================================================
   SAM BARTOLO - PERSONAL WEBSITE REDESIGN DESIGN SYSTEM
   Executive Dark Red Minimalist Branding | Sports Entrepreneur & Leader
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Dark Red Brand Accent (#C00000) */
  --ink: #0B0D0F;
  --charcoal: #171A1D;
  --paper: #F8F6F0;
  --white: #FFFFFF;
  --muted: #A9ADB2;
  --red: #C00000;
  --red-hover: #D90000;
  --red-glow: rgba(192, 0, 0, 0.18);
  --green: #214E3B;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(11, 13, 15, 0.12);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Font Sizes - Fluid clamp() */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 1vw, 2.15rem);
  --text-3xl: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --text-hero: clamp(2.35rem, 1.9rem + 2.5vw, 3.85rem);

  /* Efficient Spacing Tokens */
  --space-xs: 0.35rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;

  /* Layout */
  --container-max: 1240px;
  --header-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions & Motion */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background-color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

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

/* Button & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 42px;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(192, 0, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--border-dark);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(11, 13, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-wordmark .monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--red);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--red);
}

.header-cta {
  display: none;
}

@media (min-width: 992px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile Toggle & Menu Drawer */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--charcoal);
  border-left: 1px solid var(--border-dark);
  z-index: 1001;
  padding: 4rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   5. EFFICIENT HERO SECTION SIZING
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: auto;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 20%, rgba(192, 0, 0, 0.12) 0%, transparent 65%),
              linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 100%);
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 4rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-headline {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-support-copy {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-roles-strip {
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
}

.roles-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.roles-strip-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.roles-strip-list span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.roles-strip-list span::after {
  content: "•";
  color: var(--red);
  margin-left: 1rem;
}

.roles-strip-list span:last-child::after {
  display: none;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  max-height: 520px;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.95);
  transition: transform var(--transition-smooth);
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--charcoal);
  border: 1px solid var(--red);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: none;
}

@media (min-width: 576px) {
  .hero-badge {
    display: block;
  }
}

.hero-badge-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.hero-badge-subtitle {
  font-size: 0.72rem;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   6. COMPACT SECTIONS SPACING & SIZING
   -------------------------------------------------------------------------- */
.proof-strip {
  background-color: var(--charcoal);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.75rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

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

.proof-cell {
  padding: 0.4rem 0 0.4rem 0.85rem;
  border-left: 3px solid var(--red);
}

.proof-number {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.proof-label {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Section Padding Compact Standard */
.about-section,
.work-section,
.hr-section,
.philosophy-section,
.achievements-section,
.journey-section,
.education-section,
.insights-section,
.gallery-section,
.contact-section {
  padding: 3.5rem 0;
}

@media (min-width: 992px) {
  .about-section,
  .work-section,
  .hr-section,
  .philosophy-section,
  .achievements-section,
  .journey-section,
  .education-section,
  .insights-section,
  .gallery-section,
  .contact-section {
    padding: 4.5rem 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  max-height: 480px;
}

.about-image-frame img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

.route-marker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red-glow);
  border: 1px solid var(--red);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.about-heading {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.about-paragraphs p {
  font-size: var(--text-base);
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Work Cards */
.work-header {
  margin-bottom: 2rem;
}

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

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

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

.work-card {
  background: var(--ink);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
}

.work-card-role {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.work-card-title {
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
}

.work-card-copy {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.work-card-link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.work-card-link:hover {
  color: var(--red);
}

.beyond-football-strip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .beyond-football-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.beyond-text {
  font-size: var(--text-sm);
  color: var(--white);
}

.beyond-text strong {
  color: var(--red);
}

/* Corporate HR Grid */
.hr-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

.hr-card {
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: border-color var(--transition-fast);
}

.hr-card:hover {
  border-color: var(--red);
}

.hr-card-company {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.hr-card-role {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hr-card-period {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hr-card-desc {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.55;
}

/* Philosophy */
.philosophy-section {
  padding: 3.5rem 0;
  background-color: var(--paper);
  color: var(--ink);
  position: relative;
}

.philosophy-section h2, 
.philosophy-section .pull-quote {
  color: var(--ink);
}

.pull-quote-wrapper {
  max-width: 850px;
  margin-bottom: 1.75rem;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.18;
  border-left: 4px solid var(--red);
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.philosophy-copy {
  font-size: var(--text-base);
  color: #33363A;
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 2rem;
}

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

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

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

.value-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.value-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.value-desc {
  font-size: var(--text-xs);
  color: #55585D;
}

.signature-closer {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

.achievement-item {
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.achievement-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-glow);
  border: 1px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.achievement-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.achievement-desc {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Timeline Journey */
.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding-left: 1.75rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: var(--border-dark);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.75rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--red);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: var(--text-lg);
  margin-bottom: 0.4rem;
}

.timeline-copy {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.55;
}

/* Education Cards */
.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.edu-card {
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition-fast);
}

.edu-card:hover {
  border-color: var(--red);
}

.edu-level {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.edu-title {
  font-size: var(--text-base);
  margin-bottom: 0.35rem;
}

.edu-institution {
  font-size: 0.78rem;
  color: var(--muted);
}

.supporting-licences {
  font-size: var(--text-xs);
  color: var(--muted);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.research-panel {
  background: linear-gradient(135deg, var(--charcoal) 0%, rgba(192, 0, 0, 0.12) 100%);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.35rem;
}

.research-title {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
}

.research-copy {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Insights Cards */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.insight-card {
  background: var(--ink);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.insight-card:hover {
  border-color: var(--red);
}

.insight-meta {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.insight-title {
  font-size: var(--text-base);
  margin-bottom: 0.5rem;
}

.insight-desc {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   PHOTO LIBRARY & LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 4rem 0;
  background-color: var(--charcoal);
  border-top: 1px solid var(--border-dark);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.gallery-filter-btn {
  background: var(--ink);
  border: 1px solid var(--border-dark);
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--ink);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  aspect-ratio: 4 / 3;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 13, 15, 0.92) 0%, transparent 65%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.gallery-tag {
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
  text-align: center;
  background: var(--charcoal);
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  border: 1px solid var(--border-dark);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--red);
}

/* Contact */
.contact-section {
  padding: 4rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(192, 0, 0, 0.08) 0%, transparent 70%),
              var(--ink);
  border-top: 1px solid var(--border-dark);
  text-align: center;
}

.contact-inner {
  max-width: 650px;
  margin: 0 auto;
}

.contact-heading {
  font-size: var(--text-2xl);
  margin-bottom: 0.75rem;
}

.contact-copy {
  font-size: var(--text-base);
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   15. REDESIGNED EXECUTIVE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #060709;
  border-top: 2px solid var(--red);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.08em;
}

.footer-brand-title .monogram {
  width: 28px;
  height: 28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list li a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-list li a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-tagline {
  font-size: 0.75rem;
  color: #62666D;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   16. ACCESSIBILITY & REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
