/*
 * CAISH - Cambridge AI Safety Hub
 * Stylesheet v1.0
 *
 * Table of Contents:
 * 1. Variables
 * 2. Reset & Base
 * 3. Typography
 * 4. Layout Utilities
 * 5. Navigation
 * 6. Components
 * 7. Page-specific Sections
 * 8. Footer
 * 9. Responsive
 */

/* ==========================================================================
   1. Variables
   ========================================================================== */
   :root {
    /* Colors */
    --black: #1a1a1a;
    --dark-grey: #4a4a4a;
    --mid-grey: #8a8a8a;
    --light-grey: #e2e2df;
    --off-white: #fbfbfa;
    --cream: #f5f5f3;
    --white: #fefefe;
    --paper: #fbfbfa;
    --paper-glass: rgba(252, 252, 251, 0.7);
    --paper-border: rgba(26, 26, 26, 0.08);
    --cambridge: #945947;
    --cambridge-light: #b1715b;
    --cambridge-glow: rgba(148, 89, 71, 0.1);
    --warm-gradient: linear-gradient(135deg, #945947 0%, #b1715b 50%, #d29a84 100%);

    /* Layout */
    --max-width: 1000px;

    /* Typography */
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing Scale (base: 4px / 0.25rem) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    --space-36: 9rem;     /* 144px */

    /* Ambient glow sizes */
    --orb-size-lg: 600px;
    --orb-size-md: 400px;
    --orb-size-sm: 250px;
  }
  
  /* ==========================================================================
     2. Reset & Base
     ========================================================================== */
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    font-family: var(--font-mono);
    font-weight: 400;
    background-color: #fbfbfa;
    background-image: linear-gradient(180deg, #f7f7f5 0%, #fafafa 42%, #fdfdfc 100%);
    color: var(--black);
    line-height: 1.8;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    isolation: isolate;
  }

  /* Paper grain texture overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1000;
  }

  .reading-progress,
  .reading-progress-fill,
  .scroll-progress,
  .scroll-progress-fill {
    display: none !important;
  }

  /* Ambient paper wash */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: min(2200px, 200vh);
    background:
      radial-gradient(ellipse 78% 46% at 22% 6%, rgba(26, 26, 26, 0.018) 0%, rgba(26, 26, 26, 0.006) 32%, transparent 70%),
      radial-gradient(ellipse 76% 44% at 78% 8%, rgba(90, 90, 90, 0.018) 0%, rgba(90, 90, 90, 0.006) 30%, transparent 68%),
      linear-gradient(180deg, rgba(238, 238, 236, 0.5) 0%, rgba(244, 244, 242, 0.26) 18%, rgba(250, 250, 249, 0.12) 44%, rgba(255, 255, 255, 0) 84%);
    pointer-events: none;
    z-index: -2;
    animation: orb-drift 26s ease-in-out infinite alternate;
  }

  @keyframes orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.05); }
  }
  
  /* ==========================================================================
     3. Typography
     ========================================================================== */
  h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  
  h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    line-height: 1.2;
  }
  
  h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    line-height: 1.35;
  }
  
  h3 {
    font-size: 1.05rem;
    line-height: 1.4;
  }
  
  p {
    font-size: 0.95rem;
    max-width: 52ch;
    color: var(--dark-grey);
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }

  em { font-style: italic; }

  /* Keyboard Focus Indicators */
  *:focus {
    outline: none;
  }

  *:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
    border-radius: 2px;
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
  }

  /* Skip to Main Content Link */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
  }

  .skip-link:focus {
    top: 0;
    outline: 2px solid var(--black);
    outline-offset: 2px;
  }

  /* ==========================================================================
     4. Layout Utilities
     ========================================================================== */
  .label {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--dark-grey);
    margin-bottom: var(--space-6);
    display: block;
  }

  /* Hero label styling - bold techy font for organization name */
  .hero .label {
    font-family: 'Space Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--black);
  }

  section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-10);
  }

  .divider {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-10);
  }
  
  .divider-line {
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(26, 26, 26, 0.08) 15%,
      rgba(26, 26, 26, 0.12) 35%,
      rgba(224, 224, 224, 0.6) 50%,
      rgba(26, 26, 26, 0.12) 65%,
      rgba(26, 26, 26, 0.08) 85%,
      transparent 100%
    );
    position: relative;
  }

  .divider-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 30%;
    right: 30%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(26, 26, 26, 0.04), transparent);
    filter: blur(2px);
    pointer-events: none;
  }
  
  /* ==========================================================================
     5. Announcement Banner
     ========================================================================== */
  .announcement-banner {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
  }

  .announcement-banner p {
    margin: 0;
    color: var(--white);
    font-size: 0.8rem;
    max-width: none;
  }

  .announcement-banner a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 0;
    transition: opacity 0.2s ease;
  }

  .announcement-banner a:hover {
    opacity: 0.8;
    text-decoration: none;
  }

  /* Adjust nav position when banner is present */
  body.has-banner nav {
    top: 2.2rem;
  }

  body.has-banner .skip-link:focus {
    top: 2.2rem;
  }

  /* Adjust page content when banner is present */
  body.has-banner .hero {
    padding-top: calc(var(--space-8) + 2.2rem);
  }

  body.has-banner .page-header {
    padding-top: calc(var(--space-36) + 2.2rem);
  }

  body.has-banner .mars-hero-image {
    padding-top: calc(5rem + 2.2rem);
  }

  body.has-banner .mars-hero-header {
    padding-top: calc(7rem + 2.2rem);
  }

  /* ==========================================================================
     6. Navigation
     ========================================================================== */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--paper-glass);
    border-bottom: 1px solid var(--paper-border);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    box-shadow: 0 1px 2px rgba(60, 48, 35, 0.02), 0 4px 14px rgba(60, 48, 35, 0.03);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-10);
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  .logo {
    display: block;
    height: 32px;
    opacity: 0.9;
    transition: opacity 0.2s ease-out;
  }

  .logo:hover {
    opacity: 1;
  }
  
  .nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, var(--space-10));
    list-style: none;
  }
  
  .nav-links a {
    position: relative;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--dark-grey);
    transition: color 0.2s ease-out;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.4rem;
    height: 2px;
    background: var(--warm-gradient);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
  }

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

  .nav-links a.active {
    color: var(--black);
  }

  .nav-links a.active::after {
    opacity: 0.6;
    transform: scaleX(1);
  }

  .nav-links a:hover::after {
    opacity: 0.8;
    transform: scaleX(1);
  }

  /* Nav Dropdown */
  .nav-has-dropdown {
    position: relative;
  }

  .nav-has-dropdown > a .nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3.5px solid currentColor;
    margin-left: 0.3em;
    vertical-align: 0.15em;
    opacity: 0.4;
    transition: opacity 0.2s ease;
  }

  .nav-has-dropdown:hover > a .nav-caret {
    opacity: 0.8;
  }

  .nav-has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.6rem;
  }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(224, 224, 224, 0.5);
    border-radius: 6px;
    padding: 0.5rem 0;
    min-width: 120px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(4px);
  }

  .nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown li {
    padding: 0;
  }

  .nav-dropdown a {
    display: block;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    white-space: nowrap;
    color: var(--black);
  }

  .nav-dropdown a::after {
    display: none;
  }

  .nav-dropdown a:hover {
    color: var(--cambridge);
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
    transition: all 0.3s ease-out;
  }
  
  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(248, 247, 244, 0.96);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    z-index: 200;
    padding: var(--space-24) var(--space-10);
  }

  .mobile-nav.active { display: block; }
  
  .mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
  }
  
  .mobile-nav > ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .mobile-nav > ul > li {
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(148, 89, 71, 0.09);
  }

  .mobile-nav > ul > li:last-child {
    border-bottom: none;
  }
  
  .mobile-nav a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--black);
  }
  
  .mobile-nav a:hover { opacity: 0.6; }

  .mobile-nav .nav-caret { display: none; }

  .mobile-nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }

  .mobile-nav-parent > a {
    flex: 1;
    min-width: 0;
    line-height: 1.1;
  }

  .mobile-nav-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(148, 89, 71, 0.16);
    background: rgba(255, 252, 248, 0.92);
    cursor: pointer;
    font-size: 0;
    color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 24px rgba(148, 89, 71, 0.08);
  }

  .mobile-nav-expand::before {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--cambridge);
    border-bottom: 1.5px solid var(--cambridge);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .mobile-nav-expand:hover {
    background: #fffdfa;
    border-color: rgba(148, 89, 71, 0.26);
    box-shadow: 0 14px 28px rgba(148, 89, 71, 0.12);
  }

  .mobile-nav-expand[aria-expanded="true"] {
    background: rgba(26, 26, 26, 0.06);
    border-color: rgba(148, 89, 71, 0.28);
  }

  .mobile-nav-expand[aria-expanded="true"]::before {
    transform: translateY(2px) rotate(225deg);
  }

  .mobile-nav-children {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: var(--space-2);
    padding-left: 0;
    margin-top: var(--space-3);
    margin-left: var(--space-4);
  }

  .mobile-nav-children.open {
    display: flex;
  }

  .mobile-nav-children li {
    position: relative;
  }

  .mobile-nav-children li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -0.95rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.22);
    transform: translateY(-50%);
  }

  .mobile-nav-children a {
    font-size: inherit;
    color: inherit;
  }

  .mobile-nav-child-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.55rem 0.9rem 0.6rem;
    border: 1px solid rgba(148, 89, 71, 0.1);
    border-radius: 999px;
    background: rgba(255, 252, 248, 0.82);
    box-shadow: 0 6px 18px rgba(148, 89, 71, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .mobile-nav-child-link:hover {
    opacity: 1;
    transform: translateX(2px);
    border-color: rgba(148, 89, 71, 0.22);
    box-shadow: 0 10px 22px rgba(148, 89, 71, 0.1);
  }

  .mobile-nav-child-context {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cambridge-light);
  }

  .mobile-nav-child-title {
    font-size: 0.92rem;
    line-height: 1.2;
    color: var(--black);
  }

  .mobile-nav-child-link.active,
  .mobile-nav-child-link[aria-current="page"] {
    border-color: rgba(148, 89, 71, 0.28);
    background: rgba(255, 248, 242, 0.98);
    box-shadow: 0 10px 22px rgba(148, 89, 71, 0.1);
  }

  .mobile-nav-parent > a.active,
  .mobile-nav-children a.active .mobile-nav-child-title,
  .mobile-nav-children a[aria-current="page"] .mobile-nav-child-title,
  .mobile-nav-children a:hover .mobile-nav-child-title {
    color: var(--black);
  }

  .mobile-nav-children a.active .mobile-nav-child-context,
  .mobile-nav-children a[aria-current="page"] .mobile-nav-child-context {
    color: var(--cambridge);
  }
  
  /* ==========================================================================
     6. Components
     ========================================================================== */
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #f8f8f6, #f4f4f2, #eeeeec);
    color: var(--black);
    border: 1px solid rgba(126, 66, 51, 0.12);
    cursor: pointer;
    border-radius: 999px;
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 8px rgba(0, 0, 0, 0.04),
      0 12px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.04), transparent, rgba(26, 26, 26, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
  }

  .btn:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 66, 51, 0.28);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.04),
      0 8px 16px rgba(0, 0, 0, 0.06),
      0 20px 40px rgba(126, 66, 51, 0.08);
  }

  .btn:hover::before {
    opacity: 1;
  }
  
  /* Easter Egg */
  .easter-egg {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
  }
  
  .easter-egg-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
  }
  
  /* ==========================================================================
     7. Page-specific Sections
     ========================================================================== */
  
  /* Hero */
  .hero {
    padding-top: var(--space-24);
    padding-bottom: var(--space-10);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-10);
    align-items: center;
  }
  
  .hero h1 {
    margin-bottom: 1.75rem;
    max-width: none;
    font-size: clamp(2.35rem, 4.8vw, 3.45rem);
    line-height: 1.08;
  }
  
  .hero h1 em {
    display: inline;
    color: var(--cambridge);
    font-style: italic;
  }

  .hero-line {
    display: block;
  }

  .hero-line-place {
    white-space: nowrap;
  }

  .hero-content {
    position: relative;
    min-width: 0;
  }

  .hero-content::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: -3rem;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.035) 0%, rgba(26, 26, 26, 0.012) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orb-drift 15s ease-in-out infinite alternate;
  }

  .hero-content::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    right: -4rem;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.025) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orb-drift 12s ease-in-out infinite alternate-reverse;
  }

  .hero p {
    max-width: 44ch;
    font-size: 1rem;
  }
  
  .hero-image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 0;
  }
  
  .hero-image img,
  .hero-hourglass {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    transform: translateY(-40px);
    filter: drop-shadow(0 8px 32px rgba(126, 66, 51, 0.1)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
  }

  .hero-hourglass {
    max-width: 240px;
  }

  .hourglass-path {
    fill: none;
    stroke: #111;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#roughen);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: hourglass-draw 12s ease-in-out infinite;
  }

  .hourglass-path.path-2 { animation-delay: 0.3s; }
  .hourglass-path.path-3 { animation-delay: 0.6s; }
  .hourglass-path.path-4 { animation-delay: 0.9s; }

  @keyframes hourglass-draw {
    0% {
      stroke-dashoffset: 100;
    }
    50% {
      stroke-dashoffset: 0;
    }
    95% {
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dashoffset: 100;
    }
  }

  /* Newsletter Band */
  .newsletter-band {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .newsletter-band-inner {
    position: relative;
    display: grid;
    grid-template-columns: clamp(190px, 15vw, 260px) minmax(260px, 0.85fr) minmax(430px, 1.15fr);
    gap: var(--space-8);
    align-items: center;
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
    border-top: 1px solid rgba(26, 26, 26, 0.09);
    border-bottom: 1px solid rgba(26, 26, 26, 0.09);
  }

  .newsletter-mark {
    width: clamp(190px, 15vw, 260px);
    display: grid;
    place-items: center;
    border: none;
    border-radius: 0;
    background: transparent;
    justify-self: center;
    margin-left: -0.35rem;
    transform: none;
    box-shadow: none;
  }

  .newsletter-mark img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.76;
    mix-blend-mode: multiply;
    filter: contrast(1.08);
    transform: none;
  }

  .newsletter-copy {
    min-width: 0;
  }

  .newsletter-copy h2 {
    margin-bottom: var(--space-3);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.18;
  }

  .newsletter-copy p:last-child {
    max-width: 42ch;
    margin-bottom: 0;
    color: var(--dark-grey);
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .newsletter-form {
    min-width: 0;
  }

  .newsletter-form-row {
    display: flex;
    align-items: stretch;
    gap: var(--space-3);
  }

  .newsletter-input {
    flex: 1;
    min-width: 240px;
    border: 1px solid rgba(26, 26, 26, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.3;
    padding: 0.9rem 1rem;
  }

  .newsletter-input::placeholder {
    color: rgba(26, 26, 26, 0.52);
  }

  .newsletter-submit {
    min-width: 136px;
    border: 1px solid rgba(126, 66, 51, 0.48);
    border-radius: 8px;
    background: var(--cambridge);
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.3;
    padding: 0.9rem 1.1rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .newsletter-submit:hover {
    background: #7e4233;
    border-color: rgba(126, 66, 51, 0.68);
    box-shadow: 0 10px 20px rgba(126, 66, 51, 0.14);
    transform: translateY(-1px);
  }

  .newsletter-submit:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
    box-shadow: none;
  }

  .newsletter-form-msg {
    margin-top: var(--space-3);
    margin-bottom: 0;
    color: var(--dark-grey);
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .newsletter-form-success {
    color: #2f6f48;
  }

  .newsletter-form-error {
    color: #a23f34;
  }

  @media (max-width: 980px) {
    .newsletter-band-inner {
      grid-template-columns: 190px minmax(0, 1fr);
    }

    .newsletter-form {
      grid-column: 2;
    }

    .newsletter-form-row {
      max-width: 520px;
    }
  }

  @media (max-width: 800px) {
    .newsletter-band-inner {
      grid-template-columns: 210px minmax(0, 1fr);
      gap: var(--space-6);
    }

    .newsletter-form {
      grid-column: 1 / -1;
    }

    .newsletter-mark {
      width: 200px;
    }

    .newsletter-mark img {
      width: 100%;
      height: auto;
    }
  }

  @media (max-width: 600px) {
    .newsletter-band {
      padding-top: var(--space-6);
      padding-bottom: var(--space-6);
    }

    .newsletter-band-inner {
      grid-template-columns: 1fr;
      gap: var(--space-4);
    }

    .newsletter-mark {
      display: none;
    }

    .newsletter-form-row {
      flex-direction: column;
    }

    .newsletter-submit {
      width: 100%;
    }
  }
  
  /* Mission */
  .mission {
    padding-top: var(--space-12);
    padding-bottom: var(--space-10);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
  }
  
  .mission-text h2 {
    margin-bottom: var(--space-6);
    max-width: 18ch;
  }

  .mission-text p { margin-bottom: var(--space-4); }
  
  .mission-image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
  }
  
  .mission-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
  }
  
  /* Initiatives */
  .initiatives {
    padding-top: var(--space-6);
    padding-bottom: var(--space-10);
  }

  .initiatives-header {
    max-width: 780px;
    margin-bottom: var(--space-8);
  }

  .initiatives h2 {
    margin-bottom: var(--space-5);
    position: relative;
    display: inline-block;
  }

  .initiatives h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 3rem;
    height: 2.5px;
    background: rgba(26, 26, 26, 0.2);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .initiatives:hover h2::after {
    width: 4.5rem;
  }

  .initiatives-intro {
    max-width: 68ch;
    margin-top: var(--space-4);
    color: var(--dark-grey);
    font-size: 0.96rem;
  }

  .what-we-do {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(26, 26, 26, 0.12);
  }

  .what-we-do-item {
    min-width: 0;
  }

  .what-we-do-label {
    display: block;
    margin-bottom: var(--space-3);
    color: var(--black);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .what-we-do-item p {
    max-width: none;
    margin: 0;
    color: var(--dark-grey);
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .programme-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-12);
    margin-top: var(--space-6);
    position: relative;
  }

  .programme-groups::before {
    content: '';
    position: absolute;
    top: var(--space-2);
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(26, 26, 26, 0.12),
      rgba(26, 26, 26, 0.06)
    );
    transform: translateX(-50%);
  }

  .programme-group {
    min-width: 0;
    padding-top: var(--space-5);
    border-top: 2px solid rgba(26, 26, 26, 0.14);
  }

  .programme-group-copy h3 {
    margin-bottom: var(--space-3);
    color: var(--black);
    font-size: clamp(1.35rem, 2.3vw, 1.85rem);
    line-height: 1.2;
  }

  .programme-group-copy p {
    max-width: 44ch;
    margin-bottom: 0;
    color: var(--dark-grey);
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .programme-group-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }

  .programme-group-link {
    display: block;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .programme-group-link::after {
    content: none !important;
  }

  .programme-group-title {
    display: block;
    margin-bottom: var(--space-2);
    font-family: var(--font-serif);
    color: var(--black);
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .programme-group-link small {
    display: block;
    max-width: 54ch;
    color: var(--dark-grey);
    font-size: 0.76rem;
    line-height: 1.6;
  }

  .programme-group-link:hover,
  .programme-group-link:focus-visible {
    border-top-color: rgba(148, 89, 71, 0.3);
  }

  .programme-group-link:hover .programme-group-title,
  .programme-group-link:focus-visible .programme-group-title {
    color: var(--cambridge);
  }

  .initiatives-list {
    display: flex;
    flex-direction: column;
  }
  
  .initiative-item {
    display: grid;
    grid-template-columns: var(--space-10) 1fr;
    gap: var(--space-8);
    padding: var(--space-6);
    border: 1px solid rgba(224, 224, 224, 0.7);
    border-left: 3px solid transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.02),
      0 4px 8px rgba(0, 0, 0, 0.03),
      0 16px 32px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  }

  .initiative-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.018) 0%, transparent 50%, rgba(26, 26, 26, 0.012) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
  }

  .initiative-item:hover::before,
  .initiative-item:focus-visible::before {
    opacity: 1;
  }

  .initiative-item:last-child {
    border-bottom: 1px solid rgba(224, 224, 224, 0.9);
  }

  .initiative-item + .initiative-item {
    margin-top: var(--space-4);
  }
  
  .initiative-num {
    font-size: 0.7rem;
    color: var(--mid-grey);
    padding-top: 0.2rem;
    font-variant-numeric: tabular-nums;
    transition: color 0.4s ease, transform 0.4s ease;
  }

  .initiative-item:hover .initiative-num,
  .initiative-item:focus-visible .initiative-num {
    color: var(--cambridge);
    transform: translateX(2px);
  }
  
  .initiative-content h3 {
    margin-bottom: var(--space-2);
    color: var(--black);
    transition: color 0.2s ease;
  }

  .initiative-item:hover,
  .initiative-item:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(126, 66, 51, 0.24);
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.03),
      0 12px 24px rgba(0, 0, 0, 0.05),
      0 22px 44px rgba(126, 66, 51, 0.05);
  }

  .initiative-item:hover .initiative-content h3,
  .initiative-item:focus-visible .initiative-content h3 {
    color: var(--black);
  }
  
  .initiative-content p {
    font-size: 0.92rem;
    max-width: none;
  }
  
  /* Events */
  .events {
    padding-top: var(--space-12);
    padding-bottom: var(--space-4);
  }

  .events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-4);
  }
  
  .events-header h2 {
    margin-bottom: 0;
    position: relative;
    display: inline-block;
  }

  .events-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.3rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--warm-gradient);
    border-radius: 1px;
  }
  
  .events-link {
    font-size: 0.7rem;
    color: var(--mid-grey);
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 2px;
    transition: all 0.2s ease-out;
  }
  
  .events-link:hover {
    color: var(--black);
    border-color: var(--black);
  }
  
  .events-empty {
  padding: var(--space-10) 0;
  color: var(--mid-grey);
  font-size: 0.8rem;
  font-style: italic;
  font-family: var(--font-serif);
}

  /* Stories Spotlight */
  .stories-spotlight {
    max-width: none;
    margin-top: var(--space-4);
    padding: var(--space-16) 0;
    background:
      linear-gradient(142deg, #211915 0%, #171513 54%, #2a1b16 100%);
    color: #f8f0e8;
    border-top: 1px solid rgba(26, 26, 26, 0.18);
    border-bottom: 1px solid rgba(26, 26, 26, 0.22);
  }

  .stories-spotlight-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-10);
  }

  .stories-spotlight-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-8);
    align-items: end;
    margin-bottom: var(--space-8);
  }

  .stories-spotlight-copy {
    max-width: 720px;
  }

  .stories-spotlight-kicker {
    display: block;
    margin-bottom: var(--space-3);
    color: rgba(242, 205, 179, 0.72);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .stories-spotlight-header h2 {
    max-width: 14ch;
    margin-bottom: var(--space-4);
    color: #fff8ef;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
  }

  .stories-spotlight-header p {
    max-width: 60ch;
    margin-bottom: 0;
    color: rgba(248, 240, 232, 0.74);
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .stories-spotlight-link {
    align-self: end;
    color: rgba(255, 248, 239, 0.84);
    border-bottom: 1px solid rgba(255, 248, 239, 0.34);
    padding-bottom: 0.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .stories-spotlight-link:hover,
  .stories-spotlight-link:focus-visible {
    color: #fff8ef;
    border-color: rgba(255, 248, 239, 0.78);
  }

  .stories-spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
    gap: var(--space-6);
    align-items: start;
  }

  .stories-spotlight-card {
    min-width: 0;
  }

  .stories-spotlight-card--support {
    margin-top: var(--space-10);
  }

  .stories-spotlight-card .video-card-trigger {
    min-height: 100%;
    border: 1px solid rgba(255, 248, 239, 0.16);
    border-radius: 8px;
    background: rgba(255, 248, 239, 0.07);
    color: inherit;
    box-shadow: none;
  }

  .stories-spotlight-card .video-card-trigger:hover,
  .stories-spotlight-card .video-card-trigger:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 248, 239, 0.34);
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.24),
      0 8px 18px rgba(0, 0, 0, 0.18);
  }

  .stories-spotlight-card .video-card-media {
    border-radius: 0;
    background: #100e0c;
  }

  .stories-spotlight-card .video-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(13, 10, 8, 0) 48%, rgba(13, 10, 8, 0.28) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .stories-spotlight-card--feature .video-card-media {
    aspect-ratio: 16 / 10;
  }

  .stories-spotlight-card--support .video-card-media {
    aspect-ratio: 4 / 3;
  }

  .stories-spotlight-card .video-card-poster,
  .stories-spotlight-card .video-card-preview {
    filter: saturate(0.92) contrast(1.04);
  }

  .stories-card-copy {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
  }

  .stories-spotlight-card--feature .stories-card-copy {
    min-height: 250px;
    padding: var(--space-6);
  }

  .stories-card-index {
    color: rgba(242, 205, 179, 0.72);
    font-size: 0.63rem;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .stories-card-title {
    color: #fff8ef;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    line-height: 1.22;
  }

  .stories-spotlight-card--support .stories-card-title {
    font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  }

  .stories-card-quote {
    color: rgba(248, 240, 232, 0.72);
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .stories-card-meta {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 248, 239, 0.13);
    color: rgba(248, 240, 232, 0.58);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.55;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }

  @media (max-width: 900px) {
    .stories-spotlight-header {
      grid-template-columns: 1fr;
      gap: var(--space-4);
    }

    .stories-spotlight-link {
      justify-self: start;
    }

    .stories-spotlight-grid {
      grid-template-columns: 1fr;
    }

    .stories-spotlight-card--support {
      margin-top: 0;
    }

    .stories-spotlight-card--support .video-card-media {
      aspect-ratio: 16 / 10;
    }
  }

  @media (max-width: 600px) {
    .stories-spotlight {
      padding: var(--space-12) 0;
    }

    .stories-spotlight-shell {
      padding: 0 var(--space-4);
    }

    .stories-spotlight-header {
      margin-bottom: var(--space-6);
    }

    .stories-spotlight-header h2 {
      max-width: 12ch;
      font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .stories-card-copy,
    .stories-spotlight-card--feature .stories-card-copy {
      min-height: 0;
      padding: var(--space-4);
    }

    .stories-card-meta {
      padding-right: var(--space-8);
      font-size: 0.62rem;
      letter-spacing: 0.06em;
    }
  }
  
  .events-loading {
  padding: var(--space-10) 0;
  color: var(--mid-grey);
  font-size: 0.8rem;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Socials Page Styles */
.socials-section {
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.socials-section .events-empty,
.socials-section .events-loading {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.socials-content h2 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--dark-grey);
}

.events-rsvp {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--mid-grey);
  max-width: 36rem;
}

.past-events-heading {
  margin-top: 3rem;
}

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

.events-grid.past-events {
  opacity: 0.7;
}

.event-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(224, 224, 224, 0.5);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(126, 66, 51, 0.06);
  border-color: rgba(126, 66, 51, 0.22);
}

.event-card.past {
  opacity: 0.8;
}

.event-cover {
  width: 100%;
  background: linear-gradient(135deg, #f8f7f4 0%, #f0ede8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.event-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.event-date {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.event-day {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-grey);
}

.event-time {
  font-size: 0.75rem;
  color: var(--mid-grey);
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--black);
  margin: 0;
}

.event-description {
  font-size: 0.8rem;
  color: var(--dark-grey);
  line-height: 1.6;
  margin: 0;
}

.event-read-more {
  font-size: 0.7rem;
  color: var(--mid-grey);
  margin-top: 0.35rem;
  display: inline-block;
  cursor: pointer;
  border-bottom: 1px dashed var(--mid-grey);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.event-read-more:hover {
  color: var(--dark-grey);
  border-color: var(--dark-grey);
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-grey);
  margin-top: auto;
}

.event-location {
  font-size: 0.7rem;
  color: var(--mid-grey);
}

.event-link {
  font-size: 0.7rem;
  color: var(--mid-grey);
  border-bottom: 1px solid var(--light-grey);
  transition: all 0.2s;
}

.event-card:hover .event-link {
  color: var(--dark-grey);
  border-color: var(--dark-grey);
}

/* CTA */
  .cta {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 40%, #1f1c1b 60%, #1a1a1a 100%);
    color: var(--white);
    padding: var(--space-10) var(--space-10);
    max-width: none;
    position: relative;
    overflow: hidden;
  }

  .cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 40%, transparent 70%);
    pointer-events: none;
    animation: orb-drift 18s ease-in-out infinite alternate;
  }

  .cta::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
    pointer-events: none;
    animation: orb-drift 14s ease-in-out infinite alternate-reverse;
  }


  .cta-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: block;
  }

  .cta-inner--simple {
    display: block;
  }

  .cta .label { color: var(--mid-grey); }

  .cta h2 {
    color: var(--cream);
    margin-bottom: 0;
    max-width: 11ch;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.08;
  }

  .cta p {
    color: rgba(245, 237, 228, 0.72);
    margin-bottom: 0;
  }

  .cta-simple {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: var(--space-8);
    align-items: end;
    max-width: 100%;
    margin: 0;
    padding: 1.75rem var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 24px 48px rgba(0, 0, 0, 0.12);
    text-align: left;
  }

  .cta-copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
  }

  .cta-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(245, 237, 228, 0.58);
    margin-bottom: 0;
  }

  .cta-form {
    position: relative;
    z-index: 1;
    margin-top: 0;
  }

  .cta-form-row {
    display: flex;
    gap: 0.5rem;
    max-width: none;
    margin: 0;
    align-items: stretch;
    padding: 0.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .cta-input {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    padding: 0.95rem 1rem;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--cream);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .cta-input::placeholder {
    color: rgba(255, 255, 255, 0.34);
  }

  .cta-input:focus {
    background: rgba(255, 255, 255, 0.03);
  }

  .cta-submit {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
    min-width: 154px;
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbf7f2 0%, #f2ece4 100%);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  }

  .cta-submit:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 89, 71, 0.24);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16);
  }

  .cta-submit:disabled {
    opacity: 0.6;
    cursor: wait;
  }

  .cta-form-msg {
    font-size: 0.8rem;
    margin-top: var(--space-3);
    max-width: none;
    text-align: left;
  }

  .cta-form-success {
    color: #8cbf8c;
  }

  .cta-form-error {
    color: #e08080;
  }

  .cta-privacy {
    font-size: 0.75rem;
    color: rgba(245, 237, 228, 0.44);
    margin-top: var(--space-2);
    margin-bottom: 0;
    max-width: 28ch;
    text-align: left;
  }


  /* Page Header (About page) */
  .page-header {
    padding-top: var(--space-36);
    padding-bottom: var(--space-4);
  }

