*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0b;
  --warm-white: #f0ebe0;
  --warm-white-dim: rgba(240, 235, 224, 0.35);
  --warm-white-ghost: rgba(240, 235, 224, 0.08);
  --warm-white-breath: rgba(240, 235, 224, 0.04);
  --warm-white-soft: rgba(240, 235, 224, 0.12);
  --accent: rgba(240, 235, 224, 0.6);
  --gold-1776: #c9a84c;
  --navy-1776: #1a2744;
  --gold-dim: rgba(201, 168, 76, 0.25);
  --gold-ghost: rgba(201, 168, 76, 0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--warm-white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(240, 235, 224, 0.15);
  color: var(--warm-white);
}

/* Ship Watermark */
.ship-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1) brightness(1.5);
  transition: opacity 3s ease;
}

/* Statue Watermark (hidden in dark, shown in light via theme overrides) */
.statue-watermark { display: none; }

/* Ultra-thin line with subtle gold accent */
.thin-line {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-ghost), var(--warm-white-ghost), var(--gold-ghost), transparent);
  margin: 0 auto;
}

/* Opinion paragraph -personal voice before details */
.p-opinion {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(240, 235, 224, 0.38);
  padding-bottom: 16px;
  max-width: 100%;
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--warm-white-breath);
  margin-bottom: 4px;
}

/* Main Container */
.page {
  position: relative;
  z-index: 1;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 40px 120px;
}

/* Scripted name logo -subtle watermark behind hero text */
.hero-script-logo {
  display: block;
  width: clamp(420px, 60vw, 780px);
  margin: 0 auto -80px;
  opacity: 0.55;
  filter: brightness(1.6);
  pointer-events: none;
  animation: fadeIn 3s ease 0s both;
}
/* Light version hidden by default */
.hero-script-light { display: none; }

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(80px, 15vw, 220px);
  letter-spacing: clamp(10px, 3vw, 40px);
  text-transform: uppercase;
  line-height: 0.85;
  text-align: center;
  color: var(--warm-white);
  opacity: 0;
  animation: heroReveal 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.hero-name .line {
  display: block;
}

.hero-name .line:nth-child(2) {
  font-size: 0.35em;
  letter-spacing: clamp(15px, 4vw, 50px);
  font-weight: 400;
  margin-top: 0.3em;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: clamp(20px, 5vw, 60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: clamp(10px, 3vw, 40px);
  }
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-1776), transparent);
  margin: 40px auto 30px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 1.5s;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--warm-white-dim);
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 2s;
}

.hero-motto {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 6px;
  color: var(--gold-1776);
  text-align: center;
  margin-top: 24px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 2.5s;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

.hero-motto::before,
.hero-motto::after {
  content: '\2605';
  display: inline-block;
  font-style: normal;
  font-size: 0.6em;
  vertical-align: middle;
  margin: 0 16px;
  opacity: 0.4;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-domains {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeIn 1.8s ease forwards 3s;
}
.hero-domains a {
  text-decoration: none;
  position: relative;
}
.hero-domains a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.hero-domains a:hover::after {
  width: 100%;
}
.hero-domains span {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(201, 168, 76, 0.4);
  text-transform: lowercase;
  transition: color 0.4s ease;
}
.hero-domains a:hover span {
  color: rgba(201, 168, 76, 0.7);
}
span.hero-domain-dot {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 3s;
  transition: opacity 0.6s ease;
}

.scroll-indicator.hidden { opacity: 0 !important; }

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--warm-white-dim), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 0.2; }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 0 40px;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.spacer { height: 200px; }
.spacer-lg { height: 300px; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--warm-white-dim);
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 4px;
  line-height: 1.2;
  color: var(--warm-white);
  margin-bottom: 40px;
}

.body-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 2;
  color: var(--warm-white-dim);
  max-width: 600px;
}

.body-text em {
  font-style: normal;
  color: var(--warm-white);
  font-weight: 400;
}

/* ===== ABOUT CARD ===== */
.about-card {
  position: relative;
  background: rgba(240, 235, 224, 0.018);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 14px;
  padding: 48px 44px 44px;
  margin-top: 16px;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35), transparent);
}

/* ===== PORTRAIT ===== */
.portrait-section {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.portrait-section > div:last-child {
  flex: 1;
  min-width: 0;
}

.portrait-frame {
  width: 280px;
  height: 340px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}

.portrait-frame img.portrait-primary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.3) contrast(1.05);
  opacity: 0.55;
  transform: scale(1.3);
}

.portrait-frame::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.portrait-frame::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  border: 1px solid var(--gold-ghost);
  pointer-events: none;
  z-index: 1;
}

/* ===== STATS ===== */
.stats-row {
  display: flex;
  gap: 80px;
  margin-top: 50px;
}

.stat { text-align: left; }

.stat .s-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 42px;
  letter-spacing: 2px;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat .s-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.2);
}

/* ===== PROJECT GALLERY ===== */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.project-card {
  padding: 48px 0;
  border-bottom: 1px solid var(--warm-white-breath);
  cursor: default;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  transition: background 0.6s ease;
}

.project-card:first-child {
  border-top: 1px solid var(--warm-white-breath);
}

.project-card:hover {
  background: rgba(240, 235, 224, 0.01);
}

/* FTDA flagship hover -warm gold glow instead of white */
.ftda-flagship:hover {
  background:
    linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 40%),
    linear-gradient(315deg, rgba(201,168,76,0.04) 0%, transparent 40%),
    linear-gradient(180deg, rgba(10,10,11,1) 0%, rgba(14,13,16,1) 100%) !important;
  border-color: rgba(201, 168, 76, 0.3) !important;
}

/* Alternating layout */
.project-card:nth-child(even) .project-info { order: 2; }
.project-card:nth-child(even) .project-thumb-wrap { order: 1; }

.project-card .p-number {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(240, 235, 224, 0.15);
  margin-bottom: 14px;
}

.project-card .p-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--warm-white);
  margin-bottom: 12px;
  transition: letter-spacing 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.project-card:hover .p-title {
  letter-spacing: 5px;
  color: #fff;
}

.project-card .p-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  color: var(--warm-white-dim);
  margin-bottom: 14px;
  max-width: 420px;
  transition: color 0.4s ease;
}

.project-card:hover .p-desc {
  color: rgba(240, 235, 224, 0.45);
}

.project-card .p-tech {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(240, 235, 224, 0.2);
  text-transform: uppercase;
}

