/* ==========================================================================
   AURMEX — Brand design system
   Reference: business-plan deck. Deep near-black background, warm gold accent,
   ivory body, elegant serif display (Playfair) + neutral sans (Inter) body.
   ========================================================================== */

/* ---- Fonts (Google) ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Design tokens ---- */
:root {
  --bg:          #0a0a0a;
  --bg-elev:     #111111;
  --bg-elev-2:   #161616;
  --line:        rgba(201, 169, 97, 0.24);
  --line-strong: rgba(201, 169, 97, 0.55);
  --gold:        #c9a961;
  --gold-hi:     #dcc182;
  --gold-lo:     #a5893f;
  --ivory:       #f0ead6;
  --text:        #e7e2d0;
  --text-dim:    #a49f8e;
  --text-quiet:  #6b6857;
  --danger:      #c96161;
  --ok:          #7fc961;

  --f-display: 'Playfair Display', 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, 'Segoe UI', sans-serif;

  --max: 1200px;
  --pad: clamp(1rem, 2.6vw, 2rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ivory); }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: var(--gold); color: #0a0a0a; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; color: var(--ivory); line-height: 1.15; }
.display-1 { font-family: var(--f-display); font-size: clamp(2.8rem, 6.5vw, 5.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
.display-2 { font-family: var(--f-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 1.25rem; }
.display-3 { font-family: var(--f-display); font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.25rem; font-weight: 500; margin: 0 0 .5rem; }
em { color: var(--gold-hi); font-style: italic; font-family: var(--f-display); }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--text); max-width: 66ch; }
.lede--short { max-width: 58ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ''; display: inline-block; width: 32px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; margin-bottom: 3px; }

/* ---- Layout primitives ---- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.container--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.container--narrow { max-width: 820px; }
@media (max-width: 860px) { .container--split { grid-template-columns: 1fr; } }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--intro { padding-top: clamp(4rem, 8vw, 7rem); }
.section--dark { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--singapore, .section--refining {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--cta { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ---- Header + Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark { color: var(--gold); }
.brand__name {
  font-family: var(--f-display);
  color: var(--ivory);
  font-size: 1.4rem;
  letter-spacing: 0.24em;
  font-weight: 500;
}
.nav__links { display: flex; gap: 0.4rem; align-items: center; }
.nav__link {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.nav__link:hover, .nav__link.is-active { color: var(--ivory); }
.nav__link.is-active { border-bottom: 1px solid var(--gold); }
.nav__cta {
  color: var(--bg); background: var(--gold);
  padding: 0.55rem 1rem; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.nav__cta:hover { background: var(--gold-hi); color: var(--bg); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); padding: .5rem .7rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-elev); flex-direction: column; align-items: stretch; padding: 1rem var(--pad); border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.04); }
  .nav__cta { text-align: center; margin-top: .5rem; }
}

/* ---- Ticker ---- */
.ticker {
  background: linear-gradient(90deg, #060606, #0a0a0a 50%, #060606);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.ticker__inner {
  display: flex; align-items: center; gap: 3rem;
  padding: 0.65rem var(--pad);
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}
.ticker:hover .ticker__inner { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 0.6rem; }
.ticker__label { color: var(--gold); font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.72rem; }
.ticker__price { color: var(--ivory); font-variant-numeric: tabular-nums; font-weight: 500; }
.ticker__change { font-variant-numeric: tabular-nums; font-size: 0.8rem; }
.ticker__change.up   { color: var(--ok); }
.ticker__change.down { color: var(--danger); }
.ticker__note { color: var(--text-quiet); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: auto; padding-right: var(--pad); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.35) 100%);
}
.hero__content { position: relative; z-index: 1; padding: clamp(4rem, 8vw, 7rem) var(--pad); max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__eyebrow { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.6rem; font-weight: 500; }
.hero__title { max-width: 22ch; margin: 0 0 1.5rem; }
.hero__sub { max-width: 56ch; color: var(--text); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; margin: 0 0 2rem; }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---- Stats ---- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.stat-row--tight { margin-top: 2.5rem; grid-template-columns: repeat(3, 1fr); border-color: var(--line-strong); }
.stat { padding: 1.8rem 1.5rem; border-right: 1px solid var(--line); text-align: left; }
.stat:last-child { border-right: 0; }
.stat__figure { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.3rem); color: var(--gold-hi); font-weight: 500; line-height: 1; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.stat__label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }
.stat--sm .stat__figure { font-size: 1.6rem; }

