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

:root {
  --black: #000000;
  --white: #FFFFFF;
  --grey-light: rgba(255, 255, 255, 0.08);
  --grey-text: rgba(255, 255, 255, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  --font-primary: 'Aktiv Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-system: 'Akshar', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-primary);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== CANVAS ===== */
#universe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

/* ===== ENTRY OVERLAY ===== */
#entry-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
}

#entry-text {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  filter: blur(8px);
  opacity: 0;
  animation: textReveal 2s ease-out 2.5s forwards;
}

@keyframes textReveal {
  0% { opacity: 0; filter: blur(8px); }
  100% { opacity: 1; filter: blur(0px); }
}

/* ===== HIDDEN UTILITY ===== */
.hidden {
  display: none !important;
}

/* ===== NAVIGATION ===== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  padding: 1.25rem 2rem;
  opacity: 0;
  animation: fadeInNav 1s ease-out forwards;
}

@keyframes fadeInNav {
  to { opacity: 1; }
}

.nav-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  mask-image: linear-gradient(to bottom, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
}

.nav-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* ===== SCROLL INDICATOR ===== */
#scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  opacity: 0;
  animation: fadeInNav 1s ease-out 0.5s forwards;
}

#scroll-indicator svg {
  animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(4px); }
}

/* ===== SCROLL CONTAINER ===== */
#scroll-container {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

#scroll-container .glass-panel {
  pointer-events: auto;
}

.scroll-section {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  scroll-snap-align: center;
}

/* ===== GLASS PANEL ===== */
.glass-panel {
  position: relative;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  --shine-x: 50%;
  --shine-y: 50%;
}

/* Dynamic light reflection that follows cursor */
.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(
    ellipse 120% 80% at var(--shine-x) var(--shine-y),
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 70%
  );
  transition: background 0.4s ease;
  pointer-events: none;
}

.glass-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ===== CENTERED PANEL ===== */
.centered-panel {
  max-width: 640px;
  padding: 3.5rem 4rem;
  will-change: transform, opacity, filter;
}

