/* ================================================================
   MSG — Master Stylesheet
   ================================================================ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Dark backgrounds */
  --clr-bg:           #122620;
  --clr-bg-subtle:    #1a3228;
  --clr-bg-card:      #183028;
  --clr-bg-deep:      #0E2418;

  /* Light backgrounds */
  --clr-bg-light:     #F4F1E8;
  --clr-bg-warm:      #F4EBD0;

  /* Gold accent */
  --clr-accent:       #B68D40;
  --clr-accent-bright:#E5A823;
  --clr-accent-light: #C9A260;
  --clr-accent-dim:   rgba(182, 141, 64, 0.15);

  /* Text on dark */
  --clr-text:         #F4F1E8;
  --clr-text-muted:   rgba(244, 241, 232, 0.55);

  /* Text on light */
  --clr-text-on-light:       #122620;
  --clr-text-on-light-muted: #525F6C;

  /* Borders */
  --clr-border:       rgba(182, 141, 64, 0.22);
  --clr-border-sub:   rgba(244, 241, 232, 0.08);
  --clr-border-light: rgba(18, 38, 32, 0.12);

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --nav-h:  72px;
  --max-w:  1160px;

  --sp-2xs: 0.25rem;
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 7rem;

  --radius-sm: 2px;
  --radius:    4px;
  --ease:      220ms ease;
}

/* ── Reset ────────────────────────────────────────────────────── */
[hidden] { display: none !important; }
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  border: 0;
  background: none;
}
button  { cursor: pointer; }
address { font-style: normal; }

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--clr-text);
}
h1 { font-size: clamp(2.5rem,  5vw,   4rem);    }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem,  2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p       { max-width: 68ch; }
strong  { font-weight: 600; }

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

main { flex: 1; }

/*
 * Because the nav is position:fixed, pages whose first section
 * sits directly below the nav should add padding-top: var(--nav-h)
 * to that section (or use the .page-top utility below).
 * Hero sections that intentionally overlap the transparent nav
 * should NOT use this — they extend to the very top of the viewport.
 */
.page-top { padding-top: var(--nav-h); }

/* ── Divider ──────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--clr-accent);
  margin-block: var(--sp-md);
}
.divider--center { margin-inline: auto; }

/* ── Section label ────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-md);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--clr-accent);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--clr-accent);
  color: var(--clr-accent);
  transition: background var(--ease), color var(--ease);
  border-radius: var(--radius-sm);
}
.btn:hover {
  background: var(--clr-accent);
  color: var(--clr-bg);
}
.btn--solid {
  background: var(--clr-accent);
  color: var(--clr-bg);
}
.btn--solid:hover {
  background: var(--clr-accent-light);
  border-color: var(--clr-accent-light);
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-sub);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: border-color var(--ease), transform var(--ease);
}
.card:hover {
  border-color: var(--clr-border);
  transform: translateY(-3px);
}

/* ================================================================
   Navigation
   ================================================================ */

/* ── Fixed shell ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  /* Transparent until scrolled */
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 380ms ease,
    border-color     380ms ease;
}
.site-header.is-scrolled {
  background-color: rgba(18, 38, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--clr-border);
}

/* ── Inner row ────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--sp-md);
}

/* ── Logo ─────────────────────────────────────────────────────── */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer__brand .nav__logo img {
  height: 28px;
}
/* kept for any legacy usage */
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--clr-text);
}

/* ── Right side group (links + CTA) ──────────────────────────── */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}
.nav__links a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  padding-bottom: 3px;
  transition: color var(--ease);
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-accent);
  transition: width var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--clr-accent);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

/* ── CTA button ───────────────────────────────────────────────── */
.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ── Hamburger (mobile only; hidden on desktop) ───────────────── */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
  flex-shrink: 0;
  z-index: 210; /* above drawer */
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-text);
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
/* ── X state ─────────────────────── */
.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Full-screen mobile drawer ────────────────────────────────── */
.nav-drawer {
  /* Hidden on desktop; activated via media query below */
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190; /* below toggle (210) and header (200) */
  background: var(--clr-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  padding: var(--sp-2xl) var(--sp-lg);
  /* Slides in from the right */
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.nav-drawer.is-open {
  transform: translateX(0);
}
/* Decorative gold edge on left when open */
.nav-drawer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--clr-accent), transparent);
  opacity: 0.5;
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}
.nav-drawer__links a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 4px;
}
.nav-drawer__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--clr-accent);
  transition: left var(--ease), right var(--ease);
}
.nav-drawer__links a:hover,
.nav-drawer__links a[aria-current="page"] {
  color: var(--clr-text);
}
.nav-drawer__links a:hover::after,
.nav-drawer__links a[aria-current="page"]::after {
  left: 0; right: 0;
}

.nav-drawer__cta {
  font-size: 0.875rem;
  padding: 0.75rem 2.5rem;
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-xl);
  margin-top: auto;
}

/* ── 4-column grid ────────────────────────────────────────────── */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xl) var(--sp-lg);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border-sub);
}

/* Brand column */
.footer__brand .nav__logo {
  margin-bottom: var(--sp-md);
}
.footer__desc {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  max-width: 30ch;
}

/* Link columns */
.footer__heading {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: var(--sp-md);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col ul a {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  transition: color var(--ease);
}
.footer__col ul a:hover {
  color: var(--clr-accent);
}

/* Contact column */
.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}
.footer__address a {
  transition: color var(--ease);
}
.footer__address a:hover {
  color: var(--clr-accent);
}

/* ── Bottom bar ───────────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-md);
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.775rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.footer__legal a {
  font-size: 0.775rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
  transition: color var(--ease);
}
.footer__legal a:hover {
  color: var(--clr-accent);
}

/* ================================================================
   Utility classes
   ================================================================ */
.accent      { color: var(--clr-accent); }
.text-muted  { color: var(--clr-text-muted); }
.serif       { font-family: var(--font-serif); }
.text-center { text-align: center; }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }

/* ================================================================
   Responsive
   ================================================================ */

/* ── Tablet: collapse nav to hamburger ────────────────────────── */
@media (max-width: 860px) {
  .nav__right  { display: none; }
  .nav__toggle { display: flex; }
  .nav-drawer  { display: flex; }
}

/* ── Tablet footer: 2 columns ─────────────────────────────────── */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
  }
  .footer__brand {
    grid-column: 1 / -1; /* full width */
  }
  .footer__desc {
    max-width: 55ch;
  }
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: auto;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-sm);
  }
}

/* ================================================================
   Scroll Reveal  (IntersectionObserver)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .about-teaser__diamond { animation: none !important; }
}

/* ================================================================
   Home — Hero
   ================================================================ */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow  { animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.10s both; }
.hero__headline { animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.25s both; }
.hero__sub      { animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.40s both; }
.hero__ctas     { animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s both; }
.hero__stats    { animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s both; }
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero__headline, .hero__sub,
  .hero__ctas, .hero__stats { animation: none; }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Subtle gold grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(182, 141, 64, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 141, 64, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
/* Ambient warm glow */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(182, 141, 64, 0.07) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-md);
  padding-block: var(--sp-xl);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-accent);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--clr-accent);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 14ch;
  /* Cream-to-gold gradient on text */
  background: linear-gradient(148deg, var(--clr-text) 45%, var(--clr-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.175rem);
  color: var(--clr-text-muted);
  max-width: 54ch;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-xs);
}

/* ── Stats bar ────────────────────────────────────────────────── */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--clr-border-sub);
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__stat {
  padding: var(--sp-md) var(--sp-lg);
  border-right: 1px solid var(--clr-border-sub);
}
.hero__stat:last-child { border-right: none; }

.hero__stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  font-weight: 700;
  color: var(--clr-accent-bright);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero__stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ================================================================
   Home — About Teaser
   ================================================================ */
.about-teaser {
  padding-block: var(--sp-2xl);
}
.about-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.about-teaser__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.about-teaser__text p {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  max-width: 52ch;
}

.about-teaser__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-teaser__diamond {
  filter:
    drop-shadow(0 0 42px rgba(182, 141, 64, 0.18))
    drop-shadow(0 0 90px rgba(182, 141, 64, 0.07));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* ================================================================
   Home — Section header (shared by portfolio, news)
   ================================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}
.section-header__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Centered variant for Values */
.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-header--center .section-label {
  justify-content: center;
}
.section-header--center .section-label::before { display: none; }

/* ================================================================
   Home — Featured Portfolio
   ================================================================ */
.featured-portfolio {
  padding-block: var(--sp-2xl);
  background: var(--clr-bg-subtle);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.portfolio-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-sub);
  border-radius: var(--radius);
  padding: 32px 24px;
  
  display: flex;         /* Converts card into a vertical column stack */
  flex-direction: column;
  height: 100%;          /* Forces cards in the same grid row to match height */
  
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: border-color var(--ease), transform 300ms ease, opacity 190ms ease;
}
.portfolio-card:hover {
  border-color: var(--clr-border);
  transform: translateY(-4px);
}
.portfolio-card > div[aria-hidden="true"],
.portfolio-card > div:first-child:not(.portfolio-card__sector) {
  height: 80px;            /* Fixes vertical space allowance for logos */
  display: flex;
  align-items: center;      /* Vertically centers wide vs tall logos */
  justify-content: flex-start; /* Keeps them left-aligned */
  margin-bottom: var(--sp-sm);
}
.portfolio-card > div img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;     /* Prevents logo distortions or cropping */
}
.portfolio-card__sector {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-xs); /* Standardized lower spacing */
}
.portfolio-card__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: var(--sp-sm); /* Standardized lower spacing */
}
.portfolio-card__desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  max-width: none;
  margin-bottom: var(--sp-lg);
  
  flex-grow: 1; /* Magic step: stretches to absorb dead space if text is short */
}
.portfolio-card__meta {
  display: flex;
  justify-content: space-between; /* Spreads Metric & Region to opposite edges */
  gap: var(--sp-md);
  border-top: 1px solid var(--clr-border-sub);
  padding-top: var(--sp-sm);
  margin-top: auto; /* Forces this entire block to snap straight to the card base */
}
.portfolio-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.portfolio-card__meta-label {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  opacity: 0.65;
}
.portfolio-card__meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
}
/* Link Actions */
.portfolio-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--sp-md); /* Ensures consistent breathing room from metadata line */
  transition: gap var(--ease);
}
.portfolio-card__link:hover { gap: 0.7rem; }

/* ================================================================
   Home — Values Strip
   ================================================================ */
.values-strip {
  padding-block: var(--sp-2xl);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}
.value-card {
  padding: var(--sp-lg);
  border: 1px solid var(--clr-border-sub);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: border-color var(--ease), background var(--ease);
}
.value-card:hover {
  border-color: var(--clr-border);
  background: var(--clr-bg-subtle);
}
.value-card__icon {
  width: 36px;
  height: 36px;
  color: var(--clr-accent);
  flex-shrink: 0;
}
.value-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
}
.value-card__text {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ================================================================
   Home — News Teaser
   ================================================================ */
.news-teaser {
  padding-block: var(--sp-2xl);
  background: var(--clr-bg-subtle);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.news-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-sub);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: border-color var(--ease);
}
.news-card:hover { border-color: var(--clr-border); }

.news-card__date {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
}
.news-card__headline {
  font-family: var(--font-serif);
  font-size: 1.175rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.3;
}
.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  flex: 1;
  max-width: none;
}
.news-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--sp-xs);
  transition: gap var(--ease);
}
.news-card__link:hover { gap: 0.7rem; }

/* ================================================================
   Home — Responsive
   ================================================================ */
@media (max-width: 960px) {
  .portfolio-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .about-teaser__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
  .about-teaser__visual { order: -1; }
  .about-teaser__diamond { width: 200px; height: 200px; }
}