.page-header h1 {
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: inline-block;
}

.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 3rem;
  height: 2.5px;
  background: var(--warm-gradient);
  border-radius: 1px;
}

.page-header p { max-width: 50ch; }

.page-header--socials {
  padding-bottom: 0;
  margin-bottom: -1rem;
}

.page-header--socials p { margin: 0; }

.page-header--socials + .divider {
  margin-top: -0.5rem;
}
  
  /* About Section */
  .about-section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-10);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
  }

  .about-text h2 { margin-bottom: var(--space-6); }

  .about-text p {
    margin-bottom: var(--space-4);
    max-width: 100%;
  }

  .about-text p:last-child {
    margin-bottom: 0;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    object-fit: cover;
  }
  
  /* Team Section */
  .team-section {
    padding-top: var(--space-12);
    padding-bottom: 0;
  }

  .team-section h2 { margin-bottom: var(--space-10); }

  /* Directors */
  .directors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-4);
  }
  
  .director {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .director-photo {
    width: 100%;
    aspect-ratio: 1;
    max-width: 280px;
    margin-bottom: var(--space-6);
    overflow: hidden;
    position: relative;
  }
  
  .director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
  }
  
  .director-photo img.full {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }
  
  .director-photo:hover img.outline { opacity: 0; }
  .director-photo:hover img.full { opacity: 1; }
  
  .director h3 { margin-bottom: var(--space-2); }

  .director-role {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: var(--space-4);
  }
  
  .director p { font-size: 0.85rem; }
  
  /* Team Groups */
  .team-group { margin-bottom: var(--space-12); }

  .team-group:last-child { margin-bottom: 0; }

  .team-group h2 {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--light-grey);
  }

  .team-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  .team-member {
    display: flex;
    flex-direction: column;
  }
  
  .team-member-photo {
    width: 100%;
    aspect-ratio: 1;
    max-width: 180px;
    background: var(--cream);
    margin-bottom: var(--space-4);
    overflow: hidden;
  }
  
  .team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .team-member h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: var(--space-1);
  }
  
  .team-member span {
    font-size: 0.7rem;
    color: var(--mid-grey);
  }
  
  /* Fellowship Page */
  .fellowship-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--dark-grey);
    max-width: none;
  }
  
  .page-header.fellowship-header {
    padding-bottom: 0;
  }

  .fellowship-header .fellowship-tagline {
    margin-bottom: 0;
  }

  .fellowship-section {
    padding-top: 0;
    padding-bottom: 1rem;
  }
  
  .fellowship-content {
    max-width: 100%;
  }
  
  .fellowship-content p {
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  .fellowship-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .fellowship-content h2:first-of-type {
    margin-top: 1.5rem;
  }

  .meridian-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 1.5rem;
    clear: both;
  }

  .meridian-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .fellowship-image {
    float: right;
    width: 55%;
    max-width: 550px;
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .fellowship-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
  }
  
  .image-credit {
    font-size: 0.65rem;
    color: var(--mid-grey);
    margin-top: 0.5rem;
    max-width: none;
    text-align: center;
  }
  
  .image-credit a {
    color: var(--mid-grey);
    border-bottom: 1px solid var(--light-grey);
    margin-right: 0.25rem;
  }
  
  .image-credit a:hover {
    color: var(--dark-grey);
  }
  
  /* Marker highlight effect - wavy yellow, covers full text */
  .highlight {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,20 Q10,10 20,20 T40,20 T60,20 T80,20 T100,20 L100,85 Q90,95 80,85 T60,85 T40,85 T20,85 T0,85 Z' fill='%23f7e87a' opacity='0.45'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 0.15em 0.3em;
    margin: 0 -0.1em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  
  /* Application section */
  .fellowship-application {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding: 2rem 2.5rem 2.25rem;
    border: 1px solid var(--light-grey);
    clear: both;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .fellowship-application h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--black);
  }

  .fellowship-application p {
    margin-bottom: 0.5rem;
    max-width: 100%;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark-grey);
  }

  .fellowship-application .btn-wrapper {
    text-align: center;
    margin-top: 1.5rem;
  }

  .application-deadline {
    display: block;
    font-weight: 600;
    color: var(--cambridge);
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .btn-primary {
    display: inline-block;
    padding: 1rem 2.2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #945947 0%, #8a4f3f 45%, #7e4233 100%);
    background-size: 200% auto;
    color: var(--white);
    border: 1px solid rgba(126, 66, 51, 0.15);
    border-radius: 999px;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.1),
      0 8px 16px rgba(0, 0, 0, 0.1),
      0 16px 32px rgba(126, 66, 51, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }

  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
    transition: left 0.6s ease;
    pointer-events: none;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: inherit;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 66, 51, 0.3);
    box-shadow:
      0 4px 8px rgba(126, 66, 51, 0.12),
      0 12px 24px rgba(0, 0, 0, 0.14),
      0 28px 48px rgba(126, 66, 51, 0.1);
  }

  .btn-primary:hover::before {
    left: 100%;
  }

  .btn-primary:hover::after {
    opacity: 1;
  }

  .btn-primary.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--light-grey);
    box-shadow: none;
  }

  .btn-primary.btn-secondary::before,
  .btn-primary.btn-secondary::after {
    display: none;
  }

  .btn-primary.btn-secondary:hover {
    background: var(--cream);
    border-color: var(--mid-grey);
    box-shadow: none;
  }

  .mars-application .btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .fellowship-block h2 {
    margin-bottom: 1rem;
  }
  
  .fellowship-block p {
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  .fellowship-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
    clear: both;
  }
  
  .track {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(244, 243, 239, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(224, 224, 224, 0.6);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.02),
      0 8px 16px rgba(0, 0, 0, 0.04),
      0 16px 32px rgba(0, 0, 0, 0.03);
  }
  
  .track h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .track-note {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--mid-grey);
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  
  .track > p {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    max-width: 100%;
  }
  
  .track > p:last-of-type {
    margin-bottom: 0.75rem;
    font-weight: 600;
  }
  
  .track ul {
    list-style: disc;
    margin: 0;
    padding-left: 1.25rem;
  }
  
  .track ul li {
    font-size: 0.8rem;
    color: var(--dark-grey);
    margin-bottom: 0.6rem;
    padding-left: 0.25rem;
    line-height: 1.5;
  }
  
  .track ul li:last-child {
    margin-bottom: 0;
  }
  
  .fellowship-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .feature {
    padding: 1.25rem;
    border-left: 3px solid var(--light-grey);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(224, 224, 224, 0.6);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.02),
      0 8px 16px rgba(0, 0, 0, 0.03);
  }
  
  .feature h4 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  
  .feature p {
    margin-bottom: 0;
    font-size: 0.8rem;
  }
  
  .fellowship-content > h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .expectations-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .expectation {
    padding: 1.25rem;
    border-left: 3px solid var(--light-grey);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(224, 224, 224, 0.6);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.02),
      0 8px 16px rgba(0, 0, 0, 0.03);
  }
  
  .expectation h4 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  
  .expectation p {
    margin-bottom: 0;
    font-size: 0.8rem;
  }

  .fellowship-faq {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(244, 243, 239, 0.8), rgba(255, 255, 255, 0.88));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(224, 224, 224, 0.6);
    border-radius: 18px;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.02),
      0 8px 16px rgba(0, 0, 0, 0.04),
      0 20px 40px rgba(0, 0, 0, 0.04);
  }

  .faq-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .faq-title {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.03em;
  }

  .faq-accordion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .faq-card {
    position: relative;
    padding: 0;
    background: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(26, 26, 26, 0.09);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.02),
      0 8px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .faq-card:hover {
    box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.03),
      0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(26, 26, 26, 0.16);
  }

  .faq-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 1px;
    background: rgba(26, 26, 26, 0.08);
  }

  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.95rem;
    color: var(--black);
    -webkit-appearance: none;
    appearance: none;
  }

  .faq-question:focus-visible {
    outline: 2px solid rgba(26, 26, 26, 0.28);
    outline-offset: 4px;
  }

  .faq-question span:first-child {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .faq-icon {
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.16);
    background: rgba(26, 26, 26, 0.05);
    font-size: 1.2rem;
    color: var(--black);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .faq-card.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(26, 26, 26, 0.08);
    border-color: rgba(26, 26, 26, 0.28);
  }

  .faq-answer {
    padding: 0.35rem 1.5rem 1.4rem;
    border-top: 1px solid rgba(224, 224, 224, 0.8);
  }

  .faq-answer p {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    max-width: none;
    color: var(--dark-grey);
  }

  .faq-answer p:last-child {
    margin-bottom: 0;
  }

  .faq-answer h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--dark);
    margin-top: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .faq-answer h4:first-child {
    margin-top: 0.75rem;
  }

  .faq-answer ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
  }

  .faq-answer ul li {
    font-size: 0.9rem;
    color: var(--dark-grey);
    margin-bottom: 0.3rem;
    line-height: 1.6;
  }

  .faq-answer ul li:last-child {
    margin-bottom: 0;
  }

  .faq-footer {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--mid-grey);
    max-width: none;
  }

  .expectation ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
  }

  .expectation ul li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.8rem;
    color: var(--dark-grey);
    line-height: 1.6;
  }

  .expectation ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--mid-grey);
  }

