/* ============================================================
   Custom Capital Consulting — v4 (full rebuild on Phil's feedback)
   Private bank aesthetic, refined cartographic hero, gold standard CTA
   ============================================================ */

:root {
  --navy: #0b1320;
  --navy-soft: #101a2a;
  --navy-deeper: #080e18;
  --charcoal: #1f252d;
  --ivory: #f7f3ea;
  --white: #fbfaf7;

  /* Refined gold palette — warmer, more antique than the previous bright orange */
  --gold: #c79547;
  --gold-deep: #a87a35;
  --gold-soft: rgba(199, 149, 71, 0.32);
  --gold-faint: rgba(199, 149, 71, 0.16);

  --text-dark: #2a2f36;
  --text-mid: #545a62;
  --text-light: #9aa3ad;
  --text-on-dark: #d8dce2;
  --text-on-dark-dim: #8e96a2;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max: 1200px;
  --pad: clamp(1.25rem, 5vw, 3.2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); }

.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory); }
.on-dark p { color: var(--text-on-dark-dim); }
.on-dark .lede { color: var(--text-on-dark); }

/* Elements inside .on-dark that must be gold — high-specificity overrides */
.on-dark .approach-tag,
.on-dark .footer-tagline,
.on-dark .footer-services,
.on-dark .mandates-list,
.on-dark .mandates-list span { color: var(--gold); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.4rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.6;
}

.lede--gold,
.on-dark .lede--gold { color: var(--gold); font-style: normal; }

p {
  color: var(--text-mid);
  max-width: 62ch;
  text-align: justify;
  text-justify: inter-word;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Don't justify these — they're short lines/labels/captions where justify creates ugly gaps */
.eyebrow,
.form-note,
.footer-disclaimer,
.footer-tagline,
.footer-services,
.footer-block p,
.footer-list li,
.contact-list li,
.mandates-intro,
.mandates-outro,
.mandates-list,
.cta-band p,
.statement blockquote,
.approach-pillars p,
.focus-six p,
.approach-tag,
.hero .lede {
  text-align: inherit;
  hyphens: none;
}

.rule { width: 56px; height: 1px; background: var(--gold); border: none; margin: 1.6rem 0; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding: clamp(5.5rem, 11vw, 9.5rem) 0; }
.section--dark { background: var(--navy); }
.section--ivory { background: var(--ivory); }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--cta-tight { padding-top: clamp(1rem, 2vw, 2.5rem); }

.section-head { max-width: 760px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 19, 32, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-faint);
  transition: background 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 1.1rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.18;
  flex: none;
}

.brand-mark {
  width: 78px;
  height: 78px;
  flex: none;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name,
.brand-sub {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1;
}

.brand-name { letter-spacing: 0.165em; }
.brand-sub  { letter-spacing: 0.50em; padding-right: 0; }  /* stretched to match width of line above */

@media (max-width: 540px) {
  .brand-mark { width: 52px; height: 52px; }
  .brand-name, .brand-sub { font-size: 0.95rem; }
}

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible { color: var(--gold); }

.nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav .nav-cta {
  border: 1px solid var(--gold);
  padding: 0.55rem 1.1rem;
  color: var(--gold);
  white-space: nowrap;
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: var(--gold);
  color: var(--navy);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px; height: 1px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 110px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--gold-faint);
    padding: 0.5rem 0 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.4s ease;
  }

  .nav.open { transform: translateY(0); }

  .nav a {
    padding: 0.95rem var(--pad);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav .nav-cta {
    margin: 1.2rem var(--pad) 0;
    text-align: center;
    border-bottom: 1px solid var(--gold);
  }
}

/* ---------- Buttons — single gold standard across the site ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1rem 2.3rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: calc(110px + clamp(4.5rem, 11vw, 8.5rem)) 0 clamp(5.5rem, 12vw, 9rem);
  min-height: 620px;
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  pointer-events: none;
}

@media (max-width: 880px) {
  .hero-map { opacity: 0.3; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero h1 { color: var(--ivory); margin: 0 0 1.8rem; }

.hero-h1-caps {
  text-transform: uppercase;
  letter-spacing: 0.018em;
  font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.08;
  max-width: none;
}

.hero .lede {
  max-width: 580px;
  margin-bottom: 2.8rem;
  color: var(--ivory);
  opacity: 0.88;
}

.hero-page {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.70) 0%, rgba(8, 14, 24, 0.92) 100%),
    url("https://images.unsplash.com/photo-1636572644856-219441002f7f?w=2000&q=80&auto=format&fit=crop") center / cover no-repeat,
    var(--navy);
  padding: calc(110px + clamp(3rem, 7vw, 5rem)) 0 clamp(3rem, 7vw, 5rem);
}

/* ---------- About section with book illustration ---------- */

.about-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 820px) {
  .about-row { grid-template-columns: 1fr; }
}

.about-image {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 30px 60px -20px rgba(11, 19, 32, 0.25);
}

/* ---------- Focus six-up grid ---------- */

.focus-six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 2px solid var(--gold);
  background: var(--gold);
  gap: 2px;
}

.focus-six article {
  background: var(--ivory);
  padding: clamp(1.8rem, 3vw, 2.4rem) 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1024px) {
  .focus-six { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .focus-six { grid-template-columns: repeat(2, 1fr); }
}

.focus-six .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-six h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.focus-six p {
  font-size: 0.86rem;
  margin: 0 auto;
  max-width: 22ch;
  line-height: 1.6;
}

.focus-six a.focus-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.focus-six a.focus-cell:hover h3 { color: var(--gold-deep); }
.focus-six a.focus-cell:hover .icon { stroke: var(--gold-deep); }

/* ---------- Approach band ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
}

.approach-tag {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  color: var(--gold);
  margin: 0.4rem 0 1.2rem;
}

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* hard 4-across, never wraps to 3 */
  gap: 1.8rem 1.4rem;
}

