/* ===========================================================
   KOPYAN HOLDING — Shared Stylesheet
   =========================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #0A0908;
  --bg-2: #100E0C;
  --surface: #14110F;
  --surface-2: #1B1815;
  --border: #2A2520;
  --border-strong: #3A3328;
  --gold: #C9A961;
  --gold-bright: #E5C57B;
  --gold-deep: #8A6F3B;
  --gold-soft: rgba(201, 169, 97, 0.15);
  --ivory: #EDE6D6;
  --ivory-bright: #F5F0E1;
  --muted: #8C8579;
  --muted-2: #5E584F;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } }

/* Film grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
@media (pointer: fine) { a, button, [role="button"] { cursor: none; } }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }
.gold { color: var(--gold); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-2px);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 8vw, 112px); line-height: 1.02; }
h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; }
p.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--ivory); font-weight: 300; max-width: 56ch; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ---------- Custom Cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid var(--gold);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease, opacity 0.3s ease;
}
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--gold-bright); }
.cursor-dot.hover { opacity: 0; }
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  z-index: 9999;
  width: 0%;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
}

/* ---------- Page Transition Overlay ---------- */
/* Default hidden so crawlers / no-JS users see content immediately */
.page-overlay {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.page-overlay.leaving { opacity: 1; pointer-events: all; }

/* ---------- Navigation ---------- */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, padding 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  transform: rotate(45deg);
  transition: transform 0.7s var(--ease), border-color 0.4s ease;
  flex-shrink: 0;
}
.brand-mark span { transform: rotate(-45deg); display: block; }
.brand:hover .brand-mark { transform: rotate(225deg); border-color: var(--gold-bright); }
.brand-name-wrap { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--ivory-bright);
  font-weight: 500;
}
.brand-tag {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.36em;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ivory);
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--ivory);
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border: 1px solid var(--gold);
  padding: 9px 18px;
  color: var(--gold) !important;
  transition: background 0.4s ease, color 0.4s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  padding: 4px;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 100px 32px 32px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ivory-bright);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none; border: none;
  color: var(--ivory);
  font-size: 32px;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.4s var(--ease);
  font-family: var(--sans);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--gold); }
.btn:hover::before { transform: translateX(0); }
.btn.solid { background: var(--gold); color: var(--bg); }
.btn.solid::before { background: var(--ivory-bright); }
.btn.solid:hover { color: var(--bg); border-color: var(--ivory-bright); }
.btn .arrow { display: inline-block; transition: transform 0.4s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { border-color: var(--border-strong); color: var(--ivory); }
.btn-ghost::before { background: var(--ivory); }
.btn-ghost:hover { color: var(--bg); border-color: var(--ivory); }

/* Magnetic-ready button */
.magnetic { display: inline-flex; transition: transform 0.2s var(--ease); }

/* ---------- Sections ---------- */
section { position: relative; padding: 140px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}
.section-head .left .eyebrow { margin-bottom: 24px; display: block; }
.section-head h2 { color: var(--ivory-bright); }
.section-head .right { padding-top: 8px; }
.section-head .right p { color: var(--muted); font-size: 17px; max-width: 60ch; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* Text rise (per-line) */
.line-mask { overflow: hidden; display: inline-block; vertical-align: top; }
.line-mask > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineRise 1.1s var(--ease) forwards;
}
.line-mask.d1 > span { animation-delay: 0.15s; }
.line-mask.d2 > span { animation-delay: 0.3s; }
.line-mask.d3 > span { animation-delay: 0.45s; }
@keyframes lineRise { to { transform: translateY(0); } }
.fade-in { opacity: 0; animation: fadeIn 1s ease 0.8s forwards; }
.fade-in.d1 { animation-delay: 1s; }
.fade-in.d2 { animation-delay: 1.2s; }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Hero (variants) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 0 120px;
}
.hero.compact { min-height: 70vh; padding: 180px 0 100px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(138, 111, 59, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #100E0C 60%, var(--bg) 100%);
}
.hero-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(201,169,97,0.04) 1px, transparent 1px);
  background-size: 12.5% 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: var(--ivory-bright); margin-bottom: 36px; max-width: 14ch; }
