/* ═══════════════════════════════════════════
   VIOLET — Global Stylesheet
   ═══════════════════════════════════════════ */

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

:root {
  --bg:          #F5F1EB;
  --bg-warm:     #EDE8DF;
  --navy:        #1A1F35;
  --navy-mid:    #3A3F55;
  --navy-dim:    rgba(26,31,53,0.55);
  --navy-faint:  rgba(26,31,53,0.12);
  --navy-ghost:  rgba(26,31,53,0.06);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Inter', -apple-system, sans-serif;
  --mono:  'DM Mono', 'SF Mono', monospace;
  --pad:   clamp(24px, 5vw, 72px);
  --pad-v: clamp(64px, 9vw, 120px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

/* ─── INK SYSTEM ─── */
.ink-flow {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}
.ink {
  position: absolute;
  pointer-events: none;
}

/* 1 — large, anchored left around the headline */
.ink-f1 {
  width: clamp(550px, 80vw, 1000px);
  top: 50%;
  left: -6%;
  transform: translate(0, -48%);
  opacity: 0.75;
  animation: ink-spin-a 70s linear infinite;
}
/* 2 — medium, offset, counter-rotating */
.ink-f2 {
  width: clamp(320px, 45vw, 600px);
  top: 45%;
  left: 15%;
  transform: translate(0, -50%) scaleX(-1) rotate(80deg);
  opacity: 0.4;
  animation: ink-spin-b 100s linear infinite;
}
/* 3 — small accent, right side */
.ink-f3 {
  width: clamp(180px, 25vw, 350px);
  top: 55%;
  right: -2%;
  left: auto;
  transform: translate(0, -50%) rotate(200deg);
  opacity: 0.2;
  animation: ink-spin-c 90s linear infinite;
}

@keyframes ink-spin-a { to { transform: translate(0, -48%) rotate(360deg); } }
@keyframes ink-spin-b { 0% { transform: translate(0, -50%) scaleX(-1) rotate(80deg); } 100% { transform: translate(0, -50%) scaleX(-1) rotate(440deg); } }
@keyframes ink-spin-c { 0% { transform: translate(0, -50%) rotate(200deg); } 100% { transform: translate(0, -50%) rotate(560deg); } }

/* stacking: all page content above ink */
.hero, .capabilities, .principles, .dark-block, .writing-preview, .esplit, .page-hero,
.architecture, .physics, .proof, .engagement, .contact-body, .article-full,
footer, section { position: relative; z-index: 2; }
.hero-right { background: var(--bg); }

/* ─── MASTHEAD ─── */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 50px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--navy-faint);
  background: var(--bg);
  gap: 24px;
}
.m-logo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
.m-center {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-dim);
  text-align: center;
}
.m-nav {
  display: flex;
  gap: 28px;
}
.m-nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.m-nav a:hover { color: var(--navy); }
.m-menu-btn {
  display: none;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dim);
  cursor: pointer;
}

@media (max-width: 680px) {
  .m-center { display: none; }
  .m-nav    { display: none; }
  .m-menu-btn { display: block; }
  .masthead { grid-template-columns: 1fr auto; }

  .m-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--navy-faint);
    padding: 24px var(--pad);
    gap: 20px;
  }
}

/* ─── HERO ─── */
.hero {
  padding-top: 50px;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  border-bottom: 1px solid var(--navy-faint);
}
.hero-body {
  display: grid;
  grid-template-columns: 55fr 45fr;
}
.hero-left {
  padding: var(--pad-v) var(--pad);
  border-right: 1px solid var(--navy-faint);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 40px;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 9vw, 130px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.hero-h1 em {
  font-style: italic;
  color: var(--navy-mid);
  display: block;
}
.hero-right {
  padding: var(--pad-v) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-dateline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dim);
  padding-top: 16px;
  border-top: 1px solid var(--navy-faint);
  margin-bottom: 36px;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--navy-dim);
  max-width: 380px;
}
.hero-sub em { font-style: italic; color: var(--navy); }
.hero-ghost {
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 180px);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--navy-ghost);
  user-select: none;
}
.hero-ghost span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-top: 12px;
  font-style: normal;
}
.hero-foot {
  display: grid;
  grid-template-columns: 55fr 45fr;
  border-top: 1px solid var(--navy-faint);
  height: 44px;
}
.hero-foot-cell {
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--navy-dim);
}
.hero-foot-cell:first-child { border-right: 1px solid var(--navy-faint); }
.hero-foot-right { justify-content: flex-end; }