.project-card .p-status {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-top: 10px;
  border: 1px solid rgba(240, 235, 224, 0.08);
  color: rgba(240, 235, 224, 0.35);
}

.p-status.active {
  border-color: rgba(130, 200, 160, 0.2);
  color: rgba(130, 200, 160, 0.5);
  background: rgba(130, 200, 160, 0.03);
}
.p-status.shipped {
  border-color: rgba(200, 180, 130, 0.2);
  color: rgba(200, 180, 130, 0.5);
  background: rgba(200, 180, 130, 0.03);
}

/* Live demo link */
.p-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 16px;
  margin-top: 10px;
  margin-left: 8px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-1776);
  background: var(--gold-ghost);
  transition: all 0.3s ease;
  cursor: pointer;
}
.p-demo-link:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.5);
  color: #e0c56a;
  transform: translateY(-1px);
}
.p-demo-link .demo-icon {
  font-size: 13px;
  line-height: 1;
}

/* Thumbnail container */
.project-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--warm-white-breath);
  background: rgba(240, 235, 224, 0.01);
  transition: border-color 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.project-card:hover .project-thumb-wrap {
  border-color: rgba(240, 235, 224, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.project-thumb-wrap::after {
  content: '';
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border: 1px solid var(--warm-white-breath);
  pointer-events: none;
  transition: border-color 0.6s ease;
}

.project-card:hover .project-thumb-wrap::after {
  border-color: var(--warm-white-ghost);
}

.project-thumb-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Thumbnail label overlay */
.thumb-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.2);
  pointer-events: none;
  transition: color 0.4s ease;
}

.project-card:hover .thumb-label {
  color: rgba(240, 235, 224, 0.35);
}

/* ===== PROJECT DETAIL PANEL (expand on hover) ===== */
.project-detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.4s ease;
  opacity: 0;
  padding: 0 0;
}

.project-card:hover .project-detail,
.project-card.expanded .project-detail {
  max-height: 800px;
  opacity: 1;
  padding: 24px 0 8px;
}

/* FTDA flagship: taller expansion, no outer padding (handled in ftda.css) */
.ftda-flagship:hover .ftda-detail-expand,
.ftda-flagship.expanded .ftda-detail-expand {
  max-height: 500px;
  padding: 0;
}

.detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--warm-white-breath);
}

.detail-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.2);
  margin-bottom: 14px;
}

.detail-col ul {
  list-style: none;
  padding: 0;
}

.detail-col ul li {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(240, 235, 224, 0.4);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.detail-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: rgba(240, 235, 224, 0.15);
}

.detail-col ul li em {
  font-style: normal;
  color: rgba(240, 235, 224, 0.6);
  font-weight: 400;
}

.detail-status-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 30px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--warm-white-breath);
}

.detail-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-stat .ds-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  color: rgba(240, 235, 224, 0.6);
  letter-spacing: 1px;
}

.detail-stat .ds-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.15);
}

/* Mobile: stack detail panel */
@media (max-width: 768px) {
  .detail-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-status-row {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ===== VENTURES LIST ===== */
.ventures-list {
  list-style: none;
}

.venture-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--warm-white-breath);
  cursor: default;
  transition: padding-left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.venture-item:first-child {
  border-top: 1px solid var(--warm-white-breath);
}

.venture-item:hover {
  padding-left: 16px;
}

.venture-item .v-number {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(240, 235, 224, 0.15);
  margin-bottom: 14px;
}

.venture-item .v-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--warm-white);
  margin-bottom: 10px;
  transition: letter-spacing 0.6s ease;
}

.venture-item:hover .v-title {
  letter-spacing: 5px;
  color: #fff;
}

.venture-item .v-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  color: var(--warm-white-dim);
  margin-bottom: 8px;
  max-width: 520px;
}

.venture-item .v-tech {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(240, 235, 224, 0.2);
  text-transform: uppercase;
}

/* ===== PRINCIPLES ===== */
.principle {
  margin-bottom: 60px;
}

.principle:last-child {
  margin-bottom: 0;
}

.principle .p-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--warm-white);
  margin-bottom: 12px;
}

.principle .p-text {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(240, 235, 224, 0.3);
  max-width: 500px;
}

/* ===== ARCHITECTURE DIAGRAM ===== */
.arch-diagram {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
}
.arch-diagram svg {
  width: 100%;
  height: auto;
}
.arch-caption {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(240, 235, 224, 0.25);
  text-align: center;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SON CALLOUT (unused) ===== */
.son-callout {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(201, 168, 76, 0.02);
}
.son-callout-photo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 168, 76, 0.2);
  filter: grayscale(0.3) contrast(1.05);
}
.son-callout-text {
  flex: 1;
}
.son-callout-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-1776);
  margin-bottom: 8px;
}
.son-callout-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(240, 235, 224, 0.45);
}
@media (max-width: 600px) {
  .son-callout {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 20px;
  }
}

/* ===== HOW I BUILD SECTION ===== */
.how-i-build {
  max-width: 740px;
  margin: 0 auto;
}
.how-i-build .body-text {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(240, 235, 224, 0.55);
}
.how-i-build .build-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.build-method-item {
  padding: 20px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  background: rgba(201, 168, 76, 0.015);
}
.build-method-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.6);
  margin-bottom: 8px;
}
.build-method-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(240, 235, 224, 0.4);
}
@media (max-width: 700px) {
  .how-i-build .build-method-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== CONTACT SHORTCUT ===== */
.contact-shortcut {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-shortcut:hover {
  color: rgba(201, 168, 76, 0.85);
}
.contact-shortcut span {
  margin-left: 6px;
  transition: transform 0.3s;
  display: inline-block;
}
.contact-shortcut:hover span {
  transform: translateY(3px);
}

/* ===== PORTFOLIO EXPAND ===== */
.portfolio-expand-btn {
  display: block;
  width: 100%;
  padding: 20px;
  margin: 40px 0 0 0;
  background: rgba(201, 168, 76, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  color: rgba(201, 168, 76, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.portfolio-expand-btn:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
  color: rgba(201, 168, 76, 0.85);
}
.portfolio-expand-btn .expand-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s;
}
.portfolio-expand-btn.expanded .expand-arrow {
  transform: rotate(180deg);
}
.portfolio-remaining {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}
.portfolio-remaining.expanded {
  max-height: 12000px;
  transition: max-height 0.8s ease;
}

/* ===== SOVEREIGNTY SECTION ===== */
.sovereignty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.sov-item {
  padding: 24px 0;
}
.sov-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--gold-1776);
  margin-bottom: 10px;
}
.sov-item-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(240, 235, 224, 0.3);
}
.sov-intro {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 15px;
  line-height: 2;
  color: rgba(240, 235, 224, 0.35);
  max-width: 600px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--warm-white-breath);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.4s ease, background 0.4s ease;
}

