/* ===========================================
   FORTIVA GROUP — Visual Identity v2
   Editorial. Restrained. Operator-grade.

   Palette:
     Ink-Navy   #0F1B30   (deeper, more institutional)
     Brass      #B89968   (antique, less yellow)
     Bone       #F1ECE2   (warmer than cream)
     Paper      #FAF8F4
     Ink        #14181F
   =========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0F1B30;
  --navy-deep: #0A1322;
  --navy-soft: #1A2A48;
  --brass: #B89968;
  --brass-light: #CDB387;
  --brass-deep: #8F7548;
  --bone: #F1ECE2;
  --paper: #FAF8F4;
  --ink: #14181F;
  --ink-soft: #4A4F58;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --rule: #DCD6CB;
  --rule-dark: rgba(255,255,255,0.10);
  --white: #FFFFFF;

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
  padding: 26px 0;
}

.site-header.scrolled {
  background: rgba(15, 27, 48, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-link { display: inline-flex; align-items: center; }

.logo-img {
  height: 96px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.site-header.scrolled .logo-img {
  height: 64px;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.nav-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brass);
  letter-spacing: 0;
}

.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.35s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 16px !important;
  border: 1px solid rgba(184,153,104,0.5);
  color: var(--brass) !important;
}
.nav-cta:hover { background: var(--brass); color: var(--navy) !important; border-color: var(--brass); }
.nav-cta::after { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  padding: 160px 0 120px;
  isolation: isolate;
}

/* ---- Atmospheric layers ---- */
.hero-atmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, var(--navy) 0%, var(--navy-deep) 70%, #060B16 100%);
}

/* Two enormous, blurred brass orbs that drift slowly through negative space.
   GPU-accelerated (transform + opacity only). 80s+ cycles — barely perceptible. */
.atmos-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.atmos-orb-1 {
  width: 60vmax;
  height: 60vmax;
  top: -20vmax;
  right: -15vmax;
  background: radial-gradient(circle, rgba(184,153,104,0.22) 0%, rgba(184,153,104,0.06) 45%, transparent 70%);
  animation: orbDrift1 88s ease-in-out infinite;
}

.atmos-orb-2 {
  width: 50vmax;
  height: 50vmax;
  bottom: -20vmax;
  left: -15vmax;
  background: radial-gradient(circle, rgba(26,42,72,0.95) 0%, rgba(184,153,104,0.10) 50%, transparent 75%);
  animation: orbDrift2 112s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  33%      { transform: translate3d(-6vw, 4vh, 0) scale(1.08); opacity: 1; }
  66%      { transform: translate3d(4vw, -3vh, 0) scale(0.95); opacity: 0.7; }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
  50%      { transform: translate3d(8vw, -5vh, 0) scale(1.12); opacity: 0.9; }
}

/* Paper-grain noise — extremely faint, gives the navy a tactile quality */
.atmos-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  pointer-events: none;
}

/* ---- Recessive vertical rail (much quieter than before) ---- */
.hero-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 140px 0 100px;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1.6s 1.2s forwards;
}

.rail-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--brass);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.rail-line {
  width: 1px;
  flex: 1;
  margin: 22px 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(184,153,104,0.18) 18%,
    rgba(184,153,104,0.18) 82%,
    transparent 100%);
}

.rail-coord {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ---- Inked hairline signature ---- */
.hero-signature {
  position: absolute;
  top: 38%;
  right: 8%;
  width: clamp(180px, 22vw, 360px);
  height: auto;
  z-index: 1;
  color: var(--brass);
  opacity: 0.55;
  pointer-events: none;
}

.signature-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawSignature 4.2s 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes drawSignature {
  to { stroke-dashoffset: 0; }
}

/* ---- Hero content ---- */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 100px;
}

.hero-display {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(54px, 9.4vw, 148px);
  line-height: 0.98;
  letter-spacing: -0.038em;
  color: var(--white);
  font-variation-settings: "opsz" 144, "wght" 350;
  max-width: 1240px;
  margin: 0 0 96px;
  /* Subtle "breathing" — letter-spacing and weight oscillate over 14s */
  animation: typeBreathe 14s ease-in-out 3s infinite;
}

.hd-line {
  display: block;
  opacity: 0;
  transform: translateY(36px);
  animation: lineIn 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  filter: blur(6px);
}
.hd-1 { animation-delay: 0.45s; }
.hd-2 {
  animation-delay: 0.95s;
  padding-left: clamp(48px, 10vw, 180px);
  color: rgba(255,255,255,0.92);
}
.hd-3 {
  animation-delay: 1.45s;
  color: rgba(255,255,255,0.92);
}

.hero-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
  font-variation-settings: "opsz" 144, "wght" 400;
  /* Brass-italic operate has a faint glow */
  text-shadow: 0 0 60px rgba(184,153,104,0.18);
}