@media (max-width: 720px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
}

/* ---- Cards ---- */
.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.75rem 1.6rem;
  border-radius: 2px;
  position: relative;
  transition: border-color .3s ease, background .3s ease;
}
.card:hover { border-color: var(--line-strong); }
.card--dark { background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); }
.card--accent { border-color: var(--gold); }
.card--accent em { color: var(--ivory); }
.card__num { font-family: var(--f-display); color: var(--gold); font-size: 1.1rem; margin-bottom: 0.6rem; letter-spacing: 0.08em; }
.card h3 { color: var(--ivory); margin-bottom: 0.5rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; margin: 0 0 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card__mitigation { color: var(--text); border-top: 1px solid rgba(255,255,255,.05); padding-top: .75rem; margin-top: .75rem !important; }
.card__mitigation strong { color: var(--gold-hi); font-weight: 500; }

/* Split section (opportunity) */
.split__text .eyebrow { margin-bottom: 1rem; }
.split__text p { color: var(--text-dim); max-width: 54ch; }
.split__image img { border: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 2rem; border: 1px solid var(--line); }
.step { padding: 1.75rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step:nth-child(2n) { border-right: 0; }
.step:nth-last-child(-n+2) { border-bottom: 0; }
.step__num { font-family: var(--f-display); font-size: 1.35rem; color: var(--gold); margin-bottom: 0.5rem; }
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; } .step:last-child { border-bottom: 0; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0 3rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.team { background: var(--bg-elev); border: 1px solid var(--line); padding: 2rem 1.8rem; }
.team__initials { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--f-display); font-size: 1.15rem; letter-spacing: 0.1em; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.team h3 { color: var(--ivory); margin-bottom: 0.2rem; font-size: 1.15rem; }
.team__role { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 1rem; }
.team p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.6; }

/* Prose */
.prose { max-width: 72ch; margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem) var(--pad); }
.prose--wide { max-width: 82ch; }
.prose h2 { color: var(--ivory); font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.prose h3 { color: var(--ivory); margin: 1.75rem 0 .5rem; }
.prose p, .prose li { color: var(--text); font-size: 1.02rem; line-height: 1.72; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-lo); }
.prose a:hover { color: var(--ivory); text-decoration-color: var(--ivory); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--f-body); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all .25s ease;
  cursor: pointer;
  border-radius: 1px;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn--gold { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--ivory); background: transparent; color: var(--ivory); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-block; margin-top: 1rem;
  color: var(--gold);
  font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s ease;
}
.link-arrow:hover { color: var(--ivory); border-color: var(--ivory); }

/* CTA card */
.cta-card {
  border: 1px solid var(--gold);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(201,169,97,0.05), transparent);
}
.cta-card .eyebrow { margin: 0 auto 1rem; }
.cta-card p { color: var(--text-dim); max-width: 52ch; margin: 0 auto 1.5rem; }

/* Disclaimer band */
.disclaimer-band {
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.disclaimer-band p { margin: 0; line-height: 1.6; }
.disclaimer-band strong { color: var(--gold); font-weight: 500; }

/* Footer */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--gold); font-family: var(--f-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--ivory); }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--text-quiet); font-size: 0.8rem;
}
.footer__legal { color: var(--text-quiet); }
.footer__brand { color: var(--gold); font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0.22em; margin-bottom: 0.75rem; }
.footer__note { max-width: 46ch; font-size: 0.82rem; color: var(--text-quiet); line-height: 1.55; }