.contact-row:first-child {
  border-top: 1px solid var(--warm-white-breath);
}

.contact-row:hover {
  padding-left: 12px;
  background: rgba(240, 235, 224, 0.01);
}

.contact-row .c-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.2);
}

.contact-row .c-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--warm-white-dim);
  transition: color 0.4s ease;
}

.contact-row:hover .c-value {
  color: var(--warm-white);
}

/* ===== CONCEPT GALLERY (other splash concepts) ===== */
.concept-gallery {
  margin-top: 30px;
}

.concept-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(240,235,224,0.08) transparent;
}

.concept-row::-webkit-scrollbar { height: 4px; }
.concept-row::-webkit-scrollbar-track { background: transparent; }
.concept-row::-webkit-scrollbar-thumb { background: rgba(240,235,224,0.08); border-radius: 2px; }

.concept-card {
  flex-shrink: 0;
  width: 200px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}

.concept-card:hover {
  transform: translateY(-4px);
}

.concept-thumb {
  width: 200px;
  height: 120px;
  background: rgba(240, 235, 224, 0.02);
  border: 1px solid var(--warm-white-breath);
  overflow: hidden;
  transition: border-color 0.4s ease;
  position: relative;
}

.concept-card:hover .concept-thumb {
  border-color: var(--warm-white-ghost);
}

.concept-thumb canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.concept-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--warm-white-ghost);
  opacity: 0.3;
  transition: opacity 0.4s ease;
}
.concept-card:hover .concept-placeholder { opacity: 0.6; }
.concept-thumb iframe {
  width: 1280px;
  height: 800px;
  border: none;
  transform: scale(0.15625);
  transform-origin: top left;
  pointer-events: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.concept-name {
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(240, 235, 224, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 100px 40px;
}

.footer-motto {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold-dim);
  margin-bottom: 20px;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.15);
}

.footer-year {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(240, 235, 224, 0.08);
  margin-top: 16px;
}

.footer-stars {
  margin-top: 16px;
  font-size: 8px;
  letter-spacing: 12px;
  color: rgba(201, 168, 76, 0.12);
}

/* ===== NAV DOTS ===== */
.nav-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--warm-white);
  opacity: 0.12;
  cursor: pointer;
  transition: all 0.4s ease;
}

.nav-dot.active {
  opacity: 0.6;
  transform: scale(2);
}

.nav-dot:hover {
  opacity: 0.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-script-logo {
    width: clamp(300px, 85vw, 540px);
    margin-bottom: -50px;
  }

  .about-card {
    padding: 28px 20px 24px;
  }

  .portrait-section {
    flex-direction: column;
    gap: 40px;
  }

  .portrait-frame {
    width: 200px;
    height: 240px;
  }

  .stats-row {
    gap: 40px;
    flex-wrap: wrap;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card:nth-child(even) .project-info { order: 1; }
  .project-card:nth-child(even) .project-thumb-wrap { order: 2; }

  .section { padding: 0 24px; }
  .spacer { height: 120px; }
  .spacer-lg { height: 180px; }

  .ship-watermark { width: 350px; }
  .nav-dots { display: none; }
  .concept-card { width: 160px; }
  .concept-thumb { width: 160px; height: 96px; }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: clamp(40px, 14vw, 80px);
    letter-spacing: 8px;
  }

  .hero-domains {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
  }

  .stats-row {
    gap: 30px;
  }

  .portrait-frame {
    width: 160px;
    height: 200px;
  }

  .contact-row {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== ACCESSIBILITY: FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid var(--gold-1776);
  outline-offset: 3px;
  border-radius: 4px;
}

.contact-row:focus-visible {
  outline-offset: 0;
  background: rgba(201, 168, 76, 0.04);
}

.nav-dot:focus-visible {
  outline-offset: 4px;
  border-radius: 50%;
}

/* ===== ACCESSIBILITY: SKIP NAV ===== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 12px 24px;
  background: var(--gold-1776);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 0;
}

/* ===== PRINT STYLESHEET ===== */
@media print {
  body { background: white; color: #111; }
  .ship-watermark, .nav-dots, .scroll-indicator,
  .concept-gallery, .footer-stars, .portrait-scanline,
  .hero-domains, .skip-nav { display: none !important; }
  .page { padding: 0; }
  .section { padding: 0 20px; }
  .hero { min-height: auto; padding: 40px 20px; }
  .hero-name, .hero-subtitle, .hero-motto,
  .section-title, .body-text, .contact-row .c-label,
  .contact-row .c-value { color: #111 !important; }
  .about-card { background: #f5f5f5; border-color: #ccc; }
  .contact-row { border-color: #ddd; }
  a { color: #111; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ===== HERO CTA BUTTONS ===== */
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 3.2s;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.35s;
}
.hero-cta-primary {
  background: var(--gold-1776);
  color: var(--bg);
}
.hero-cta-primary:hover {
  background: #ddb868;
  box-shadow: 0 4px 24px rgba(201,168,76,0.2);
}
.hero-cta-ghost {
  background: transparent;
  color: rgba(240, 235, 224, 0.3);
  border: 1px solid rgba(201,168,76,0.15);
}
.hero-cta-ghost:hover {
  color: rgba(240, 235, 224, 0.6);
  border-color: var(--gold-1776);
  background: var(--gold-ghost);
}

/* ===== CREDIBILITY STATS STRIP ===== */
.stats-strip {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 40px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.stats-strip.visible {
  opacity: 1;
  transform: translateY(0);
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stats-strip-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(201,168,76,0.08);
  background: rgba(201,168,76,0.015);
  transition: border-color 0.3s;
}
.stats-strip-item:hover {
  border-color: rgba(201,168,76,0.18);
}
.stats-strip-val {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--gold-1776);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-strip-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.15);
}

/* ===== NOW SECTION ===== */
.now-list {
  display: grid;
  gap: 0;
}
.now-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--warm-white-breath);
}
.now-item:last-child { border-bottom: none; }
.now-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-1776);
  margin-top: 10px;
  flex-shrink: 0;
  opacity: 0.7;
  box-shadow: 0 0 8px rgba(201,168,76,0.3);
  animation: nowPulse 3s ease-in-out infinite;
}
@keyframes nowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.now-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--warm-white-dim);
  line-height: 1.8;
}
.now-text strong {
  color: var(--warm-white);
  font-weight: 400;
}
.now-meta {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.15);
  margin-top: 8px;
}