@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes typeBreathe {
  0%, 100% { letter-spacing: -0.038em; font-variation-settings: "opsz" 144, "wght" 350; }
  50%      { letter-spacing: -0.034em; font-variation-settings: "opsz" 144, "wght" 365; }
}

/* ---- Single mono-typeset coordinate line ---- */
.hero-coords {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 760px;
  opacity: 0;
  animation: fadeIn 1.4s 1.8s forwards;
}
.hc-dot { color: var(--brass); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  opacity: 0;
  animation: fadeIn 1.4s 2.2s forwards;
}

.hero-scroll .hs-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--brass) 0%, transparent 100%);
  animation: scrollLine 3.2s infinite ease-in-out;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.65; transform-origin: top; }
  50%      { transform: scaleY(0.35); opacity: 0.15; transform-origin: top; }
}

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

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .atmos-orb-1,
  .atmos-orb-2,
  .hero-display,
  .hero-scroll .hs-line {
    animation: none !important;
  }
  .signature-path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
  .hd-line {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }
  .hero-coords,
  .hero-rail,
  .hero-scroll {
    opacity: 1;
    animation: none !important;
  }
}

/* ============ MANIFESTO ============ */
.manifesto {
  background: var(--bone);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 50%, transparent);
  opacity: 0.4;
}

.manifesto-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.manifesto-quote-mark {
  font-family: var(--serif);
  font-size: 200px;
  line-height: 0.6;
  color: var(--brass);
  opacity: 0.4;
  margin-bottom: -30px;
  font-weight: 400;
  font-style: italic;
}

.manifesto-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 920px;
  margin: 0 auto 48px;
  font-variation-settings: "opsz" 144;
}

.manifesto-attr {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.attr-rule {
  width: 40px;
  height: 1px;
  background: var(--brass);
}

/* ============ SECTIONS ============ */
.section {
  padding: 140px 0;
  position: relative;
}

.section-light { background: var(--paper); color: var(--ink); }
.section-bone { background: var(--bone); color: var(--ink); }
.section-navy { background: var(--navy); color: var(--white); }

.section-head {
  margin-bottom: 80px;
  max-width: 920px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 28px;
}
.eb-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brass-deep);
}
.eyebrow-light { color: var(--brass-light); }
.eyebrow-light .eb-num { color: var(--brass); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 28px;
  max-width: 1000px;
  font-variation-settings: "opsz" 144;
}
.title-light { color: var(--white); }

.section-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 0;
}
.subtitle-light { color: rgba(255,255,255,0.65); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 96px;
  align-items: start;
}

.about-grid .lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}

.about-grid .lead em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-deep);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-left: 1px solid var(--rule);
  padding-left: 44px;
}

.stat-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
}
.stat-value.stat-text { font-style: italic; font-size: clamp(36px, 4vw, 56px); }

.stat-plus {
  color: var(--brass);
  font-weight: 300;
  font-size: 0.55em;
  vertical-align: top;
  margin-left: 2px;
}

.stat-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

/* ============ STRATEGIES ============ */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.strategy-card {
  background: var(--bone);
  padding: 56px 40px 48px;
  transition: background 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.strategy-card:hover {
  background: var(--paper);
}

.strategy-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  color: var(--brass);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.strategy-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.strategy-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
}

.strategy-tag {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

/* ============ TRACK RECORD ============ */
.nasdaq-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 0 0 120px;
  padding: 0;
  background: transparent;
  border: none;
}

.nasdaq-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.nasdaq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.1) contrast(1.05);
  transition: transform 0.8s ease;
}
.nasdaq-image:hover img { transform: scale(1.03); }

.nasdaq-overlay {
  position: absolute;
  left: 24px; bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: baseline;
  background: rgba(15,27,48,0.85);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
}
.nasdaq-ticker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.1em;
}
.nasdaq-date {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.nasdaq-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
}

.nasdaq-caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}

.nasdaq-caption p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}

.companies-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.company-card {
  background: transparent;
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
  position: relative;
}

.company-card:nth-child(3n) { border-right: none; }
.company-card:hover { background: rgba(255,255,255,0.02); padding-left: 8px; }

.company-idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
}

.company-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.company-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  font-weight: 300;
}

/* ============ PHILOSOPHY ============ */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
}

.principle {
  position: relative;
  padding-left: 0;
}

.principle-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--brass);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.principle h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.principle p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 460px;
}

/* ============ CONTACT ============ */
.section-contact { padding: 160px 0; }

.contact-inner {
  max-width: 920px;
}

.contact-title {
  margin-bottom: 48px;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.02em;
  color: var(--brass-light);
  border-bottom: 1px solid rgba(184,153,104,0.35);
  padding-bottom: 8px;
  transition: color 0.3s ease, border-color 0.3s ease;
  font-variation-settings: "opsz" 144;
}