@media (max-width: 800px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--navy-faint); padding-bottom: 48px; }
  .hero-right { padding-top: 48px; }
  .hero-ghost { display: none; }
  .hero-foot { grid-template-columns: 1fr; height: auto; }
  .hero-foot-cell:first-child { border-right: none; border-bottom: 1px solid var(--navy-faint); }
  .hero-foot-cell { height: 44px; }
  .hero-foot-right { justify-content: flex-start; }
}

/* ─── CAPABILITIES ─── */
.capabilities {
  border-bottom: 1px solid var(--navy-faint);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 860px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-item {
  padding: clamp(20px, 2.5vw, 28px) var(--pad);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-right: 1px solid var(--navy-faint);
  border-bottom: 1px solid var(--navy-faint);
  line-height: 1.5;
}
.cap-item:nth-child(4n) { border-right: none; }
@media (max-width: 860px) {
  .cap-item:nth-child(4n) { border-right: 1px solid var(--navy-faint); }
  .cap-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 500px) { .cap-item { border-right: none; } }

/* ─── STATEMENT ─── */
.statement {
  padding: var(--pad-v) var(--pad);
  border-bottom: 1px solid var(--navy-faint);
}
.statement-q {
  font-family: var(--serif);
  font-size: clamp(24px, 3.8vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 880px;
  font-style: italic;
  color: var(--navy);
}
.statement-q-muted { margin-top: 18px; color: var(--navy-dim); }

/* ─── EDITORIAL SPLIT ─── */
.esplit {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-bottom: 1px solid var(--navy-faint);
}
.esplit-rule { background: var(--navy-faint); }
.esplit-col { padding: var(--pad-v) var(--pad); }
.esplit-col-flex { display: flex; flex-direction: column; justify-content: space-between; }
.esplit-lower {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--navy-faint);
}
@media (max-width: 800px) {
  .esplit { grid-template-columns: 1fr; }
  .esplit-rule { display: none; }
  .esplit-col + .esplit-rule + .esplit-col,
  .esplit-col:nth-child(3) { border-top: 1px solid var(--navy-faint); }
}

/* ─── SHARED ─── */
.label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 28px;
}
.dh {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.dh em { font-style: italic; color: var(--navy-mid); }
.dh-lg { font-size: clamp(34px, 5vw, 68px); }
.dh-xl { font-size: clamp(40px, 6.5vw, 88px); }
.dh-md { font-size: clamp(28px, 4vw, 48px); }

.bt {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--navy-dim);
  margin-top: 24px;
}
.bt strong { font-weight: 500; color: var(--navy); }
.bt + .bt { margin-top: 18px; }
.bt-first { margin-top: 0; }

.pull-serif {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 24px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.3;
}

.text-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.5; }

/* section intro (two-column header) */
.section-intro {
  padding: var(--pad-v) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  border-bottom: 1px solid var(--navy-faint);
}
@media (max-width: 680px) { .section-intro { grid-template-columns: 1fr; } }

/* ─── PRINCIPLES ─── */
.principles { border-bottom: 1px solid var(--navy-faint); }
.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .p-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .p-grid { grid-template-columns: 1fr; } }

.p-card {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--navy-faint);
  border-bottom: 1px solid var(--navy-faint);
}
.p-card:nth-child(3n) { border-right: none; }
@media (max-width: 860px) {
  .p-card:nth-child(3n) { border-right: 1px solid var(--navy-faint); }
  .p-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 500px) { .p-card { border-right: none; } }

.p-num {
  font-family: var(--serif);
  font-size: clamp(80px, 13vw, 160px);
  font-style: italic;
  color: var(--navy-ghost);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.p-title {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.p-body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--navy-dim);
}

/* ─── ARCHITECTURE ─── */
.architecture { border-bottom: 1px solid var(--navy-faint); }
.layer-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  align-items: baseline;
  padding: clamp(18px, 2.5vw, 26px) var(--pad);
  border-bottom: 1px solid var(--navy-faint);
  transition: background 0.2s;
}
.layer-row:last-child { border-bottom: none; }
.layer-row:hover { background: rgba(26,31,53,0.02); }
.l-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--navy-dim);
  padding-top: 3px;
}
.l-name {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 26px);
  font-style: italic;
  color: var(--navy);
}
.l-desc {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--navy-dim);
  text-align: right;
  line-height: 1.5;
  padding-left: 24px;
}
@media (max-width: 680px) {
  .layer-row { grid-template-columns: 44px 1fr; }
  .l-desc { display: none; }
}