/* ===== VENTURE CARDS (replaces ventures-list) ===== */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.venture-card-v3 {
  padding: 28px;
  background: rgba(240, 235, 224, 0.018);
  border: 1px solid rgba(201,168,76,0.08);
  transition: all 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.venture-card-v3:hover {
  border-color: rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.025);
}
.vc3-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.vc3-icon {
  font-size: 14px;
  color: var(--gold-1776);
  opacity: 0.35;
}
.vc3-status {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  padding: 3px 8px;
  border: 1px solid rgba(201,168,76,0.15);
}
.vc3-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--warm-white);
  margin-bottom: 4px;
}
.vc3-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(240, 235, 224, 0.2);
  margin-bottom: 14px;
}
.vc3-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(240, 235, 224, 0.25);
  line-height: 1.7;
  margin-bottom: 14px;
}
.vc3-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.vc3-chip {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  color: var(--gold-1776);
  letter-spacing: 1px;
  opacity: 0.6;
  padding: 3px 10px;
  border: 1px solid rgba(201,168,76,0.12);
}
.vc3-tech {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(240, 235, 224, 0.12);
  text-transform: uppercase;
}
.vc3-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 18px;
  color: rgba(240, 235, 224, 0.1);
  transition: color 0.3s, transform 0.3s;
}
.venture-card-v3:hover .vc3-arrow {
  color: var(--gold-1776);
  transform: translateX(4px);
}

/* ===== PROJECT FILTERS ===== */
.project-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pf-btn {
  padding: 8px 18px;
  border: 1px solid rgba(201,168,76,0.08);
  background: transparent;
  color: rgba(240, 235, 224, 0.2);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.pf-btn:hover {
  border-color: rgba(201,168,76,0.2);
  color: rgba(240, 235, 224, 0.4);
}
.pf-btn.active {
  background: var(--gold-1776);
  border-color: var(--gold-1776);
  color: var(--bg);
}

/* ===== NOCO APP STUDIO CTA ===== */
.noco-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.noco-cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.noco-cta-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--warm-white-dim);
}
.noco-cta-text p { margin-bottom: 16px; }
.noco-cta-text p:last-child { margin-bottom: 0; }
.noco-cta-stats {
  display: grid;
  gap: 14px;
  min-width: 150px;
}
.noco-stat {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid rgba(201,168,76,0.08);
  background: rgba(201,168,76,0.015);
}
.noco-stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 28px;
  color: var(--gold-1776);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 6px;
}
.noco-stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.15);
}
.noco-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--gold-1776);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s;
}
.noco-cta-link:hover {
  background: #ddb868;
  box-shadow: 0 4px 24px rgba(201,168,76,0.15);
}

/* ===== BRAND TEASER ===== */
.brand-teaser-philosophy {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--warm-white-dim);
  margin-bottom: 36px;
  max-width: 560px;
}
.brand-teaser-details {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.brand-teaser-detail { text-align: center; }
.brand-teaser-val {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 28px;
  color: var(--gold-1776);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 6px;
}
.brand-teaser-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.15);
}
.brand-teaser-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-link-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold-1776);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s;
}
.brand-link-primary:hover {
  background: #ddb868;
  box-shadow: 0 4px 24px rgba(201,168,76,0.15);
}
.brand-link-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: rgba(240, 235, 224, 0.25);
  border: 1px solid rgba(201,168,76,0.15);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s;
}
.brand-link-ghost:hover {
  color: rgba(240, 235, 224, 0.5);
  border-color: var(--gold-1776);
  background: var(--gold-ghost);
}

/* ===== BOOKING FORM ===== */
.booking-form-wrap {
  max-width: 560px;
  margin: 0 auto 40px;
}
.booking-form {
  display: grid;
  gap: 16px;
}
.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-field.full { grid-column: 1 / -1; }
.booking-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.3);
}
.booking-input, .booking-textarea {
  background: rgba(240, 235, 224, 0.03);
  border: 1px solid rgba(201,168,76,0.1);
  color: var(--warm-white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.booking-input:focus, .booking-textarea:focus {
  border-color: rgba(201,168,76,0.35);
  background: rgba(240, 235, 224, 0.05);
}
.booking-input::placeholder, .booking-textarea::placeholder {
  color: rgba(240, 235, 224, 0.12);
}
.booking-textarea {
  resize: vertical;
  min-height: 100px;
}
.booking-select {
  background: rgba(240, 235, 224, 0.03);
  border: 1px solid rgba(201,168,76,0.1);
  color: var(--warm-white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.booking-select:focus {
  border-color: rgba(201,168,76,0.35);
  background-color: rgba(240, 235, 224, 0.05);
}
.booking-select option {
  background: #1a1a1c;
  color: var(--warm-white);
}
.booking-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--gold-1776);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  margin-top: 8px;
}
.booking-submit:hover {
  background: #ddb868;
  box-shadow: 0 4px 24px rgba(201,168,76,0.2);
}
.booking-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.booking-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.booking-success.visible {
  display: block;
  animation: fadeIn 0.6s ease;
}
.booking-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.booking-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--warm-white);
  margin-bottom: 12px;
}
.booking-success-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(240, 235, 224, 0.4);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .ventures-grid { grid-template-columns: 1fr; }
  .noco-cta-content { grid-template-columns: 1fr; }
  .noco-cta-stats { grid-template-columns: repeat(3, 1fr); }
  .brand-teaser-details { flex-direction: column; gap: 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .booking-row { grid-template-columns: 1fr; }
}

/* ===== FISHER MORPH -MATRIX DECODE EFFECT ===== */
.morph-letter {
  display: inline-block;
  position: relative;
  font-style: normal;
}

/* Scanning state -rapid character cycling */
.morph-letter.scanning {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.5);
  text-shadow: 0 0 6px rgba(201, 168, 76, 0.3);
  animation: morphStatic 0.08s steps(1) infinite;
}

/* Decoded state -settled on final number */
.morph-letter.decoded {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  color: var(--gold-1776);
  text-shadow:
    0 0 6px rgba(201, 168, 76, 0.5),
    0 0 18px rgba(201, 168, 76, 0.25),
    0 0 36px rgba(201, 168, 76, 0.1);
  animation: decodePulse 0.6s ease-out forwards;
}