.philosophy-text {
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ===== SYSTEMS HEADING ===== */
.systems-heading {
  font-family: var(--font-system);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  will-change: transform, opacity, filter;
  padding: 3rem 4rem;
}

/* ===== SYSTEM PANELS ===== */
.system-panel {
  width: 480px;
  max-width: 90vw;
  aspect-ratio: 1 / 1;
  padding: 3.5rem;
  cursor: pointer;
  will-change: transform, opacity, filter;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.system-panel:hover {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.system-name {
  font-family: var(--font-system);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}

.system-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  text-align: center;
}

/* ===== PAGE VIEWS (INDEPENDENT PAGES) ===== */
.page-view {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: pageIn 0.6s ease-out forwards;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page-view-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  padding: 4rem 2rem;
}

/* Systems Grid */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.system-grid-card {
  padding: 2rem 2.5rem;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.system-grid-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

/* About Page */
#about-page {
  align-items: stretch;
  justify-content: stretch;
}

.about-scroll {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.about-intro-statement {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 700px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: aboutFadeIn 1.2s ease-out 0.3s forwards;
}

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

.about-glass-panel {
  max-width: 1280px;
  padding: 2.5rem 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.07) 100%
  );
  border-color: rgba(255, 255, 255, 0.16);
}

.about-body-text {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Section 3: Image + Text Split */
.about-split {
  display: flex;
  align-items: flex-end;
  gap: 0;
  max-width: 1300px;
  width: 100%;
  padding: 0 2rem;
  position: relative;
}

.about-portrait {
  flex: 0 0 520px;
  z-index: 0;
}

.about-portrait-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-glass-wide {
  flex: 1;
  max-width: none;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 40px;
  position: relative;
  z-index: 1;
  align-self: flex-end;
  max-height: 340px;
}

.about-glass-narrow {
  max-width: 1000px;
  padding: 2.25rem 5rem;
}

.about-glass-narrow .about-body-text {
  font-size: 1.125rem;
}

.about-glass-wide .about-body-text {
  text-align: left;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.about-links {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.about-link {
  font-family: var(--font-system);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-decoration: none;
}

.about-link:hover {
  color: rgba(255, 255, 255, 1);
}

.about-closing-statement {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 700px;
  letter-spacing: 0.02em;
}

/* Contact */
.contact-panel {
  max-width: 500px;
  margin: 0 auto;
  padding: 3.5rem 4rem;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.07) 100%
  );
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-heading {
  font-family: var(--font-system);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-link {
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  letter-spacing: 0.05em;
}

.contact-link:hover {
  opacity: 1;
}

.contact-cta {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  margin-top: 3rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SYSTEM DETAIL PAGE ===== */
#system-page {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  animation: systemPageIn 0.8s ease-out;
}

@keyframes systemPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.system-page-scroll {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.system-page-intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.system-page-title {
  font-family: var(--font-system);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.system-page-desc {
  font-family: var(--font-primary);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  letter-spacing: 0.01em;
}

.system-page-projects {
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.system-projects-heading {
  font-family: var(--font-system);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3.5rem;
}

.back-button {
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  margin-bottom: 3rem;
  color: inherit;
  letter-spacing: 0.05em;
}

.back-button:hover {
  opacity: 1;
}

/* Project Cards */
.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  justify-items: center;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.project-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.project-card-image img {
  object-position: center top;
}

.project-card-body {
  padding: 2rem;
}

.project-card-title {
  font-family: var(--font-system);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.project-card-desc {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-weight: 400;
}

/* ===== SECTIONED PROJECT CARDS ===== */
.project-cards:has(.project-section-group) {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-template-columns: none;
}

.project-section-group {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 6rem;
}

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

.project-section-group:first-child {
  margin-top: 1rem;
}

.project-section-label {
  font-family: var(--font-system);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

@media (max-width: 900px) {
  .project-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .project-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SKETCH EMBED ===== */
.project-sketch-embed {
  width: 100%;
  margin: 1rem 0 2.5rem;
}

/* ===== PROJECT PAGE ===== */
#project-page {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  animation: systemPageIn 0.6s ease-out;
}

.project-page-scroll {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.project-page-intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.project-page-title {
  font-family: var(--font-system);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.project-page-desc {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  letter-spacing: 0.01em;
}

.project-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.project-section {
  margin-bottom: 4rem;
}

.project-section h3 {
  font-family: var(--font-system);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
}

.project-section p {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

.project-visual-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 4rem;
}

.project-closing-line {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 4rem 0 2rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ===== LIGHT PROJECT PAGE (Period) ===== */
.project-page-light {
  background: #ffffff !important;
  color: #111 !important;
}

.project-page-light .project-page-intro {
  background: #fff;
  color: #111;
  position: relative;
  overflow: hidden;
}

.project-page-light .project-page-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle 1.2px, #000 100%, transparent 100%),
    radial-gradient(circle 0.8px, #333 100%, transparent 100%);
  background-size: 80px 80px, 50px 60px;
  background-position: 0 0, 25px 35px;
  pointer-events: none;
  animation: heroDrift 60s linear infinite;
}

@keyframes heroDrift {
  from { background-position: 0 0, 25px 35px; }
  to { background-position: 80px 40px, 105px 75px; }
}

.project-page-light .project-page-intro .back-button {
  color: #111;
  position: relative;
  z-index: 1;
}

.project-page-light .project-page-intro .project-page-title {
  color: #111;
  position: relative;
  z-index: 1;
}

.project-page-light .project-page-intro .project-page-desc {
  color: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.project-content-light .project-section h3 {
  color: rgba(0, 0, 0, 0.4);
}

.project-content-light .project-section p {
  color: rgba(0, 0, 0, 0.75);
}

.project-case-image {
  width: 100%;
  margin-bottom: 4rem;
}

.project-case-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.project-case-pdf embed {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 8px;
}

.project-pullquote {
  padding: 5rem 0;
  margin-bottom: 2rem;
}

.project-pullquote p {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.7;
  color: #111;
  letter-spacing: 0.01em;
  max-width: 720px;
}

.project-page-light .project-closing-line {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.375rem;
  font-weight: 400;
  padding: 6rem 0 4rem;
}

.project-page-light .back-button {
  color: #111;
}

.project-placeholder-light {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.project-note h3,
.project-note p {
  opacity: 0.45;
  font-size: 0.8125rem !important;
}

/* ===== SYSTEMS PAGE ===== */
#systems-page {
  align-items: stretch;
  justify-content: stretch;
}

.systems-page-scroll {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.systems-intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.systems-page-heading {
  font-family: var(--font-system);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.systems-intro-text {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  max-width: 560px;
  letter-spacing: 0.02em;
}

.systems-boxes-section {
  padding: 6rem 2rem 10rem;
  display: flex;
  justify-content: center;
}

.systems-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
}

.system-grid-card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.system-grid-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.85);
}

.system-grid-card:hover .system-card-title,
.system-grid-card:hover .system-card-sub {
  color: #000;
}

.system-card-title {
  font-family: var(--font-system);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--white);
  transition: color 0.4s ease;
}

.system-card-sub {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.system-grid-card:hover .system-card-sub {
  color: rgba(0, 0, 0, 0.6);
}

.systems-quote-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.systems-quote {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-content {
    padding: 0 0.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .centered-panel {
    padding: 2.5rem 2rem;
  }

  .philosophy-text {
    font-size: 1.25rem;
  }

  .system-panel {
    max-width: 340px;
    padding: 2rem;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }

  .systems-page-heading {
    font-size: 2.25rem;
    letter-spacing: 0.25em;
  }

  .systems-grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .system-card-title {
    font-size: 0.875rem;
  }

  .system-page-title {
    font-size: 1.75rem;
  }

  .about-intro-statement {
    font-size: 1.375rem;
  }

  .about-glass-panel {
    padding: 2.5rem 2rem;
  }

  .about-body-text {
    font-size: 1.0625rem;
  }

  .about-closing-statement {
    font-size: 1.375rem;
  }

  .about-split {
    flex-direction: column;
    gap: 2rem;
  }

  .about-portrait {
    flex: none;
    width: 240px;
  }

  .about-glass-wide {
    padding: 2.5rem 2rem;
    max-height: none;
    margin-left: 0;
    align-self: auto;
  }

  .about-glass-wide .about-body-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .systems-grid-layout {
    grid-template-columns: 1fr;
  }
}