/* Forms */
.form { max-width: 620px; margin: 0 auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { margin-bottom: 1.25rem; }
.form__field label { display: block; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 0.75rem 0.9rem;
  font-family: var(--f-body);
  font-size: 1rem;
  border-radius: 1px;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none; border-color: var(--gold);
}
.form__field textarea { resize: vertical; min-height: 140px; }
.form__field--hp { position: absolute; left: -10000px; opacity: 0; }
.form__error { color: var(--danger); font-size: 0.9rem; }
.form__success {
  border: 1px solid var(--gold);
  padding: 1rem 1.25rem;
  background: rgba(201,169,97,0.08);
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

/* Contact meta */
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-meta h4 { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 .5rem; }
.contact-meta p { color: var(--text-dim); margin: 0; font-size: 0.95rem; }
@media (max-width: 720px) { .contact-meta { grid-template-columns: 1fr; } }

/* Flash */
.flash { padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; border-left: 3px solid var(--gold); background: var(--bg-elev); border-radius: 1px; }
.flash--error { border-left-color: var(--danger); }
.flash--success { border-left-color: var(--ok); }

/* ==========================================================================
   AURMEX — Layout, header/nav, hero, forms, admin extensions
   ========================================================================== */

/* ---- Container & sections (fill-ins if missing) ---- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
.container--split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .container--split { grid-template-columns: 1fr; } }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--intro { padding-top: clamp(3rem, 5vw, 4.5rem); }
.section--dark { background: linear-gradient(180deg, #060606, #0a0a0a); }
.section--singapore { background-repeat: no-repeat; background-size: cover; background-position: center; }
.section--singapore .card { background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }

/* ---- Skip link ---- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--bg); padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---- Site header (new layout) ---- */
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}
.brand__wordmark {
  font-family: var(--f-display);
  color: var(--ivory);
  font-size: 1.35rem;
  letter-spacing: 0.24em;
  font-weight: 500;
}
.site-nav {
  display: flex; align-items: center; gap: 0.35rem;
}
.site-nav__link {
  color: var(--text-dim);
  font-size: 0.86rem;
  padding: 0.55rem 0.9rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  border-bottom: 1px solid transparent;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--ivory); }
.site-nav__link.is-active { border-bottom-color: var(--gold); }
.site-nav__cta {
  margin-left: 0.5rem;
  color: var(--bg); background: var(--gold);
  padding: 0.6rem 1.05rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 1px;
}
.site-nav__cta:hover { background: var(--gold-hi); color: var(--bg); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  padding: 0.5rem 0.6rem; cursor: pointer;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ivory); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 1rem var(--pad); gap: 0;
    z-index: 30;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .site-nav__cta { margin: 0.75rem 0 0; text-align: center; }
}

/* ---- Hero (new naming) ---- */
.hero--home { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.58; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 50%, rgba(10,10,10,0.35) 100%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; padding: clamp(4rem, 8vw, 7rem) 0; width: 100%; }
.hero__title { font-family: var(--f-display); font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: var(--ivory); margin: 0 0 1.5rem; max-width: 22ch; }
.hero__lede { max-width: 56ch; color: var(--text); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; margin: 0 0 2rem; }
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Page hero for interior pages */
.page-hero { position: relative; min-height: 40vh; padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; z-index: 0; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.65), rgba(10,10,10,0.92)); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; color: var(--ivory); margin: 0 0 1rem; max-width: 20ch; }
.page-hero__lede { max-width: 60ch; color: var(--text); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; margin: 0; }

/* Closing CTA */
.closing-cta { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(201,169,97,0.03)); }
.closing-cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.closing-cta h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ivory); margin: 0 0 1rem; }
.closing-cta p { color: var(--text-dim); margin: 0 0 1.75rem; }

/* ---- Site footer (new naming) ---- */
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__col h4 { color: var(--gold); font-family: var(--f-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 500; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 0.55rem; font-size: 0.92rem; color: var(--text-dim); line-height: 1.5; }
.site-footer__col a { color: var(--text-dim); }
.site-footer__col a:hover { color: var(--ivory); }
.site-footer__tag { color: var(--text-quiet); font-size: 0.85rem; line-height: 1.6; max-width: 40ch; margin-top: 1rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.25rem; color: var(--text-quiet); font-size: 0.8rem; }
.site-footer__bottom p { margin: 0; }

/* ---- Prose (published body_html) ---- */
.prose { max-width: 1200px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--pad); }
.prose .section:first-child { padding-top: 0; }
.prose > section:first-child .container { padding-left: 0; padding-right: 0; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 5rem) var(--pad); max-width: var(--max); margin: 0 auto; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid__col--info { border-right: 1px solid var(--line); padding-right: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .contact-grid__col--info { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 2rem; } }
.contact-grid .eyebrow { display: block; margin-bottom: 0.6rem; margin-top: 1.5rem; }
.contact-grid .eyebrow:first-child { margin-top: 0; }
.contact-line { color: var(--text); font-size: 0.98rem; line-height: 1.6; margin: 0 0 0.5rem; }