/* Revert state -glitch back to letter */
.morph-letter.reverting {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.4);
  text-shadow: 0 0 4px rgba(201, 168, 76, 0.2);
  animation: morphStatic 0.06s steps(1) infinite;
}

@keyframes morphStatic {
  0% { opacity: 0.7; transform: translateX(0); }
  25% { opacity: 1; transform: translateX(-1px); }
  50% { opacity: 0.5; transform: translateX(1px); }
  75% { opacity: 0.9; transform: translateX(0.5px); }
  100% { opacity: 0.8; transform: translateX(-0.5px); }
}

@keyframes decodePulse {
  0% { opacity: 1; transform: translateX(0); }
  15% { opacity: 0.85; transform: translateX(0.5px); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); text-shadow:
    0 0 4px rgba(201, 168, 76, 0.35),
    0 0 12px rgba(201, 168, 76, 0.15);
  }
}

/* Glitch line -horizontal scan artifact */
.morph-letter .glitch-line {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), rgba(201, 168, 76, 0.8), rgba(201, 168, 76, 0.6), transparent);
  pointer-events: none;
  opacity: 0;
  z-index: 10;
}
.morph-letter.scanning .glitch-line,
.morph-letter.reverting .glitch-line {
  opacity: 1;
  animation: glitchScan 0.15s linear infinite;
}

@keyframes glitchScan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* ===== PORTRAIT CAROUSEL -GLITCH TRANSITION ===== */
.portrait-frame {
  position: relative;
}
.portrait-frame .portrait-primary {
  position: relative;
  z-index: 2;
}
/* Secondary portrait images (carousel photos) - always B&W */
.portrait-frame .portrait-secondary {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  z-index: 3;
  border-radius: 50%;
  filter: grayscale(1);
  will-change: opacity, transform, filter;
}
/* Scanline overlay */
.portrait-scanline {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(201, 168, 76, 0.06) 2px,
    rgba(201, 168, 76, 0.06) 3px
  );
}
.portrait-scanline.active {
  animation: scanlinePulse 0.5s ease-out forwards;
}
@keyframes scanlinePulse {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  40%  { opacity: 0.7; }
  100% { opacity: 0; }
}

/* --- Glitch transition states --- */
.portrait-frame .portrait-secondary.glitch-in {
  animation: glitchReveal 0.5s linear forwards;
}
.portrait-frame .portrait-secondary.glitch-hold {
  opacity: 1;
  filter: grayscale(1) brightness(0.85);
  transform: translateX(0);
}
.portrait-frame .portrait-secondary.glitch-out {
  animation: glitchDismiss 0.4s linear forwards;
}

/* Glitch-in: rapid flicker + displacement + brief color artifacts, settling to B&W */
@keyframes glitchReveal {
  0%   { opacity: 0; transform: translateX(0); filter: grayscale(1); }
  4%   { opacity: 0.85; transform: translateX(-28px); filter: grayscale(0.3) hue-rotate(90deg) brightness(1.5) contrast(1.3); }
  8%   { opacity: 0.1; transform: translateX(18px); filter: grayscale(0.5) hue-rotate(-50deg) brightness(1.2); }
  13%  { opacity: 0.9; transform: translateX(-14px); filter: grayscale(0.2) hue-rotate(65deg) brightness(1.3) contrast(1.2); }
  17%  { opacity: 0.05; transform: translateX(10px); filter: grayscale(1); }
  23%  { opacity: 0.95; transform: translateX(-8px); filter: grayscale(0.4) hue-rotate(-30deg) brightness(1.2); }
  30%  { opacity: 0.35; transform: translateX(14px); filter: grayscale(0.6) hue-rotate(40deg) brightness(1.1); }
  38%  { opacity: 1; transform: translateX(-5px); filter: grayscale(0.7) brightness(0.95); }
  48%  { opacity: 0.9; transform: translateX(3px); filter: grayscale(0.85) brightness(0.9); }
  62%  { opacity: 1; transform: translateX(-2px); filter: grayscale(1) brightness(0.88); }
  80%  { opacity: 1; transform: translateX(1px); filter: grayscale(1) brightness(0.85); }
  100% { opacity: 1; transform: translateX(0); filter: grayscale(1) brightness(0.85); }
}

/* Glitch-out: break apart + brief color flashes, returning to invisible */
@keyframes glitchDismiss {
  0%   { opacity: 1; transform: translateX(0); filter: grayscale(1) brightness(0.85); }
  8%   { opacity: 0.9; transform: translateX(6px); filter: grayscale(0.5) hue-rotate(-20deg) brightness(1.1); }
  16%  { opacity: 0.95; transform: translateX(-22px); filter: grayscale(0.2) hue-rotate(80deg) brightness(1.4) contrast(1.3); }
  24%  { opacity: 0.25; transform: translateX(14px); filter: grayscale(0.4) hue-rotate(-45deg) brightness(1.2); }
  33%  { opacity: 0.7; transform: translateX(-10px); filter: grayscale(0.3) hue-rotate(55deg) brightness(1.3); }
  42%  { opacity: 0.1; transform: translateX(24px); filter: grayscale(0.5) hue-rotate(-70deg) brightness(1.2); }
  54%  { opacity: 0.45; transform: translateX(-7px); filter: grayscale(0.6) hue-rotate(35deg); }
  66%  { opacity: 0.08; transform: translateX(16px); filter: grayscale(0.8) hue-rotate(-25deg); }
  78%  { opacity: 0.25; transform: translateX(-12px); filter: grayscale(0.4) hue-rotate(60deg) brightness(1.4); }
  90%  { opacity: 0.03; transform: translateX(5px); filter: grayscale(1); }
  100% { opacity: 0; transform: translateX(0); filter: grayscale(1); }
}

/* ===== LIGHT THEME: SILVER & BRASS ===== */
/* Cool silver-gray base with warm brass accents — polished, not bleached */
[data-theme="light"] {
  --bg: #c5c6c8;
  --warm-white: #1a1a1c;
  --warm-white-dim: rgba(26, 26, 28, 0.82);
  --warm-white-ghost: rgba(26, 26, 28, 0.22);
  --warm-white-breath: rgba(26, 26, 28, 0.12);
  --warm-white-soft: rgba(26, 26, 28, 0.16);
  --accent: rgba(26, 26, 28, 0.75);
  --gold-1776: #3a3a3c;
  --navy-1776: #6a6b6e;
  --gold-dim: rgba(42, 42, 46, 0.35);
  --gold-ghost: rgba(42, 42, 46, 0.08);
}