@media (max-width: 600px) {
  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Borders on 2×2 grid */
  .hero__stat:nth-child(2) { border-right: none; }
  .hero__stat:nth-child(1),
  .hero__stat:nth-child(2) { border-bottom: 1px solid var(--clr-border-sub); }

  .portfolio-grid,
  .news-grid { grid-template-columns: 1fr; }

  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   Light sections — cream (#F4F1E8) background
   Applied to .about-teaser and .values-strip
   ================================================================ */

/* ── About Teaser ─────────────────────────────────────────────── */
.about-teaser {
  background: var(--clr-bg-light);
}
.about-teaser h2 {
  color: var(--clr-text-on-light);
}
.about-teaser__text p {
  color: var(--clr-text-on-light-muted);
}
/* Stronger glow is needed against the light background */
.about-teaser .about-teaser__diamond {
  filter:
    drop-shadow(0 0 28px rgba(182, 141, 64, 0.32))
    drop-shadow(0 0 70px rgba(182, 141, 64, 0.14));
}

/* Founder quote block */
.about-teaser__quote {
  border-left: 3px solid var(--clr-accent);
  padding: var(--sp-sm) var(--sp-md);
  background: rgba(182, 141, 64, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--clr-text-on-light);
  line-height: 1.6;
  max-width: 46ch;
}
.about-teaser__quote cite {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-top: 0.5rem;
}

/* ── Values Strip ─────────────────────────────────────────────── */
.values-strip {
  background: var(--clr-bg-light);
}
.values-strip h2 {
  color: var(--clr-text-on-light);
}
.values-strip .section-label {
  color: var(--clr-accent);
}
.values-strip .value-card {
  background: #FFFFFF;
  border-color: var(--clr-border-light);
}
.values-strip .value-card:hover {
  border-color: var(--clr-accent);
  background: var(--clr-bg-warm);
}
.values-strip .value-card__title {
  color: var(--clr-text-on-light);
}
.values-strip .value-card__text {
  color: var(--clr-text-on-light-muted);
}

/* ================================================================
   Inner Page Hero  (about, portfolio, contact)
   ================================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--sp-2xl));
  padding-bottom: var(--sp-2xl);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(182,141,64,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182,141,64,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(182,141,64,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: var(--sp-md);
  max-width: 680px;
}
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clr-accent);
  animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.10s both;
}
.page-hero__eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--clr-accent); flex-shrink: 0;
}
.page-hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--clr-text);
  animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}
.page-hero__sub {
  font-size: clamp(0.9375rem, 1.2vw, 1.05rem);
  color: var(--clr-text-muted); line-height: 1.75;
  animation: hero-enter 0.8s cubic-bezier(0.16,1,0.3,1) 0.40s both;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__eyebrow, .page-hero__headline, .page-hero__sub { animation: none; }
}

/* ================================================================
   About — Founder
   ================================================================ */
.founder-section {
  background: var(--clr-bg-light);
  padding-block: var(--sp-2xl);
}
.founder-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-2xl);
  align-items: start;
}
.founder-photo {
  aspect-ratio: 4 / 5;
  background: transparent; /* Changed from var(--clr-bg) to transparent */
  border: none;            /* Removes the border frame outline around the block */
  border-radius: var(--radius);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  
  justify-content: center;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.founder-photo__initials {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.1em;
  user-select: none;
}
.founder-bio {
  display: flex; flex-direction: column; gap: var(--sp-md);
}
.founder-bio h2 { color: var(--clr-text-on-light); }
.founder-bio > p {
  font-size: 1.0625rem;
  color: var(--clr-text-on-light-muted);
  line-height: 1.8; max-width: 54ch;
}
.founder-stats {
  display: flex; gap: var(--sp-xl); flex-wrap: wrap;
  padding-block: var(--sp-sm);
  border-top: 1px solid var(--clr-border-light);
  border-bottom: 1px solid var(--clr-border-light);
}
.founder-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.founder-stat__number {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--clr-accent); line-height: 1;
}
.founder-stat__label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-text-on-light-muted);
}
.founder-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--clr-accent); letter-spacing: 0.04em;
  transition: gap var(--ease);
}
.founder-link:hover { gap: 0.7rem; }

/* ================================================================
   About — Timeline
   ================================================================ */
.timeline-section { padding-block: var(--sp-2xl); }
.timeline {
  max-width: 640px;
  margin-inline: auto;
}
.timeline__item {
  display: grid;
  grid-template-columns: 52px 24px 1fr;
  gap: 0 var(--sp-sm);
  align-items: start;
}
.timeline__year {
  grid-column: 1; text-align: right; padding-top: 3px;
  font-size: 0.8125rem; font-weight: 700;
  color: var(--clr-accent-bright); letter-spacing: 0.06em; white-space: nowrap;
}
.timeline__track {
  grid-column: 2;
  display: flex; flex-direction: column; align-items: center;
}
.timeline__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  border: 2px solid var(--clr-bg);
  flex-shrink: 0; margin-top: 3px;
}
.timeline__line {
  width: 1px; flex: 1; min-height: 24px;
  background: rgba(182,141,64,0.22);
}
.timeline__item:last-child .timeline__line { display: none; }
.timeline__body { grid-column: 3; padding-bottom: var(--sp-md); }
.timeline__company {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--clr-text); line-height: 1.3;
}
.timeline__sector {
  display: block;
  font-size: 0.8rem; color: var(--clr-text-muted);
  margin-top: 0.15rem; letter-spacing: 0.02em;
}
.timeline__item--current .timeline__dot {
  background: var(--clr-accent-bright);
  box-shadow: 0 0 0 4px rgba(229,168,35,0.18);
}
.timeline__item--current .timeline__company { color: var(--clr-accent-bright); }

/* ================================================================
   About — Advisory Board
   ================================================================ */