.expectations-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.expectations-section p {
  max-width: 100%;
}

.expectations-note {
  white-space: nowrap;
}

  .expectations-section h2 {
    margin-bottom: 1.5rem;
  }

  .expectations-list--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .expectations-list--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }

  .expectations-list--single .expectation {
    border-left: none;
    padding: 1.75rem 2rem;
    text-align: center;
  }

  .expectations-list--single .expectation h4 {
    font-size: 1rem;
  }

  .expectations-list--single .expectation ul li {
    font-size: 0.9rem;
    padding-left: 0;
  }

  .expectations-list--single .expectation ul li::before {
    content: none;
  }

  .expectations-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .expectations-footer p {
    max-width: none;
  }

  .expectations-footer a {
    color: var(--black);
    border-bottom: 1px solid rgba(74, 74, 74, 0.35);
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .expectations-footer a:hover {
    color: var(--black);
    border-color: rgba(26, 26, 26, 0.6);
  }

  .text-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-grey);
    border-bottom: 1px solid rgba(74, 74, 74, 0.35);
    width: fit-content;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .text-link:hover {
    color: var(--black);
    border-color: rgba(26, 26, 26, 0.6);
  }

  .inline-link {
    color: var(--black);
    border-bottom: 1px solid rgba(74, 74, 74, 0.35);
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .inline-link:hover,
  .inline-link:focus-visible {
    color: var(--black);
    border-color: rgba(26, 26, 26, 0.6);
  }

.socials-image {
  max-width: var(--max-width);
  padding: 0 2.5rem 2rem;
  margin: 0 auto;
}

.socials-image img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
  
  .fellowship-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--light-grey);
    clear: none;
  }
  
  .fellowship-list li {
    font-size: 0.85rem;
    color: var(--dark-grey);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
  }
  
  .fellowship-list li:last-child {
    margin-bottom: 0;
  }
  
  /* MARS Page */
  .mars-hero-image {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 5rem 2.5rem 0 2.5rem;
  }
  
  .mars-hero-image img {
    width: 100%;
    max-width: var(--max-width);
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 0;
  }
  
  /* MARS Hero Header */
  .mars-hero-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 7rem 2.5rem 1.5rem;
  }

  .mars-hero-header--centered {
    text-align: center;
  }

  .mars-hero-header--centered .mars-hero-inner {
    max-width: 650px;
    margin: 0 auto;
  }

  .mars-hero-header--centered .mars-hero-summary {
    margin-left: auto;
    margin-right: auto;
  }

  .mars-hero-header--centered .mars-hero-buttons {
    justify-content: center;
  }

  .mars-hero-inner {
    max-width: 700px;
  }

  .mars-hero-header .label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cambridge);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
  }

  .mars-hero-header h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .mars-hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--dark-grey);
    max-width: 60ch;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .mars-hero-summary {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--mid-grey);
    max-width: 60ch;
    margin-bottom: 2rem;
  }

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

  .mars-hero-features {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .mars-hero-feature {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mars-hero-feature-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mid-grey);
  }

  .mars-hero-feature-value {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--black);
  }

  /* MARS Hero 3x3 Grid */
  .mars-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 2.5rem;
  }

  .mars-hero-grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 3px;
  }

  .mars-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 2.5rem 0;
    border-radius: 10px;
    overflow: hidden;
  }

  .mars-photo-strip img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
  }

  .mars-photo-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
  }

  .mars-photo-pair img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
  }

  .mars-header {
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .mars-header h1 {
    margin-bottom: 0.25rem;
  }

  .mars-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--dark-grey);
    max-width: none;
    margin-bottom: 0;
  }

  .mars-section {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .mars-content {
    max-width: 100%;
  }
  
  .mars-content > p {
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .mars-content > p:first-of-type {
    font-size: 0.95rem;
    color: var(--dark-grey);
  }
  
  .mars-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .mars-content h2:first-of-type {
    margin-top: 1.5rem;
  }

  .mars-content > .divider {
    max-width: none;
    padding: 0;
    margin: 2.5rem 0;
  }
  
  /* MARS Interactive Timeline */
  .timeline-container {
    margin: 2rem 0;
  }

  .timeline-detail {
    background: transparent;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    min-height: 100px;
    border: 1px solid rgba(141, 141, 141, 0.12);
    box-shadow: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .timeline-detail--hidden {
    display: none;
  }

  .timeline-hint {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: var(--mid-grey);
    text-align: center;
    letter-spacing: 0.02em;
  }

  .timeline-detail h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--black);
  }

  .timeline-detail p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--dark-grey);
    max-width: none;
  }

  .timeline-scroll {
    overflow-x: auto;
    padding: 1rem 0 1.5rem;
    scrollbar-width: none;
  }

  .timeline-scroll::-webkit-scrollbar {
    display: none;
  }

  .timeline-track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: max-content;
    padding: 0 0.5rem;
  }

  .timeline-connector {
    height: 2px;
    background: rgba(26, 26, 26, 0.24);
    position: relative;
    margin: 1.25rem 0.35rem 0;
    flex-shrink: 0;
    width: 2.5rem;
  }

  .timeline-connector[data-duration="1 week"] {
    width: 2.5rem;
  }

  .timeline-connector[data-duration="2-4 weeks"] {
    width: 6rem;
  }

  .timeline-connector[data-duration="8-12 weeks"] {
    width: 12rem;
  }

  .timeline-connector[data-duration]::before {
    content: attr(data-duration);
    position: absolute;
    top: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--mid-grey);
    white-space: nowrap;
  }

  .timeline-connector[data-duration]::after {
    content: '↓';
    position: absolute;
    top: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    color: var(--mid-grey);
    line-height: 1;
  }

  .timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .timeline-point:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(126, 66, 51, 0.3);
  }

  .timeline-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--white);
    border: 2px solid rgba(126, 66, 51, 0.4);
    color: var(--dark-grey);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-radius: 50%;
    transition: all 0.2s ease;
  }

  .timeline-point.active .timeline-number {
    background: #7e4233;
    border-color: #7e4233;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(126, 66, 51, 0.35);
  }

  .timeline-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--mid-grey);
    transition: color 0.2s ease;
    text-align: center;
  }

  .timeline-point.active .timeline-label {
    color: #7e4233;
    font-weight: 600;
  }

  .timeline-point:hover .timeline-label {
    color: var(--dark-grey);
  }

  .timeline-date {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--cambridge);
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
  }

  .timeline-point--current .timeline-number {
    background: #7e4233;
    border-color: #7e4233;
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(126, 66, 51, 0.15);
  }

  .timeline-point--current .timeline-label {
    color: #7e4233;
    font-weight: 600;
  }

  .timeline-current-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7e4233;
    margin-top: 0.3rem;
  }

  .mars-working-image {
    margin: 1.5rem 0;
    text-align: center;
  }
  
  .mars-working-image img {
    width: 60%;
    min-width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
  }

  .mars-feature {
    padding: 1.25rem;
    border-left: 3px solid var(--light-grey);
  }
  
  .mars-feature h4 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  
  .mars-feature p {
    margin-bottom: 0;
    font-size: 0.8rem;
  }
  
  /* Who we're looking for */
  .mars-who-section {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: center;
    margin: 1.5rem 0;
  }

  .mars-who-text h2 {
    margin-bottom: 1rem;
  }

  .mars-who-text p {
    max-width: none;
    margin-bottom: 1rem;
  }

  .mars-who-text p:last-child {
    margin-bottom: 0;
  }

  .mars-who-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
  }

  /* Mentors Grid */
  .mentors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem 1.5rem;
    margin: 1.5rem 0;
  }

  .mentor {
    text-align: left;
  }

  .mentor-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 20%;
    background: var(--cream);
    border-radius: 6px;
    margin-bottom: 0.6rem;
    display: block;
  }
  
  .mentor h4 {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 400;
    margin-bottom: 0.1rem;
    line-height: 1.3;
  }

  .mentor-org {
    font-size: 0.65rem;
    color: var(--mid-grey);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .mentor-area {
    font-size: 0.65rem;
    color: var(--mid-grey);
    font-style: italic;
    margin-bottom: 0;
  }


  /* =============================================
     MARS V - Application Open Components
     ============================================= */

  /* Two-phase application explainer */
  .mars-phases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
  }
  .mars-phase {
    padding: 1.75rem;
    border: 1px solid var(--light-grey);
    border-radius: 10px;
    background: var(--white);
    position: relative;
  }
  .mars-phase--active {
    border-color: var(--cambridge);
    box-shadow: 0 0 0 1px var(--cambridge);
  }
  .mars-phase-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-bottom: 0.75rem;
    margin-top: 0;
  }
  .mars-phase--active .mars-phase-status {
    color: var(--cambridge);
  }
  .mars-phase h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  .mars-phase p {
    font-size: 0.85rem;
    max-width: none;
    line-height: 1.7;
  }
  .mars-phase-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
  }
  .mars-phase--active .mars-phase-badge {
    background: rgba(26, 26, 26, 0.06);
    color: var(--cambridge);
  }
  .mars-phase--locked .mars-phase-badge {
    background: rgba(138, 138, 138, 0.1);
    color: var(--mid-grey);
  }

  .mars-vi-eoi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 2rem;
    border: 1px dashed var(--light-grey);
    border-radius: 10px;
    background: rgba(244, 243, 239, 0.4);
    margin: 0 0 2rem;
  }
  .mars-vi-eoi-text {
    flex: 1 1 auto;
    min-width: 0;
  }
  .mars-vi-eoi-badge {
    background: rgba(138, 138, 138, 0.1);
    color: var(--mid-grey);
  }
  .mars-vi-eoi h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  .mars-vi-eoi p {
    font-size: 0.85rem;
    max-width: none;
    line-height: 1.7;
    margin: 0;
  }
  .mars-vi-eoi-action {
    flex: 0 0 auto;
  }

  /* Section break images */
  .mars-section-image {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.5rem;
  }
  .mars-section-image img {
    width: 100%;
    aspect-ratio: 21/6;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }

  /* Mentor search */
  .mentor-search {
    width: 100%;
    padding: 0.8rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    margin-bottom: 0.75rem;
    outline: none;
    transition: border-color 0.2s;
  }
  .mentor-search:focus {
    border-color: var(--cambridge);
  }
  .mentor-search::placeholder {
    color: var(--mid-grey);
  }

  /* Mentor filter pills */
  .mentor-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .mentor-filter {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--light-grey);
    border-radius: 20px;
    background: transparent;
    color: var(--mid-grey);
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .mentor-filter:hover {
    border-color: var(--cambridge);
    color: var(--cambridge);
  }
  .mentor-filter.active {
    background: var(--cambridge);
    border-color: var(--cambridge);
    color: #fff;
  }

  /* No results message */
  .mentor-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    color: var(--mid-grey);
    font-size: 0.85rem;
    display: none;
  }

  /* Mentor project cards */
  .mentor-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .mentor-card {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
  }
  .mentor-card:hover {
    border-color: rgba(148, 89, 71, 0.3);
    box-shadow: 0 4px 20px rgba(148, 89, 71, 0.08);
  }
  .mentor-card[hidden] {
    display: none;
  }
  .mentor-card.expanded {
    border-color: rgba(148, 89, 71, 0.2);
  }

  /* Card header: avatar + identity + spots */
  .mentor-card-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  .mentor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
  }
  .mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mentor-card-identity {
    flex: 1;
    min-width: 0;
  }
  .mentor-card-identity h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.15rem;
    color: var(--black);
    line-height: 1.3;
  }
  .mentor-card-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
  }
  .mentor-card-org {
    font-size: 0.72rem;
    color: var(--mid-grey);
    margin-bottom: 0;
  }
  .mentor-card-spots {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cambridge);
    background: rgba(26, 26, 26, 0.05);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
  }

  /* Card summary (always visible) */
  .mentor-card-summary {
    font-size: 0.82rem;
    color: var(--dark-grey);
    line-height: 1.7;
    margin-top: 0.85rem;
    margin-bottom: 0;
    max-width: none;
  }

  /* Expand toggle */
  .mentor-card-toggle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cambridge);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
    display: inline-block;
  }
  .mentor-card-toggle:hover {
    text-decoration: underline;
  }

  /* Card detail (hidden by default) */
  .mentor-card-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-grey);
  }
  .mentor-card-detail[hidden] {
    display: none;
  }
  .mentor-card-desc {
    font-size: 0.82rem;
    color: var(--dark-grey);
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: none;
  }
  .mentor-card-looking {
    font-size: 0.78rem;
    color: var(--mid-grey);
    line-height: 1.65;
    margin-bottom: 0;
    max-width: none;
  }
  .mentor-card-looking strong {
    color: var(--dark-grey);
  }

  /* Alumni Orgs */
  .alumni-orgs {
    margin: 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
  }

  .alumni-orgs-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .alumni-org-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
  }

  .alumni-org-logo img {
    height: 100%;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
  }

  .alumni-org-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
  }

  .alumni-org-logo--dup {
    display: none;
  }

  @keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Fellows Section */
  .fellows-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem 1.5rem;
  }

  .fellows-inner h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 0 0 1.25rem;
    color: var(--black);
  }

  .fellows-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .fellows-track-label {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cambridge);
    border: 1px solid rgba(126, 66, 51, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
  }

  .fellows-track-col {
    position: relative;
  }

  .fellows-track-col.has-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 10px 10px;
  }

  .fellows-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .fellow {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(166, 140, 115, 0.18);
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .fellow:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border-color: rgba(126, 66, 51, 0.25);
  }

  .fellow-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--cream);
  }

  .fellow-info {
    min-width: 0;
  }

  .fellow h4 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    color: var(--black);
  }

  .fellow-track {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0;
  }

  .fellows-toggle {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 1.25rem;
    background: transparent;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--mid-grey);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .fellows-toggle:hover {
    border-color: var(--cambridge);
    color: var(--cambridge);
  }

  /* Facilitators */
  .facilitators-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.5rem 2.5rem 1.5rem;
  }

  .facilitators-inner h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 0 0 1.25rem;
    color: var(--black);
  }

  .facilitators-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
  }

  /* Fellow Overlay */
  /* Fellow Bio Overlay — editorial side-by-side layout */
  .fellow-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .fellow-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .fellow-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 5, 4, 0.55);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
  }

  .fellow-overlay-card {
    position: relative;
    width: min(600px, 92vw);
    max-height: 85vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 16px;
    border: none;
    box-shadow:
      0 8px 16px rgba(0, 0, 0, 0.08),
      0 32px 64px rgba(0, 0, 0, 0.16);
    padding: 0;
    transform: scale(0.96) translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .fellow-overlay.active .fellow-overlay-card {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  .fellow-overlay-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--dark-grey);
    transition: all 0.2s ease;
    z-index: 2;
  }

  .fellow-overlay-close:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--black);
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .fellow-overlay-body {
    text-align: left;
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 1.75rem;
    padding: 1.75rem;
  }

  .fellow-overlay-photo {
    grid-row: 1 / -1;
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 10px;
    margin: 0;
    background: var(--cream);
    border: 2px dashed rgba(126, 66, 51, 0.3);
    padding: 6px;
    box-shadow: 0 2px 12px rgba(126, 66, 51, 0.06);
    align-self: start;
    position: sticky;
    top: 1.75rem;
  }

  .fellow-overlay-body h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    color: var(--black);
    letter-spacing: -0.01em;
  }

  .fellow-overlay-track {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--cambridge);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: fit-content;
  }

  .fellow-overlay-body p {
    font-size: 0.88rem;
    color: var(--dark-grey);
    line-height: 1.75;
    text-align: left;
    max-width: none;
  }

  /* Research Grid */
  .research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
  }

  .research-card {
    display: block;
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid rgba(224, 224, 224, 0.6);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .research-card:hover {
    border-color: rgba(126, 66, 51, 0.3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .research-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .research-cohort {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cambridge);
  }

  .research-type {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid-grey);
  }

  .research-card h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .research-authors {
    font-size: 0.8rem;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 0;
  }

  .research-status {
    font-size: 0.75rem;
    color: var(--cambridge);
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }
  
  .view-all-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--dark-grey);
    border-bottom: 1px solid var(--light-grey);
    margin-top: 0.5rem;
    transition: all 0.2s ease-out;
  }
  
  .view-all-link:hover {
    color: var(--black);
    border-color: var(--black);
  }

  /* Research Page */
  .research-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--dark-grey);
    max-width: none;
  }

  .research-section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-10);
  }

  .research-page-content {
    max-width: 100%;
  }

  .research-page-content > p {
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .research-page-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .research-page-content > .divider {
    max-width: none;
    padding: 0;
    margin: 2.5rem 0;
  }

  .research-page-content .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ongoing-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cambridge);
    vertical-align: middle;
    margin-left: 0.75rem;
    position: relative;
    top: -0.1em;
    animation: badge-pulse 2.4s ease-in-out infinite;
  }

  .ongoing-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cambridge);
    margin-right: 0.4rem;
    vertical-align: middle;
    animation: dot-pulse 2.4s ease-in-out infinite;
  }

  @keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  @keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
  }

  /* Video Profiles */
  .page-header--video {
    padding-top: 6.75rem;
    padding-bottom: 0.5rem;
  }

  .page-header--video h1 {
    margin-bottom: var(--space-2);
  }

  .page-header--video .label {
    margin-bottom: var(--space-3);
  }

  .page-header--video p {
    max-width: 48ch;
  }

  .video-card-kicker,
  .video-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cambridge);
    margin-bottom: var(--space-4);
  }

  .video-modal-eyebrow::before {
    content: '';
    width: 1.8rem;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
  }

  .video-library {
    padding-top: var(--space-6);
    padding-bottom: var(--space-3);
  }

  .video-library-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
  }

  .video-library-heading p {
    max-width: 36ch;
    margin-bottom: 0.15rem;
  }

  .video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: var(--space-8);
    align-items: stretch;
  }

  .video-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 880px;
  }

  .video-grid-featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: stretch;
  }

  .video-card--landscape .video-card-media {
    aspect-ratio: 16 / 9;
  }

  .video-card--portrait .video-card-media {
    aspect-ratio: 3 / 4;
  }

  .video-card--portrait .video-card-poster,
  .video-card--portrait .video-card-preview {
    object-position: center 20%;
  }

  @media (max-width: 700px) {
    .stories-spotlight-grid,
    .video-grid-featured {
      grid-template-columns: 1fr;
    }

    .video-card--portrait .video-card-media {
      aspect-ratio: 16 / 9;
    }

    .video-card--landscape .video-card-media {
      aspect-ratio: 16 / 9;
    }
  }

  .video-card {
    min-width: 0;
  }

  .video-card-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 28px;
    background: #ffffff;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    box-shadow:
      0 22px 48px rgba(26, 26, 26, 0.08),
      0 8px 18px rgba(26, 26, 26, 0.04);
    transition:
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.3s ease,
      border-color 0.3s ease;
  }

  .video-card-trigger:hover,
  .video-card-trigger:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(26, 26, 26, 0.16);
    box-shadow:
      0 28px 58px rgba(26, 26, 26, 0.1),
      0 12px 22px rgba(26, 26, 26, 0.06);
  }

  .video-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ececea;
  }

  .video-card-poster,
  .video-card-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-card-poster {
    transition: opacity 0.25s ease;
  }

  .video-card-preview {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.3s ease, transform 0.6s ease;
    pointer-events: none;
  }

  .video-card.is-previewing .video-card-preview {
    opacity: 1;
    transform: scale(1);
  }

  .video-card.is-previewing .video-card-poster {
    opacity: 0.12;
  }

  .video-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-6);
    background:
      linear-gradient(180deg, rgba(15, 12, 10, 0.28) 0%, rgba(15, 12, 10, 0.04) 34%, rgba(15, 12, 10, 0.18) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .video-card-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--black);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  }

  .video-card-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--black);
    box-shadow:
      0 14px 32px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .video-card-play {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .video-card-play::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid var(--cambridge);
    margin-left: 2px;
  }

  .video-card-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .video-card-interaction {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .video-card-cta-copy strong {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
  }

  .video-card-body {
    display: block;
    padding: var(--space-5) var(--space-6) var(--space-6);
    background: #ffffff;
  }

  .video-card-kicker {
    margin-bottom: var(--space-3);
  }

  .video-card-kicker::before {
    content: none;
  }

  .video-card-title {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 2.4vw, 1.95rem);
    line-height: 1.1;
    color: var(--black);
    margin-bottom: var(--space-2);
  }

  .video-card-role {
    display: block;
    margin-bottom: var(--space-4);
    color: var(--cambridge);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .video-library-note {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-top: var(--space-2);
  }

  .video-page {
    min-height: auto;
  }

  .video-page::after {
    display: none;
  }

  .video-page .page-header {
    padding-top: var(--space-24);
    padding-bottom: var(--space-2);
  }

  .video-page .page-header h1 {
    margin-bottom: var(--space-2);
  }

  .video-page .video-library {
    padding-top: var(--space-4);
    padding-bottom: var(--space-12);
  }

  .video-page .video-library-heading {
    margin-bottom: var(--space-4);
  }

  .video-page .video-profile-page {
    padding-top: var(--space-3);
    padding-bottom: var(--space-4);
  }

  .video-page .video-library-note {
    margin-top: var(--space-5);
  }

  .video-page footer {
    margin-top: 0;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .video-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cambridge);
    margin-bottom: var(--space-5);
  }

  .video-back-link::before {
    content: '';
    width: 0.6rem;
    height: 0.6rem;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.2rem;
  }

  .video-profile-page {
    padding-top: var(--space-5);
    padding-bottom: var(--space-8);
  }

  .video-profile-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: var(--space-8);
    align-items: start;
  }

  .video-profile-main,
  .video-profile-sidebar {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 24px;
    padding: var(--space-8);
    box-shadow:
      0 18px 42px rgba(60, 48, 35, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .video-profile-main .video-modal-player-shell {
    margin-bottom: var(--space-6);
  }

  .video-profile-summary p {
    max-width: 100%;
  }

  .video-profile-summary p + p {
    margin-top: var(--space-4);
  }

  .video-profile-sidebar .video-chip-row {
    margin-bottom: var(--space-6);
  }

  .video-profile-shell--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }

  .video-profile-note {
    max-width: none;
    font-size: 0.85rem;
    color: var(--mid-grey);
    margin-top: var(--space-3);
  }

  /* Video story – narrative text below video profile */
  .video-story {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 2.5rem 2rem;
  }

  .video-story p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-grey);
    max-width: none;
    margin-bottom: 1.25rem;
  }

  .video-story-lead {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
  }

  .video-story-quote {
    margin: 2rem 0 0;
    padding: 0 0 0 1.25rem;
    border-left: 3px solid var(--cambridge);
    background: none;
    border-radius: 0;
  }

  .video-story-quote p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--dark-grey);
    margin: 0;
  }

  @media (max-width: 600px) {
    .video-story {
      padding: 1.5rem 1rem 1.5rem;
    }

    .video-story-lead {
      font-size: 1.08rem !important;
    }

    .video-story-quote p {
      font-size: 1.05rem;
    }
  }

  .video-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(13, 11, 10, 0.76);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
  }

  .video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .video-modal {
    width: min(1040px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    background:
      linear-gradient(180deg, rgba(253, 249, 244, 0.97) 0%, rgba(248, 240, 232, 0.96) 100%);
    border: 1px solid rgba(148, 89, 71, 0.16);
    border-radius: 28px;
    padding: var(--space-6);
    box-shadow:
      0 36px 80px rgba(0, 0, 0, 0.26),
      0 14px 32px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .video-modal-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
  }

  .video-modal-topbar h2 {
    margin: 0;
    max-width: none;
  }

  .video-modal-close {
    border: 1px solid rgba(148, 89, 71, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--black);
    padding: 0.7rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .video-modal-close:hover {
    background: rgba(255, 252, 248, 1);
    border-color: rgba(148, 89, 71, 0.3);
  }

  .video-modal-player-shell {
    overflow: hidden;
    border-radius: 20px;
    background: #090908;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .video-modal-player {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
    background: #000;
  }

  .video-modal-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-6);
    padding-top: var(--space-5);
  }

  .video-modal-role {
    max-width: 32ch;
  }

  .video-modal-note {
    margin-left: auto;
    max-width: 34ch;
    font-size: 0.82rem;
    line-height: 1.7;
    padding: 0.9rem 1rem;
    background: rgba(26, 26, 26, 0.05);
    border: 1px solid rgba(148, 89, 71, 0.12);
    border-radius: 18px;
  }

  @media (max-width: 900px) {
    .video-profile-shell {
      grid-template-columns: 1fr;
    }

    .stories-spotlight-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .video-library-heading,
    .video-modal-meta {
      flex-direction: column;
      align-items: flex-start;
    }

    .video-modal-note {
      margin-left: 0;
      max-width: 100%;
    }

  }

  @media (max-width: 600px) {
    .page-header--video {
      padding-top: 5.5rem;
      padding-bottom: 0.25rem;
    }

    .video-profile-sidebar,
    .video-modal {
      padding: var(--space-6);
      border-radius: 22px;
    }

    .video-profile-main {
      padding: var(--space-4);
      border-radius: 16px;
    }

    .video-profile-page {
      padding-top: var(--space-3);
      padding-bottom: var(--space-5);
    }

    .video-modal-player-shell {
      border-radius: 12px;
    }

    .video-card-trigger {
      border-radius: 24px;
    }

    .video-card-body {
      padding: var(--space-5);
    }

    .video-card-cta {
      width: 100%;
      justify-content: flex-start;
    }

    .video-modal-overlay {
      padding: 1rem;
    }

    .video-modal-topbar {
      flex-direction: column;
    }

    .video-modal-close {
      align-self: flex-end;
    }
  }

  /* Alumni */
  .alumni-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
  }
  
  .alumni {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 12px;
  }
  
  .alumni-photo {
    width: 100%;
    aspect-ratio: 1;
    background: var(--light-grey);
    border-radius: 4px;
    margin-bottom: 1.25rem;
  }
  
  .alumni-content {
    flex: 1;
  }
  
  .alumni-content h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
  }
  
  .alumni-role {
    font-size: 0.8rem;
    color: var(--mid-grey);
    margin-bottom: 1rem;
  }
  
  .alumni-quote {
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  .alumni-cohort {
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-bottom: 0;
  }
  
  /* MARS Application */
  .mars-application {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    padding: 2.5rem;
    border: 1px solid var(--light-grey);
    clear: both;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(244,243,239,0.6), rgba(255,255,255,0.9));
  }

  .mars-application h2 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  }

  .mars-application p {
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .mars-cta-stats {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    align-items: center;
    margin: 0 0 2rem;
  }

  .mars-cta-stats-divider {
    width: 1px;
    height: 3rem;
    background: var(--light-grey);
  }

  .mars-cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
  }

  .mars-cta-stat-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark);
    line-height: 1.1;
  }

  .mars-cta-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-grey);
  }

  @media (max-width: 600px) {
    .mars-cta-stats {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    .mars-cta-stats-divider {
      display: none;
    }
    .mars-application {
      padding: 2rem 1.5rem;
    }
  }

  .application-notice {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
  }

  .modal-open {
    overflow: hidden;
  }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
  }

  .modal-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .modal {
    width: min(600px, 92vw);
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--light-grey);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    height: 90vh;
    min-height: 0;
  }

  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(166, 140, 115, 0.16);
    background: var(--white);
  }

  .modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--black);
    margin: 0;
  }

  .modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--dark-grey);
  }

  .modal-close:hover {
    color: var(--black);
  }

  .modal-body {
    position: relative;
    flex: 1 1 auto;
    background: var(--white);
    min-height: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
  }

  .modal-body iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    background: var(--white);
  }
  
  /* --- Hack Page --- */
  .hack-header {
    padding-top: var(--space-36);
    padding-bottom: var(--space-4);
  }

  .hack-header h1 {
    margin-bottom: var(--space-4);
  }

  .hack-signup {
    max-width: var(--max-width);
    margin: var(--space-12) auto;
    padding: 0 var(--space-10);
  }

  .hack-signup-inner {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 40%, #1f1c1b 60%, #1a1a1a 100%);
    border-radius: 12px;
    padding: var(--space-16) var(--space-12);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hack-signup-inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
    pointer-events: none;
  }

  .hack-signup-content h2 {
    font-family: var(--font-serif);
    color: var(--cream);
    margin-bottom: var(--space-5);
  }

  .hack-signup-content p {
    color: #a0a0a0;
    margin-bottom: var(--space-8);
    max-width: 42ch;
  }

  .hack-signup-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hack-signup-decoration img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    opacity: 0.15;
  }

  .hack-form {
    position: relative;
    z-index: 1;
  }

  .hack-form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 440px;
  }

  .hack-form-row {
    display: flex;
    gap: var(--space-3);
  }

  .hack-input {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--cream);
    outline: none;
    transition: border-color 0.2s ease;
  }

  .hack-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
  }

  .hack-input:focus {
    border-color: var(--cambridge-light);
  }

  .hack-submit {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hack-submit:disabled {
    opacity: 0.6;
    cursor: wait;
  }

  .hack-form-msg {
    font-size: 0.8rem;
    margin-top: var(--space-3);
    max-width: none;
  }

  .hack-form-success {
    color: #8cbf8c;
  }

  .hack-form-error {
    color: #e08080;
  }

  .hack-programmes {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-12) var(--space-10);
  }

  .hack-programmes > h2 {
    margin-bottom: var(--space-4);
  }

  .hack-programmes > p {
    margin-bottom: var(--space-12);
  }

  .hack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .hack-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .hack-card:hover {
    border-color: var(--cambridge);
    box-shadow: 0 4px 24px rgba(126, 66, 51, 0.08);
  }

  .hack-card-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }

  .hack-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .hack-card:hover .hack-card-image img {
    transform: scale(1.03);
  }

  .hack-card-body {
    padding: var(--space-6) var(--space-6) var(--space-8);
  }

  .hack-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--space-3);
    color: var(--black);
  }

  .hack-card-body p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--dark-grey);
  }

  @media (max-width: 600px) {
    .hack-signup {
      padding: 0 var(--space-6);
    }

    .hack-signup-inner {
      grid-template-columns: 1fr;
      padding: var(--space-10) var(--space-8);
    }

    .hack-signup-decoration {
      display: none;
    }

    .hack-form-fields {
      max-width: 100%;
    }

    .hack-form-row {
      flex-direction: column;
    }

    .hack-signup-content p {
      max-width: none;
    }

    .hack-programmes {
      padding: var(--space-8) var(--space-6);
    }

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

  /* Careers Page */
  .careers-page {
    overflow: hidden;
  }

  .careers-page .label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    margin-bottom: var(--space-4);
    color: var(--mid-grey);
  }

  .careers-page .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.78rem 1rem 0.78rem 1.08rem;
    border-radius: 4px;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    box-shadow: 0 8px 18px rgba(26, 26, 26, 0.08);
    font-size: 0.68rem;
  }

  .careers-page .btn-primary::before {
    display: none;
  }

  .careers-page .btn-primary::after {
    content: '';
    display: block;
    position: static;
    width: 0.42rem;
    height: 0.42rem;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    background: none;
    opacity: 1;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .careers-page .btn-primary:hover {
    transform: translateY(-1px);
    background: #2a2a2a;
    border-color: #2a2a2a;
    box-shadow: 0 10px 20px rgba(26, 26, 26, 0.1);
  }

  .careers-page .btn-primary:hover::after {
    transform: translateX(2px) rotate(45deg);
  }

  .careers-hero {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(245, 245, 243, 0.78) 0%, rgba(251, 251, 250, 0.96) 72%, rgba(251, 251, 250, 1) 100%);
  }

  .careers-hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: var(--space-32) var(--space-10) var(--space-10);
    color: var(--black);
    text-align: center;
  }

  .careers-hero-content .label {
    color: var(--mid-grey);
  }

  .careers-hero h1 {
    max-width: none;
    margin: 0 auto var(--space-6);
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    line-height: 1.16;
    color: var(--black);
    overflow-wrap: anywhere;
  }

  .careers-hero h1 em {
    font-style: italic;
    font-weight: 400;
  }

  .careers-hero h1.careers-hero-title--long {
    font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  }

  .careers-hero p {
    max-width: 52ch;
    margin: 0 auto;
    color: var(--dark-grey);
    font-family: var(--font-serif);
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    line-height: 1.75;
  }

  .careers-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    margin-top: var(--space-8);
  }

  @keyframes careers-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .careers-hero .label,
  .careers-hero h1,
  .careers-hero p,
  .careers-hero-actions {
    animation: careers-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .careers-hero h1 {
    animation-delay: 0.08s;
  }

  .careers-hero p {
    animation-delay: 0.18s;
  }

  .careers-hero-actions {
    animation-delay: 0.28s;
  }

  @media (prefers-reduced-motion: reduce) {
    .careers-hero .label,
    .careers-hero h1,
    .careers-hero p,
    .careers-hero-actions {
      animation: none;
    }
  }

  .careers-page ::selection {
    background: var(--black);
    color: var(--off-white);
  }

  .careers-secondary-link {
    color: var(--dark-grey);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .careers-secondary-link:hover {
    color: var(--black);
    border-color: var(--black);
  }

  .careers-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
    border-top: 2px solid var(--black);
    border-bottom: 1px solid rgba(26, 26, 26, 0.16);
  }

  .careers-facts::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(26, 26, 26, 0.6);
  }

  .careers-fact {
    min-width: 0;
    padding: 0 var(--space-4);
    text-align: center;
  }

  .careers-fact + .careers-fact {
    border-left: 1px solid rgba(26, 26, 26, 0.12);
  }

  .careers-fact span,
  .careers-side-card dt,
  .careers-salary-table span,
  .careers-timeline span {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
  }

  .careers-fact strong {
    display: block;
    margin-top: var(--space-2);
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--black);
  }

  .careers-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    gap: var(--space-8);
    align-items: start;
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .careers-intro-copy h2,
  .careers-section-head h2,
  .careers-section-heading h2,
  .careers-section-copy h2,
  .careers-offer h2,
  .careers-apply h2 {
    max-width: 21ch;
    margin-bottom: var(--space-4);
    font-style: italic;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    line-height: 1.16;
  }

  .careers-intro-copy > p:first-of-type::first-letter {
    float: left;
    padding: 0.08em 0.14em 0 0;
    font-family: var(--font-serif);
    font-size: 3.3em;
    line-height: 0.8;
    color: var(--black);
  }

  .careers-page .divider {
    display: none;
  }

  .careers-intro-copy p,
  .careers-section-copy p,
  .careers-section-heading p,
  .careers-growth p,
  .careers-detail-grid p,
  .careers-benefits,
  .careers-apply p {
    max-width: 66ch;
  }

  .careers-intro-copy p,
  .careers-section-copy p,
  .careers-section-heading p {
    margin-bottom: var(--space-4);
  }

  .careers-intro-copy p:last-child,
  .careers-section-copy p:last-child,
  .careers-section-heading p:last-child {
    margin-bottom: 0;
  }

  .careers-side-panel {
    align-self: center;
    display: grid;
    gap: var(--space-4);
  }

  .careers-side-card {
    padding: var(--space-5);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px rgba(60, 48, 35, 0.045);
  }

  .careers-side-card h2 {
    margin-bottom: var(--space-4);
    font-size: 1.15rem;
  }

  .careers-side-card dl {
    display: grid;
    gap: var(--space-3);
    margin: 0;
  }

  .careers-side-card dl div + div {
    padding-top: var(--space-3);
    border-top: 1px solid rgba(26, 26, 26, 0.07);
  }

  .careers-side-card dd {
    margin: var(--space-1) 0 0;
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--dark-grey);
  }

  .careers-side-button {
    width: auto;
    margin-top: var(--space-5);
    text-align: center;
  }

  .careers-side-note {
    max-width: none;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(26, 26, 26, 0.07);
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--mid-grey);
  }

  .careers-section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
    scroll-margin-top: 5rem;
  }

  .careers-section--about,
  #role-details,
  .careers-section--work,
  .careers-split-section,
  .careers-section--profile,
  .careers-section--details,
  .careers-offer,
  .careers-process {
    border-top: 2px solid var(--black);
  }

  .careers-section--about {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: var(--space-10);
    align-items: start;
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .careers-section-head h2 {
    max-width: 18ch;
  }

  .careers-section--about .careers-section-copy {
    max-width: 70ch;
  }

  .careers-section--about a {
    color: var(--black);
    border-bottom: 1px solid rgba(148, 89, 71, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .careers-section--about a:hover {
    color: var(--cambridge);
    border-color: var(--cambridge);
  }

  .careers-section-heading {
    margin-bottom: var(--space-7);
  }

  .careers-figure {
    margin: var(--space-6) 0 0;
  }

  .careers-figure img {
    display: block;
    width: 100%;
    height: auto;
  }

  .careers-figure--photo img {
    border: 1px solid rgba(26, 26, 26, 0.1);
    filter: saturate(0.85);
  }

  .careers-section--work .careers-section-heading,
  .careers-offer > div:first-child {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .careers-section--work .careers-figure,
  .careers-offer .careers-figure {
    position: relative;
    flex: 1;
    min-height: 0;
  }

  .careers-section--work .careers-figure img,
  .careers-offer .careers-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .careers-ownership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6) var(--space-8);
  }

  #role-details .careers-section-heading {
    margin-bottom: var(--space-8);
  }

  #role-details .careers-ownership-grid {
    row-gap: var(--space-8);
  }

  .careers-card {
    min-width: 0;
    padding: var(--space-5) 0 0;
    border-top: 1px solid rgba(148, 89, 71, 0.18);
    background: transparent;
  }

  .careers-card h3,
  .careers-two-column h3,
  .careers-growth h3,
  .careers-profile-list h3,
  .careers-detail-grid h3 {
    margin-bottom: var(--space-3);
    font-size: 1.08rem;
  }

  .careers-card p,
  .careers-two-column p,
  .careers-profile-list p,
  .careers-timeline p {
    max-width: none;
    font-size: 0.88rem;
  }

  .careers-split-section {
    padding-top: var(--space-10);
  }

  .careers-section--work {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: var(--space-10);
    align-items: start;
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .careers-section--work .careers-section-heading {
    margin-bottom: 0;
  }

  .careers-work-copy {
    max-width: 72ch;
  }

  .careers-work-copy p {
    max-width: none;
    margin-bottom: var(--space-4);
  }

  .careers-work-copy p:last-child {
    margin-bottom: 0;
  }

  .careers-split-section .careers-section-heading h2 {
    max-width: 24ch;
  }

  .careers-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .careers-two-column article {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(148, 89, 71, 0.18);
  }

  .careers-growth {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(148, 89, 71, 0.18);
  }

  .careers-growth h3 {
    margin-bottom: 0;
  }

  .careers-growth p {
    max-width: none;
  }

  .careers-section--profile {
    padding-top: var(--space-10);
  }

  .careers-profile-list {
    display: grid;
    gap: 0;
  }

  .careers-profile-list article {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: var(--space-8);
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
  }

  .careers-profile-list article:last-child {
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  }

  .careers-profile-list h3 {
    font-style: italic;
    font-size: 1.32rem;
    line-height: 1.4;
  }

  .careers-requirements {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-8);
  }

  .careers-requirements h3 {
    margin-bottom: 0;
    font-size: 1.08rem;
  }

  .careers-requirements ul {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .careers-requirements li {
    position: relative;
    padding-left: var(--space-4);
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--dark-grey);
  }

  .careers-requirements li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--mid-grey);
  }

  .careers-role-entry {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
    border-top: 2px solid var(--black);
  }

  .careers-role-entry-head {
    display: grid;
    justify-items: start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .careers-role-entry h2 {
    max-width: 30ch;
    margin: 0;
    font-style: italic;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    line-height: 1.16;
  }

  .careers-role-entry h2 a {
    color: var(--black);
    border-bottom: 1px solid rgba(26, 26, 26, 0.16);
    transition: border-color 0.2s ease;
  }

  .careers-role-entry h2 a:hover {
    border-color: var(--black);
  }

  .careers-facts--secondary {
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
    border-top: 1px solid rgba(26, 26, 26, 0.4);
  }

  .careers-facts--secondary::before {
    display: none;
  }

  .careers-role-entry .careers-fact {
    text-align: left;
  }

  .careers-role-entry .careers-fact:first-child {
    padding-left: 0;
  }

  .careers-role-entry .careers-fact strong {
    font-size: 1rem;
  }

  .careers-section--details {
    padding-bottom: var(--space-10);
  }

  .careers-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .careers-detail-grid article {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(148, 89, 71, 0.18);
  }

  .careers-offer {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
    gap: var(--space-12);
    align-items: start;
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .careers-offer h2 {
    max-width: 14ch;
  }

  .careers-offer-content {
    display: grid;
    gap: var(--space-5);
  }

  .careers-salary-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
  }

  .careers-salary-table div {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  }

  .careers-salary-table strong,
  .careers-salary-table small {
    display: block;
  }

  .careers-salary-table {
    border-top: 1px solid rgba(26, 26, 26, 0.4);
  }

  .careers-salary-table strong {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--black);
    line-height: 1.2;
  }

  .careers-salary-table small {
    grid-column: 2;
    margin-top: -0.2rem;
    font-size: 0.72rem;
    color: var(--mid-grey);
    text-align: left;
  }

  .careers-benefits {
    display: grid;
    gap: var(--space-5);
    padding: 0;
    list-style: none;
  }

  .careers-benefits li {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
  }

  .careers-benefits strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
  }

  .careers-benefits span {
    display: block;
    font-size: 0.84rem;
    line-height: 1.75;
    color: var(--dark-grey);
  }

  .careers-process {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .careers-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    list-style: none;
    padding-left: var(--space-8);
  }

  .careers-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
    gap: var(--space-8);
    padding: var(--space-5) 0;
  }

  .careers-timeline li::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8));
    top: calc(var(--space-5) + 0.4rem);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--cambridge);
    background: var(--off-white);
    z-index: 1;
  }

  .careers-timeline li::after {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) + 4px);
    top: calc(var(--space-5) + 0.4rem + 9px);
    bottom: calc(-1 * (var(--space-5) + 0.4rem));
    width: 1px;
    background: rgba(148, 89, 71, 0.25);
  }

  .careers-timeline li:last-child::after {
    display: none;
  }

  .careers-timeline span {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    padding-top: 0.3rem;
    white-space: nowrap;
  }

  .careers-timeline strong {
    display: block;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.12rem;
    color: var(--black);
  }

  .careers-timeline p {
    grid-column: 2;
    margin-top: var(--space-2);
  }

  .careers-apply {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 680px);
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-24) var(--space-10);
    text-align: center;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 52%, #211b18 100%);
    color: var(--white);
  }

  .careers-apply .label {
    color: rgba(255, 255, 255, 0.56);
  }

  .careers-apply h2 {
    color: var(--white);
    font-style: italic;
    font-size: clamp(2.1rem, 3.6vw, 2.9rem);
    max-width: none;
    margin-bottom: var(--space-2);
  }

  .careers-apply p {
    margin: 0 auto;
  }

  .careers-apply p {
    color: rgba(255, 255, 255, 0.74);
  }

  .careers-apply a:not(.btn-primary) {
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  }

  .careers-apply a:not(.btn-primary):hover {
    border-color: var(--white);
  }

  .careers-page .careers-apply .btn-primary {
    justify-self: center;
    margin-top: var(--space-2);
    background: var(--white);
    color: var(--black);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .careers-page .careers-apply .btn-primary:hover,
  .careers-page .careers-apply .btn-primary:focus-visible {
    background: var(--white);
    color: var(--black);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }

  @media (max-width: 900px) {
    .careers-facts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-4) 0;
    }

    .careers-fact:nth-child(odd) {
      border-left: none;
    }

    .careers-intro,
    .careers-section--about,
    .careers-section--work,
    .careers-offer {
      grid-template-columns: 1fr;
      gap: var(--space-7);
    }

    .careers-side-panel {
      position: static;
      grid-template-columns: 1fr;
      align-items: start;
    }

    .careers-section--work .careers-figure,
    .careers-offer .careers-figure {
      flex: none;
    }

    .careers-section--work .careers-figure img,
    .careers-offer .careers-figure img {
      position: static;
      height: auto;
      object-fit: unset;
    }

    .careers-ownership-grid,
    .careers-two-column,
    .careers-benefits,
    .careers-salary-table {
      grid-template-columns: 1fr;
    }

    .careers-salary-table div {
      grid-template-columns: 1fr;
      gap: var(--space-1);
    }

    .careers-benefits li {
      grid-template-columns: 1fr;
      gap: var(--space-1);
    }

    .careers-growth,
    .careers-requirements {
      grid-template-columns: 1fr;
      gap: var(--space-2);
    }

    .careers-requirements ul {
      gap: var(--space-2);
    }

    .careers-role-entry .careers-fact:nth-child(odd) {
      padding-left: 0;
    }

    .careers-salary-table small {
      grid-column: 1;
    }

    .careers-salary-table small {
      text-align: left;
    }

    .careers-detail-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .careers-profile-list article {
      grid-template-columns: 1fr;
      gap: var(--space-2);
    }

    .careers-apply {
      grid-template-columns: minmax(0, 720px);
      justify-content: center;
      gap: var(--space-5);
    }
  }

  @media (max-width: 600px) {
    .careers-hero-content {
      padding: var(--space-24) var(--space-6) var(--space-8);
    }

    .careers-hero h1 {
      max-width: 100%;
      font-size: clamp(2.15rem, 12vw, 2.95rem);
    }

    .careers-hero h1.careers-hero-title--long {
      font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .careers-hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: var(--space-4);
    }

    .careers-hero-actions .btn-primary {
      width: 100%;
      text-align: center;
    }

    .careers-secondary-link {
      align-self: flex-start;
    }

    .careers-facts {
      grid-template-columns: 1fr;
      margin-top: 0;
      padding-top: var(--space-2);
      padding-bottom: var(--space-2);
      gap: 0;
    }

    .careers-fact {
      padding-top: var(--space-3);
      padding-bottom: var(--space-3);
      border-left: none;
    }

    .careers-fact + .careers-fact {
      border-left: none;
      border-top: 1px solid rgba(26, 26, 26, 0.1);
    }

    .careers-intro,
    .careers-section,
    .careers-offer {
      padding-top: var(--space-8);
      padding-bottom: var(--space-8);
    }

    .careers-intro-copy h2,
    .careers-section-heading h2,
    .careers-section-copy h2,
    .careers-offer h2,
    .careers-apply h2 {
      max-width: 100%;
      font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .careers-side-panel {
      grid-template-columns: 1fr;
    }

    .careers-section-head h2 {
      max-width: 100%;
    }

    .careers-side-card,
    .careers-growth,
    .careers-salary-table div {
      padding: var(--space-4);
    }

    .careers-role-entry .careers-fact {
      padding-left: 0;
      text-align: left;
    }

    .careers-card {
      padding: var(--space-4) 0 0;
    }

    .careers-detail-grid {
      grid-template-columns: 1fr;
    }

    .careers-timeline {
      padding-left: var(--space-6);
    }

    .careers-timeline li {
      grid-template-columns: 1fr;
      gap: var(--space-2);
      padding-left: 0;
    }

    .careers-timeline li::before {
      left: calc(-1 * var(--space-6));
    }

    .careers-timeline li::after {
      left: calc(-1 * var(--space-6) + 4px);
    }

    .careers-timeline p {
      grid-column: 1;
    }

    .careers-apply {
      padding: var(--space-10) var(--space-6);
    }

    .careers-apply .btn-primary {
      width: 100%;
      text-align: center;
    }
  }

  /* ==========================================================================
     8. Footer
     ========================================================================== */
  footer {
    padding: var(--space-6) var(--space-10) var(--space-5);
    max-width: var(--max-width);
    margin: 0 auto;
    margin-top: var(--space-2);
    position: relative;
  }

  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-10);
    right: var(--space-10);
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(26, 26, 26, 0.08) 15%,
      rgba(26, 26, 26, 0.12) 35%,
      rgba(224, 224, 224, 0.6) 50%,
      rgba(26, 26, 26, 0.12) 65%,
      rgba(26, 26, 26, 0.08) 85%,
      transparent 100%
    );
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .footer-legal {
    font-size: 0.68rem;
    color: #5f5a53;
    line-height: 1.75;
    max-width: none;
  }

  .footer-legal a {
    color: #3f3a34;
    border-bottom: 1px solid rgba(95, 90, 83, 0.26);
  }

  .footer-legal a:hover { color: var(--black); }

  .footer-copy {
    font-size: 0.68rem;
    color: #5f5a53;
    white-space: nowrap;
  }
  
  /* ==========================================================================
     9. Responsive
     ========================================================================== */
  @media (max-width: 800px) {
    .hero,
    .mission,
    .cta-inner,
    .about-grid {
      grid-template-columns: 1fr;
      gap: var(--space-8);
    }

    .fellowship-image {
      float: none;
      width: 100%;
      max-width: 300px;
      margin: 0 auto 2rem auto;
    }

    .fellowship-tracks {
      grid-template-columns: 1fr;
    }

    .fellowship-features {
      grid-template-columns: 1fr;
    }

    .expectations-list {
      grid-template-columns: 1fr;
    }

    .expectations-note {
      white-space: normal;
    }

    .mars-hero-header {
      padding: 6rem 1.25rem 1.5rem;
    }

    .mars-hero-header--centered .mars-hero-inner {
      max-width: 100%;
    }

    .mars-hero-grid {
      grid-template-columns: repeat(3, 1fr);
      padding: 0 1.25rem;
      gap: 3px;
    }

    .mars-hero-buttons {
      flex-direction: column;
      align-items: stretch;
    }

    .mars-hero-buttons .btn-primary {
      text-align: center;
    }

    .mars-hero-features {
      flex-direction: column;
      gap: 1rem;
    }

    .mars-who-section {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .mars-who-image img {
      max-height: 250px;
    }

    .mars-application .btn-wrapper {
      flex-direction: column;
      align-items: stretch;
    }

    .mars-application .btn-wrapper .btn-primary {
      text-align: center;
    }

    .mars-header {
      padding-top: 0.75rem;
      padding-bottom: 0;
    }

    .mars-header h1 {
      margin-bottom: 0.25rem;
      font-size: 2rem;
    }

    .mars-section {
      padding-top: 1rem;
    }

    .mars-content > .divider {
      margin: 2rem 0;
    }

    .timeline-point {
      padding: 0.5rem 1rem;
    }

    .timeline-number {
      width: 2rem;
      height: 2rem;
      font-size: 0.75rem;
    }

    .mentors-grid {
      grid-template-columns: repeat(4, 1fr);
    }

    .fellows-tracks {
      gap: 1.5rem;
    }

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

    .alumni-orgs {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .alumni-orgs-track {
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 2.5rem;
      animation: logo-scroll 20s linear infinite;
      width: max-content;
    }

    .alumni-org-logo--dup {
      display: flex;
    }

    .alumni-org-logo img {
      filter: grayscale(0%);
      opacity: 0.8;
    }

    .research-page-content > .divider {
      margin: 2rem 0;
    }

    .research-grid,
    .research-page-content .research-grid {
      grid-template-columns: 1fr;
    }

    .hero-image,
    .mission-image {
      justify-content: center;
    }

    .hero-image img,
    .mission-image img {
      max-height: 280px;
    }

    .hero-image img {
      transform: translateY(-26px);
    }

    .what-we-do {
      grid-template-columns: 1fr;
      gap: var(--space-5);
      margin-bottom: var(--space-8);
    }

    .what-we-do-item,
    .what-we-do-item + .what-we-do-item {
      padding: 0;
    }

    .programme-groups {
      grid-template-columns: 1fr;
      gap: var(--space-8);
      padding-top: var(--space-6);
    }

    .programme-groups::before {
      content: none;
    }

    .programme-group-copy p {
      max-width: none;
    }

    .programme-group-links {
      margin-top: var(--space-5);
    }

    .initiative-item {
      grid-template-columns: 1fr;
      gap: 0.5rem;
    }

    .directors {
      grid-template-columns: 1fr;
      gap: var(--space-10);
    }

    .team-list {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
      gap: var(--space-3);
    }

    .team-section {
      padding-bottom: 2rem;
    }

    .team-group {
      margin-bottom: var(--space-6);
    }

    .socials-image {
      padding: 0 1.5rem 1.5rem;
    }

    .events-grid {
      grid-template-columns: repeat(2, 1fr);
    }

  }

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

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

    .announcement-banner {
      padding: 0.5rem 0.75rem;
      font-size: 0.75rem;
    }

    .announcement-banner p {
      font-size: 0.75rem;
      line-height: 1.4;
    }

    body.has-banner nav {
      top: 2.5rem;
    }

    body.has-banner .hero {
      padding-top: calc(var(--space-24) + 2.5rem);
    }

    body.has-banner .page-header {
      padding-top: calc(var(--space-24) + 2.5rem);
    }

    .hero { padding-top: var(--space-24); padding-bottom: var(--space-12); }
    .page-header { padding-top: var(--space-24); padding-bottom: var(--space-4); }

    section,
    .divider { padding-left: var(--space-6); padding-right: var(--space-6); }

    .cta { padding-left: var(--space-6); padding-right: var(--space-6); }

    footer { padding: var(--space-6) var(--space-6) var(--space-4); }

    .hero-image,
    .mission-image {
      justify-content: center;
    }

    .hero-image img,
    .mission-image img {
      max-height: 240px;
    }

    .cta-simple {
      grid-template-columns: 1fr;
      gap: var(--space-5);
      padding: var(--space-6);
    }

    .cta-form-row {
      flex-direction: column;
      max-width: 100%;
      padding: 0.45rem;
    }

    .hero-image img {
      transform: translateY(-18px);
    }

    .cta-submit {
      width: 100%;
      min-width: 0;
    }

    .modal {
      width: 100vw;
      max-width: 100vw;
      max-height: 100vh;
      height: 100vh;
      border-radius: 0;
      border: none;
    }

    .modal-overlay {
      padding: 0;
    }

    .modal-header {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #e6e6e6;
    }

    .modal-body {
      padding: 0;
      flex: 1;
    }

    .modal-body iframe {
      min-height: unset;
      height: 100%;
    }

    .team-list {
      grid-template-columns: 1fr 1fr;
      gap: var(--space-4);
    }

    .team-section {
      padding-top: var(--space-8);
      padding-bottom: var(--space-6);
    }

    .directors {
      margin-bottom: var(--space-8);
    }

    .team-group {
      margin-bottom: var(--space-4);
    }

    .team-group h2 {
      margin-bottom: var(--space-4);
    }

    .socials-image {
      padding: 0 1.5rem 1.5rem;
    }

    .socials-image img {
      max-width: none;
    }

    .fellowship-faq {
      padding: var(--space-6);
    }

    .faq-header {
      align-items: flex-start;
    }

    .faq-intro {
      max-width: none;
    }
  
    .mentors-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem 0.75rem;
    }

    .mentor h4 {
      font-size: 0.75rem;
    }

    .mentor-org {
      font-size: 0.58rem;
    }

    /* MARS V Application Components - Mobile */
    .mars-phases {
      grid-template-columns: 1fr;
    }

    .mars-phase h3 {
      font-size: 0.95rem;
    }

    .mars-phase p {
      font-size: 0.8rem;
    }

    .mars-vi-eoi {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.25rem;
      padding: 1.5rem;
    }

    .mars-vi-eoi-action,
    .mars-vi-eoi-action .btn-primary {
      width: 100%;
      text-align: center;
    }

    .mars-section-image {
      padding: 0 1.25rem;
    }

    .mars-section-image img {
      aspect-ratio: 16/6;
    }

    .mars-cta-stats {
      flex-direction: column;
      gap: 0.75rem;
    }

    .mars-cta-stats-divider {
      display: none;
    }

    .fellows-section {
      padding: 1.5rem 1.5rem 1.5rem;
    }

    .fellows-tracks {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }

    .fellows-grid {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }

    .fellow {
      grid-template-columns: 80px 1fr;
      gap: 0.75rem;
      padding: 0.75rem;
    }

    .fellow-photo {
      width: 80px;
      height: 80px;
    }

    .fellow-overlay-card {
      width: min(440px, 94vw);
      padding: 0;
    }

    .fellow-overlay-body {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: 0.75rem;
      text-align: center;
      padding: 1.25rem;
    }

    .fellow-overlay-photo {
      grid-row: auto;
      width: 120px;
      height: 120px;
      position: static;
      justify-self: center;
    }

    .fellow-overlay-track {
      margin-left: auto;
      margin-right: auto;
    }

    .fellow-overlay-body p {
      text-align: left;
    }

    .facilitators-section {
      padding: 0.5rem 1.5rem 1.5rem;
    }

    .facilitators-grid {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }

    .mars-header {
      padding-top: 1.25rem !important;
      padding-bottom: 0 !important;
    }
  
    .mars-header h1 {
      margin-bottom: 0.5rem;
      font-size: 1.75rem;
    }
  
    .mars-tagline {
      margin-bottom: 0.75rem;
    }
  
    .mars-section {
      padding-top: 1rem;
    }

    .mars-content > .divider {
      margin: 1.75rem 0;
    }

    .research-section {
      padding-top: var(--space-4);
      padding-bottom: var(--space-8);
    }

    .research-tagline {
      font-size: 0.95rem;
    }

    .research-page-content > p {
      font-size: 0.88rem;
    }

    .research-page-content h2 {
      margin-top: 1rem;
      margin-bottom: 0.75rem;
    }

    .research-page-content > .divider {
      margin: 1.5rem 0;
    }

    .research-page-content .research-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .research-card {
      padding: 1.25rem;
    }

    .mars-content h2 {
      margin-top: 1.5rem;
      margin-bottom: 0.75rem;
    }

    .mars-working-image {
      margin: 1.25rem 0;
    }

    .mentors-grid,
    .research-grid {
      margin: 1.25rem 0;
    }

    .mars-application {
      padding: 1.5rem 1.25rem 1.75rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }

    .timeline-detail {
      padding: 1rem 1.25rem;
      min-height: 80px;
    }

    .timeline-detail h4 {
      font-size: 1rem;
    }

    .timeline-detail p {
      font-size: 0.9rem;
    }

    .timeline-scroll {
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .timeline-scroll::-webkit-scrollbar {
      display: none;
    }

    .timeline-track {
      justify-content: flex-start;
      padding: 0 calc(50% - 4rem);
    }

    .timeline-point {
      scroll-snap-align: center;
      padding: 0;
      min-width: 3.5rem;
    }

    .timeline-number {
      width: 2.25rem;
      height: 2.25rem;
      font-size: 0.8rem;
    }

    .timeline-label {
      font-size: 0.7rem;
    }

    .timeline-connector {
      margin: 1.125rem 0 0;
      width: 1rem;
    }

    .timeline-connector[data-duration="8-12 weeks"] {
      width: 5rem;
    }

    .timeline-connector[data-duration]::before {
      font-size: 0.4rem;
      top: -1.4rem;
    }

    .timeline-connector[data-duration]::after {
      font-size: 0.45rem;
      top: -0.8rem;
    }

    .events-header {
      flex-wrap: wrap;
      align-items: center;
      gap: var(--space-2);
    }

    .events-header h2 {
      display: flex;
      align-items: center;
      gap: var(--space-3);
    }

    .easter-egg-img {
      width: 40px;
      height: 40px;
    }

    .events-link {
      margin-left: auto;
    }

    /* Center headings on mobile */
    .page-header {
      text-align: center;
    }

    .page-header h1,
    .page-header p {
      margin-left: auto;
      margin-right: auto;
    }

    .mars-header {
      text-align: center;
    }

    .mars-header h1,
    .mars-tagline {
      margin-left: auto;
      margin-right: auto;
    }

    .fellowship-content h2,
    .fellowship-block h2,
    .fellowship-application h2,
    .socials-content h2,
    .expectations-section h2 {
      text-align: center;
    }

    .fellowship-application {
      padding: 1.5rem 1.25rem 1.75rem;
      text-align: center;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }

    .fellowship-application p {
      font-size: 0.85rem;
    }

    .fellowship-application h2 {
      font-size: 1.35rem;
    }

    .application-deadline {
      font-size: 0.8rem;
    }
  }

/* ==========================================================================
   10. Warmth & Delight Enhancements
   ========================================================================== */

/* Text selection */
::selection {
  background: rgba(26, 26, 26, 0.16);
  color: var(--black);
}

::-moz-selection {
  background: rgba(26, 26, 26, 0.16);
  color: var(--black);
}

.dark-bg::selection,
.dark-bg *::selection {
  background: rgba(255, 255, 255, 0.7);
  color: #111111;
}

.dark-bg::-moz-selection,
.dark-bg *::-moz-selection {
  background: rgba(255, 255, 255, 0.7);
  color: #111111;
}

/* Warm focus states */
.initiative-item:focus-within,
.event-card:focus-within,
.timeline-point:focus-within {
  box-shadow: 0 0 0 3px rgba(126, 66, 51, 0.15), 0 16px 30px rgba(0, 0, 0, 0.08);
}

/* Subtle warm glow on card hovers */
.initiative-item:hover,
.feature:hover,
.expectation:hover,
.track:hover {
  border-color: rgba(126, 66, 51, 0.25);
}

/* Breathing animation for CTA */
@keyframes gentle-pulse {
  0%, 100% {
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
  }
}

.btn-primary:not(:hover) {
  animation: gentle-pulse 3s ease-in-out infinite;
}

/* Natural easing for all transitions */
.initiative-item,
.event-card,
.timeline-point,
.feature,
.expectation,
.track,
.research-card,
.mentor {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   11. Alignment Desk Page
   ========================================================================== */

/* Reduce top padding for desk page */
.desk-section {
  padding-top: 1.5rem;
}

.desk-eoi-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-10) var(--space-6);
}