/* ---- Forms (new naming, top-level labels) ---- */
.form { max-width: 640px; }
.form label { display: block; margin-bottom: 1rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.form label .req { color: var(--danger); margin-left: 4px; }
.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form input[type="file"],
.form select,
.form textarea {
  display: block; width: 100%; margin-top: 0.4rem;
  background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--ivory); padding: 0.75rem 0.9rem;
  font-family: var(--f-body); font-size: 1rem; font-weight: 400;
  letter-spacing: 0; text-transform: none;
  border-radius: 1px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 150px; }
.form .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form .form__row { grid-template-columns: 1fr; } }
.form__note { color: var(--text-quiet); font-size: 0.82rem; line-height: 1.55; margin: 0.5rem 0 1.5rem; }
.form__note a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.form--stacked label { text-transform: none; letter-spacing: 0; color: var(--text-dim); font-size: 0.85rem; font-weight: 500; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
@media (max-width: 720px) { .form__grid { grid-template-columns: 1fr; } }
.form__wide { grid-column: 1 / -1; }
.form__hint { display: block; color: var(--text-quiet); font-size: 0.8rem; margin-top: 0.35rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.form__actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form__row--checkboxes { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.checkbox { display: inline-flex; align-items: center; gap: 0.55rem; text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 400; font-size: 0.95rem; }
.checkbox input { margin: 0; width: 18px; height: 18px; }
.mono { font-family: 'SF Mono','JetBrains Mono','Consolas',monospace; font-size: 0.88rem; }

/* ---- Auth pages ---- */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 4rem var(--pad); }
.auth-card { max-width: 440px; width: 100%; background: var(--bg-elev); border: 1px solid var(--line); padding: 2.5rem 2.25rem; border-radius: 2px; }
.auth-card h1 { font-family: var(--f-display); font-size: 1.7rem; color: var(--ivory); margin: 0 0 0.5rem; }
.auth-card__lede { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; margin: 0 0 1.75rem; }
.auth-card__foot { color: var(--text-quiet); font-size: 0.8rem; margin-top: 1.5rem; }
.auth-card .form { max-width: none; }
.auth-card .btn { width: 100%; margin-top: 0.5rem; }

/* ---- Data Room ---- */
.dataroom { padding: clamp(3rem, 5vw, 4.5rem) var(--pad); max-width: var(--max); margin: 0 auto; }
.dataroom__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.dataroom__head h1 { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ivory); margin: 0.4rem 0 0.75rem; }
.dataroom__lede { color: var(--text-dim); margin: 0; max-width: 60ch; }
.dataroom__list { margin-top: 2rem; }
.dataroom-file { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.dataroom-file:last-child { border-bottom: 0; }
.dataroom-file__meta { flex: 1; }
.dataroom-file__meta h3 { font-family: var(--f-display); color: var(--ivory); font-size: 1.15rem; font-weight: 500; margin: 0 0 0.35rem; }
.dataroom-file__meta p { color: var(--text-dim); font-size: 0.92rem; margin: 0 0 0.35rem; }
.dataroom-file__facts { color: var(--text-quiet); font-size: 0.82rem; }
.dot { color: var(--text-quiet); margin: 0 0.5rem; }
.empty-state { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--line); background: rgba(255,255,255,0.02); color: var(--text-dim); border-radius: 2px; }

/* ---- Error page ---- */
.error-page { padding: clamp(4rem, 8vw, 7rem) var(--pad); text-align: center; }
.error-page h1 { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--ivory); margin: 0.5rem 0 1rem; }
.error-page p { color: var(--text-dim); max-width: 46ch; margin: 0 auto 1rem; }

/* ---- Flash messages (extra state) ---- */
.flash--warn { border-left-color: #c9a961; }

/* ---- Buttons: small variant ---- */
.btn--sm { padding: 0.4rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.1em; }
.btn--danger { border-color: rgba(201,97,97,0.55); color: #e2a1a1; }
.btn--danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ---- Ticker: overrides for new layout structure ---- */
.ticker { position: relative; }
.ticker__inner {
  display: block; padding: 0.65rem 0;
  animation: none;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 3rem;
  padding-left: var(--pad);
  animation: ticker-scroll 90s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__note {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  color: var(--text-quiet); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(90deg, rgba(6,6,6,0), rgba(6,6,6,0.95) 20%);
  padding-left: 3rem;
}