.advisory-section {
  background: var(--clr-bg-warm);
  padding-block: var(--sp-2xl);
}
.advisory-section h2 { color: var(--clr-text-on-light); }
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.advisory-card {
  background: #FFFFFF;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-xs);
  transition: border-color var(--ease), transform 300ms ease;
}
.advisory-card:hover { border-color: var(--clr-accent); transform: translateY(-3px); }
.advisory-card__name {
  font-family: var(--font-serif);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--clr-text-on-light); line-height: 1.25;
}
.advisory-card__role {
  font-size: 0.8125rem;
  color: var(--clr-text-on-light-muted);
  line-height: 1.6; max-width: none;
}

/* ================================================================
   About — Impact & ESG
   ================================================================ */
.impact-section {
  padding-block: var(--sp-2xl);
  background: var(--clr-bg-subtle);
}
.impact-intro {
  font-size: 1.0625rem; color: var(--clr-text-muted);
  line-height: 1.8; max-width: 66ch;
  margin-inline: auto; text-align: center;
  margin-bottom: var(--sp-xl);
}
.impact-stat {
  display: flex; align-items: baseline;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}
.impact-stat__number {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700; color: var(--clr-accent-bright); line-height: 1;
}
.impact-stat__divider {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300; color: var(--clr-accent); line-height: 1;
  margin-inline: 0.2rem;
}
.impact-stat__total {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400; color: var(--clr-text-muted); line-height: 1;
}
.impact-stat__label {
  width: 100%; text-align: center;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clr-text-muted); margin-top: var(--sp-sm);
}
.sdg-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.sdg-pillar {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-sub);
  border-radius: var(--radius);
  padding: var(--sp-md) var(--sp-lg);
  font-size: 0.875rem; font-weight: 600;
  color: var(--clr-text); letter-spacing: 0.04em;
  display: flex; align-items: center; gap: var(--sp-sm);
  transition: border-color var(--ease), background var(--ease);
}
.sdg-pillar::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--clr-accent);
  transform: rotate(45deg); flex-shrink: 0;
}
.sdg-pillar:hover { border-color: var(--clr-border); background: var(--clr-bg); }

/* ── Founder photo placeholder label ─────────────────────────── */
.founder-photo__placeholder-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.55;
  margin-top: var(--sp-sm);
  user-select: none;
}

/* ── Advisory card photo placeholder ─────────────────────────── */
.advisory-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-bg-light);
  
  /* Fallback border style for cards that don't have a picture yet */
  border: 1px dashed rgba(18, 38, 32, 0.22); 
  
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
  flex-shrink: 0;
  
  /* MAGIC FIX: This masks the image so anything outside the 56px circle vanishes */
  overflow: hidden;
}
.advisory-card__photo img {
  width: 100%;
  height: 100%;
  
  /* Centers and crops the photo evenly like a profile picture without warping */
  object-fit: cover; 
  object-position: center;
}
.advisory-card__photo-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-on-light-muted);
  opacity: 0.7;
  user-select: none;
}
.advisory-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes Flag to left, LinkedIn to right */
  border-top: 1px solid rgba(18, 38, 32, 0.08); /* Soft matching line */
  padding-top: var(--sp-xs);
  margin-top: auto; /* Anchors the action bar down */
}

/* Flag Circle Frame */
.advisory-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--clr-bg-light);
  border: 1px solid rgba(18, 38, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisory-flag__img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops rectangle flags safely into circles */
}

/* LinkedIn Icon Link Styling */
.advisory-linkedin {
  color: var(--clr-text-on-light-muted);
  transition: color var(--ease), transform var(--ease);
  display: inline-flex;
  align-items: center;
}

.advisory-linkedin__icon {
  width: 20px;
  height: 20px;
}

/* Hover Effect: Changes to your global dark background signature brand color */
.advisory-linkedin:hover {
  color: #0077b5; /* Standard official LinkedIn brand color */
  transform: translateY(-1px);
}

/* ── SDG logo placeholder grid ────────────────────────────────── */
.sdg-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.sdg-logo-ph {
  aspect-ratio: 1;
  border: 1px dashed rgba(229, 168, 35, 0.35);
  border-radius: var(--radius);
  background: rgba(229, 168, 35, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.sdg-logo-ph span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(229, 168, 35, 0.5);
  text-align: center;
  line-height: 1.3;
}

/* ── Ecosystem layer external link ────────────────────────────── */
.layer-desc-link {
  color: var(--clr-accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(182, 141, 64, 0.4);
  transition: color var(--ease), text-decoration-color var(--ease);
}
.layer-desc-link:hover {
  color: var(--clr-accent-bright);
  text-decoration-color: var(--clr-accent-bright);
}
.layer-section--light .layer-desc-link { color: var(--clr-accent); }
.layer-section--light .layer-desc-link:hover { color: var(--clr-text-on-light); }

/* ── About responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .founder-photo { aspect-ratio: 3/2; max-width: 360px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .advisory-grid { grid-template-columns: repeat(2, 1fr); }
  .sdg-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .advisory-grid { grid-template-columns: 1fr; }
  .sdg-pillars { grid-template-columns: 1fr; }
  .founder-stats { gap: var(--sp-lg); }
  .timeline__item { grid-template-columns: 44px 20px 1fr; gap: 0 6px; }
  .timeline__year { font-size: 0.75rem; }
}

/* ================================================================
   Ecosystem — Five Layer Sections
   ================================================================ */
.layer-section        { padding-block: var(--sp-2xl); }
.layer-section--dark  { background: var(--clr-bg); }
.layer-section--light { background: var(--clr-bg-light); }

.layer-inner {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 var(--sp-2xl);
  align-items: start;
}

.layer-index {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: rgba(229, 168, 35, 0.32);
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
  padding-top: 0.25em;
  text-align: right;
  display: block;
}
.layer-section--light .layer-index { color: rgba(182, 141, 64, 0.22); }

.layer-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.layer-content h2                         { color: var(--clr-text); }
.layer-section--light .layer-content h2   { color: var(--clr-text-on-light); }
.layer-section--light .section-label      { color: var(--clr-accent); }

.layer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs) var(--sp-xl);
  padding-block: var(--sp-sm);
  border-top: 1px solid var(--clr-border-sub);
  border-bottom: 1px solid var(--clr-border-sub);
}
.layer-section--light .layer-meta { border-color: var(--clr-border-light); }

