/* ============================================================
   AWOHASONG TRADING INSTITUTE — SHARED STYLESHEET
   Palette: White / Black / Gold
   Type: Montserrat (headings) · Lato (body)
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Core palette (from brief) */
  --white:        #FFFFFF;
  --black:        #000000;
  --gold:         #C9A14A;

  /* Supporting tones derived from the core three */
  --gold-deep:    #A8863A;   /* hover / pressed */
  --gold-pale:    #F3EADA;   /* tinted fills */
  --gold-line:    rgba(201, 161, 74, 0.32);
  --paper:        #FBFAF7;   /* section alternation */
  --ink-muted:    #5A5A5A;   /* secondary body text */
  --ink-faint:    #8A8A8A;
  --rule:         #E6E2D8;

  /* Type scale — 1.25 ratio */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.95rem;
  --fs-3xl:  2.45rem;
  --fs-4xl:  3.05rem;

  /* Spacing */
  --gutter:  clamp(1.25rem, 5vw, 4rem);
  --sect-y:  clamp(4rem, 9vw, 7.5rem);
  --maxw:    1200px;
  --maxw-text: 68ch;

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { margin: 0; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5,
.eyebrow, .btn, .nav-link, .logo-word, .stat-num {
  font-family: 'Montserrat', system-ui, sans-serif;
}

h1 {
  font-size: clamp(2.1rem, 5.6vw, var(--fs-4xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, var(--fs-3xl));
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.35;
}

.lede {
  font-size: clamp(var(--fs-base), 2.1vw, var(--fs-lg));
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: var(--maxw-text);
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin: 0 0 0.9rem;
}

.muted { color: var(--ink-muted); }
.gold  { color: var(--gold); }

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sect-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.75rem); }
.section--paper { background: var(--paper); }

.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark .lede,
.section--dark .muted { color: rgba(255, 255, 255, 0.72); }
.section--dark .eyebrow { color: var(--gold); }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

.stack > * + * { margin-top: 1.15rem; }

/* Gold hairline divider */
.rule {
  border: 0;
  height: 1px;
  background: var(--gold-line);
  margin: 0;
}
.rule--short {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0 0;
}
.center .rule--short { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease),
              color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn--outline {
  background: var(--black);
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--black);
  color: var(--gold);
}

.section--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.section--dark .btn--ghost:hover { background: var(--white); color: var(--black); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.center .btn-row { justify-content: center; }

/* ---------- 6. HEADER / NAV ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
  border-bottom-color: var(--gold-line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-word b {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.logo-word span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.55rem 0.72rem;
  font-size: 0.815rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--gold-deep); font-weight: 600; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 0.6rem;
  padding: 0.62rem 1.25rem;
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--black);
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); background: var(--gold); }
body.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); background: var(--gold); }

@media (max-width: 1080px) {
  .nav-link { padding: 0.55rem 0.55rem; font-size: 0.78rem; }
}

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: block;
    padding: 2rem var(--gutter) 3rem;
    background: var(--black);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li { border-bottom: 1px solid rgba(201, 161, 74, 0.22); }
  .nav-link {
    color: var(--white);
    font-size: 1.05rem;
    padding: 1.05rem 0;
  }
  .nav-link[aria-current="page"] { color: var(--gold); }
  .nav-link::after { left: 0; right: auto; width: 26px; bottom: 0.7rem; }
  .nav-cta { margin: 1.75rem 0 0; width: 100%; }
}

main { padding-top: var(--header-h); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
  background: var(--white);
}

/* gold geometric lines behind hero text */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-globe { order: -1; }
}

.hero h1 { margin-bottom: 1.4rem; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gold-line);
}
@media (max-width: 900px) { .hero-meta { text-align: center; } }

.stat-num {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
}
.stat-lbl {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  margin-top: 0.4rem;
}

/* Globe */
.hero-globe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.globe-svg { width: min(100%, 460px); height: auto; }
.globe-rotor { transform-origin: 200px 200px; animation: globe-spin 44s linear infinite; }
@keyframes globe-spin { to { transform: rotate(360deg); } }

.globe-marker circle { animation: pulse 3.2s ease-in-out infinite; }
.globe-marker:nth-of-type(2) circle { animation-delay: 1.05s; }
.globe-marker:nth-of-type(3) circle { animation-delay: 2.1s; }
@keyframes pulse {
  0%, 100% { opacity: 1; r: 4.5; }
  50%      { opacity: 0.45; r: 6.5; }
}

