:root {
  /* Typography */
  --font-serif: "Instrument Serif", serif;
  --font-body: "Times New Roman", serif;
  
  /* Base Typography Scale (will be overridden by device-specific rules) */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.5rem;
  
  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  
  /* Base Spacing Scale (will be overridden by device-specific rules) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  
  /* Layout */
  --container-max-width: 1440px;
  --container-padding: 2rem;
  
  --footer-height: 60px;
  
  /* Colors */
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-muted: #000000;
  --color-border: #AAD2E6;
  --color-loading-bg: #AAD2E6;
  
  /* Transitions */
  --transition-fast: 200ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--line-height-relaxed);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.page-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrap {
  display: grid;
  grid-template-columns: [full-start] 1fr [content-start] minmax(0, var(--container-max-width)) [content-end] 1fr [full-end];
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  flex: 1;
  min-height: calc(100vh - var(--footer-height));
}


.site-main {
  grid-column: content;
  display: flex;
  flex-direction: column;
  min-height: 0;
}






/* ==========================================================================
   Mobile Navigation - Clean up empty media queries
   ========================================================================== */

/* Remove empty media queries and consolidate mobile styles */
@media (max-width: 1023px) {
  /* Mobile-specific styles can be added here if needed */
}

/* ==========================================================================
   Desktop Navigation - Clean up empty media queries  
   ========================================================================== */

@media (min-width: 1024px) {
  /* Desktop-specific styles can be added here if needed */
}

.nav-placeholder {
  text-align: center;
  color: var(--color-muted);
  font-size: var(--fs-lg);
  padding: var(--space-8) 0;
}

/* ==========================================================================
   Core Layout Components
   ========================================================================== */

.module {
  display: flex;
  flex-direction: column;
  padding: var(--space-8) 0;
  width: 100%;
}

.module--hero {
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  min-height: fit-content;
  height: auto;
  border: 1px solid #000000;
  padding: var(--space-8);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: var(--fs-5xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-6);
  text-wrap: balance;
  text-rendering: optimizeLegibility;
  -webkit-text-stroke: 0.2px var(--color-text);
  text-stroke: 0.2px var(--color-text);
  width: 100%;
  max-width: min(80ch, 90vw);
  min-height: calc(var(--fs-5xl) * var(--line-height-tight));
  height: auto;
  overflow: visible;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: min(65ch, 90vw);
  text-align: justify;
  font-size: var(--fs-lg);
  line-height: var(--line-height-relaxed);
  width: 100%;
}

.hero-copy p:first-child {
  text-align: justify;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-copy p {
  margin: 0 0 var(--space-4);
}

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

/* ==========================================================================
   CTA Buttons
   ========================================================================== */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  flex-wrap: wrap;
}

.cta-button {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 4px;
  -webkit-text-stroke: 0.2px #ffffff;
  text-stroke: 0.2px #ffffff;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transition: opacity 0.2s ease;
}

/* Demo button specific styles */
.cta-button--demo {
  background-color: #f5f5f5;
  color: #000000;
  border-color: #000000;
  -webkit-text-stroke: 0.2px #000000;
  text-stroke: 0.2px #000000;
}

/* Build button specific styles */
.cta-button--build {
  background-color: #333333;
  color: #ffffff;
  border-color: #333333;
  -webkit-text-stroke: 0.2px #ffffff;
  text-stroke: 0.2px #ffffff;
}

/* Hover states - removed for sleek design */

/* Focus states for accessibility - minimal */
.cta-button:focus {
  outline: none;
}

.cta-button:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Active/pressed states - subtle feedback */
.cta-button:active:not(.is-loading) {
  opacity: 0.9;
}

/* Disabled states */
.cta-button:disabled,
.cta-button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Loading state */
.cta-button.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
  opacity: 0.8;
}

.cta-button.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: button-spin 1s linear infinite;
}

/* Loading spinner colors for different button types */
.cta-button--demo.is-loading::after {
  border-top: 2px solid #000000;
}

.cta-button--build.is-loading::after {
  border-top: 2px solid #ffffff;
}

.cta-button:not(.cta-button--demo):not(.cta-button--build).is-loading::after {
  border-top: 2px solid #ffffff;
}

@keyframes button-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Ripple effects - removed for sleek design */