.layer-meta__item  { display: flex; flex-direction: column; gap: 0.2rem; }
.layer-meta__label {
  font-size: 0.63rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--clr-text-muted);
}
.layer-section--light .layer-meta__label { color: var(--clr-text-on-light-muted); }
.layer-meta__value {
  font-size: 0.9375rem; font-weight: 600;
  color: var(--clr-accent-light); letter-spacing: 0.01em;
}
.layer-section--light .layer-meta__value { color: var(--clr-accent); }

.layer-desc {
  font-size: 1.0625rem; line-height: 1.8;
  max-width: 60ch; color: var(--clr-text-muted);
}
.layer-section--light .layer-desc { color: var(--clr-text-on-light-muted); }

/* ================================================================
   Ecosystem — Business Model
   ================================================================ */
.biz-model-section {
  background: var(--clr-bg-light);
  padding-block: var(--sp-2xl);
}
.biz-model-section h2 { color: var(--clr-text-on-light); }

.biz-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.biz-card {
  background: var(--clr-bg-warm);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-sm);
  transition: border-color var(--ease), transform 300ms ease;
}
.biz-card:hover { border-color: var(--clr-accent); transform: translateY(-3px); }
.biz-card__num {
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clr-accent);
}
.biz-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 700;
  color: var(--clr-text-on-light); line-height: 1.2;
}
.biz-card__metric {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 1.875rem);
  font-weight: 700; color: var(--clr-accent-bright); line-height: 1;
}
.biz-card__desc {
  font-size: 0.875rem; color: var(--clr-text-on-light-muted);
  line-height: 1.65; max-width: none; flex: 1;
}

/* ================================================================
   Ecosystem — Competitive Matrix
   ================================================================ */
.matrix-section {
  padding-block: var(--sp-2xl);
  background: var(--clr-bg-subtle);
}
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.875rem; min-width: 560px;
}
.matrix-table th,
.matrix-table td {
  padding: 0.875rem 1.125rem;
  text-align: center;
  border-bottom: 1px solid var(--clr-border-sub);
  white-space: nowrap;
}
.matrix-table th:first-child,
.matrix-table td:first-child {
  text-align: left; min-width: 200px;
}
.matrix-table thead th {
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clr-accent); background: var(--clr-bg-deep);
  border-bottom: 1px solid var(--clr-border);
}
.matrix-table tbody td { color: var(--clr-text-muted); }
.matrix-table tbody td:first-child {
  color: var(--clr-text); font-weight: 500;
}
.matrix-table tbody tr:hover:not(.matrix-table__row--msg) {
  background: rgba(255,255,255,0.02);
}
/* MSG row — highlighted */
.matrix-table__row--msg td {
  background: var(--clr-bg-card);
  border-top: 1px solid var(--clr-accent);
  border-bottom: 1px solid var(--clr-accent);
  font-weight: 700;
}
.matrix-table .matrix-table__row--msg td:first-child {
  font-family: var(--font-serif);
  font-size: 1rem; letter-spacing: 0.06em;
  color: var(--clr-accent-bright);
  border-left: 3px solid var(--clr-accent-bright);
}
.matrix-check { color: var(--clr-accent-bright); font-size: 1.1rem; }
.matrix-dash  { color: var(--clr-text-muted); opacity: 0.35; }

/* ================================================================
   Ecosystem — Sector Exposure (bar chart)
   ================================================================ */
.sectors-section {
  background: var(--clr-bg-warm);
  padding-block: var(--sp-2xl);
}
.sectors-section h2 { color: var(--clr-text-on-light); }
.sectors-intro {
  font-size: 1.0625rem; color: var(--clr-text-on-light-muted);
  max-width: 58ch; text-align: center;
  margin-inline: auto; margin-bottom: var(--sp-xl);
}
.sector-chart {
  display: flex; flex-direction: column; gap: 0.875rem;
  max-width: 780px; margin-inline: auto;
}
.sector-row {
  display: grid;
  grid-template-columns: 165px 1fr 88px;
  gap: var(--sp-sm); align-items: center;
}
.sector-name {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--clr-text-on-light); text-align: right;
  letter-spacing: 0.02em;
}
.sector-track {
  height: 10px;
  background: rgba(18, 38, 32, 0.1);
  border-radius: 5px; overflow: hidden;
}
.sector-fill {
  height: 100%;
  background: linear-gradient(to right, var(--clr-accent), var(--clr-accent-bright));
  border-radius: 5px; min-width: 4px;
}
.sector-value {
  font-size: 0.8125rem; font-weight: 700;
  color: var(--clr-accent); text-align: right;
  white-space: nowrap;
}
.sector-divider {
  border: none;
  border-top: 1px solid var(--clr-border-light);
  margin-block: 0.375rem;
}
/* Total row (no bar) */
.sector-row--total {
  display: flex; align-items: center; gap: var(--sp-md);
  padding-top: 0.25rem;
}
.sector-row--total .sector-name {
  text-align: left; min-width: 165px; font-size: 0.875rem;
}
.sector-aggregate-label {
  flex: 1; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-text-on-light-muted);
}
.sector-row--total .sector-value {
  font-family: var(--font-serif);
  font-size: 1.125rem; color: var(--clr-accent-bright);
}

/* ================================================================
   Case Studies Page
   ================================================================ */

/* ── Filter bar ───────────────────────────────────────────────── */
.filter-section {
  background: var(--clr-bg);
  padding-block: var(--sp-md);
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  border-bottom: 1px solid var(--clr-border-sub);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
}
.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-text);
}
.filter-btn.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-bg);
}