.approach-pillars > div {
  text-align: center;
  padding: 0 0.4rem;
  border-left: 1px solid var(--gold-soft);
}

.approach-pillars > div:first-child { border-left: none; }

@media (max-width: 900px) {
  .approach-pillars { grid-template-columns: 1fr; }
  .approach-pillars > div { border-left: none; border-top: 1px solid var(--gold-soft); padding-top: 1.4rem; }
  .approach-pillars > div:first-child { border-top: none; padding-top: 0; }
}

.approach-pillars .icon {
  margin: 0 auto 1.1rem;
  width: 38px;
  height: 38px;
  stroke: var(--gold);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-pillars h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}

.approach-pillars p { font-size: 0.86rem; margin: 0 auto; max-width: 24ch; line-height: 1.6; }

/* ---------- Representative Mandates band ---------- */

.mandates-band {
  text-align: center;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}

.mandates-list {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 1.2rem auto;
  max-width: 1280px;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .mandates-list { white-space: normal; }
}

.mandates-list span {
  display: inline-block;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.mandates-pipe { color: var(--gold); padding: 0 0.4rem; }

.mandates-intro,
.mandates-outro { color: var(--text-on-dark-dim); max-width: 720px; margin: 0 auto; }

/* ---------- Strategic Partnerships ---------- */

.partners-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 820px) { .partners-grid { grid-template-columns: 1fr; } }

.partners-grid p { font-size: 1.02rem; max-width: none; }

/* ---------- Founder mark (text Phillip / Roberts) ---------- */

.founder { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } }

.founder-photo {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 30px 60px -20px rgba(11, 19, 32, 0.25);
  display: block;
}

.founder-mark {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--gold-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 1.5rem;
}

.founder-mark::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-faint); }

.founder-name-first,
.founder-name-last {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
  line-height: 1.05;
  position: relative;
  z-index: 1;
}

.founder-name-first { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: 0.04em; }
.founder-name-last { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: 0.04em; margin-top: 0.3rem; }

.founder-role-mark {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.9rem;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.founder-role {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
}

.founder h2 { margin-bottom: 1.1rem; }
.founder p { margin-bottom: 1.1rem; }

/* ---------- Service detail rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  scroll-margin-top: 130px;
}

.service-row + .service-row { border-top: 1px solid var(--gold-soft); }

.service-row p { margin-bottom: 1rem; }

.service-points {
  list-style: none;
  margin-top: 1.4rem;
}

.service-points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--text-mid);
  font-size: 0.93rem;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 14px; height: 1px;
  background: var(--gold);
}

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- Quote / statement ---------- */

.statement { text-align: center; max-width: 760px; margin: 0 auto; }

.statement blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.5;
}

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

@media (max-width: 920px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-form { max-width: 580px; }

.field { margin-bottom: 1.8rem; }

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(31, 37, 45, 0.25);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 1.4rem; }

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #a8412c;
  margin-top: 0.45rem;
  letter-spacing: 0.01em;
  min-height: 1em;
}

.field--error input,
.field--error textarea {
  border-bottom-color: #a8412c;
}

/* Honeypot — invisible to users, visible to naive bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-success {
  display: none;
  border: 1px solid var(--gold);
  padding: 1.6rem 1.8rem;
  margin-top: 1.5rem;
}

.form-success.visible { display: block; }
.form-success p { font-size: 0.95rem; color: var(--text-dark); }

.form-error {
  display: none;
  border: 1px solid #a8412c;
  background: rgba(168, 65, 44, 0.04);
  padding: 1.4rem 1.8rem;
  margin-top: 1.5rem;
}

.form-error.visible { display: block; }
.form-error h3 { color: #a8412c; font-size: 1.15rem; }
.form-error p { font-size: 0.95rem; color: var(--text-dark); }
.form-error a { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: progress;
}

/* Contact list with gold icons */

.contact-list { list-style: none; margin-top: 1.6rem; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list a { color: var(--text-dark); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { margin: 0 auto 2.2rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  padding: 3.8rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

.footer-brand .brand { gap: 0.9rem; }
.footer-brand .brand-mark { width: 56px; height: 56px; }
.footer-brand .brand-name,
.footer-brand .brand-sub { font-size: 1.02rem; }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin-top: 1.1rem;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-services {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.8rem;
}

.footer-block h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-block ul { list-style: none; }
.footer-block li { padding: 0.25rem 0; }

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--gold);
}

.footer-list svg {
  width: 18px; height: 18px;
  flex: none;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-list a { color: var(--gold); transition: color 0.3s ease; }
.footer-list a:hover { color: var(--ivory); }

.footer-block p,
.footer-block a {
  font-size: 0.86rem;
  color: var(--gold);
  line-height: 1.85;
  display: block;
}

.footer-block a:hover { color: var(--ivory); }

.footer-bar {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-on-dark-dim);
}

.footer-disclaimer {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--text-on-dark-dim);
  opacity: 0.85;
  max-width: none;
  line-height: 1.7;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.link-more::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.link-more:hover,
.link-more:focus-visible { color: var(--gold-deep); }
.link-more:hover::after { width: 56px; }

/* ---------- Focus visibility ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