.contact-email:hover { color: var(--brass); border-color: var(--brass); }

.contact-footnote {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cf-sep { color: var(--brass); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-deep);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-text {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero-rail { display: none; }
  .hero-inner { padding-left: 0; }
  .hero-signature { right: 4%; top: 30%; opacity: 0.35; }
}

@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .manifesto { padding: 90px 0; }
  .main-nav { display: none; }
  .container { padding: 0 24px; }

  .hero { padding: 140px 0 100px; }
  .hero-display { font-size: clamp(44px, 12vw, 80px); margin-bottom: 64px; }
  .hd-2 { padding-left: 28px; }

  .hero-signature { display: none; }
  .hero-coords { font-size: 10px; gap: 10px; letter-spacing: 0.18em; }

  .hero-scroll { right: 24px; bottom: 24px; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-stats { border-left: none; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 40px; flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .about-stats .stat { flex: 1 1 40%; }

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

  .nasdaq-feature { grid-template-columns: 1fr; gap: 36px; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .company-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.08); }
  .company-card:nth-child(2n) { border-right: none; }

  .principle-grid { grid-template-columns: 1fr; gap: 44px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .company-grid { grid-template-columns: 1fr; }
  .company-card { border-right: none !important; }
  .logo-img { height: 64px; }
  .manifesto-quote-mark { font-size: 140px; }
}

/* ============================================================
   V3 — Visual richness pass
   Generative SVG, canvas flow-field, animated counters,
   timeline, principle glyphs, cursor dot, photography hooks.
   ============================================================ */

/* ---- Hero: flow-field canvas (very subtle Perlin drift) ---- */
.atmos-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---- Hero: contour topology (stylized equity curves) ---- */
.atmos-contour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.contour-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawContour 5.5s 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards,
             contourDrift 32s 6.7s ease-in-out infinite;
}
.contour-2 { animation-delay: 1.6s, 7.1s; }
.contour-3 { animation-delay: 2.0s, 7.5s; }

@keyframes drawContour {
  to { stroke-dashoffset: 0; }
}
@keyframes contourDrift {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(-8px); opacity: 0.7; }
}

/* ---- Cursor brass dot ---- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
  mix-blend-mode: difference;
}
.cursor-dot.active { opacity: 0.85; }
.cursor-dot.hover { width: 28px; height: 28px; background: var(--brass-light); opacity: 0.4; }
@media (hover: none) { .cursor-dot { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-dot { display: none; } }

/* ---- About: diagram + counters ---- */
.about-text {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.about-diagram {
  width: 100%;
  max-width: 480px;
  height: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.about-diagram.visible { opacity: 1; transform: translateY(0); }
.about-diagram .arc-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.about-diagram.visible .arc-1 { stroke-dashoffset: 0; transition-delay: 0.1s; }
.about-diagram.visible .arc-2 { stroke-dashoffset: 0; transition-delay: 0.3s; }
.about-diagram.visible .arc-3 { stroke-dashoffset: 0; transition-delay: 0.5s; }
.arc-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--brass-deep);
}

/* ---- Strategy card visuals ---- */
.strategy-viz {
  width: 100%;
  height: 120px;
  margin-bottom: 28px;
  display: block;
}
.strategy-viz .viz-equity,
.strategy-viz .viz-bell,
.strategy-viz .arch-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.strategy-card.visible .viz-equity { stroke-dashoffset: 0; transition-delay: 0.2s; }
.strategy-card.visible .viz-bell   { stroke-dashoffset: 0; transition-delay: 0.2s; }
.strategy-card.visible .arch-line  { stroke-dashoffset: 0; transition-delay: 0.2s; }
.strategy-card.visible .arch-line:nth-child(2) { transition-delay: 0.35s; }
.strategy-card.visible .arch-line:nth-child(3) { transition-delay: 0.5s; }
.strategy-card.visible .arch-line:nth-child(n+4) { transition-delay: 0.65s; }
.viz-dot {
  opacity: 0;
  transition: opacity 0.6s ease 2.4s;
}
.strategy-card.visible .viz-dot { opacity: 1; }
.viz-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  fill: var(--brass-deep);
  text-transform: uppercase;
}
.viz-sigma { opacity: 0.4; }

/* Strategy hover: brass underline accent */
.strategy-card { overflow: hidden; }
.strategy-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--brass);
  transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.strategy-card:hover::after { width: 100%; }
.strategy-card:hover .strategy-viz { transform: translateY(-2px); }
.strategy-viz { transition: transform 0.5s ease; }