/* ── Cases grid ───────────────────────────────────────────────── */
.cases-section {
  background: var(--clr-bg-light);
  padding-block: var(--sp-xl);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Case card ────────────────────────────────────────────────── */
.case-card {
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 190ms ease, transform 190ms ease;
}
.case-card__header {
  padding: var(--sp-md) var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}
.case-card__company {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text-on-light);
}
.case-card__project {
  font-size: 0.78rem;
  color: var(--clr-text-on-light-muted);
  letter-spacing: 0.02em;
}
.case-card__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--clr-bg-warm);
  border-top: 1px solid var(--clr-border-light);
}
.case-col {
  padding: var(--sp-sm);
  border-right: 1px solid rgba(18, 38, 32, 0.08);
}
.case-col:last-child { border-right: none; }
.case-col__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-on-light-muted);
  margin-bottom: 0.4rem;
  display: block;
}
.case-col p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--clr-text-on-light);
  max-width: none;
}
.case-col--impact {
  background: rgba(182, 141, 64, 0.05);
}
.case-col--impact .case-col__label {
  color: var(--clr-accent);
}
.case-col--impact p {
  font-weight: 500;
}

/* ── Case Studies responsive ──────────────────────────────────── */
@media (max-width: 1060px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cases-grid { grid-template-columns: 1fr; }
  .filter-section { position: static; }
  .case-card__body { grid-template-columns: 1fr; }
  .case-col { border-right: none; border-bottom: 1px solid rgba(18, 38, 32, 0.08); }
  .case-col:last-child { border-bottom: none; }
}

/* ================================================================
   Contact Page
   ================================================================ */
.contact-section {
  background: var(--clr-bg-light);
  padding-block: var(--sp-2xl);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-2xl);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  padding-top: var(--sp-sm);
}
.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-info__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
}
.contact-info__value {
  font-size: 0.9375rem;
  color: var(--clr-text-on-light);
  line-height: 1.6;
}
.contact-info__value a {
  color: var(--clr-accent);
  transition: color var(--ease);
}
.contact-info__value a:hover {
  color: var(--clr-text-on-light);
}
.contact-info__desc {
  font-size: 0.9375rem;
  color: var(--clr-text-on-light-muted);
  line-height: 1.75;
  max-width: 38ch;
  margin-top: var(--sp-sm);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border-light);
}

/* ── Contact form ─────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-on-light-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-size: 0.9375rem;
  color: var(--clr-text-on-light);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(82, 95, 108, 0.5);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%23525F6C' stroke-width='1.5' stroke-linecap='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form__submit {
  align-self: flex-start;
  margin-top: var(--sp-xs);
  gap: var(--sp-sm);
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: rgba(182, 141, 64, 0.07);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  margin-top: var(--sp-sm);
}
.form-success__icon {
  font-size: 1.25rem;
  color: var(--clr-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-success strong {
  display: block;
  font-size: 1rem;
  color: var(--clr-text-on-light);
  margin-bottom: 0.25rem;
}
.form-success p {
  font-size: 0.875rem;
  color: var(--clr-text-on-light-muted);
  max-width: none;
}

/* ── Client Segments Strip ────────────────────────────────────── */
.segments-section {
  background: var(--clr-bg);
  padding-block: var(--sp-2xl);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--clr-border-sub);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--sp-xl);
}
.segment-item {
  padding: var(--sp-lg) var(--sp-md);
  border-right: 1px solid var(--clr-border-sub);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: background var(--ease);
}
.segment-item:last-child { border-right: none; }
.segment-item:hover { background: var(--clr-bg-subtle); }
.segment-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(229, 168, 35, 0.22);
  line-height: 1;
  letter-spacing: -0.03em;
}
.segment-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ================================================================
   Polish — Card hover gold top border
   ================================================================ */
.portfolio-card,
.value-card,
.news-card,
.advisory-card,
.biz-card,
.case-card {
  position: relative;
}
.portfolio-card::before,
.value-card::before,
.news-card::before,
.advisory-card::before,
.biz-card::before,
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent), var(--clr-accent-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
  z-index: 2;
}
.portfolio-card:hover::before,
.value-card:hover::before,
.news-card:hover::before,
.advisory-card:hover::before,
.biz-card:hover::before,
.case-card:hover::before {
  transform: scaleX(1);
}

/* ================================================================
   Polish — Hero animation delays (staggered)
   ================================================================ */
.hero__eyebrow  { animation-delay: 0.3s; }
.hero__headline { animation-delay: 0.5s; }
.hero__sub      { animation-delay: 0.7s; }
.hero__ctas     { animation-delay: 0.9s; }
.hero__stats    { animation-delay: 0.5s; }

.page-hero__eyebrow  { animation-delay: 0.3s; }
.page-hero__headline { animation-delay: 0.5s; }
.page-hero__sub      { animation-delay: 0.7s; }

/* ================================================================
   Polish — Comprehensive Breakpoints
   ================================================================ */

/* ── 1200px — max-width container comfort ─────────────────────── */
@media (max-width: 1200px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(3, 1fr); }
  .segment-item:nth-child(3) { border-right: none; }
  .segment-item:nth-child(4),
  .segment-item:nth-child(5),
  .segment-item:nth-child(6) {
    border-top: 1px solid var(--clr-border-sub);
  }
  .segment-item:nth-child(6) { border-right: none; }
}