.desk-eoi-card {
  padding: 2rem 2.25rem 1.75rem;
  background: #ffffff;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.05);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.desk-eoi-kicker {
  margin: 0 0 0.35rem 0;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.desk-eoi-card h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
}

.desk-eoi-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 3rem;
  max-width: 380px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.desk-eoi-detail-label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.1rem;
}

.desk-eoi-detail-value {
  display: block;
  font-size: 0.82rem;
  color: var(--black);
  line-height: 1.4;
}

.desk-eoi-card .btn-wrapper {
  margin-top: 0;
}

.desk-eoi-card p {
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
}

.desk-eoi-note {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.72rem;
  color: var(--mid-grey);
}

/* Clear float before participants */
.desk-section .fellowship-content > h2:first-of-type {
  clear: both;
}

/* Holden quote blockquote */
.desk-quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(244, 243, 239, 0.85), rgba(255, 255, 255, 0.92));
  border-left: 4px solid var(--cambridge);
  border-radius: 0 12px 12px 0;
}

.desk-quote p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--dark-grey);
  margin: 0 0 0.75rem 0;
  max-width: none;
}

.desk-quote cite {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--mid-grey);
}

.desk-quote cite a {
  color: var(--dark-grey);
  border-bottom: 1px solid var(--light-grey);
  transition: border-color 0.2s ease;
}