.hero h1 .italic-word { font-style: italic; color: var(--gold); font-weight: 300; }
.hero-eyebrow { margin-bottom: 36px; display: block; }
.hero-sub { max-width: 56ch; color: var(--ivory); margin-bottom: 56px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.scroll-cue .line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}
.hero-meta {
  position: absolute;
  bottom: 40px; right: 32px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.8;
}
.hero-meta strong { color: var(--gold); font-weight: 500; }

/* ---------- Identity ---------- */
.identity {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 0;
}
.identity-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  align-items: center;
}
.identity-mark {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.identity-mark::before,
.identity-mark::after {
  content: '';
  position: absolute;
  background: var(--gold);
  opacity: 0.6;
}
.identity-mark::before { top: -1px; left: 30%; right: 30%; height: 1px; }
.identity-mark::after { bottom: -1px; left: 30%; right: 30%; height: 1px; }
.monogram {
  font-family: var(--serif);
  font-size: clamp(140px, 18vw, 220px);
  color: var(--gold);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.04em;
  position: relative;
}
.monogram .small {
  position: absolute;
  top: 0; right: -32px;
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.identity-text h2 { color: var(--ivory-bright); margin-bottom: 30px; }
.identity-text p { color: var(--ivory); font-size: 19px; line-height: 1.7; margin-bottom: 22px; font-weight: 300; }
.identity-text .signature {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 22px;
  margin-top: 28px;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat {
  background: var(--bg-2);
  padding: 40px 28px;
  text-align: left;
  transition: background 0.5s ease;
}
.stat:hover { background: var(--surface); }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--ivory-bright);
  line-height: 1;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-value .unit { font-size: 0.5em; color: var(--gold); font-weight: 300; }
.stat-value .prefix { color: var(--gold); font-size: 0.7em; font-weight: 300; margin-right: 2px; }
.stat-label {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-rule { height: 1px; width: 36px; background: var(--gold); margin-top: 16px; transition: width 0.5s var(--ease); }
.stat:hover .stat-rule { width: 80px; }

/* ---------- Platform Tabs ---------- */
.platforms-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
  overflow-x: auto;
}
.platform-tab {
  background: none;
  border: none;
  color: var(--muted);
  padding: 22px 32px 22px 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.4s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 48px;
}
.platform-tab .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted-2);
  font-style: italic;
}
.platform-tab:hover { color: var(--ivory); }
.platform-tab.active { color: var(--gold); }
.platform-tab.active .num { color: var(--gold); }
.platform-tab::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: calc(100% - 48px);
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.platform-tab.active::after { transform: scaleX(1); }
.platform-panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  animation: panelFade 0.7s var(--ease);
}
.platform-panel.active { display: grid; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.platform-panel .left h3 {
  font-size: clamp(34px, 4vw, 54px);
  color: var(--ivory-bright);
  margin-bottom: 24px;
  line-height: 1.05;
}
.platform-panel .left h3 em { color: var(--gold); font-style: italic; }
.platform-panel .left p { color: var(--ivory); font-size: 18px; line-height: 1.7; margin-bottom: 28px; font-weight: 300; max-width: 54ch; }
.platform-meta { border-top: 1px solid var(--border); margin-top: 20px; }
.meta-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  gap: 24px;
}
.meta-row .k {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-row .v { color: var(--ivory); font-size: 15px; line-height: 1.6; }

.platform-visual {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease;
}
.platform-visual:hover { border-color: var(--gold-deep); }
.visual-inner { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; }
.visual-shape {
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  position: relative;
  transform: rotate(45deg);
  animation: floatRotate 18s linear infinite;
}
.visual-shape::before, .visual-shape::after {
  content: '';
  position: absolute;
  inset: 14%;
  border: 1px solid var(--gold-deep);
  opacity: 0.6;
}
.visual-shape::after { inset: 28%; border-color: var(--gold); opacity: 0.4; }
@keyframes floatRotate { from { transform: rotate(45deg); } to { transform: rotate(405deg); } }
.platform-visual.pi .visual-shape { border-radius: 50%; transform: rotate(0deg); animation: floatRotateCircle 24s linear infinite; }
.platform-visual.pi .visual-shape::before, .platform-visual.pi .visual-shape::after { border-radius: 50%; }
@keyframes floatRotateCircle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.platform-visual.sh .visual-shape { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); border: none; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); opacity: 0.15; transform: rotate(0deg); animation: floatRotateDiamond 22s linear infinite; }
.platform-visual.sh .visual-shape::before, .platform-visual.sh .visual-shape::after { display: none; }
@keyframes floatRotateDiamond { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.platform-visual.sh .visual-inner::before {
  content: '';
  position: absolute;
  inset: 35%;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
/* Digital Assets — hexagonal grid */
.platform-visual.da .visual-shape {
  border: none;
  background: none;
  transform: rotate(0deg);
  animation: floatRotateHex 20s linear infinite;
  position: relative;
}
.platform-visual.da .visual-shape::before,
.platform-visual.da .visual-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, var(--gold) 1.5px, transparent 2px),
    radial-gradient(circle at 0% 0%, var(--gold-deep) 1.5px, transparent 2px),
    radial-gradient(circle at 100% 0%, var(--gold-deep) 1.5px, transparent 2px),
    radial-gradient(circle at 0% 100%, var(--gold-deep) 1.5px, transparent 2px),
    radial-gradient(circle at 100% 100%, var(--gold-deep) 1.5px, transparent 2px);
  border: 1px solid var(--gold);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  opacity: 1;
  inset: 0;
}
.platform-visual.da .visual-shape::after {
  inset: 14%;
  opacity: 0.6;
  border: 1px solid var(--gold-deep);
}
@keyframes floatRotateHex { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.platform-visual.da .visual-inner::after {
  content: '';
  position: absolute;
  inset: 38%;
  border: 1px solid var(--gold);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.platform-visual .corner-label {
  position: absolute; top: 24px; left: 24px;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}
.platform-visual .corner-num {
  position: absolute; bottom: 24px; right: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 60px;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}

/* ---------- Principles (collapsible) ---------- */
.principles { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.principle {
  background: var(--bg);
  padding: 56px 48px;
  position: relative;
  transition: background 0.5s ease;
}
.principle:hover { background: var(--surface); }
.principle-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.principle-num::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border-strong);
  transition: background 0.5s ease;
}
.principle:hover .principle-num::after { background: var(--gold); }
.principle h3 { font-size: 32px; color: var(--ivory-bright); margin-bottom: 18px; line-height: 1.15; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 48ch; }

.principle-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.4s ease;
  opacity: 0;
}
.principle.open .principle-expand {
  max-height: 600px;
  opacity: 1;
  margin-top: 22px;
}
.principle-toggle {
  margin-top: 24px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.principle-toggle .plus {
  display: inline-block;
  width: 14px; height: 14px;
  position: relative;
}
.principle-toggle .plus::before,
.principle-toggle .plus::after {
  content: ''; position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}
.principle-toggle .plus::before { top: 6px; left: 0; right: 0; height: 1px; }
.principle-toggle .plus::after { left: 6px; top: 0; bottom: 0; width: 1px; }
.principle.open .principle-toggle .plus::after { transform: scaleY(0); }

/* ---------- Heritage ---------- */
.heritage {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.heritage-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201, 169, 97, 0.08), transparent 60%);
  pointer-events: none;
}
.heritage-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.heritage h2 { color: var(--ivory-bright); margin-bottom: 32px; }
.heritage p { color: var(--ivory); font-size: 18px; line-height: 1.7; margin-bottom: 22px; font-weight: 300; max-width: 54ch; }
.heritage .pull {
  margin: 40px 0;
  padding: 28px 0 28px 32px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--ivory-bright);
  line-height: 1.35;
  max-width: 40ch;
}
.crest { aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.crest svg { width: 100%; height: 100%; max-width: 460px; }
.crest path, .crest line, .crest circle, .crest text { transition: opacity 0.6s ease; }

/* ---------- Insights ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.insight {
  background: var(--bg-2);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.5s ease, transform 0.5s var(--ease);
  min-height: 380px;
  position: relative;
  color: inherit;
}
.insight:hover { background: var(--surface); }
.insight .tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.insight .date { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 14px; }
.insight h3 {
  font-size: 26px;
  color: var(--ivory-bright);
  line-height: 1.25;
  margin: 6px 0 12px;
  transition: color 0.4s ease;
}
.insight:hover h3 { color: var(--gold); }
.insight p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.insight-more {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.insight-more .arrow { transition: transform 0.4s ease; }
.insight:hover .insight-more .arrow { transform: translateX(6px); }

/* Insight filters */
.insight-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  padding: 10px 22px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-weight: 500;
}
.filter-btn:hover { color: var(--ivory); border-color: var(--muted); }
.filter-btn.active { color: var(--gold); border-color: var(--gold); background: var(--gold-soft); }