/* ── 900px — tablet pivot ─────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .biz-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px — tablets ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --sp-2xl: 4.5rem;
    --sp-xl:  3rem;
  }
  .hero__ctas .btn { padding: 0.875rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form__submit { width: 100%; justify-content: center; }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .segment-item:nth-child(2) { border-right: none; }
  .segment-item:nth-child(3) { border-right: 1px solid var(--clr-border-sub); border-top: 1px solid var(--clr-border-sub); }
  .segment-item:nth-child(4) { border-right: none; border-top: 1px solid var(--clr-border-sub); }
  .segment-item:nth-child(5) { border-right: 1px solid var(--clr-border-sub); border-top: 1px solid var(--clr-border-sub); }
  .segment-item:nth-child(6) { border-right: none; border-top: 1px solid var(--clr-border-sub); }
}

/* ── 480px — mobile ───────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --sp-2xl: 3.5rem;
    --sp-xl:  2.5rem;
    --sp-lg:  2rem;
  }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .filter-bar { flex-wrap: wrap; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card__body { grid-template-columns: 1fr; }
  .case-col { border-right: none; border-bottom: 1px solid rgba(18,38,32,.08); }
  .case-col:last-child { border-bottom: none; }
  .segments-grid { grid-template-columns: 1fr; }
  .segment-item { border-right: none; border-top: 1px solid var(--clr-border-sub); }
  .segment-item:first-child { border-top: none; }
  .biz-cards { grid-template-columns: 1fr; }
  .contact-info__desc { max-width: none; }
  .page-hero { padding-top: calc(var(--nav-h) + var(--sp-xl)); padding-bottom: var(--sp-xl); }
}

/* ── Ecosystem responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .layer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }
  .layer-index {
    text-align: left; padding-top: 0; padding-bottom: var(--sp-xs);
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  .biz-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .biz-cards { grid-template-columns: 1fr; }
  .sector-row { grid-template-columns: 120px 1fr 80px; }
  .sector-name { font-size: 0.75rem; }
}
@media (max-width: 500px) {
  .sector-row { grid-template-columns: 90px 1fr 68px; }
  .sector-name { font-size: 0.7rem; }
  .sector-value { font-size: 0.7rem; }
  .sector-row--total .sector-name { min-width: 90px; font-size: 0.8rem; }
}

/* ================================================================
   Portfolio Page
   ================================================================ */

/* ── Logo placeholder ─────────────────────────────────────────── */
.card__logo-placeholder {
  height: 72px;
  background: #0E2418;
  border: 1px solid rgba(182, 141, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
  border-radius: var(--radius-sm);
}

/* ── Grid section (light) ─────────────────────────────────────── */
.portfolio-section {
  background: var(--clr-bg-light);
  padding-block: var(--sp-xl);
}
.portfolio-section .portfolio-card {
  background: #FFFFFF;
  border-color: var(--clr-border-light);
}
.portfolio-section .portfolio-card__name {
  color: var(--clr-text-on-light);
}
.portfolio-section .portfolio-card__desc {
  color: var(--clr-text-on-light-muted);
}
.portfolio-section .portfolio-card__meta {
  border-top-color: var(--clr-border-light);
}
.portfolio-section .portfolio-card__meta-label {
  color: var(--clr-text-on-light-muted);
}
.portfolio-section .portfolio-card__meta-value {
  color: var(--clr-text-on-light);
}

/* ── Card link ─────────────────────────────────────────────────── */
.portfolio-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--sp-xs);
  transition: gap var(--ease);
}
.portfolio-card__link:hover { gap: 0.7rem; }

/* ── CTA strip (dark) ────────────────────────────────────────────*/
.portfolio-cta {
  background: var(--clr-bg);
  padding-block: var(--sp-2xl);
}
.portfolio-cta__inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}
.portfolio-cta__inner h2 {
  font-family: var(--font-serif);
  color: var(--clr-text);
}
.portfolio-cta__inner p {
  color: var(--clr-text-muted);
  max-width: 520px;
}
.portfolio-cta__actions {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-xs);
}

/* ── Portfolio responsive ─────────────────────────────────────── */
@media (max-width: 1200px) {
  .portfolio-section .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .portfolio-section .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .portfolio-cta__actions .btn { justify-content: center; }
}

/* ================================================================
   Coming Soon — Loading screen for pages pending content
   ================================================================ */
.coming-soon {
  background: var(--clr-bg);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--sp-2xl);
}
.coming-soon__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.coming-soon__loader {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--sp-xs);
}
.coming-soon__loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: coming-soon-pulse 1.2s ease-in-out infinite;
}
.coming-soon__loader span:nth-child(2) { animation-delay: 0.15s; }
.coming-soon__loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes coming-soon-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40%           { transform: scale(1);   opacity: 1; }
}
.coming-soon__inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.15;
}
.coming-soon__inner p {
  color: var(--clr-text-muted);
  line-height: 1.65;
  max-width: 440px;
}
.coming-soon__inner .btn {
  margin-top: var(--sp-sm);
}
@media (prefers-reduced-motion: reduce) {
  .coming-soon__loader span { animation: none; opacity: 0.8; }
}

/* Products page styles live under the "Products Page Styles" block
   further down (.msg-products .mp-* — scoped to the products pages). */

/* Disable dragging, selecting, and right-clicking on images */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none; 
}

/* ================================================================
   Products Page Styles
   ================================================================ */

/* ── Products Hero ─────────────────────────────────────────────── */
.msg-products .mp-hero {
  background: var(--clr-bg);
  color: var(--clr-text);
  padding: 96px 0 80px;
}
.msg-products .mp-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  line-height: 1.08;
  color: var(--clr-text);
  margin-top: 18px;
  max-width: 780px;
}
.msg-products .mp-hero p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--clr-text-muted);
  max-width: 640px;
}
.msg-products .mp-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

/* ── Products Section ──────────────────────────────────────────── */
.msg-products .mp-section {
  background: var(--clr-bg-light);
  padding: 80px 0;
}
.msg-products .mp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 38px;
}
.msg-products .mp-section-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--clr-text-on-light);
}
.msg-products .mp-section-head .mp-note {
  font-size: 13.5px;
  color: var(--clr-text-on-light-muted);
  max-width: 340px;
  text-align: right;
}

/* ── Category Grid ─────────────────────────────────────────────── */
.msg-products .mp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #CFC9B5;
  border: 1px solid #CFC9B5;
}

