/* =========================================================
   Semper Fidelis Holding — Modern Stylesheet
   Editorial financial design: navy + gold + ivory
   ========================================================= */

:root {
  --color-navy-900: #0a1929;
  --color-navy-800: #0f2238;
  --color-navy-700: #15324f;
  --color-navy-600: #1c4368;
  --color-ivory:    #f6f3ec;
  --color-paper:    #fbfaf6;
  --color-stone-300:#d9d4c7;
  --color-stone-500:#8c8475;
  --color-stone-700:#3a3a3a;
  --color-gold-500: #c9a961;
  --color-gold-600: #b18f44;
  --color-gold-300: #e2cf9b;
  --color-line:     rgba(201, 169, 97, 0.35);
  --color-line-dark:rgba(255, 255, 255, 0.10);

  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 30px 60px -30px rgba(10, 25, 41, 0.35);
}

/* ----- Reset / base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-stone-700);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-navy-900);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold-500);
}

.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--color-gold-300); }
.eyebrow.light::before { background: var(--color-gold-300); }

.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-stone-700);
}

/* ----- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border-radius: 0;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold-500);
  color: var(--color-navy-900);
}

.btn-primary:hover {
  background: var(--color-gold-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(201, 169, 97, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ivory);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold-500);
  color: var(--color-gold-300);
}

.btn .arrow {
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s var(--ease-out);
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 24px; }

/* ----- Header ---------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.35s var(--ease-out),
              padding 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
body.nav-open .site-header {
  background: rgba(10, 25, 41, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  padding: 0.85rem 0;
  border-bottom-color: var(--color-line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 110;
}

.brand img {
  height: 56px;
  width: auto;
  transition: height 0.3s var(--ease-out);
}

.scrolled .brand img { height: 44px; }

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

.nav-primary ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.85);
  position: relative;
  padding-block: 0.4rem;
}

.nav-primary a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold-500);
  transition: width 0.3s var(--ease-out);
}

.nav-primary a:hover { color: var(--color-gold-300); }
.nav-primary a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy-900);
  background: var(--color-gold-500);
  padding: 0.7rem 1.35rem;
  transition: all 0.3s var(--ease-out);
}
.nav-cta:hover {
  background: var(--color-gold-600);
  color: var(--color-navy-900);
}

/* Hidden on desktop — only used inside the open mobile menu */
.nav-footer { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  position: relative;
  z-index: 110;
  transition: border-color 0.3s var(--ease-out);
}
.nav-toggle:hover { border-color: var(--color-gold-500); }
.nav-toggle.open { border-color: var(--color-gold-500); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  width: 22px;
  height: 1px;
  background: var(--color-ivory);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out), background 0.2s var(--ease-out);
}
.nav-toggle span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Pseudos are positioned relative to the (already centered) span,
   so left: 0 aligns them perfectly with the middle bar. */
.nav-toggle span::before,
.nav-toggle span::after {
  left: 0;
  transform-origin: 50% 50%;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

/* ----- Hero ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-ivory);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-navy-900);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(10, 25, 41, 0.55) 0%,
      rgba(10, 25, 41, 0.65) 55%,
      rgba(10, 25, 41, 0.95) 100%),
    linear-gradient(90deg, rgba(10, 25, 41, 0.85) 0%, rgba(10, 25, 41, 0.30) 70%);
}

.hero-content {
  max-width: 760px;
  padding-top: 6rem;
}

.hero h1 {
  color: var(--color-ivory);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--color-gold-300);
  font-style: italic;
  font-weight: 400;
}

.hero .lede {
  color: rgba(246, 243, 236, 0.78);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-inline: var(--gutter);
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.5);
}

.hero-meta .scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(246, 243, 236, 0.6);
}

.hero-meta .scroll-cue::after {
  content: "";
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold-500), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.6; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ----- Section base ---------------------------------------- */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section-dark {
  background: var(--color-navy-900);
  color: rgba(246, 243, 236, 0.82);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-ivory);
}

.section-light {
  background: var(--color-paper);
}

.section-cream {
  background: var(--color-ivory);
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

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

/* ----- About ----------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  position: relative;
  z-index: 1;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--color-gold-500);
  z-index: 0;
  pointer-events: none;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content .signature {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-navy-700);
}

.about-content .signature strong {
  font-style: normal;
  font-weight: 600;
  color: var(--color-gold-600);
  letter-spacing: 0.05em;
}

/* ----- Stats ----------------------------------------------- */
.stats {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.stat {
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--color-line);
  text-align: left;
}
.stat:last-child { border-right: none; }

.stat .figure {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  color: var(--color-navy-900);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-stone-500);
}

/* ----- Pillars / Investments ------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line-dark);
  border: 1px solid var(--color-line-dark);
}

.pillar {
  padding: 3rem 2.5rem;
  background: var(--color-navy-900);
  position: relative;
  transition: background 0.4s var(--ease-out);
}

.pillar:hover {
  background: var(--color-navy-800);
}

.pillar .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.75rem;
  color: var(--color-gold-500);
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--color-ivory);
}

.pillar p {
  color: rgba(246, 243, 236, 0.7);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.pillar::after {
  content: "";
  position: absolute;
  left: 2.5rem;
  bottom: 2.25rem;
  width: 32px;
  height: 1px;
  background: var(--color-gold-500);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), width 0.3s var(--ease-out);
}

.pillar:hover::after { opacity: 1; width: 48px; }

/* ----- Markets --------------------------------------------- */
.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.market-card {
  border: 1px solid var(--color-line);
  padding: 3rem 2.5rem;
  background: var(--color-paper);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.market-card .region {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  margin-bottom: 1.25rem;
  display: block;
}

.market-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.market-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--color-stone-700);
}
.market-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(140, 132, 117, 0.18);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.market-card li:last-child { border-bottom: none; }
.market-card li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--color-gold-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----- Quote ----------------------------------------------- */
.quote-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--color-navy-900);
  color: var(--color-ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before,
.quote-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid var(--color-line-dark);
  border-radius: 50%;
}
.quote-section::before { top: -110px; left: -110px; }
.quote-section::after  { bottom: -110px; right: -110px; }