[data-theme="light"] body {
  background: #c5c6c8;
  color: #1a1a1c;
  /* Subtle cool radial glow */
  background-image:
    radial-gradient(ellipse 700px 900px at 50% 25%, rgba(185,186,190,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 500px 700px at 80% 55%, rgba(175,176,180,0.3) 0%, transparent 60%);
}
/* Stone grain texture overlay */
[data-theme="light"] body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

[data-theme="light"] ::selection { background: rgba(42,42,46,0.2); color: #1c1a18; }

/* Hide the ship watermark, show statue */
[data-theme="light"] .ship-watermark { display: none; }

/* Roman statue watermark — real image, centered slightly right (face looks left) */
[data-theme="light"] .statue-watermark {
  display: block;
  position: fixed;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.52;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.15) contrast(1.15) brightness(0.88);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 55%, transparent 92%);
  mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 55%, transparent 92%);
  transition: opacity 3s ease;
}

/* ---- HERO ---- */

/* Script logo — swap to transparent PNG, no blend mode needed */
[data-theme="light"] .hero-script-dark { display: none; }
[data-theme="light"] .hero-script-light {
  display: block;
  filter: none;
  opacity: 0.5;
}

/* Hero name: deep charcoal */
[data-theme="light"] .hero-name {
  color: #1c1a18;
  text-shadow: 0 1px 0 rgba(42,42,46,0.12);
}

/* Hero subtitle */
[data-theme="light"] .hero-subtitle { color: rgba(28,26,24,0.6); }

/* Hero motto — slate tint */
[data-theme="light"] .hero-motto { text-shadow: none; color: rgba(50,50,55,0.7); font-style: italic; }

/* Hero rule line — dark */
[data-theme="light"] .hero-rule { background: rgba(42,42,46,0.35); }