/* ── Category Card ─────────────────────────────────────────────── */
.msg-products .mp-card {
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background .2s;
  border: none;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
  width: 100%;
  position: relative;
}
.msg-products .mp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent), var(--clr-accent-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
  z-index: 2;
}
.msg-products .mp-card:hover::before {
  transform: scaleX(1);
}
.msg-products .mp-card:hover,
.msg-products .mp-card:focus-visible {
  background: var(--clr-bg-warm);
}
.msg-products .mp-card:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: -2px;
}

.msg-products .ph-media {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, #E7E2D2 0 11px, #F0EBDB 11px 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #DBD6C6;
  overflow: hidden;
}
.msg-products .ph-media.ph-square {
  aspect-ratio: 1;
}
.msg-products .ph-media span {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: #A39E8C;
  text-transform: uppercase;
}
.msg-products .ph-media img,
.msg-products .mp-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msg-products .mp-card-body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.msg-products .mp-key {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--clr-accent);
  letter-spacing: .06em;
  font-weight: 600;
}
.msg-products .mp-card-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--clr-text-on-light);
  margin-top: 10px;
  line-height: 1.2;
}
.msg-products .mp-card-body p {
  font-size: 13.5px;
  color: var(--clr-text-on-light-muted);
  margin-top: 8px;
  line-height: 1.5;
  flex: 1;
}
.msg-products .mp-cta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--clr-accent);
  font-size: 12.5px;
  font-weight: 600;
}
.msg-products .mp-cta-link .arrow {
  font-size: 15px;
}

/* ── Detail View ───────────────────────────────────────────────── */
.msg-products .mp-detail-hero {
  background: var(--clr-bg);
  color: var(--clr-text);
  padding: 90px 0 78px;
  position: relative;
  overflow: hidden;
}
.msg-products .mp-detail-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  line-height: 1.06;
  color: var(--clr-text);
  margin-top: 16px;
}
.msg-products .mp-detail-hero p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--clr-text-muted);
  max-width: 640px;
}
.msg-products .mp-back {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--clr-text-muted);
  cursor: pointer;
  margin-bottom: 24px;
  background: none;
  border: none;
  padding: 0;
  display: inline-block;
  font-weight: 500;
  transition: color var(--ease);
}
.msg-products .mp-back:hover {
  color: var(--clr-accent-bright);
}

/* ── Product Grid ──────────────────────────────────────────────── */
.msg-products .mp-products-grid-head {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2rem);
  color: var(--clr-text-on-light);
  margin-bottom: 34px;
}

/* ── Sub-group header (used on pages with grouped SKUs, e.g. Stones) ── */
.msg-products .mp-group {
  margin-bottom: 56px;
}
.msg-products .mp-group:last-child {
  margin-bottom: 0;
}
.msg-products .mp-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.msg-products .mp-group-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--clr-accent);
}
.msg-products .mp-group-head h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--clr-text-on-light);
}

.msg-products .mp-grid-3-gap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.msg-products .mp-product-card .ph-media span {
  font-size: 10px;
}
.msg-products .mp-product-card {
  background: #FFFFFF;
  border: 1px solid #DBD6C6;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.msg-products .mp-product-card:hover {
  box-shadow: 0 14px 36px rgba(18,38,32,0.1);
  transform: translateY(-3px);
}
.msg-products .mp-product-body {
  padding: 22px 24px;
}
.msg-products .mp-product-body h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--clr-text-on-light);
  margin-top: 8px;
}
.msg-products .mp-product-body p {
  font-size: 13px;
  color: var(--clr-text-on-light-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── CTA Band ──────────────────────────────────────────────────── */
.msg-products .mp-cta-band {
  background: var(--clr-bg);
  color: var(--clr-text);
  padding: 72px 0;
}
.msg-products .mp-cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.msg-products .mp-cta-band h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--clr-text);
  max-width: 540px;
}
.msg-products .mp-btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--clr-accent);
  color: var(--clr-bg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s;
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.msg-products .mp-btn:hover,
.msg-products .mp-btn:focus-visible {
  background: var(--clr-accent-bright);
}
.msg-products .mp-btn:focus-visible {
  outline: 2px solid var(--clr-text);
  outline-offset: 2px;
}

/* ── Products Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .msg-products .mp-hero,
  .msg-products .mp-detail-hero {
    padding: 64px 0 52px;
  }
  .msg-products .mp-hero h1,
  .msg-products .mp-detail-hero h1 {
    font-size: 36px;
  }
  .msg-products .mp-section {
    padding: 56px 0;
  }
  .msg-products .mp-grid-3,
  .msg-products .mp-grid-3-gap {
    grid-template-columns: repeat(2, 1fr);
  }
  .msg-products .mp-section-head .mp-note {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .msg-products .mp-hero h1,
  .msg-products .mp-detail-hero h1 {
    font-size: 30px;
  }
  .msg-products .mp-grid-3,
  .msg-products .mp-grid-3-gap {
    grid-template-columns: 1fr;
  }
  .msg-products .mp-cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .msg-products .mp-btn {
    width: 100%;
    text-align: center;
  }
  .msg-products .mp-group-head {
    flex-direction: column;
    gap: 4px;
  }
  /* ── Product grid ─────────────────────────────────────────────── */
  .mp-grid-3-gap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }
  .mp-product-card {
    background: #FFFFFF;
    border: 1px solid var(--clr-border-light);
    border-radius: var(--radius);
    padding: var(--sp-md);
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
    position: relative;
    transition: border-color var(--ease), transform 300ms ease;
  }
  .mp-product-card:hover {
    border-color: var(--clr-accent);
    transform: translateY(-3px);
  }
  .mp-product-card__image {
    height: 120px;
    background: #0E2418;
    border: 1px solid rgba(182, 141, 64, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: var(--sp-xs);
  }
  .mp-product-card__sku {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-accent);
  }
  .mp-product-card__name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-text-on-light);
    line-height: 1.25;
  }
  .mp-product-card__desc {
    font-size: 0.8125rem;
    color: var(--clr-text-on-light-muted);
    line-height: 1.55;
  }
}