/* ─── PHYSICS / WHY VIOLET ─── */
.physics {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-bottom: 1px solid var(--navy-faint);
}
.physics-rule { background: var(--navy-faint); }
.physics-left { padding: var(--pad-v) var(--pad); }
.physics-right {
  padding: var(--pad-v) var(--pad);
  display: flex;
  align-items: flex-end;
}
@media (max-width: 800px) {
  .physics { grid-template-columns: 1fr; }
  .physics-rule { display: none; }
  .physics-left { border-bottom: 1px solid var(--navy-faint); }
  .physics-right { align-items: flex-start; }
}
.physics-steps {
  width: 100%;
  border-left: 1px solid var(--navy-faint);
}
.physics-step {
  padding: 24px 28px;
  border-bottom: 1px solid var(--navy-faint);
}
.physics-step:last-child { border-bottom: none; }
.ps-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 8px;
}
.ps-value {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
}

/* ─── PROOF ─── */
.proof {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-bottom: 1px solid var(--navy-faint);
}
.proof-rule { background: var(--navy-faint); }
.proof-left {
  padding: var(--pad-v) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.proof-credit {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--navy-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--navy-dim);
}
.proof-right {
  padding: var(--pad-v) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 56px) clamp(20px, 3vw, 40px);
  align-content: center;
}
@media (max-width: 800px) {
  .proof { grid-template-columns: 1fr; }
  .proof-rule { display: none; }
  .proof-left { border-bottom: 1px solid var(--navy-faint); }
}
.stat-big {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 96px);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-top: 8px;
  line-height: 1.6;
}

/* ─── WRITING PREVIEW ─── */
.writing-preview { border-bottom: 1px solid var(--navy-faint); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--navy-faint);
  border-bottom: 1px solid var(--navy-faint);
  text-decoration: none;
  transition: background 0.2s;
}
.article-card:nth-child(3n) { border-right: none; }
@media (max-width: 860px) {
  .article-card:nth-child(3n) { border-right: 1px solid var(--navy-faint); }
  .article-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 500px) { .article-card { border-right: none; } }
.article-card:hover { background: rgba(26,31,53,0.02); }

.article-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--navy-dim);
  margin-bottom: 14px;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 10px;
}
.article-hook {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--navy-dim);
}

/* ─── ENGAGEMENT ─── */
.engagement { border-bottom: 1px solid var(--navy-faint); }
.eng-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 680px) { .eng-phases { grid-template-columns: 1fr; } }
.eng-phase {
  padding: clamp(36px, 5vw, 56px) clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--navy-faint);
}
.eng-phase:last-child { border-right: none; }
@media (max-width: 680px) {
  .eng-phase { border-right: none; border-bottom: 1px solid var(--navy-faint); }
  .eng-phase:last-child { border-bottom: none; }
}
.ep-num {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 110px);
  font-style: italic;
  color: var(--navy-ghost);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.ep-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 28px);
  font-style: italic;
  color: var(--navy);
  margin-bottom: 6px;
}
.ep-time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--navy-dim);
  margin-bottom: 18px;
}
.ep-body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--navy-dim);
}

/* ─── SYSTEMS LIBRARY ─── */
.system-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) var(--pad);
  border-bottom: 1px solid var(--navy-faint);
  transition: background 0.2s;
}
.system-row:hover { background: rgba(26,31,53,0.02); }
.system-num {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-style: italic;
  color: var(--navy-ghost);
}
.system-name {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic;
  color: var(--navy);
}
.system-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--navy-dim);
  line-height: 1.6;
  text-align: right;
  padding-left: 24px;
}
.system-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--navy-faint);
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}
@media (max-width: 680px) {
  .system-row { grid-template-columns: 48px 1fr; }
  .system-desc { display: none; }
}