/* ---- Track Record: Timeline ---- */
.timeline {
  position: relative;
  margin: 24px 0 100px;
  padding: 0 8px 64px;
}
.timeline-rail {
  position: relative;
  height: 1px;
  margin: 40px 0 0;
}
.timeline-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(184,153,104,0) 0%,
    rgba(184,153,104,0.6) 8%,
    rgba(184,153,104,0.6) 92%,
    rgba(184,153,104,0) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 2.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.timeline.visible .timeline-line { transform: scaleX(1); }
.timeline-node {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  margin-top: -4.5px;
  background: var(--brass);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 4px rgba(15,27,48,1), 0 0 0 5px rgba(184,153,104,0.25);
  transition: opacity 0.5s ease;
}
.timeline-node-end {
  width: 12px; height: 12px;
  margin-left: -6px; margin-top: -6px;
  background: var(--brass-light);
  box-shadow: 0 0 0 4px rgba(15,27,48,1), 0 0 0 6px rgba(184,153,104,0.4), 0 0 24px rgba(184,153,104,0.5);
}
.timeline.visible .timeline-node:nth-child(2) { opacity: 1; transition-delay: 0.6s; }
.timeline.visible .timeline-node:nth-child(3) { opacity: 1; transition-delay: 1.2s; }
.timeline.visible .timeline-node:nth-child(4) { opacity: 1; transition-delay: 1.8s; }
.timeline.visible .timeline-node:nth-child(5) { opacity: 1; transition-delay: 2.4s; }

.timeline-labels {
  position: relative;
  height: 56px;
  margin-top: 18px;
}
.tl-label {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.tl-label:first-child { transform: translateX(0); align-items: flex-start; text-align: left; }
.tl-label:last-child { transform: translateX(-100%); align-items: flex-end; text-align: right; }
.timeline.visible .tl-label:nth-child(1) { opacity: 1; transition-delay: 0.7s; }
.timeline.visible .tl-label:nth-child(2) { opacity: 1; transition-delay: 1.3s; }
.timeline.visible .tl-label:nth-child(3) { opacity: 1; transition-delay: 1.9s; }
.timeline.visible .tl-label:nth-child(4) { opacity: 1; transition-delay: 2.5s; }
.tl-year {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--brass-light);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}
.tl-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ---- Philosophy backdrop + glyphs ---- */
.section-philosophy { overflow: hidden; }
.philosophy-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.section-philosophy .container { position: relative; z-index: 1; }

.principle-glyph {
  width: 36px;
  height: 36px;
  display: block;
  margin-bottom: 18px;
  opacity: 0;
  transform: scale(0.9) rotate(-8deg);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.principle.visible .principle-glyph { opacity: 1; transform: scale(1) rotate(0); }
.principle:hover .principle-glyph { animation: glyphSpin 8s linear infinite; }
@keyframes glyphSpin {
  to { transform: rotate(360deg); }
}

/* ---- Contact backdrop ---- */
.contact-atmos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.contact-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.contact-orb {
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  top: -30vmax;
  right: -25vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,153,104,0.18) 0%, rgba(184,153,104,0.04) 40%, transparent 70%);
  filter: blur(80px);
  animation: orbDrift1 96s ease-in-out infinite;
}
.section-contact .container { position: relative; z-index: 1; }

/* ---- Company-card hover refinements ---- */
.company-card { transition: background 0.4s ease, padding-left 0.4s ease, border-color 0.4s ease; }
.company-card:hover { border-bottom-color: rgba(184,153,104,0.45); }
.company-card:hover .company-name { color: var(--brass-light); transition: color 0.3s ease; }
.company-name { transition: color 0.3s ease; }

/* ---- Nasdaq image: brass duotone tint on hover, subtle parallax ---- */
.nasdaq-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,27,48,0.45) 100%);
  pointer-events: none;
}

/* ---- Reduced motion catch-all for v3 ---- */
@media (prefers-reduced-motion: reduce) {
  .contour-path,
  .about-diagram .arc-path,
  .strategy-viz .viz-equity,
  .strategy-viz .viz-bell,
  .strategy-viz .arch-line,
  .timeline-line,
  .principle-glyph,
  .contact-orb {
    animation: none !important;
    transition: none !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .about-diagram, .timeline-node, .tl-label { opacity: 1 !important; transform: none !important; }
  .atmos-flow { display: none; }
}

/* ---- Responsive adjustments for v3 ---- */
@media (max-width: 960px) {
  .timeline { margin-bottom: 64px; }
  .tl-year { font-size: 16px; }
  .tl-text { font-size: 8px; letter-spacing: 0.1em; }
  .tl-label:nth-child(2) .tl-text,
  .tl-label:nth-child(3) .tl-text { display: none; }
  .about-diagram { display: none; }
  .strategy-viz { height: 90px; }
  .philosophy-backdrop { display: none; }
}