/* ---------- 8. CARDS ---------- */
.card {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.75rem; }
.card p  { color: var(--ink-muted); font-size: var(--fs-sm); }

.card--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--gold);
}
.card--dark p { color: rgba(255, 255, 255, 0.72); }

.card--flat:hover { transform: none; }

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.15rem;
  color: var(--gold);
}

/* Pillar columns split by gold vertical dividers */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
}
.pillars > div { padding-inline: clamp(0.5rem, 2vw, 1.5rem); }
.pillars > div + div { border-left: 1px solid var(--gold-line); }
@media (max-width: 780px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars > div + div {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
    padding-top: 1.75rem;
  }
}

/* ---------- 9. SESSION CLOCK CARDS ---------- */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
@media (max-width: 860px) { .sessions-grid { grid-template-columns: 1fr; } }

.session {
  position: relative;
  padding: 1.85rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--rule);
  border-radius: 2px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.session.is-open {
  border-color: var(--gold-line);
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,161,74,0.06), transparent 55%);
}

.session-city {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.session-city h3 { font-size: var(--fs-lg); }
.session-zone {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.session-time {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.1rem, 5vw, 2.7rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 0.9rem 0 0.15rem;
}
.session-date { font-size: var(--fs-xs); color: var(--ink-faint); }

.session-hours {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.session-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.session-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
}
.session.is-open .session-status { color: var(--gold-deep); }
.session.is-open .session-status .dot {
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 161, 74, 0.55);
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring {
  70%  { box-shadow: 0 0 0 9px rgba(201, 161, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 161, 74, 0); }
}

/* Overlap banner */
.overlap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-pale);
  border-radius: 2px;
  font-size: var(--fs-sm);
}
.overlap[data-active="false"] {
  background: var(--paper);
  border-color: var(--rule);
  color: var(--ink-muted);
}
.overlap b { font-family: 'Montserrat', sans-serif; font-weight: 600; }

/* Dark variant for the sessions page */
.section--dark .session {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.14);
  border-top-color: rgba(255,255,255,0.2);
}
.section--dark .session.is-open {
  border-color: var(--gold-line);
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,161,74,0.12), transparent 55%);
}
.section--dark .session-hours { border-top-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.66); }
.section--dark .session-date,
.section--dark .session-zone { color: rgba(255,255,255,0.5); }
.section--dark .session-status { color: rgba(255,255,255,0.5); }
.section--dark .session.is-open .session-status { color: var(--gold); }

/* Liquidity timeline — one lane per centre, city names in a left gutter
   so an overlapping band can never sit on top of a label. */
.liq-chart {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  margin-top: 0.5rem;
}