/* High contrast mode support */
@media (prefers-contrast: high) {
  .cta-button {
    border-width: 3px;
  }
  
  .cta-button:focus {
    outline: 3px solid;
    outline-offset: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .cta-button {
    transition: none;
  }
  
  .cta-button.is-loading::after {
    animation: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  grid-column: content;
  border-top: 1px solid #FFFFFF;
  height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60px;
  background-color: var(--color-bg);
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-4) var(--container-padding);
}

.footer-text {
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  text-align: center;
  -webkit-text-stroke: 0.2px var(--color-text);
  text-stroke: 0.2px var(--color-text);
  line-height: var(--line-height-normal);
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
  margin: 0;
}

/* ==========================================================================
   Team Grid Layout
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

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

.team-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.team-link {
  color: #007AFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: opacity 0.2s ease;
}

.team-link:hover {
  opacity: 0.8;
}

.team-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.team-role {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.4;
  margin-top: var(--space-1);
}

.team-bio {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(0,0,0,0.75);
  line-height: 1.6;
  margin: var(--space-2) 0 0 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ==========================================================================
   Mobile Small (≤320px) - Small phones
   ========================================================================== */
@media (max-width: 320px) {
  :root {
    --fs-base: 0.875rem;
    --fs-lg: 1rem;
    --fs-2xl: 1.25rem;
    --fs-3xl: 1.5rem;
    --fs-4xl: 1.75rem;
    --fs-5xl: 2rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.375rem;
    --space-4: 0.5rem;
    --space-5: 0.75rem;
    --space-6: 1rem;
    --space-8: 1.5rem;
    --container-padding: 2rem;
    --footer-height: 40px;
  }

  .footer-container {
    padding: 0;
  }

  .footer-text {
    font-size: 0.55rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-headline {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-3);
    line-height: 1.2;
    min-height: calc(var(--fs-2xl) * 1.2);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-base);
    max-width: 100%;
    text-align: justify;
    line-height: 1.6;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy p:first-child br {
    display: none;
  }
  
  .module {
    padding: var(--space-4) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }
  
  /* Team Grid for small phones */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for small phones */
  .cta-buttons {
    gap: var(--space-3);
    margin: var(--space-4) 0;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    font-size: var(--fs-sm);
    padding: var(--space-3) var(--space-4);
    min-height: 44px;
    min-width: 120px;
    width: 100%;
    max-width: 200px;
  }
}

/* ==========================================================================
   Mobile Medium (321px-375px) - Standard phones
   ========================================================================== */
@media (min-width: 321px) and (max-width: 375px) {
  :root {
    --fs-base: 0.875rem;
    --fs-lg: 1rem;
    --fs-2xl: 1.375rem;
    --fs-3xl: 1.625rem;
    --fs-4xl: 1.875rem;
    --fs-5xl: 2.125rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.25rem;
    --space-8: 2rem;
    --container-padding: 2rem;
    --footer-height: 45px;
  }

  .footer-container {
    padding: 0;
  }

  .footer-text {
    font-size: 0.6rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content {
    min-height: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-headline {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-4);
    line-height: 1.25;
    min-height: calc(var(--fs-2xl) * 1.25);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
  }
  
  .hero-copy {
    font-size: var(--fs-base);
    max-width: 100%;
    text-align: justify;
    line-height: 1.6;
    flex: 1;
  }
  
  .module {
    padding: var(--space-5) 0;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }
  
  /* Team Grid for medium phones */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for medium phones */
  .cta-buttons {
    gap: var(--space-3);
    margin: var(--space-4) 0;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    font-size: var(--fs-sm);
    padding: var(--space-3) var(--space-4);
    min-height: 44px;
    min-width: 140px;
    width: 100%;
    max-width: 220px;
  }
}

/* ==========================================================================
   Mobile Large (376px-425px) - Large phones
   ========================================================================== */
@media (min-width: 376px) and (max-width: 425px) {
  :root {
    --fs-base: 0.875rem;
    --fs-lg: 1rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.75rem;
    --fs-4xl: 2rem;
    --fs-5xl: 2.25rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 2rem;
    --footer-height: 50px;
  }

  .footer-container {
    padding: var(--space-1) var(--space-2);
  }

  .footer-text {
    font-size: var(--fs-sm);
    max-width: calc(100vw - 3rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content {
    min-height: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-headline {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-4);
    line-height: 1.25;
    min-height: calc(var(--fs-2xl) * 1.25);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
  }
  
  .hero-copy {
    font-size: var(--fs-base);
    max-width: 100%;
    text-align: justify;
    line-height: 1.6;
    flex: 1;
  }
  
  .module {
    padding: var(--space-5) 0;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }
  
  /* Team Grid for large phones */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for large phones */
  .cta-buttons {
    gap: var(--space-4);
    margin: var(--space-4) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-base);
    padding: var(--space-3) var(--space-5);
    min-height: 44px;
    min-width: 140px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Mobile Extra Large (426px-480px) - Very large phones
   ========================================================================== */
@media (min-width: 426px) and (max-width: 480px) {
  :root {
    --fs-base: 0.875rem;
    --fs-lg: 1rem;
    --fs-2xl: 1.625rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.125rem;
    --fs-5xl: 2.375rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 2rem;
    --footer-height: 55px;
  }

  .footer-container {
    padding: var(--space-2) var(--space-3);
  }

  .footer-text {
    font-size: var(--fs-base);
    max-width: calc(100vw - 3.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-headline {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-4);
    line-height: 1.25;
    min-height: calc(var(--fs-2xl) * 1.25);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-base);
    max-width: 100%;
    text-align: justify;
    line-height: 1.6;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-5) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }
  
  /* Team Grid for extra large phones */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for extra large phones */
  .cta-buttons {
    gap: var(--space-4);
    margin: var(--space-5) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-base);
    padding: var(--space-4) var(--space-5);
    min-height: 44px;
    min-width: 150px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Mobile Landscape (481px-639px) - Phone landscape and small tablets
   ========================================================================== */
@media (min-width: 481px) and (max-width: 639px) {
  :root {
    --fs-base: 0.875rem;
    --fs-lg: 1rem;
    --fs-2xl: 1.75rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 2.5rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 1.5rem;
    --footer-height: 60px;
  }

  .hero-headline {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-5);
    line-height: 1.25;
    min-height: calc(var(--fs-2xl) * 1.25);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-base);
    max-width: 100%;
    text-align: justify;
    line-height: 1.6;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-6) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }

  .footer-container {
    padding: var(--space-2) var(--space-3);
  }

  .footer-text {
    font-size: var(--fs-base);
    max-width: calc(100vw - 3rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Team Grid for landscape phones */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for landscape phones */
  .cta-buttons {
    gap: var(--space-4);
    margin: var(--space-5) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-base);
    padding: var(--space-4) var(--space-6);
    min-height: 44px;
    min-width: 160px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Tablet Small (640px-767px) - Small tablets
   ========================================================================== */
@media (min-width: 640px) and (max-width: 767px) {
  :root {
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.125rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 2.75rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 1.5rem;
    --footer-height: 65px;
  }

  .hero-headline {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-5);
    line-height: 1.2;
    min-height: calc(var(--fs-4xl) * 1.2);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-lg);
    max-width: 70ch;
    text-align: justify;
    line-height: 1.7;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-6) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }

  .footer-container {
    padding: var(--space-2) var(--space-4);
  }

  .footer-text {
    font-size: var(--fs-lg);
    max-width: calc(100vw - 4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Team Grid for small tablets */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for small tablets */
  .cta-buttons {
    gap: var(--space-5);
    margin: var(--space-6) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-lg);
    padding: var(--space-4) var(--space-6);
    min-height: 44px;
    min-width: 160px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Tablet Landscape (768px-1023px) - iPad landscape and similar tablets
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 2.75rem;
    --fs-5xl: 3rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 2rem;
    --footer-height: 80px;
  }

  .hero-content {
    min-height: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-headline {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-5);
    line-height: 1.2;
    min-height: calc(var(--fs-3xl) * 1.2);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
  }
  
  .hero-copy {
    font-size: var(--fs-lg);
    max-width: 75ch;
    text-align: justify;
    line-height: 1.7;
    flex: 1;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-6) 0;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }

  .footer-container {
    padding: var(--space-3) var(--space-4);
  }

  .footer-text {
    font-size: var(--fs-lg);
    max-width: calc(100vw - 4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Team Grid for tablets */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for tablets */
  .cta-buttons {
    gap: var(--space-5);
    margin: var(--space-6) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-lg);
    padding: var(--space-4) var(--space-6);
    min-height: 44px;
    min-width: 160px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Laptop (1024px-1439px) - MacBook and similar laptops
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1439px) {
  :root {
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-2xl: 2.125rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3rem;
    --fs-5xl: 3.25rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 2rem;
    --footer-height: 85px;
  }

  .hero-headline {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    min-height: calc(var(--fs-3xl) * 1.2);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-lg);
    max-width: 70ch;
    text-align: justify;
    line-height: 1.7;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-8) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }

  .footer-container {
    padding: var(--space-3) var(--space-4);
  }

  .footer-text {
    font-size: var(--fs-xl);
    max-width: calc(100vw - 4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Team Grid for laptops */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-8);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for laptops */
  .cta-buttons {
    gap: var(--space-6);
    margin: var(--space-8) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-xl);
    padding: var(--space-5) var(--space-8);
    min-height: 48px;
    min-width: 180px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Desktop (1440px-1919px) - Large desktop screens
   ========================================================================== */
@media (min-width: 1440px) and (max-width: 1919px) {
  :root {
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 2.25rem;
    --fs-3xl: 2.75rem;
    --fs-4xl: 3.25rem;
    --fs-5xl: 3.75rem;
    --fs-6xl: 4.25rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 2.5rem;
    --footer-height: 90px;
  }

  .hero-headline {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    min-height: calc(var(--fs-3xl) * 1.2);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-xl);
    max-width: 75ch;
    text-align: justify;
    line-height: 1.8;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-8) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }

  .footer-container {
    padding: var(--space-4) var(--space-5);
  }

  .footer-text {
    font-size: var(--fs-xl);
    max-width: calc(100vw - 5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Team Grid for large desktops */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-8);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for large desktops */
  .cta-buttons {
    gap: var(--space-6);
    margin: var(--space-8) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-xl);
    padding: var(--space-5) var(--space-8);
    min-height: 48px;
    min-width: 180px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   4K and Ultra-wide (≥1920px) - 4K displays and ultra-wide monitors
   ========================================================================== */
@media (min-width: 1920px) {
  :root {
    --fs-base: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.375rem;
    --fs-2xl: 2.5rem;
    --fs-3xl: 3rem;
    --fs-4xl: 3.75rem;
    --fs-5xl: 4.5rem;
    --fs-6xl: 5.25rem;
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.5rem;
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.5rem;
    --space-8: 2.5rem;
    --container-padding: 3rem;
    --footer-height: 100px;
  }

  .hero-headline {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-8);
    line-height: 1.2;
    min-height: calc(var(--fs-3xl) * 1.2);
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-copy {
    font-size: var(--fs-2xl);
    max-width: 80ch;
    text-align: justify;
    line-height: 1.8;
  }
  
  .hero-copy p:first-child {
    text-align: justify;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .module {
    padding: var(--space-10) 0;
  }
  
  .page-wrap {
    padding: 0 var(--container-padding);
  }

  .footer-container {
    padding: var(--space-4) var(--space-6);
  }

  .footer-text {
    font-size: var(--fs-2xl);
    max-width: calc(100vw - 6rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Team Grid for 4K displays */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-10);
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
  
  /* CTA Buttons for 4K displays */
  .cta-buttons {
    gap: var(--space-8);
    margin: var(--space-10) 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-button {
    font-size: var(--fs-2xl);
    padding: var(--space-6) var(--space-10);
    min-height: 60px;
    min-width: 200px;
    flex: 0 1 auto;
  }
}

/* ==========================================================================
   Accessibility and Print Styles
   ========================================================================== */
@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;
  }
}

@media print {
  body {
    padding-top: 0;
  }
  
  .hero-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-copy {
    font-size: 1rem;
  }
  
  /* Print-friendly CTA buttons */
  .cta-buttons {
    display: block;
    text-align: center;
    margin: 2rem 0;
  }
  
  .cta-button {
    display: inline-block;
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    min-height: auto;
    min-width: auto;
    box-shadow: none !important;
    transform: none !important;
  }
  
  .cta-button::before {
    display: none !important;
  }
  
  /* Print-friendly team grid */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .team-name { font-size: 20px; }
  .team-role { font-size: 18px; }
  .team-bio  { font-size: 18px; }
}