/* ─── CTA ─── */
.cta {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-bottom: 1px solid var(--navy-faint);
}
.cta-rule { background: var(--navy-faint); }
.cta-left { padding: var(--pad-v) var(--pad); }
.cta-right {
  padding: var(--pad-v) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-width: 800px) {
  .cta { grid-template-columns: 1fr; }
  .cta-rule { display: none; }
  .cta-left { border-bottom: 1px solid var(--navy-faint); }
}
.cta-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--navy-dim);
  margin-bottom: 40px;
  max-width: 400px;
}
.cta-aside {
  display: block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--navy-dim);
}
.cta-aside a {
  color: var(--navy-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--navy-faint);
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--navy-faint);
  padding: clamp(40px, 5vw, 64px) var(--pad) clamp(28px, 3vw, 40px);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--navy-mid); }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--navy-faint);
}
.ft {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--navy-dim);
}
.ft-center { text-align: center; }
.ft-right  { text-align: right; }
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; padding-top: 24px; }
  .ft-center, .ft-right { text-align: left; }
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: calc(50px + var(--pad-v)) var(--pad) var(--pad-v);
  border-bottom: 1px solid var(--navy-faint);
}
.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 680px) { .page-hero-split { grid-template-columns: 1fr; } }

/* ─── CONTACT ─── */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 60vh;
  border-bottom: 1px solid var(--navy-faint);
}
.contact-rule { background: var(--navy-faint); }
.contact-left {
  padding: var(--pad-v) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-right {
  padding: var(--pad-v) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
}
@media (max-width: 800px) {
  .contact-body { grid-template-columns: 1fr; }
  .contact-rule { display: none; }
  .contact-left { border-bottom: 1px solid var(--navy-faint); min-height: auto; }
}

.contact-item-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 8px;
}
.contact-item-value {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--navy);
}
.contact-item-value a {
  text-decoration: none;
  border-bottom: 1px solid var(--navy-faint);
  transition: border-color 0.2s;
}
.contact-item-value a:hover { border-color: var(--navy); }

/* ─── ARTICLE READING ─── */
.article-full {
  padding: calc(50px + var(--pad-v)) var(--pad) var(--pad-v);
  max-width: 720px;
  margin: 0 auto;
}
.article-full .label { margin-bottom: 12px; }
.article-full h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.article-full .article-subtitle {
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--navy-dim);
  line-height: 1.6;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-faint);
}
.article-full h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  margin-top: 56px;
  margin-bottom: 20px;
  color: var(--navy);
}
.article-full h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--navy-mid);
}
.article-full p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--navy-dim);
  margin-top: 18px;
}
.article-full p strong { font-weight: 500; color: var(--navy); }
.article-full blockquote {
  margin: 40px 0;
  padding-left: 24px;
  border-left: 2px solid var(--navy-faint);
}
.article-full blockquote p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   DARK ACCENT BLOCKS
   ═══════════════════════════════════════════ */

.dark-block {
  background: var(--navy);
  color: #EDE8DF;
}

/* dark-mode overrides for shared components */
.label-dark { color: rgba(237,232,223,0.50); }
.dh-dark { color: #EDE8DF; }
.dh-dark em { color: rgba(237,232,223,0.60); }
.bt-dark { color: rgba(237,232,223,0.55); }
.bt-dark strong { color: #EDE8DF; }

.section-intro-dark { border-bottom-color: rgba(237,232,223,0.10); }

/* statement inside dark block */
.dark-block .statement-q {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-style: italic;
  color: #EDE8DF;
  max-width: 700px;
}
.dark-block-inner {
  padding: var(--pad-v) var(--pad);
}
.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid rgba(237,232,223,0.12);
}
@media (max-width: 680px) { .statement-grid { grid-template-columns: 1fr; } }
.statement-cell {
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px);
  border-right: 1px solid rgba(237,232,223,0.12);
  border-bottom: 1px solid rgba(237,232,223,0.12);
}
.statement-cell:last-child { border-right: none; }
@media (max-width: 680px) {
  .statement-cell { border-right: none; }
}
.statement-cell-num {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(237,232,223,0.35);
  margin-bottom: 12px;
}
.statement-cell p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(237,232,223,0.60);
}
.statement-kicker {
  margin-top: clamp(36px, 5vw, 56px);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(237,232,223,0.50);
  max-width: 700px;
}
.statement-kicker em {
  font-style: italic;
  color: #EDE8DF;
}