.liq-city {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.liq-lane {
  position: relative;
  height: 34px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-bottom: 0;
  overflow: hidden;
}
.liq-lane--last { border-bottom: 1px solid var(--rule); }

.liq-band {
  position: absolute;
  top: 5px; bottom: 5px;
  z-index: 1;
  background: rgba(201, 161, 74, 0.32);
  border-inline: 1px solid var(--gold);
  border-radius: 1px;
}
.liq-ov {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 2;
  background: rgba(201, 161, 74, 0.3);
  border-inline: 1px dashed var(--gold-deep);
}
.liq-now {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  z-index: 3;
  background: var(--black);
}

.liq-axis {
  display: flex;
  justify-content: space-between;
  padding-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.liq-key {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.liq-key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.liq-key i {
  width: 22px; height: 11px;
  border-radius: 1px;
  background: rgba(201, 161, 74, 0.32);
  border-inline: 1px solid var(--gold);
}
.liq-key i.ov { background: rgba(201, 161, 74, 0.55); border-inline-style: dashed; }
.liq-key i.now { width: 2px; background: var(--black); border: 0; }

@media (max-width: 520px) {
  .liq-city { font-size: 0.66rem; padding-right: 0.55rem; }
  .liq-lane { height: 30px; }
}

/* ---------- 10. COUNTDOWN ---------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.6vw, 1rem);
  max-width: 620px;
}
.center .countdown { margin-inline: auto; }

.cd-unit {
  padding: 1.1rem 0.5rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  text-align: center;
}
.cd-unit b {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 300;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-unit span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Montserrat', sans-serif;
}

/* ---------- 11. SCHEDULE / TABLES ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.grid-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.grid-table th,
.grid-table td {
  text-align: left;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.grid-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  border-bottom-color: var(--gold-line);
}
.grid-table tbody tr:last-child td { border-bottom: 0; }
.grid-table td b { font-family: 'Montserrat', sans-serif; font-weight: 600; }

.section--dark .grid-table th { color: var(--gold); border-bottom-color: var(--gold-line); }
.section--dark .grid-table td { border-bottom-color: rgba(255,255,255,0.14); }

.tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--gold-deep);
  background: var(--gold-pale);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
}
.section--dark .tag { background: transparent; color: var(--gold); }

/* ---------- 12. NEWS TICKER ---------- */
.ticker {
  position: relative;
  border-block: 1px solid var(--gold-line);
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background: var(--black);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  z-index: 2;
}
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-rail {
  display: flex;
  width: max-content;
  animation: ticker-scroll 48s linear infinite;
}
.ticker:hover .ticker-rail { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-rail span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.6rem;
  font-size: var(--fs-sm);
  white-space: nowrap;
  color: var(--ink-muted);
}
.ticker-rail span::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- 13. AIWTS ENGINE DIAGRAM ---------- */
.engine-diagram {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
@media (max-width: 880px) { .engine-diagram { grid-template-columns: 1fr; } }

.diagram-svg { width: 100%; height: auto; }
.node { cursor: pointer; }
.node circle {
  fill: var(--white);
  stroke: var(--gold);
  stroke-width: 1.5;
  transition: fill 0.28s var(--ease), stroke-width 0.28s var(--ease);
}
.node text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: var(--black);
  pointer-events: none;
}
.node:hover circle,
.node.is-active circle { fill: var(--gold); stroke-width: 2.5; }
.node:focus-visible { outline: none; }
.node:focus-visible circle { stroke: var(--black); stroke-width: 3; }
.node.is-active text { fill: var(--black); }
.spoke { stroke: var(--gold-line); stroke-width: 1; }

.diagram-readout {
  min-height: 190px;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  background: var(--black);
  color: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}
.diagram-readout h3 { color: var(--gold); margin-bottom: 0.85rem; }
.diagram-readout p { color: rgba(255,255,255,0.75); font-size: var(--fs-sm); }

/* ---------- 14. FOUNDER / SPLIT ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-fallback {
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-faint);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}

blockquote.pull {
  margin: 0;
  padding-left: 1.6rem;
  border-left: 3px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.7vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
}
blockquote.pull cite {
  display: block;
  margin-top: 1.1rem;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-sm);
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.section--dark blockquote.pull cite { color: rgba(255,255,255,0.6); }

/* ---------- 15. FORM ---------- */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-base);
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.18);
}
.field-note { font-size: var(--fs-xs); color: var(--ink-faint); }

/* ---------- 16. MEDIA / TESTIMONIALS ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border: 1px solid var(--gold);
  border-radius: 2px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.video-frame .play {
  width: 62px; height: 62px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.28s var(--ease);
}
.video-frame:hover .play { background: rgba(201, 161, 74, 0.2); }
.video-frame .play svg { width: 20px; height: 20px; fill: var(--gold); margin-left: 3px; }
.video-caption {
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.quote-card {
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote-card p { font-size: var(--fs-sm); color: var(--ink-muted); font-style: italic; }
.quote-who {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.quote-who span { display: block; font-weight: 400; color: var(--ink-faint); margin-top: 0.2rem; }

/* ---------- 17. BLOG ---------- */
.post {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.post:hover h3 { color: var(--gold-deep); }
.post h3 { transition: color 0.25s var(--ease); }
.post p { font-size: var(--fs-sm); color: var(--ink-muted); }
.post-meta { font-size: var(--fs-xs); color: var(--ink-faint); letter-spacing: 0.06em; }
.post-thumb {
  aspect-ratio: 3 / 2;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
}

/* ---------- 18. PAGE HEADER (interior pages) ---------- */
.page-head {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--gold-line);
}
.page-head--dark { background: var(--black); color: var(--white); border-bottom-color: var(--gold); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 1.35rem; }
.page-head.center h1 { margin-inline: auto; }

/* ---------- 19. FOOTER ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(201, 161, 74, 0.3);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand img { height: 48px; width: auto; }
.footer-brand p {
  margin-top: 1.15rem;
  max-width: 42ch;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.68);
}
.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.15rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.9rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
.socials { display: flex; gap: 0.85rem; }
.socials a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 161, 74, 0.4);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--black); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- 20. UTILITIES / A11Y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.85rem 1.5rem;
  background: var(--black);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-sm);
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Single orchestrated page-load reveal, hero only */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal:nth-child(2) { transition-delay: 0.09s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .globe-rotor { animation: none; }
  .ticker-rail { animation: none; }
}