.quote-section blockquote {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.5;
  color: var(--color-ivory);
  position: relative;
}

.quote-section blockquote::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--color-gold-500);
  display: block;
  margin-bottom: -1.5rem;
}

.quote-section cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-300);
}

/* ----- Contact --------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-card {
  background: var(--color-navy-900);
  color: var(--color-ivory);
  padding: 3rem;
  border: 1px solid var(--color-gold-500);
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1px solid var(--color-line-dark);
  z-index: -1;
}

.contact-card h3 {
  color: var(--color-ivory);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-card .city {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-300);
  margin-bottom: 1.75rem;
  display: block;
}

.contact-card address {
  font-style: normal;
  color: rgba(246, 243, 236, 0.78);
  margin-bottom: 2rem;
  line-height: 1.85;
}

.contact-card .channels {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-line-dark);
}

.contact-card .channels a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-ivory);
  font-size: 0.95rem;
}
.contact-card .channels a:hover { color: var(--color-gold-300); }
.contact-card .channels svg {
  width: 18px; height: 18px;
  color: var(--color-gold-500);
  flex-shrink: 0;
}

/* ----- Footer ---------------------------------------------- */
.site-footer {
  background: #060f1a;
  color: rgba(246, 243, 236, 0.6);
  padding: 4rem 0 0;
  border-top: 1px solid var(--color-line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.75;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-300);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: rgba(246, 243, 236, 0.6);
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--color-gold-300); }

.footer-col p {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--color-line-dark);
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(246, 243, 236, 0.45);
}

.footer-bottom .motto {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(226, 207, 155, 0.8);
}

/* ----- Reveal animations ----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .hero-meta .scroll-cue::after { animation: none; }
}

/* ----- Responsive ------------------------------------------ */

/* Tablet & mobile (menu break) */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Slide-in mobile menu panel — sits below the fixed header so
     logo + close button always remain visible and reachable. */
  .nav-primary {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--color-navy-900);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding:
      calc(env(safe-area-inset-top, 0px) + 5.25rem)
      1.75rem
      calc(env(safe-area-inset-bottom, 0px) + 2rem);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    z-index: 95;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
  }
  .nav-primary.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-primary ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
  }

  .nav-primary li {
    border-bottom: 1px solid var(--color-line-dark);
  }
  .nav-primary li:first-child {
    border-top: 1px solid var(--color-line-dark);
  }

  .nav-primary a {
    display: block;
    width: 100%;
    padding: 1.2rem 0.25rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-ivory);
    transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
  }
  .nav-primary a::after { display: none; }
  .nav-primary a:hover,
  .nav-primary a:focus-visible {
    color: var(--color-gold-300);
    padding-left: 0.6rem;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 1rem 1.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
  }

  /* Mobile menu footer — fills the empty bottom area with on-brand info */
  .nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 2.25rem;
    border-top: 1px solid var(--color-line-dark);
    color: rgba(246, 243, 236, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
  }
  .nav-footer-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold-300);
    margin-bottom: 0.35rem;
  }
  .nav-footer p { margin: 0; color: rgba(246, 243, 236, 0.7); }
  .nav-footer a {
    color: var(--color-ivory);
    text-decoration: none;
    word-break: break-all;
  }
  .nav-footer a:hover { color: var(--color-gold-300); }
  .nav-footer-motto {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-line-dark);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(226, 207, 155, 0.7);
  }

  /* Layout collapses */
  .about-grid,
  .markets-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-image {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
  }
  .about-image::after { inset: 0.85rem -0.85rem -0.85rem 0.85rem; }

  .pillars { grid-template-columns: 1fr; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--color-line);
    padding: 1.85rem 1rem;
  }
  .stat:nth-child(odd) { border-right: 1px solid var(--color-line); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero-meta { display: none; }

  /* Hero copy needs a touch more top room since header is shorter */
  .hero-content { padding-top: 4.5rem; }
}

/* Small phones */
@media (max-width: 560px) {
  :root { --gutter: 1.25rem; }

  .site-header { padding: 1.05rem 0; }
  .brand img { height: 44px; }
  .scrolled .brand img,
  body.nav-open .brand img { height: 40px; }

  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--color-line); }
  .stat:last-child { border-bottom: none; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn { justify-content: center; }

  .pillar { padding: 2.25rem 1.75rem; }
  .pillar::after { left: 1.75rem; bottom: 1.75rem; }

  .market-card { padding: 2.25rem 1.75rem; }

  .contact-card { padding: 2rem 1.5rem; }
  .contact-card::before { display: none; }

  .quote-section blockquote::before { font-size: 5rem; margin-bottom: -1rem; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
  }

  .nav-primary {
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.75rem);
  }
  .nav-primary a { font-size: 1.3rem; padding: 1.05rem 0.25rem; }
  .nav-footer { font-size: 0.85rem; padding-top: 1.85rem; }
}

/* Tiny phones */
@media (max-width: 380px) {
  .brand img { height: 38px; }
  h1 { font-size: 2.15rem; }
  .nav-primary a { font-size: 1.15rem; }
  .nav-footer { font-size: 0.82rem; }
}

/* ----- Selection ------------------------------------------- */
::selection {
  background: var(--color-gold-500);
  color: var(--color-navy-900);
}