/* ---------- Article (insight detail) ---------- */
.article-hero { padding: 180px 0 80px; }
.article-meta {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.article-meta .tag { color: var(--gold); }
.article-meta .date { color: var(--muted); font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 14px; }
.article-meta .reading { color: var(--muted); }
.article-hero h1 { font-size: clamp(40px, 5.5vw, 76px); color: var(--ivory-bright); max-width: 22ch; line-height: 1.05; margin-bottom: 32px; }
.article-hero .lede { font-size: clamp(19px, 1.6vw, 24px); max-width: 60ch; line-height: 1.6; color: var(--ivory); font-family: var(--serif); }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 100px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ivory);
  font-weight: 300;
}
.article-body p { margin-bottom: 28px; }
.article-body p.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 78px;
  float: left;
  line-height: 0.85;
  padding: 8px 16px 0 0;
  color: var(--gold);
  font-weight: 400;
}
.article-body h2 {
  font-size: 36px;
  color: var(--ivory-bright);
  margin: 56px 0 22px;
  line-height: 1.15;
}
.article-body h3 {
  font-size: 24px;
  color: var(--ivory-bright);
  margin: 40px 0 16px;
}
.article-body blockquote {
  margin: 40px 0;
  padding: 24px 0 24px 32px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ivory-bright);
  line-height: 1.4;
}
.article-body ul { margin: 0 0 28px 24px; }
.article-body li { margin-bottom: 12px; }
.article-body strong { color: var(--ivory-bright); font-weight: 500; }
.article-body em { color: var(--gold); }
.article-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 56px 0;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.article-byline strong { color: var(--ivory); font-weight: 500; }