/* dark principle cards (checkerboard) */
.p-card-dark {
  background: var(--navy);
}
.p-card-dark .p-num { color: rgba(237,232,223,0.06); }
.p-card-dark .p-title { color: #EDE8DF; }
.p-card-dark .p-body { color: rgba(237,232,223,0.55); }

/* architecture dark layer rows */
.layer-index-dark {
  border-top: 1px solid rgba(237,232,223,0.10);
}
.layer-row-dark {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  align-items: baseline;
  padding: clamp(18px, 2.5vw, 26px) var(--pad);
  border-bottom: 1px solid rgba(237,232,223,0.10);
  transition: background 0.2s;
}
.layer-row-dark:hover { background: rgba(237,232,223,0.03); }
.ld-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(237,232,223,0.35);
  padding-top: 3px;
}
.ld-name {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 26px);
  font-style: italic;
  color: rgba(237,232,223,0.70);
}
.ld-desc {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(237,232,223,0.40);
  text-align: right;
  line-height: 1.5;
  padding-left: 24px;
}
.ld-highlight .ld-name { color: #EDE8DF; }
.ld-highlight .ld-num { color: rgba(237,232,223,0.60); }
.ld-highlight .ld-desc { color: rgba(237,232,223,0.60); }
.ld-highlight {
  background: rgba(237,232,223,0.04);
}
@media (max-width: 680px) {
  .layer-row-dark { grid-template-columns: 44px 1fr; }
  .ld-desc { display: none; }
}

/* expandable layer details */
.layer-expandable { cursor: pointer; }
.ld-toggle {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  color: rgba(237,232,223,0.35);
  margin-left: 10px;
  transition: transform 0.3s;
}
.layer-expandable.is-expanded .ld-toggle { transform: rotate(45deg); }
.layer-detail-dark {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
  padding: 0 var(--pad) 0 56px;
  border-bottom: 1px solid rgba(237,232,223,0.10);
}
.layer-detail-dark.is-open {
  max-height: 300px;
  padding: 0 var(--pad) clamp(20px, 3vw, 32px) 56px;
}
.layer-detail-dark p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(237,232,223,0.50);
  max-width: 640px;
}
@media (max-width: 680px) {
  .layer-detail-dark { padding-left: var(--pad); }
  .layer-detail-dark.is-open { padding-left: var(--pad); }
}

.arch-annotation {
  padding: clamp(28px, 4vw, 48px) var(--pad);
  border-top: 1px solid rgba(237,232,223,0.10);
}
.arch-annotation-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(237,232,223,0.50);
  max-width: 600px;
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: flex;
  border-bottom: 1px solid var(--navy-faint);
}
.stat-bar-item {
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--navy-faint);
  text-align: center;
  min-width: 100px;
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-num {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.stat-bar-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-top: 6px;
}
.stat-bar-context {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}
@media (max-width: 680px) {
  .stats-bar { flex-wrap: wrap; }
  .stat-bar-item { flex: 1; min-width: 80px; }
  .stat-bar-context { flex-basis: 100%; justify-content: flex-start; border-right: none; border-top: 1px solid var(--navy-faint); }
}

/* ─── CTA DARK ─── */
.cta-dark-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: var(--pad-v) var(--pad);
}
@media (max-width: 800px) { .cta-dark-inner { grid-template-columns: 1fr; } }
.cta-dark-left { display: flex; flex-direction: column; justify-content: center; }
.cta-dark-right { display: flex; flex-direction: column; justify-content: flex-end; }
.cta-body-dark {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(237,232,223,0.55);
  margin-bottom: 40px;
  max-width: 400px;
}
.text-link-dark {
  color: #EDE8DF;
  border-bottom-color: #EDE8DF;
}
.cta-aside-dark { color: rgba(237,232,223,0.40); }
.cta-aside-dark a {
  color: rgba(237,232,223,0.60);
  border-bottom-color: rgba(237,232,223,0.20);
}

/* ─── SYSTEM SECTION INTROS ─── */
.system-intro {
  background: var(--bg-warm);
  padding: var(--pad-v) var(--pad);
  border-bottom: 1px solid var(--navy-faint);
}

/* ═══════════════════════════════════════════
   SYSTEMS PAGE — ILLUSTRATIONS & ANIMATIONS
   ═══════════════════════════════════════════ */

.system-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--navy-faint);
  min-height: 420px;
}
.system-card:nth-child(even) { direction: rtl; }
.system-card:nth-child(even) > * { direction: ltr; }
@media (max-width: 800px) {
  .system-card, .system-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}