.desk-quote cite a:hover {
  border-color: var(--dark-grey);
}

/* Gallery variations for desk page */
.desk-gallery-small {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.desk-gallery-single {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.desk-gallery-single img {
  border-radius: 12px;
}

/* Two-column centered row */
.expectations-list--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Single expectation row */
.desk-expectations-single {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.desk-expectations-single .expectation {
  text-align: center;
  border-left: none;
  border-top: 3px solid var(--light-grey);
}

/* Project examples grid */
.desk-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.desk-project {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  border: 1px solid rgba(224, 224, 224, 0.8);
  font-size: 0.85rem;
  color: var(--dark-grey);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .desk-eoi-top {
    padding: var(--space-3) var(--space-6) var(--space-5);
  }

  .desk-eoi-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .desk-eoi-details {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.25rem;
  }

  .desk-gallery-small {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .expectations-list--two {
    grid-template-columns: 1fr;
  }
}

/* Logistics with image */
.desk-logistics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin: 1.5rem 0;
}

.desk-logistics-text {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(224, 224, 224, 0.8);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
}

.desk-logistics-title {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.desk-logistics-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(224, 224, 224, 0.6);
}

.desk-logistics-item:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.desk-logistics-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.desk-logistics-value {
  font-size: 0.9rem;
  color: var(--dark-grey);
  max-width: none;
}

.desk-logistics-note {
  margin-top: 0.2rem;
  margin-bottom: 0;
  font-style: italic;
  color: var(--mid-grey);
  max-width: none;
}

.desk-logistics-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.desk-logistics-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Apply section */
.desk-apply {
  margin: 2.5rem 0 2rem;
  text-align: center;
}

.desk-apply .btn-primary {
  padding: 1.1rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.desk-section .fellowship-faq {
  margin: 2rem 0 1.25rem;
  padding: 1.5rem;
}

.desk-section .faq-header {
  margin-bottom: 0.75rem;
}

.desk-section .faq-accordion {
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.desk-section .faq-question {
  padding: 1rem 1.25rem;
}

.desk-section .faq-answer {
  padding: 0.25rem 1.25rem 1.1rem;
}

@media (max-width: 800px) {
  .desk-logistics {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .desk-logistics-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .desk-logistics-image img {
    height: auto;
  }

  .desk-logistics-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .desk-projects {
    grid-template-columns: 1fr;
  }
}

/* Participant cards */
.desk-participants {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 1.5rem 0 2rem;
}

.desk-participant {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(224, 224, 224, 0.8);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
}

.desk-participant-photo img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.desk-participant-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.desk-participant-info h3 {
  font-size: 1.05rem;
  margin: 0;
}

.desk-participant-bio {
  font-size: 0.85rem;
  color: var(--mid-grey);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

.desk-participant-posts {
  margin-top: 0.5rem;
}

.desk-posts-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
  display: block;
  margin-bottom: 0.4rem;
}

.desk-posts-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.desk-post {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  line-height: 1.4;
}

.desk-post--published {
  background: rgba(15, 81, 50, 0.08);
  border: 1px solid rgba(15, 81, 50, 0.2);
}

.desk-post--published a {
  color: var(--dark-grey);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 81, 50, 0.3);
  transition: border-color 0.2s ease;
}

.desk-post--published a:hover {
  border-color: var(--dark-grey);
}

.desk-post--current {
  background: rgba(26, 26, 26, 0.06);
  border: 1px dashed rgba(126, 66, 51, 0.4);
  color: var(--cambridge);
  font-style: italic;
}

.desk-post--upcoming {
  background: rgba(224, 224, 224, 0.3);
  border: 1px dashed rgba(224, 224, 224, 0.8);
  color: var(--mid-grey);
  font-style: italic;
}

.desk-post a {
  color: var(--cambridge);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.desk-post a::after {
  content: '→';
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.desk-post a:hover::after {
  transform: translateX(2px);
}

.desk-post:has(a) {
  background: rgba(26, 26, 26, 0.05);
  border: 1px solid rgba(126, 66, 51, 0.25);
  font-style: normal;
}

.desk-guests {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.desk-guest {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(224, 224, 224, 0.8);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
}

.desk-guest h3 {
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
}

.desk-guest .desk-posts-list {
  margin: 0;
}

.desk-post--optional {
  background: rgba(224, 224, 224, 0.15);
  border: 1px dotted rgba(224, 224, 224, 0.6);
  color: var(--mid-grey);
  font-style: italic;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .desk-participant {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .desk-participant-info {
    align-items: center;
  }

  .desk-participant-bio {
    text-align: left;
  }

  .desk-posts-list {
    justify-content: center;
  }
}

/* Ambient Glow - decorative page-level gradient */
.ambient-glow {
  display: none;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   12. Polish Enhancements
   ========================================================================== */

/* External Link Indicator */
a[target="_blank"]:not(.btn):not(.btn-primary):not(.event-card):not(.research-card):not(.hack-card):not(.course-reading-link)::after {
  content: " \2197";
  font-size: 0.75em;
  opacity: 0.6;
  margin-left: 0.15em;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a[target="_blank"]:not(.btn):not(.btn-primary):not(.event-card):not(.research-card):not(.hack-card):hover::after {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Don't show on images or buttons */
.cta-image a::after,
.mentor a::after,
.footer-legal a::after,
.nav-links a::after,
.mobile-nav a::after {
  content: none !important;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 224, 224, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(244, 243, 239, 0.9);
  border-color: rgba(126, 66, 51, 0.25);
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(126, 66, 51, 0.04);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--dark-grey);
  transition: stroke 0.2s ease;
}

.back-to-top:hover svg {
  stroke: var(--cambridge);
}

/* Enhanced Card Hover Lift */
.initiative-item,
.event-card,
.feature,
.expectation,
.track,
.research-card,
.faq-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s ease;
}

.initiative-item:hover {
  transform: translateY(-3px);
  border-left-color: var(--cambridge);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.03),
    0 8px 16px rgba(0, 0, 0, 0.05),
    0 20px 40px rgba(26, 26, 26, 0.05),
    0 0 0 1px rgba(26, 26, 26, 0.04);
}

.feature:hover,
.expectation:hover,
.track:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.03),
    0 12px 20px rgba(0, 0, 0, 0.05);
}

/* Form Input Focus Glow */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(126, 66, 51, 0.5);
  box-shadow: 0 0 0 3px rgba(126, 66, 51, 0.1);
}

@media (max-width: 600px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
  }
}