.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold-bright);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 10px var(--gold);
}

/* Related insights */
.related {
  border-top: 1px solid var(--border);
  padding: 80px 0;
  background: var(--bg-2);
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.contact h2 { color: var(--ivory-bright); margin-bottom: 28px; max-width: 14ch; }
.contact .lede { color: var(--ivory); margin-bottom: 40px; }

.contact-meta { margin-top: 50px; border-top: 1px solid var(--border); }
.contact-meta-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.contact-meta-row .k {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.contact-meta-row .v {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 22px;
  transition: color 0.3s ease;
}
.contact-meta-row a.v:hover { color: var(--gold); }

/* Form */
.form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.form-step {
  display: none;
  animation: fadeStep 0.5s var(--ease);
}
.form-step.active { display: block; }
@keyframes fadeStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
}
.form-progress div {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}
.form-progress div.done { background: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-field { display: flex; flex-direction: column; position: relative; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.4s ease;
  resize: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-bottom-color: #C25A4A; }
.form-field .err {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #C25A4A;
  opacity: 0;
  transition: opacity 0.3s;
}
.form-field.invalid .err { opacity: 1; }
.form-field select { appearance: none; padding-right: 24px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 14px, calc(100% - 7px) 14px; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field select option { background: var(--bg-2); color: var(--ivory); }
.form .btn { margin-top: 16px; }
.form .btn-row { display: flex; gap: 12px; margin-top: 16px; }
.form-note { font-size: 11px; color: var(--muted); margin-top: 20px; text-align: center; letter-spacing: 0.06em; line-height: 1.6; }

.form-success {
  position: absolute; inset: 0;
  background: var(--bg-2);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px;
  flex-direction: column;
  gap: 18px;
}
.form-success.show { display: flex; animation: fadeIn 0.6s var(--ease) forwards; }
.form-success .check {
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 12px;
  position: relative;
}
.form-success .check::before {
  content: '';
  width: 18px; height: 9px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg) translateY(-3px);
}
.form-success h3 { color: var(--ivory-bright); }
.form-success p { color: var(--muted); max-width: 38ch; }

/* ---------- Email Contact Cards ---------- */
.email-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.email-card {
  background: var(--bg-2);
  padding: 50px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  color: inherit;
  transition: background 0.5s ease, transform 0.5s var(--ease);
  position: relative;
  min-height: 320px;
}
.email-card:hover { background: var(--surface); }
.email-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.email-addr {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--ivory-bright);
  line-height: 1.2;
  margin: 4px 0 14px;
  word-break: break-word;
  transition: color 0.3s ease;
}
.email-card:hover .email-addr { color: var(--gold); }
.email-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.email-cta {
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-cta .arrow { transition: transform 0.4s ease; }
.email-card:hover .email-cta .arrow { transform: translateX(6px); }
@media (max-width: 1024px) {
  .email-grid { grid-template-columns: 1fr; }
  .email-card { min-height: auto; }
}

/* ---------- Amelie credit ---------- */
.amelie {
  color: var(--muted-2) !important;
  font-style: italic;
  margin-left: auto;
}
.amelie:hover { color: var(--gold) !important; }
@media (max-width: 1024px) {
  .amelie { margin-left: 0; }
}

/* ---------- Private Portal ---------- */
.portal {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 32px 120px;
  position: relative;
}
.portal::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201, 169, 97, 0.08), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(138, 111, 59, 0.06), transparent 60%);
  pointer-events: none;
}
.portal-frame { position: relative; width: 100%; max-width: 520px; z-index: 1; }
.portal-brand {
  text-align: center;
  margin-bottom: 36px;
}
.portal-brand .brand-mark {
  margin: 0 auto 16px;
  width: 44px; height: 44px;
  font-size: 22px;
}
.portal-brand .brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--ivory-bright);
}
.portal-brand .brand-tag {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 6px;
}
.portal-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 50px 44px;
  position: relative;
}
.portal-state {
  display: none;
  animation: portalFade 0.5s var(--ease);
}
.portal-state.active { display: block; }
@keyframes portalFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.portal-state .eyebrow { display: block; margin-bottom: 18px; }
.portal-state h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--ivory-bright);
  margin-bottom: 12px;
  line-height: 1.1;
}
.portal-state .portal-lede {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 42ch;
}
.portal-form { display: flex; flex-direction: column; gap: 22px; }
.portal-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.portal-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.3s;
  letter-spacing: 0;
  text-transform: none;
}
.portal-form input::placeholder { color: var(--muted-2); }
.portal-form input:focus { outline: none; border-bottom-color: var(--gold); }
.portal-form input.is-valid { border-bottom-color: var(--gold-deep); }
.portal-form input.is-invalid { border-bottom-color: #C25A4A; }
.portal-form .field-hint {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  margin-top: 8px;
  text-transform: none;
  font-weight: 400;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, color 0.3s ease;
}
.portal-form input.is-invalid ~ .field-hint {
  opacity: 1;
  max-height: 24px;
  color: #C25A4A;
}
.portal-form button[type="submit"] {
  margin-top: 14px;
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  padding: 15px 22px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  font-family: var(--sans);
}
.portal-form button[type="submit"]:hover { background: var(--ivory-bright); border-color: var(--ivory-bright); }
.portal-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.portal-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.portal-links a {
  color: var(--gold);
  transition: color 0.3s;
}
.portal-links a:hover { color: var(--ivory-bright); }
.portal-links .sep { color: var(--muted-2); }
.portal-success {
  display: none;
  text-align: center;
  padding: 16px 0;
  color: var(--ivory);
}
.portal-success.show { display: block; animation: portalFade 0.5s var(--ease); }
.portal-success .check {
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  position: relative;
}
.portal-success .check::before {
  content: '';
  width: 18px; height: 9px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg) translateY(-3px);
}
.portal-success h3 {
  color: var(--ivory-bright);
  font-size: 26px;
  margin-bottom: 10px;
}
.portal-success p {
  color: var(--muted);
  font-size: 14px;
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.7;
}
.portal-note {
  margin-top: 26px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  font-style: italic;
}
@media (max-width: 640px) {
  .portal { padding: 130px 18px 80px; }
  .portal-card { padding: 36px 28px; }
}