/* Hero domains — darker, more readable */
[data-theme="light"] .hero-domains a { color: rgba(28,26,24,0.55); }
[data-theme="light"] .hero-domains a:hover { color: #1c1a18; }
[data-theme="light"] .hero-domains span {
  color: rgba(28,26,24,0.5);
  font-size: 9.5px;
  letter-spacing: 1.5px;
}
[data-theme="light"] .hero-domains a:hover span { color: #1c1a18; }
[data-theme="light"] .hero-domains a::after { background: rgba(42,42,46,0.4); }

/* CTA buttons */
[data-theme="light"] .hero-cta-primary {
  background: #2e2e30;
  color: #d0d1d3;
  border-color: #2e2e30;
}
[data-theme="light"] .hero-cta-primary:hover { background: #1a1a1c; border-color: #1a1a1c; }
[data-theme="light"] .hero-cta-ghost { border-color: rgba(26,26,28,0.25); color: #3a3a3c; }
[data-theme="light"] .hero-cta-ghost:hover { border-color: #1a1a1c; color: #1a1a1c; }

/* ---- NAVIGATION ---- */

[data-theme="light"] nav.scrolled {
  background: rgba(197,198,200,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42,42,46,0.1);
}

/* ---- SECTION LABELS (METHOD, NOW, etc.) — dark slate ---- */
[data-theme="light"] .section-label,
[data-theme="light"] .ds-label { color: #4a4a4e; letter-spacing: 0.15em; }

/* Section headings */
[data-theme="light"] h2, [data-theme="light"] h3 { color: #1a1a1c; }

/* Dark section dividers */
[data-theme="light"] .thin-line {
  background: linear-gradient(to bottom, transparent, rgba(42,42,46,0.2), rgba(42,42,46,0.12), rgba(42,42,46,0.2), transparent);
}

/* ---- PORTRAIT ---- */
[data-theme="light"] .portrait-frame img.portrait-primary {
  filter: grayscale(0.05) contrast(1.08) brightness(0.98) sepia(0.1);
  opacity: 0.9;
}

/* ---- ABOUT / CONVICTIONS CARDS ---- */
[data-theme="light"] .about-card {
  background: rgba(255,255,255,0.4);
  border-color: rgba(26,26,28,0.1);
  box-shadow: 0 2px 16px rgba(28,26,24,0.05);
}
[data-theme="light"] .about-card:hover {
  border-color: rgba(42,42,46,0.25);
  box-shadow: 0 6px 24px rgba(28,26,24,0.08);
}
[data-theme="light"] .about-card::before {
  background: linear-gradient(90deg, transparent, rgba(42,42,46,0.2), transparent);
}
/* Body text inside about/conviction cards — ensure readable */
[data-theme="light"] .about-card .body-text,
[data-theme="light"] .body-text { color: rgba(26,26,28,0.82); }
[data-theme="light"] .about-card .body-text em,
[data-theme="light"] .body-text em { color: #1a1a1c; }

/* ---- PROJECT CARDS ---- */

/* Card container — visible raised card on light */
[data-theme="light"] .project-card {
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(26,26,28,0.08);
  border-radius: 12px;
  padding: 36px 32px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(26,26,28,0.04);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
[data-theme="light"] .project-card:first-child { border-top: 1px solid rgba(26,26,28,0.08); }
[data-theme="light"] .project-card:hover {
  background: rgba(255,255,255,0.5);
  box-shadow: 0 6px 24px rgba(26,26,28,0.08);
  border-color: rgba(42,42,46,0.2);
}

/* Canvas thumbs: light frame on light mode */
[data-theme="light"] .project-thumb-wrap {
  border: 1px solid rgba(42,42,46,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.3);
  box-shadow: 0 2px 12px rgba(28,26,24,0.06);
}
[data-theme="light"] .project-card:hover .project-thumb-wrap {
  border-color: rgba(42,42,46,0.3);
  box-shadow: 0 4px 20px rgba(28,26,24,0.1);
}
[data-theme="light"] .project-thumb-wrap::after {
  border-color: rgba(42,42,46,0.06);
}
[data-theme="light"] .project-card:hover .project-thumb-wrap::after {
  border-color: rgba(42,42,46,0.15);
}
/* Lighten static image thumbnails in light mode (dark JPGs that aren't canvas-drawn) */
[data-theme="light"] .project-thumb-wrap > img {
  filter: brightness(1.3) contrast(0.85) saturate(0.8) !important;
  opacity: 0.85;
}

/* Project numbers */
[data-theme="light"] .project-card .p-number { color: rgba(26,26,28,0.3); }

/* Project text — full readable contrast */
[data-theme="light"] .p-desc { color: rgba(28,26,24,0.8); }
[data-theme="light"] .p-tech { color: rgba(60,60,65,0.75); }
[data-theme="light"] .p-opinion { color: rgba(28,26,24,0.65); border-bottom-color: rgba(42,42,46,0.12); }

/* Hover text emphasis */
[data-theme="light"] .project-card:hover .p-title { color: #1c1a18; letter-spacing: 5px; }
[data-theme="light"] .venture-item:hover .v-title { color: #1c1a18; }

/* Status badges */
[data-theme="light"] .p-status.active {
  border-color: rgba(60,110,55,0.35);
  color: rgba(40,90,35,0.9);
  background: rgba(60,110,55,0.1);
}
[data-theme="light"] .p-status.shipped {
  border-color: rgba(50,50,55,0.3);
  color: rgba(50,50,55,0.85);
  background: rgba(50,50,55,0.08);
}

/* Stat values */
[data-theme="light"] .ds-value { color: #1a1a1c; }

/* ---- FILTER BUTTONS ---- */
[data-theme="light"] .pf-btn {
  border-color: rgba(26,26,28,0.15);
  color: rgba(28,26,24,0.7);
}
[data-theme="light"] .pf-btn:hover {
  border-color: rgba(42,42,46,0.35);
  color: #2e2e30;
}
[data-theme="light"] .pf-btn.active {
  background: #2e2e30;
  color: #d0d1d3;
  border-color: #2e2e30;
}

/* ---- VENTURE / CONCEPT ITEMS ---- */
[data-theme="light"] .venture-item {
  border-color: rgba(26,26,28,0.1);
  background: rgba(255,255,255,0.35);
}
[data-theme="light"] .venture-item:hover {
  background: rgba(255,255,255,0.5);
  border-color: rgba(42,42,46,0.25);
  box-shadow: 0 4px 16px rgba(28,26,24,0.06);
}
[data-theme="light"] .v-desc { color: rgba(28,26,24,0.75); }
[data-theme="light"] .v-tech { color: rgba(60,60,65,0.7); }

/* ---- FTDA FLAGSHIP ---- */
[data-theme="light"] .ftda-flagship {
  background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, transparent 40%),
    linear-gradient(315deg, rgba(255,255,255,0.35) 0%, transparent 40%),
    linear-gradient(180deg, rgba(215,216,218,1) 0%, rgba(205,206,208,1) 100%) !important;
  border-color: rgba(42,42,46,0.2) !important;
  box-shadow: 0 4px 20px rgba(26,26,28,0.06) !important;
}
[data-theme="light"] .ftda-flagship:hover {
  background: linear-gradient(135deg, rgba(42,42,46,0.06) 0%, transparent 40%),
    linear-gradient(315deg, rgba(139,115,85,0.05) 0%, transparent 40%),
    linear-gradient(180deg, rgba(220,221,223,1) 0%, rgba(210,211,213,1) 100%) !important;
  border-color: rgba(42,42,46,0.3) !important;
}

/* ---- BOOKING / CONTACT FORM ---- */
[data-theme="light"] .booking-input {
  background: rgba(255,255,255,0.45);
  border-color: rgba(42,42,46,0.15);
  color: #1c1a18;
}
[data-theme="light"] .booking-input:focus {
  border-color: #4a4a4e;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 3px rgba(42,42,46,0.08);
}
[data-theme="light"] .booking-input::placeholder { color: rgba(28,26,24,0.35); }
[data-theme="light"] .booking-textarea {
  background: rgba(255,255,255,0.45);
  border-color: rgba(42,42,46,0.15);
  color: #1c1a18;
}
[data-theme="light"] .booking-textarea:focus {
  border-color: #4a4a4e;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 3px rgba(42,42,46,0.08);
}
[data-theme="light"] .booking-textarea::placeholder { color: rgba(28,26,24,0.35); }
[data-theme="light"] .booking-select {
  background: rgba(255,255,255,0.45);
  border-color: rgba(42,42,46,0.15);
  color: #1c1a18;
}
[data-theme="light"] .booking-label { color: rgba(28,26,24,0.45); }
[data-theme="light"] .booking-submit { background: #2e2e30; color: #d0d1d3; }
[data-theme="light"] .booking-submit:hover { background: #3a3a3c; }

/* ---- LINKS ---- */
[data-theme="light"] a { color: #3a3a3c; }
[data-theme="light"] a:hover { color: #3a3a3c; }

/* ---- NAV DOTS ---- */
[data-theme="light"] .nav-dot { background: rgba(42,42,46,0.15); }
[data-theme="light"] .nav-dot.active { background: #3a3a3c; }

/* ---- CONTACT ROWS ---- */
[data-theme="light"] .contact-row { border-bottom-color: rgba(42,42,46,0.1); }
[data-theme="light"] .contact-row:hover { background: rgba(255,255,255,0.3); }
[data-theme="light"] .contact-row .c-label { color: rgba(28,26,24,0.35); }
[data-theme="light"] .contact-row .c-value { color: #1c1a18; }
[data-theme="light"] .contact-row:hover .c-value { color: #3a3a3c; }

/* ---- SOVEREIGNTY SECTION ---- */
[data-theme="light"] .sov-intro { color: rgba(28,26,24,0.6); }
[data-theme="light"] .sov-item-desc { color: rgba(28,26,24,0.55); }

/* ---- DETAIL SECTIONS ---- */
[data-theme="light"] .project-detail { border-top-color: rgba(42,42,46,0.12); }
[data-theme="light"] .detail-stat { border-color: rgba(42,42,46,0.15); }
[data-theme="light"] .detail-col li { color: rgba(28,26,24,0.82); }
[data-theme="light"] .detail-col em { color: #1a1a1c; }

/* ---- BRAND TEASER ---- */
[data-theme="light"] .brand-teaser {
  background: rgba(255,255,255,0.3);
  border-color: rgba(42,42,46,0.12);
}

/* ---- NOCO SECTION ---- */
[data-theme="light"] .noco-section { background: rgba(255,255,255,0.2); }

/* ---- STATS BAR ---- */
[data-theme="light"] .stats-bar { border-color: rgba(42,42,46,0.08); }

/* ---- GLITCH / MORPH ---- */
[data-theme="light"] .glitch-line { background: rgba(42,42,46,0.15); }

/* ---- ARCHITECTURE DIAGRAM (SVG) ---- */
/* SVG text uses inline rgba(240,235,224,...) which is invisible on light bg.
   Override via CSS fill on the text/line/rect elements. */
[data-theme="light"] .arch-diagram svg text {
  fill: rgba(26,26,28,0.55);
}
[data-theme="light"] .arch-diagram svg text[fill*="201,168,76"] {
  fill: rgba(60,60,65,0.75);
}
[data-theme="light"] .arch-diagram svg text[fill*="130,200,160"] {
  fill: rgba(40,120,70,0.7);
}
[data-theme="light"] .arch-diagram svg text[fill*="0,212,255"] {
  fill: rgba(0,140,180,0.7);
}
[data-theme="light"] .arch-diagram svg text[fill*="255,61,87"] {
  fill: rgba(200,40,55,0.7);
}
[data-theme="light"] .arch-diagram svg line {
  stroke: rgba(26,26,28,0.12);
}
[data-theme="light"] .arch-diagram svg line[stroke*="201,168,76"] {
  stroke: rgba(42,42,46,0.28);
}
[data-theme="light"] .arch-diagram svg line[stroke*="0,212,255"] {
  stroke: rgba(0,140,180,0.2);
}
[data-theme="light"] .arch-diagram svg line[stroke*="255,61,87"] {
  stroke: rgba(200,40,55,0.2);
}
[data-theme="light"] .arch-diagram svg polygon {
  fill: rgba(42,42,46,0.3);
}
[data-theme="light"] .arch-diagram svg rect[fill*="240,235,224"] {
  fill: rgba(26,26,28,0.04);
  stroke: rgba(26,26,28,0.12);
}
[data-theme="light"] .arch-diagram svg rect[fill*="201,168,76"] {
  fill: rgba(42,42,46,0.04);
  stroke: rgba(42,42,46,0.2);
}
[data-theme="light"] .arch-diagram svg rect[fill*="130,200,160"] {
  fill: rgba(40,120,70,0.06);
  stroke: rgba(40,120,70,0.2);
}
[data-theme="light"] .arch-diagram svg rect[fill*="0,212,255"] {
  fill: rgba(0,140,180,0.06);
  stroke: rgba(0,140,180,0.2);
}
[data-theme="light"] .arch-diagram svg rect[fill*="255,61,87"] {
  fill: rgba(200,40,55,0.06);
  stroke: rgba(200,40,55,0.2);
}

/* ---- PRINCIPLES / CONVICTIONS ---- */
[data-theme="light"] .principle { border-bottom-color: rgba(42,42,46,0.08); }
[data-theme="light"] .p-text { color: rgba(28,26,24,0.75); }

/* ---- VENTURE CARDS v3 ---- */
[data-theme="light"] .venture-card-v3 {
  background: rgba(42,42,46,0.03);
  border-color: rgba(42,42,46,0.1);
}
[data-theme="light"] .venture-card-v3:hover {
  border-color: rgba(42,42,46,0.25);
  background: rgba(42,42,46,0.05);
}
[data-theme="light"] .vc3-name { color: #1c1a18; }
[data-theme="light"] .vc3-tagline { color: rgba(28,26,24,0.35); }
[data-theme="light"] .vc3-desc { color: rgba(28,26,24,0.55); }
[data-theme="light"] .vc3-tech { color: rgba(28,26,24,0.25); }
[data-theme="light"] .vc3-arrow { color: rgba(28,26,24,0.15); }
[data-theme="light"] .venture-card-v3:hover .vc3-arrow { color: #3a3a3c; }
[data-theme="light"] .vc3-status {
  color: rgba(60,60,65,0.65);
  border-color: rgba(42,42,46,0.2);
}
[data-theme="light"] .vc3-chip {
  color: #3a3a3c;
  border-color: rgba(42,42,46,0.15);
}

/* ---- GLITCH STATUE LEFT (light mode only) ---- */
.glitch-statue-left { display: none; }

[data-theme="light"] .glitch-statue-left {
  display: block;
  position: fixed;
  top: 50%;
  left: -5%;
  transform: translate(0, -50%);
  width: 550px;
  height: 750px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 50%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 65% at 60% 50%, black 30%, transparent 80%);
}

[data-theme="light"] .glitch-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.2) brightness(0.85);
}

[data-theme="light"] .glitch-a {
  opacity: 1;
  animation: glitchA 8s ease-in-out infinite;
}
[data-theme="light"] .glitch-b {
  opacity: 0;
  mix-blend-mode: screen;
  animation: glitchB 8s ease-in-out infinite;
}
[data-theme="light"] .glitch-c {
  opacity: 0;
  animation: glitchC 8s ease-in-out infinite;
  clip-path: inset(0 0 0 0);
}

@keyframes glitchA {
  0%, 42% { opacity: 1; transform: translate(0, 0); }
  44% { opacity: 0.6; transform: translate(3px, -2px); }
  46% { opacity: 1; transform: translate(-1px, 1px); }
  48%, 100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes glitchB {
  0%, 42% { opacity: 0; }
  43% { opacity: 0.4; transform: translate(-4px, 2px); clip-path: inset(20% 0 40% 0); }
  44.5% { opacity: 0.3; transform: translate(5px, -1px); clip-path: inset(50% 0 10% 0); }
  46% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  47%, 100% { opacity: 0; }
}

@keyframes glitchC {
  0%, 43% { opacity: 0; }
  44% { opacity: 0.5; transform: translate(2px, 3px); clip-path: inset(60% 0 5% 0); }
  45% { opacity: 0.3; transform: translate(-3px, -2px); clip-path: inset(10% 0 70% 0); }
  46.5% { opacity: 0; clip-path: inset(0 0 0 0); }
  47%, 100% { opacity: 0; }
}

/* ---- THEME TOGGLE — dark slate ---- */
[data-theme="light"] .theme-toggle { border-color: rgba(42,42,46,0.2); }
[data-theme="light"] .theme-toggle:hover { border-color: #3a3a3c; }
[data-theme="light"] .theme-toggle svg { fill: #3a3a3c; stroke: #3a3a3c; }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 101;
  width: 36px;
  height: 36px;
  border: 1px solid var(--warm-white-ghost);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, opacity 0.3s;
  opacity: 0.35;
  padding: 0;
}
.theme-toggle:hover { opacity: 0.7; border-color: var(--gold-1776); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { transition: opacity 0.3s, transform 0.3s; position: absolute; }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

/* Ensure toggle doesn't shift content */
@media (max-width: 480px) {
  .theme-toggle { top: 16px; right: 16px; width: 32px; height: 32px; }
  .theme-toggle svg { width: 14px; height: 14px; }
}