.system-card-text {
  padding: var(--pad-v) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.system-card-num {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 140px);
  font-style: italic;
  color: var(--navy-ghost);
  line-height: 0.8;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.system-card-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.system-card-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--navy-faint);
  padding: 3px 10px;
  margin-bottom: 20px;
  color: var(--navy);
}
.system-card-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--navy-dim);
  max-width: 420px;
}

.system-card-visual {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  position: relative;
}
.system-card:nth-child(even) .system-card-visual {
  background: var(--bg-warm);
}
.system-card:nth-child(even) .system-card-visual svg .node-fill { fill: var(--navy); }
.system-card:nth-child(even) .system-card-visual svg .node-stroke { stroke: var(--navy); }
.system-card:nth-child(even) .system-card-visual svg .line-stroke { stroke: rgba(26,31,53,0.15); }
.system-card:nth-child(even) .system-card-visual svg .text-fill { fill: var(--navy-dim); }
.system-card:nth-child(even) .system-card-visual svg .ghost-fill { fill: var(--navy-ghost); }

/* SVG illustration defaults (dark bg) */
.sys-illustration { width: 100%; max-width: 320px; height: auto; }
.sys-illustration .node-fill { fill: #EDE8DF; }
.sys-illustration .node-stroke { stroke: #EDE8DF; }
.sys-illustration .line-stroke { stroke: rgba(237,232,223,0.15); }
.sys-illustration .text-fill { fill: rgba(237,232,223,0.50); }
.sys-illustration .ghost-fill { fill: rgba(237,232,223,0.06); }

/* plug-and-play module animation */
@keyframes float-in {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.40; }
}
@keyframes slide-right {
  0%   { transform: translateX(-8px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes rotate-slow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes decay-fade {
  0%   { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0.15; }
}
.anim-float-1 { animation: float-in 0.8s ease-out both; animation-delay: 0.2s; }
.anim-float-2 { animation: float-in 0.8s ease-out both; animation-delay: 0.5s; }
.anim-float-3 { animation: float-in 0.8s ease-out both; animation-delay: 0.8s; }
.anim-float-4 { animation: float-in 0.8s ease-out both; animation-delay: 1.1s; }
.anim-pulse { animation: pulse-line 3s ease-in-out infinite; }
.anim-slide { animation: slide-right 1s ease-out both; animation-delay: 0.4s; }
.anim-rotate { animation: rotate-slow 20s linear infinite; transform-origin: center; }
.anim-decay { animation: decay-fade 4s ease-in-out infinite; }

/* plug-and-play connector section */
.plug-play-section {
  border-bottom: 1px solid var(--navy-faint);
  padding: var(--pad-v) var(--pad);
  text-align: center;
}
.plug-play-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: 800px;
  flex-wrap: wrap;
}
.plug-module {
  width: 120px;
  height: 120px;
  border: 1px solid var(--navy-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dim);
  transition: all 0.3s;
  position: relative;
}
.plug-module:hover {
  background: var(--navy);
  color: #EDE8DF;
  border-color: var(--navy);
}
.plug-module-icon {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.plug-module:hover .plug-module-icon { color: #EDE8DF; }
.plug-connector {
  width: 40px;
  height: 1px;
  background: var(--navy-faint);
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .plug-connector { width: 1px; height: 24px; }
  .plug-play-visual { flex-direction: column; }
}

/* ─── PRISM IMAGE ─── */
.prism-section {
  border-bottom: 1px solid var(--navy-faint);
  overflow: hidden;
}
.prism-img-wrap {
  width: 100%;
  height: clamp(280px, 40vw, 520px);
  overflow: hidden;
  position: relative;
}
.prism-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: grayscale(0.15) contrast(1.05);
  display: block;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal         { transform: translateY(32px); }
.reveal-up      { transform: translateY(48px); }
.reveal-left    { transform: translateX(-40px); }
.reveal-right   { transform: translateX(40px); }
.reveal-scale   { transform: scale(0.94); }

.reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* slower variant for big headings */
.reveal-slow {
  transition-duration: 1.1s;
}

/* reading progress bar */
.reading-progress {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 101;
  pointer-events: none;
  transition: none;
}

/* ═══════════════════════════════════════════
   PRODUCT CARD ENHANCEMENTS
   ═══════════════════════════════════════════ */

/* Hover lift for clickable product cards */
.p-card-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s;
  cursor: pointer;
}
.p-card-hover:hover {
  box-shadow: 0 24px 48px rgba(26,31,53,0.08);
}

/* Product identity accents */
.p-card-methodology {
  border-top: 3px solid var(--navy);
}
.p-card-tooling {
  border-top: 3px solid var(--navy-mid);
}
.p-card-systems {
  border-top: 3px solid var(--navy);
}

/* Product tag / label inside cards */
.p-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
  border: 1px solid var(--navy-faint);
  color: var(--navy-dim);
  transition: all 0.3s;
}
.p-card-hover:hover .p-tag {
  background: var(--navy);
  color: #EDE8DF;
  border-color: var(--navy);
}
.p-card-dark .p-tag {
  border-color: rgba(237,232,223,0.15);
  color: rgba(237,232,223,0.50);
}
.p-card-dark.p-card-hover:hover .p-tag {
  background: #EDE8DF;
  color: var(--navy);
  border-color: #EDE8DF;
}

/* Arrow indicator on product cards */
.p-card-arrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-top: auto;
  padding-top: 20px;
  transition: transform 0.3s, color 0.3s;
}
.p-card-hover:hover .p-card-arrow {
  transform: translateX(6px);
  color: var(--navy);
}
.p-card-dark .p-card-arrow { color: rgba(237,232,223,0.40); }
.p-card-dark.p-card-hover:hover .p-card-arrow { color: #EDE8DF; }

/* ═══════════════════════════════════════════
   SYSTEM CARD HOVER & VISUAL ENHANCEMENTS
   ═══════════════════════════════════════════ */

.system-card {
  transition: background 0.3s;
}
.system-card-visual {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.system-card:hover .system-card-visual svg {
  animation-play-state: running;
}

/* SVG hover glow on system visuals */
.system-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(237,232,223,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.system-card:hover .system-card-visual::after {
  opacity: 1;
}

/* Status badge pulse for live systems */
.system-card-status-live {
  position: relative;
  padding-left: 18px;
}
.system-card-status-live::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a8a6a;
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(90,138,106,0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(90,138,106,0); }
}

/* ═══════════════════════════════════════════
   ENHANCED SECTION DIVIDERS
   ═══════════════════════════════════════════ */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--navy-faint) 20%, var(--navy-faint) 80%, transparent 100%);
}

/* ═══════════════════════════════════════════
   HERO ENTRANCE
   ═══════════════════════════════════════════ */

@keyframes hero-fade-in {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes hero-line-draw {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.hero-entrance .hero-tag {
  animation: hero-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-entrance .hero-h1 .h1-line {
  display: block;
  opacity: 0;
  animation: hero-fade-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-entrance .hero-h1 .h1-line:nth-child(1) { animation-delay: 0.3s; }
.hero-entrance .hero-h1 .h1-line:nth-child(2) { animation-delay: 0.45s; }
.hero-entrance .hero-h1 .h1-line:nth-child(3) { animation-delay: 0.6s; }
.hero-entrance .hero-h1 .h1-line:nth-child(4) { animation-delay: 0.75s; }

.hero-entrance .hero-dateline {
  animation: hero-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-entrance .hero-dateline::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--navy-faint);
  margin-bottom: 16px;
  transform-origin: left;
  animation: hero-line-draw 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-entrance .hero-sub {
  animation: hero-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.hero-entrance .hero-sub + .hero-sub {
  animation-delay: 0.85s;
}
.hero-entrance .hero-ghost {
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* ═══════════════════════════════════════════
   LAYER ROW HOVER ENHANCEMENTS
   ═══════════════════════════════════════════ */

.layer-row, .layer-row-dark {
  transition: background 0.3s, padding-left 0.3s;
}
.layer-row:hover { padding-left: calc(var(--pad) + 8px); }
.layer-row-dark:hover { padding-left: calc(var(--pad) + 8px); }

/* ═══════════════════════════════════════════
   ARTICLE CARD HOVER ENHANCEMENT
   ═══════════════════════════════════════════ */

.article-card {
  transition: background 0.3s, transform 0.3s;
}
.article-card:hover .article-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* article index rows */
.article-index-row {
  transition: background 0.3s, padding-left 0.3s;
}
.article-index-row:hover {
  padding-left: calc(var(--pad) + 8px);
}

/* ═══════════════════════════════════════════
   PLUG MODULE ENTRANCE STAGGER
   ═══════════════════════════════════════════ */

.plug-module.reveal {
  transform: translateY(20px) scale(0.95);
}
.plug-module.reveal.is-visible {
  transform: translateY(0) scale(1);
}

/* ═══════════════════════════════════════════
   PAGE HERO ENTRANCE (inner pages)
   ═══════════════════════════════════════════ */

@keyframes page-hero-in {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.page-hero .label {
  animation: page-hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.page-hero .dh {
  animation: page-hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.page-hero .bt {
  animation: page-hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* ═══════════════════════════════════════════
   TEXT LINK ENHANCED HOVER
   ═══════════════════════════════════════════ */

.text-link {
  transition: opacity 0.2s, letter-spacing 0.3s;
}
.text-link:hover {
  letter-spacing: 0.18em;
  opacity: 1;
}

/* ═══════════════════════════════════════════
   ENGAGEMENT PHASE HOVER
   ═══════════════════════════════════════════ */

.eng-phase {
  transition: background 0.3s, transform 0.3s;
}
.eng-phase:hover {
  background: rgba(237,232,223,0.04);
}

/* ═══════════════════════════════════════════
   CONTACT ITEM HOVER
   ═══════════════════════════════════════════ */

.contact-right > div {
  transition: transform 0.3s;
}
.contact-right > div:hover {
  transform: translateX(6px);
}

/* ═══════════════════════════════════════════
   EDITORIAL — shared typography
   ═══════════════════════════════════════════ */
.spread-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 24px;
}
.spread-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  margin-bottom: 36px;
}
.spread-heading em { font-style: italic; }
.spread-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--navy-mid);
  margin-bottom: 16px;
  max-width: 480px;
}

/* ═══════════════════════════════════════════
   EDITORIAL — grid spreads
   Image fills one column edge-to-edge.
   Text sits in the other with generous padding.
   ═══════════════════════════════════════════ */
.editorial-spread {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 92vh;
}
.editorial-spread.img-right {
  grid-template-columns: 2fr 3fr;
}
.editorial-spread.spread-dark {
  background: var(--navy);
}

.editorial-spread-img {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.editorial-spread-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
}
.editorial-spread.img-right .editorial-spread-img img {
  object-position: right bottom;
}
.editorial-spread.spread-top .editorial-spread-img {
  align-items: flex-start;
}
.editorial-spread.spread-top .editorial-spread-img img {
  object-position: right top;
}

.editorial-spread-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 140px) clamp(48px, 6vw, 96px);
}

/* dark overrides for both layouts */
.spread-dark .spread-label,
.flow-dark .spread-label { color: rgba(255,255,255,0.4); }
.spread-dark .spread-heading,
.flow-dark .spread-heading { color: #fff; }
.spread-dark .spread-body,
.flow-dark .spread-body { color: rgba(255,255,255,0.65); }
.spread-dark .text-link,
.flow-dark .text-link { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════
   EDITORIAL — flow layouts
   Image floats within text. shape-outside wraps
   text around the transparent image contour.
   ═══════════════════════════════════════════ */
.editorial-flow {
  padding: clamp(80px, 10vw, 160px) var(--pad);
  overflow: hidden;
  min-height: 80vh;
}
.editorial-flow .spread-label { display: block; }
.editorial-flow .spread-heading {
  font-size: clamp(36px, 5vw, 64px);
}
.editorial-flow .text-link {
  display: inline-block;
  margin-top: 12px;
}
.editorial-flow.flow-dark {
  background: var(--navy);
}
.flow-img {
  height: auto;
  shape-margin: 28px;
}
.flow-img.flow-right {
  float: right;
  width: clamp(260px, 42vw, 560px);
  margin: 0 0 24px 40px;
}
.flow-img.flow-left {
  float: left;
  width: clamp(260px, 42vw, 560px);
  margin: 0 40px 24px 0;
}

/* ═══════════════════════════════════════════
   EDITORIAL — responsive
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .editorial-spread {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .editorial-spread-img {
    min-height: 50vh;
  }
  .flow-img.flow-right,
  .flow-img.flow-left {
    float: none;
    width: 100%;
    margin: 0 0 32px 0;
    shape-outside: none;
  }
}