/* Portal error state (used in place of success on auth failure) */
.portal-error {
  display: none;
  text-align: center;
  padding: 16px 0;
  color: var(--ivory);
}
.portal-error.show { display: block; animation: portalFade 0.5s var(--ease); }
.portal-error .mark {
  width: 56px; height: 56px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  position: relative;
  opacity: 0.9;
}
.portal-error .mark::before,
.portal-error .mark::after {
  content: '';
  position: absolute;
  width: 22px; height: 1px;
  background: var(--gold);
}
.portal-error .mark::before { transform: rotate(45deg); }
.portal-error .mark::after { transform: rotate(-45deg); }
.portal-error h3 {
  color: var(--ivory-bright);
  font-size: 26px;
  margin-bottom: 10px;
}
.portal-error p {
  color: var(--muted);
  font-size: 14px;
  max-width: 38ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- 404 page ---------- */
.four-oh-four {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 180px 0 120px;
  overflow: hidden;
}
.four-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.four-number {
  font-family: var(--serif);
  font-size: clamp(120px, 22vw, 280px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.05em;
  margin-bottom: 40px;
  display: flex;
  gap: 0;
  align-items: center;
  user-select: none;
}
.four-number span { display: inline-block; }
.four-number .zero {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  text-stroke: 1.5px var(--gold);
  animation: zeroSpin 14s linear infinite;
  display: inline-block;
  transform-origin: center;
}
@keyframes zeroSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.four-oh-four h1 {
  font-size: clamp(40px, 6vw, 80px);
  color: var(--ivory-bright);
  line-height: 1.05;
  margin: 24px 0 28px;
  max-width: 18ch;
}
.four-oh-four h1 .italic-word { color: var(--gold); font-style: italic; }
.four-oh-four .lede {
  max-width: 56ch;
  color: var(--ivory);
  margin-bottom: 48px;
}
.four-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.four-suggest {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.four-suggest .eyebrow { display: block; margin-bottom: 22px; }
.four-suggest ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.four-suggest li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 22px;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
  padding-right: 16px;
}
.four-suggest li a:hover { color: var(--gold); padding-left: 8px; }
.four-suggest li a .arrow { transition: transform 0.4s ease; }
.four-suggest li a:hover .arrow { transform: translateX(6px); }
@media (max-width: 900px) {
  .four-suggest ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .four-suggest ul { grid-template-columns: 1fr; }
}

/* ---------- Tilt Card ---------- */
.tilt {
  transition: transform 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 40px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-grid h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-family: var(--sans);
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { color: var(--ivory); font-size: 14px; transition: color 0.3s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid .brand-block .brand-name { color: var(--ivory-bright); }
.footer-grid .brand-block p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 18px; max-width: 38ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .legal { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- Process timeline (approach) ---------- */
.process {
  position: relative;
  padding-left: 32px;
  margin-top: 60px;
}
.process::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 8px;
  width: 1px;
  background: var(--border-strong);
}
.process-step {
  position: relative;
  padding-bottom: 60px;
}
.process-step::before {
  content: '';
  position: absolute;
  left: -29px; top: 8px;
  width: 11px; height: 11px;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background 0.4s ease, transform 0.4s var(--ease);
}
.process-step:hover::before { background: var(--gold); transform: scale(1.4); }
.process-step .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.process-step h3 { color: var(--ivory-bright); margin-bottom: 14px; font-size: 28px; }
.process-step p { color: var(--muted); max-width: 56ch; font-size: 15px; line-height: 1.7; }

/* ---------- Heritage timeline ---------- */
.h-timeline { margin-top: 60px; }
.h-event {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}
.h-event:hover { background: rgba(201, 169, 97, 0.03); }
.h-event .yr {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
}
.h-event h4 { color: var(--ivory-bright); margin-bottom: 8px; font-size: 22px; }
.h-event p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Values grid (heritage) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 50px;
}
.value {
  background: var(--bg-2);
  padding: 40px 32px;
  transition: background 0.4s ease;
}
.value:hover { background: var(--surface); }
.value .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 14px; margin-bottom: 18px; }
.value h4 { color: var(--ivory-bright); font-size: 22px; margin-bottom: 12px; }
.value p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .section-head, .identity-inner, .heritage-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .platform-panel { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-meta-row { grid-template-columns: 1fr; gap: 6px; }
  .h-event { grid-template-columns: 100px 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  nav.top { padding: 18px 22px; }
  section { padding: 100px 0; }
  .hero { padding: 140px 0 80px; }
  .form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .platform-tab { margin-right: 24px; padding-right: 12px; font-size: 11px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px; }
  .principle { padding: 36px 28px; }
  .insight { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .hero-meta { display: none; }
  .article-meta { flex-direction: column; gap: 12px; }
  .h-event { grid-template-columns: 1fr; gap: 4px; }
  .h-event .yr { font-size: 22px; }
}
