/* ============================================================
   FRAM GROUP — shared site styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #b8963e;
  --gold-light: #d4b06a;
  --gold-pale: #e8d5a3;
  --ink: #141009;
  --ink-mid: #1f1a11;
  --ink-card: #1c1710;
  --cream: #ffffff;
  --cream-muted: #f0e8d8;
  --cream-dim: #d4c9b5;
  --page-w: 720px;
  --page-w-wide: 980px;

  --gold-grad: linear-gradient(135deg, #8a6820 0%, #d4a84b 30%, #f0d080 55%, #d4a84b 75%, #8a6820 100%);
  --gold-grad-simple: linear-gradient(135deg, #c9a44a, #f0d080, #b8903a);
  --gold-shimmer: linear-gradient(105deg, #8a6820 0%, #c9a44a 35%, #f5e0a0 50%, #c9a44a 65%, #8a6820 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Disable bounce only on touch devices */
@media (hover: none) and (pointer: coarse) {
  html, body { overscroll-behavior-y: none; }
}

/* premium background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(120,80,20,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 85%, rgba(100,65,15,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(80,50,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 40px 80px;
}
.page.wide { max-width: var(--page-w-wide); }

/* ─── TOP BAR (always present, slim) ─── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(16, 13, 9, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(184,150,62,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px 7px;
  gap: 16px;
  font-family: 'Jost', sans-serif;
  overflow: hidden;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar.scrolled {
  background: rgba(16, 13, 9, 0.94);
  border-bottom-color: rgba(184,150,62,0.28);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--cream);
  flex-shrink: 0;
  white-space: nowrap;
}
.topbar-brand .name { white-space: nowrap; }
.topbar-brand .bracket {
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  border-right: none;
  opacity: 0.85;
}
.topbar-brand .bracket.right { border-right: 1px solid var(--gold); border-left: none; }
.topbar-brand .name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Inline nav — directions (left) and secondary (right) */
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  min-width: 0;
}
.topbar-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
  flex-shrink: 0;
}
.topbar-nav a:hover { color: var(--gold-light); }
.topbar-nav a.current {
  color: var(--cream);
}
.topbar-nav a.current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  justify-content: flex-end;
  flex-shrink: 1;
}

/* Icon row (WA, TG, Phone) */
.topbar-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-icon,
.topbar-icon:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: var(--cream-dim);
  transition: color 0.2s, transform 0.2s;
}
.topbar-icon:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.lang-switch button {
  background: none;
  border: none;
  padding: 4px 6px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  font-weight: 400;
  color: var(--cream-dim);
  cursor: pointer;
  transition: color 0.2s;
}
.lang-switch button:hover { color: var(--gold-light); }
.lang-switch button.active { color: var(--gold-light); }
.lang-switch .sep { opacity: 0.4; }

.menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0.5px solid rgba(184,150,62,0.4);
  padding: 7px 10px;
  color: var(--cream-dim);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  gap: 7px;
  flex-shrink: 0;
}
.menu-trigger:hover { color: var(--gold-light); border-color: rgba(184,150,62,0.8); }
/* Three thin lines stacked */
.menu-trigger-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.menu-trigger-icon span {
  display: block;
  height: 1px;
  background: currentColor;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-trigger-icon span:nth-child(2) { width: 65%; }

/* Responsive: hide brand on narrow viewports, keep nav always visible */
@media (max-width: 900px) {
  .topbar-brand { display: none; }
}
@media (max-width: 480px) {
  .topbar-nav a { font-size: 10px; letter-spacing: 0.14em; }
  .topbar-left { gap: 10px; }
  .topbar { padding: 12px 14px; gap: 8px; }
}

@media (max-width: 600px) {
  .topbar { padding: 12px 18px; gap: 12px; }
  .topbar-brand .name { font-size: 13px; letter-spacing: 0.18em; }
  .topbar-right { gap: 14px; }
}

/* ─── STICKY ANCHORS (home only) ─── */
.sticky-anchors {
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 32px;
  background: rgba(16, 13, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(184,150,62,0.18);
  overflow-x: auto;
  scrollbar-width: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-anchors::-webkit-scrollbar { display: none; }
.sticky-anchors.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-anchors a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 10px 14px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
.sticky-anchors a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.sticky-anchors a:hover { color: var(--gold-light); }
.sticky-anchors a:hover::after { opacity: 0.6; }
.sticky-anchors a:visited { color: var(--cream-dim); }
.sticky-anchors a.active { color: var(--cream-dim); }
.sticky-anchors a.active::after { opacity: 0.7; }

@media (max-width: 600px) {
  .sticky-anchors {
    padding: 0 16px;
    justify-content: flex-start;
    top: 50px;
    gap: 0;
  }
  .sticky-anchors a {
    font-size: 10px;
    padding: 9px 8px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ─── FULLSCREEN MENU ─── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #100d09;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(140,100,30,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(100,65,15,0.14) 0%, transparent 55%);
  pointer-events: none;
}

.menu-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #100d09;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 0.5px solid rgba(184,150,62,0.18);
}
.menu-top .topbar-brand .name { font-size: 17px; }

.menu-close {
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 4px;
  transition: color 0.2s;
}
.menu-close:hover { color: var(--gold-light); }
.menu-close .x {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}
.menu-close .x::before,
.menu-close .x::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.menu-close .x::before { transform: rotate(45deg); }
.menu-close .x::after  { transform: rotate(-45deg); }

.menu-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 28px 80px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.menu-nav-item { display: flex; flex-direction: column; gap: 4px; }
.menu-nav-item > a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 54px;
  line-height: 1.1;
  color: var(--cream);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
}
.menu-overlay.open .menu-nav-item > a {
  opacity: 1;
  transform: translateY(0);
  transition: color 0.25s ease, transform 0.5s ease, opacity 0.5s ease;
}
.menu-overlay.open .menu-nav-item:nth-child(1) > a { transition-delay: 0.10s; }
.menu-overlay.open .menu-nav-item:nth-child(2) > a { transition-delay: 0.16s; }
.menu-overlay.open .menu-nav-item:nth-child(3) > a { transition-delay: 0.22s; }
.menu-overlay.open .menu-nav-item:nth-child(4) > a { transition-delay: 0.28s; }
.menu-overlay.open .menu-nav-item:nth-child(5) > a { transition-delay: 0.34s; }
.menu-overlay.open .menu-nav-item:nth-child(6) > a { transition-delay: 0.40s; }
.menu-nav-item > a:hover { color: var(--gold-light); transform: translateY(0) translateX(8px); }
.menu-nav-item.current > a { color: var(--gold-light); }

.menu-subitems {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding-left: 70px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu-overlay.open .menu-subitems {
  opacity: 1;
  transform: translateY(0);
}
.menu-overlay.open .menu-nav-item:nth-child(3) .menu-subitems { transition-delay: 0.32s; }
.menu-overlay.open .menu-nav-item:nth-child(4) .menu-subitems { transition-delay: 0.38s; }
.menu-overlay.open .menu-nav-item:nth-child(5) .menu-subitems { transition-delay: 0.44s; }
.menu-overlay.open .menu-nav-item:nth-child(6) .menu-subitems { transition-delay: 0.50s; }
.menu-subitems a {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.menu-subitems a:hover { color: var(--gold-light); }
.menu-subitems a.active-sub {
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.menu-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 0.5px solid rgba(184,150,62,0.32);
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}
.menu-overlay.open .menu-aside {
  opacity: 1;
  transform: translateY(0);
}
.menu-aside-contact-icons {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.menu-aside-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-muted);
  font-family: 'Jost', sans-serif;
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.menu-aside-icon:hover { color: var(--gold-light); }
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.menu-aside-line {
  font-size: 17px;
  color: var(--cream-muted);
  line-height: 1.7;
}
.menu-aside-line a {
  color: var(--cream-muted);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(212,168,75,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.menu-aside-line a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.menu-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-top: 0.5px solid rgba(184,150,62,0.18);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.menu-foot .ornament {
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.4em;
}

@media (max-width: 900px) {
  .menu-body {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 32px;
  }
  .menu-aside {
    border-left: none;
    border-top: 0.5px solid rgba(184,150,62,0.32);
    padding-left: 0;
    padding-top: 28px;
  }
  .menu-nav a { font-size: 36px; }
}
@media (max-width: 480px) {
  .menu-nav a { font-size: 28px; gap: 12px; }
  .menu-foot { padding: 16px 18px; font-size: 9px; }
  .menu-top { padding: 16px 18px; }
}

/* footer nav */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  border-bottom: 0.5px solid rgba(184,150,62,0.15);
  margin-bottom: 24px;
  padding-bottom: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col:not(:last-child) {
  border-right: 0.5px solid rgba(184,150,62,0.12);
  padding-right: 40px;
}
.footer-col-head {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.footer-col a {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0.75;
}
.footer-col a:visited { color: var(--cream); }
.footer-col a:hover { color: var(--gold-light); opacity: 1; }
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 0; }
  .footer-col:not(:last-child) { border-right: none; padding-right: 0; border-bottom: 0.5px solid rgba(184,150,62,0.12); padding-bottom: 20px; margin-bottom: 20px; }
}

.subnav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  margin-left: -8px;
  color: var(--cream-dim);
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
  border-right: 0.5px solid rgba(184,150,62,0.2);
  padding-right: 4px;
  margin-right: 4px;
}
.subnav-home:hover { opacity: 1; color: var(--gold-light); }
.subnav-home svg { display: block; }

/* Project cards (about-projects) */
.about-projects {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border: 0.5px solid rgba(184,150,62,0.25);
}
.about-project-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 40px;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(184,150,62,0.12);
  transition: background 0.2s;
}
.about-project-card:last-child { border-bottom: none; }
.about-project-card:hover { background: rgba(184,150,62,0.04); }
.about-project-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.6;
}
.about-project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.about-project-desc {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: var(--cream);
  opacity: 0.65;
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
}
.about-project-link {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-top: 4px;
  border-bottom: 0.5px solid rgba(184,150,62,0.3);
  padding-bottom: 1px;
  align-self: flex-start;
}
@media (max-width: 900px) {
  .about-project-card { padding: 24px 20px; }
}

/* footer nav (legacy) */
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 28px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer-nav a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0 2px;
}
.footer-nav a:visited { color: var(--cream); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-nav-sep {
  color: var(--gold);
  opacity: 0.4;
  padding: 0 10px;
  font-size: 1.2em;
}
a:visited {
  color: inherit;
}

/* Base link reset — prevent browser blue */
a {
  color: inherit;
  text-decoration: none;
}

/* ─── RULES & ORNAMENT ─── */
.rule {
  border: none;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(212,168,75,0.5) 20%, rgba(240,208,128,0.7) 50%, rgba(212,168,75,0.5) 80%, transparent);
  opacity: 1;
}
.rule-full {
  background: linear-gradient(90deg, transparent, rgba(212,168,75,0.5) 20%, rgba(240,208,128,0.7) 50%, rgba(212,168,75,0.5) 80%, transparent);
}
.ornament {
  text-align: center;
  color: var(--gold);
  opacity: 0.4;
  font-size: 18px;
  letter-spacing: 0.3em;
  padding: 8px 0;
}

.dot-sep {
  color: var(--gold);
  font-size: 1.6em;
  position: relative;
  top: 0.08em;
  margin: 0 0.5em;
}

/* ─── LOGO MARK ─── */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo-mark .bracket {
  width: 22px; height: 22px;
  border: 1.5px solid var(--gold);
  border-right: none;
  box-shadow: 0 0 8px rgba(212,168,75,0.2);
}
.logo-mark .bracket.right { border-right: 1.5px solid var(--gold); border-left: none; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.22em;
  color: var(--cream);
  text-transform: uppercase;
}

/* ─── HEADER ─── */
.page-header {
  padding: 110px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.header-sub {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-top: 6px;
}

/* Breadcrumb — fixed below topbar on detail pages */
.crumb {
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  z-index: 80;
  padding: 14px 64px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  background: rgba(16, 13, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(184,150,62,0.22);
}
/* Push page content down so it isn't hidden behind the fixed crumb */
.crumb ~ .hero,
.crumb + * {
  padding-top: 112px;
}
@media (max-width: 600px) {
  .crumb ~ .hero,
  .crumb + * { padding-top: 92px; }
}

.crumb a {
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.crumb a:hover { color: var(--gold-light); }
.crumb .sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}
.crumb > span:last-child {
  color: var(--cream);
}
.crumb-current {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.crumb-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.9;
  padding: 2px 7px;
  border: 0.5px solid rgba(184,150,62,0.45);
}

@media (max-width: 600px) {
  .crumb {
    top: 50px;
    padding: 11px 22px;
    font-size: 11px;
    letter-spacing: 0.18em;
    gap: 12px;
  }
  .crumb .sep { width: 4px; height: 4px; }
}

/* ─── HERO ─── */
.hero {
  padding: 56px 0 52px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(140,100,30,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow,
.section-label {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.22;
  color: var(--cream);
  max-width: 620px;
  margin: 0 auto 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-body {
  font-size: 21px;
  margin: 0 auto;
  line-height: 1.8;
  max-width: 600px;
}

/* ─── SECTION ─── */
.section { padding: 48px 0; position: relative; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-body { font-size: 22px; }

/* ─── STATS ─── */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(184,150,62,0.15);
  border: 0.5px solid rgba(212, 168, 75, 0.5);
  box-shadow: 0 0 0 0.5px rgba(240,208,128,0.15) inset, 0 0 20px rgba(184,150,62,0.08);
}
.stat {
  background: var(--ink-card);
  padding: 30px 24px;
  text-align: center;
  transition: background 0.3s ease;
}
.stat:hover { background: rgba(184,150,62,0.07); }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 18px; font-weight: 400; line-height: 1.5; }

.stats-footnote {
  border: 0.5px solid rgba(212,168,75,0.5);
  border-top: none;
  background: var(--ink-card);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.stats-footnote-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  font-weight: 300;
  color: var(--gold-light);
  white-space: nowrap;
  line-height: 1;
  align-self: center;
}
.stats-footnote-text {
  font-size: 18px;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.5;
  align-self: center;
  margin-top: 10px;
}

/* ─── SYSTEM PILLS ─── */
.system-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 16px;
}
.system-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.system-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(184,150,62,0.07);
  border: 0.5px solid rgba(212,168,75,0.5);
  border-radius: 40px;
  padding: 12px 28px;
  flex-shrink: 0;
  min-width: 280px;
  text-decoration: none;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.system-pill:hover {
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(212,168,75,0.15), 0 0 0 0.5px rgba(240,208,128,0.15) inset;
  border-color: rgba(212,168,75,0.85);
}
.system-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold);
}
.system-term {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f0d080 0%, #fff5cc 45%, #e8c060 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.system-desc {
  font-size: 22px;
  font-weight: 300;
  white-space: nowrap;
}
.system-arrow {
  margin-left: auto;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.system-row:hover .system-arrow,
a.system-row:hover .system-arrow {
  opacity: 0.85;
  transform: translateX(4px);
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 64px 0 32px;
  text-align: center;
}
.footer-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}
.contacts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0 auto 56px;
  text-align: center;
}
.contacts > * { justify-content: center; }
.contacts > .cta-btn { align-self: center; }
.contact-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  font-size: 17px;
  white-space: nowrap;
}
.contact-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 8px 0 4px;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 17px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.contact-icon:hover { color: var(--gold-light); }
.contact-icon svg { flex-shrink: 0; color: var(--cream-dim); }
.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}
.contact-value {
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.contact-value:hover { color: var(--gold-light); }
.contacts .cta-btn { margin-top: 22px; }

.footer-rule {
  padding-top: 28px;
  margin-top: 8px;
  position: relative;
}
.footer-rule::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(212,168,75,0.5) 20%, rgba(240,208,128,0.7) 50%, rgba(212,168,75,0.5) 80%, transparent);
}
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-sign,
.footer-copyright {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.75;
  line-height: 1.7;
  white-space: nowrap;
}
.footer-copyright {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  opacity: 0.55;
}
.footer-copyright .dot-sep { color: var(--gold); opacity: 0.8; }
.footer-sign .dot-sep { color: var(--gold); opacity: 0.8; }

.footer-privacy {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 40px;
  width: auto;
}
.footer-privacy-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-privacy a {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.18s;
  width: fit-content;
}
.footer-privacy a:visited { color: rgba(255,255,255,0.3); }
.footer-privacy a:hover { color: var(--gold-light); }
.footer-privacy .dot-sep { color: rgba(255,255,255,0.2); }

@media (max-width: 600px) {
  .footer-headline { font-size: 24px; }
  .contact-line { font-size: 18px; white-space: nowrap; }
  .contact-label { text-align: center; min-width: 0; }
  .footer-sign, .footer-copyright {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
}

/* ─── QUAD GRID (2x2 signet — four directions) ─── */
.quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: rgba(184,150,62,0.22);
  border: 0.5px solid rgba(212, 168, 75, 0.45);
  margin-top: 32px;
  position: relative;
}
.quad-grid::before {
  /* central ornament where the four cells meet */
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--ink);
  border: 0.5px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}
.quad-cell {
  background: var(--ink-card);
  padding: 32px 30px 26px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  transition: background 0.35s ease;
  overflow: hidden;
}
.quad-cell:hover { background: rgba(184,150,62,0.07); }
.quad-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  display: block;
  opacity: 0.85;
}
.quad-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.quad-desc {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cream-muted);
  line-height: 1.5;
}
.quad-arrow {
  margin-top: auto;
  padding-top: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1;
  color: var(--gold-light);
  align-self: flex-end;
  transition: transform 0.35s ease, color 0.25s ease;
  opacity: 0.7;
}
.quad-cell:hover .quad-arrow {
  transform: translateX(4px);
  opacity: 1;
}

@media (max-width: 768px) {
  .quad-grid { grid-template-rows: auto auto; }
  .quad-cell { padding: 26px 22px 22px; min-height: 180px; }
  .quad-title { font-size: 26px; }
  .quad-num { font-size: 14px; margin-bottom: 12px; }
  .quad-desc { font-size: 14px; }
  .quad-arrow { font-size: 18px; padding-top: 14px; }
}
@media (max-width: 520px) {
  .quad-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, auto); }
  .quad-grid::before { display: none; }
}

/* ─── CARD GRID ─── */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(184,150,62,0.15);
  border: 0.5px solid rgba(212, 168, 75, 0.4);
  margin-top: 28px;
}
.card {
  background: var(--ink-card);
  padding: 30px 26px;
  display: block;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  transition: background 0.3s ease;
}
.card:hover { background: rgba(184,150,62,0.06); }
.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.card-body {
  font-size: 18px;
  color: var(--cream-muted);
  line-height: 1.7;
}
.card-arrow {
  margin-top: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease;
}
.card:hover .card-arrow { gap: 14px; }

/* ─── RESULTS LIST ─── */
.results-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.results-list li {
  font-size: 22px;
  color: var(--cream);
  line-height: 1.6;
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.results-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
  opacity: 0.85;
  position: relative;
  top: -2px;
}

/* ─── CONFIDENTIALITY ─── */
.conf-block {
  border: 0.5px solid rgba(184,150,62,0.32);
  padding: 32px 36px;
  margin-top: 28px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.conf-block:hover { box-shadow: 0 0 40px rgba(184,150,62,0.1); }
.conf-years {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.conf-text {
  font-size: 22px;
  color: var(--cream);
  margin: 12px auto 0;
  line-height: 1.8;
}

/* ─── LEADER ─── */
.leader-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 28px;
  padding: 28px 24px;
  border: 0.5px solid rgba(184,150,62,0.32);
  background: var(--ink-card);
  transition: box-shadow 0.3s ease;
}
.leader-block:hover { box-shadow: 0 0 30px rgba(184,150,62,0.08); }
.leader-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(184,150,62,0.12);
  border: 0.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold-light);
  font-weight: 300;
  flex-shrink: 0;
}
.leader-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 31px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.leader-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 12px;
}
.leader-desc {
  font-size: 19px;
  color: var(--cream);
  line-height: 1.8;
}

/* ─── CASE LINK ─── */
.case-link {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(184,150,62,0.4);
  transition: color 0.2s;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 300;
}
.case-link:hover { color: var(--cream); border-bottom-color: rgba(255,255,255,0.3); }
.case-link:visited { color: var(--gold-light); }

/* ─── CTA BUTTON ─── */
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  background: rgba(184,150,62,0.08);
  transition: background 0.25s, color 0.25s;
  position: relative;
  border: none;
  cursor: pointer;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cta-btn:hover {
  background: rgba(184,150,62,0.18);
  color: var(--cream);
}
.cta-btn.ghost {
  background: transparent;
  color: var(--cream-dim);
}
.cta-btn.ghost::before { background: linear-gradient(135deg, rgba(212,168,75,0.5), rgba(212,168,75,0.2)); }

/* ─── GOLD GRADIENT TEXT ─── */
.hero-title em,
.stat-number {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: goldShimmer 5s ease-in-out infinite;
}
.section-label,
.hero-eyebrow {
  background: var(--gold-grad-simple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .fade-in, .fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── CONTENT BLOCKS for service detail / philosophy pages ─── */
.long-section {
  padding: 56px 0;
  position: relative;
}
.long-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(212,168,75,0.5) 20%, rgba(240,208,128,0.7) 50%, rgba(212,168,75,0.5) 80%, transparent);
}
.long-section:first-of-type::before { display: none; }
.long-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 18px;
  line-height: 1.3;
}
.long-h em { font-style: italic; color: var(--gold-light); }
.long-p {
  font-size: 20px;
  color: var(--cream-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.long-p + .long-p { margin-top: 0; }

.numbered-list {
  list-style: none;
  counter-reset: roman;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}
.numbered-list li {
  counter-increment: roman;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 0.5px solid rgba(184,150,62,0.2);
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before {
  content: counter(roman, upper-roman);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-weight: 400;
}
.numbered-list strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.numbered-list span {
  font-size: 19px;
  color: var(--cream-muted);
  line-height: 1.7;
}

/* SVG ornament block */
.ornament-block {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 0;
  opacity: 0.7;
}

/* placeholder image block */
.img-placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(184,150,62,0.03) 0,
      rgba(184,150,62,0.03) 8px,
      rgba(184,150,62,0.07) 8px,
      rgba(184,150,62,0.07) 16px
    );
  border: 0.5px solid rgba(184,150,62,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  min-height: 280px;
  margin: 28px 0;
}

/* Pull-quote */
.pull-quote {
  margin: 48px 0;
  padding: 36px 40px;
  border-top: 0.5px solid rgba(184,150,62,0.32);
  border-bottom: 0.5px solid rgba(184,150,62,0.32);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--cream);
}
.pull-quote::before,
.pull-quote::after {
  content: '✦';
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 12px;
  opacity: 0.7;
  margin: 0 auto 16px;
}
.pull-quote::after { margin: 16px auto 0; }

/* ─── TABLET ─── */
@media (max-width: 768px) {
  body { font-size: 19px; }
  .page { padding: 0 28px 60px; }
  .hero { padding: 40px 0 36px; }
  .hero-title { font-size: 42px; }
  .hero-body { font-size: 19px; }
  .section-title { font-size: 32px; }
  .section-body { font-size: 18px; }
  .section { padding: 40px 0; }
  .stat-number { font-size: 40px; }
  .stat-label { font-size: 14px; }
  .results-list li { font-size: 18px; }
  .conf-text { font-size: 18px; }
  .leader-name { font-size: 24px; }
  .leader-desc { font-size: 17px; }
  .footer-headline { font-size: 26px; }
  .contact-line { font-size: 18px; }
  .system-pill { min-width: 220px; }
  .system-term { font-size: 19px; }
  .system-desc { font-size: 17px; }
  .long-h { font-size: 26px; }
  .long-p { font-size: 17px; }
  .numbered-list strong { font-size: 20px; }
  .numbered-list span { font-size: 16px; }
  .pull-quote { font-size: 22px; padding: 28px 24px; }
}

/* ─── MOBILE ─── */
@media (max-width: 480px) {
  body { font-size: 19px; }
  .page { padding: 0 20px 52px; }
  .page-header { padding: 90px 0 18px; }
  .logo-name { font-size: 22px; letter-spacing: 0.14em; }
  .header-sub { font-size: 10px; letter-spacing: 0.08em; }

  .hero { padding: 28px 0 24px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 14px; }
  .hero-title { font-size: 34px; line-height: 1.2; }
  .hero-body { font-size: 18px; }

  .section { padding: 28px 0; }
  .section-label { font-size: 13px; margin-bottom: 14px; }
  .section-title { font-size: 26px; }
  .section-body { font-size: 18px; line-height: 1.75; }

  .stats { grid-template-columns: 1fr; padding: 0; }
  .stat { padding: 22px 18px; }
  .stat-number { font-size: 40px; }
  .stat-label { font-size: 15px; }

  .stats-footnote { padding: 18px 20px; gap: 12px; }
  .stats-footnote-num { font-size: 28px; }
  .stats-footnote-text { font-size: 17px; }

  .system-list { gap: 12px; margin-top: 20px; }
  .system-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .system-pill { min-width: unset; width: 100%; padding: 10px 20px; border-radius: 30px; }
  .system-term { font-size: 17px; }
  .system-num { font-size: 16px; }
  .system-desc { font-size: 15px; padding-left: 4px; white-space: normal; }

  .grid2 { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .card-title { font-size: 22px; }
  .card-body { font-size: 15px; }

  .results-list { gap: 10px; }
  .results-list li { font-size: 18px; }

  .conf-block { padding: 22px 18px; }
  .conf-years { font-size: 48px; }
  .conf-text { font-size: 18px; }

  .leader-block { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px; }
  .leader-avatar { width: 48px; height: 48px; font-size: 16px; }
  .leader-name { font-size: 23px; }
  .leader-title { font-size: 10px; }
  .leader-desc { font-size: 17px; }

  .site-footer { padding: 32px 0 0; }
  .footer-headline { font-size: 24px; margin-bottom: 20px; }
  .contact-line { font-size: 16px; gap: 8px; }
  .contact-label { font-size: 10px; width: 42px; }
  .footer-sign { font-size: 10px; letter-spacing: 0.08em; }

  .long-section { padding: 36px 0; }
  .long-h { font-size: 25px; }
  .long-p { font-size: 18px; }
  .numbered-list li { grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; }
  .numbered-list li::before { font-size: 18px; }
  .numbered-list strong { font-size: 20px; }
  .numbered-list span { font-size: 16px; }
  .pull-quote { font-size: 18px; padding: 24px 18px; margin: 32px 0; }
  .img-placeholder { min-height: 180px; }
}

/* ─── PRINT ─── */
@media print {
  body::before, body::after { display: none; }
  .topbar, .menu-overlay { display: none; }
  .page { padding: 0 32px 40px; }
}

/* ─── SUB-NAV (lifestyle sub-pages) ─── */
.subnav {
  position: fixed;
  top: 50px;
  left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 40px;
  background: rgba(16, 13, 9, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0.5px;
  background: rgba(184,150,62,0.22);
  pointer-events: none;
}
.subnav-parent {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  padding: 4px 0;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: color 0.2s;
}
.subnav-parent.current::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.subnav-parent:hover { color: var(--cream); }
.subnav-sep {
  color: var(--gold-light);
  opacity: 0.9;
  padding: 0 14px;
  font-size: 16px;
  flex-shrink: 0;
}
.subnav a:not(.subnav-parent) {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 4px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: color 0.2s;
}
.subnav a:not(.subnav-parent)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.subnav a:not(.subnav-parent):hover { color: var(--gold-light); }
.subnav a:not(.subnav-parent):hover::after { opacity: 0.6; }
.subnav a.current { color: var(--cream); }
.subnav a.current::after { opacity: 0.7; }
.subnav::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(16,13,9,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.subnav ~ .hero,
.subnav + * { padding-top: 112px; }

@media (max-width: 600px) {
  .subnav { padding: 0 18px; top: 46px; }
  .subnav a, .subnav-parent { font-size: 11px; padding: 10px 12px; }
  .subnav-sep { padding: 0 8px; }
  .subnav ~ .hero, .subnav + * { padding-top: 94px; }
}
.list-link {
  color: inherit;
  text-decoration: none;
  display: inline;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(184,150,62,0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.list-link:hover,
.list-link:hover span[data-i18n-ru],
.list-link:hover span[data-i18n-en] {
  color: var(--gold-light);
  border-color: var(--gold);
}
.list-link-arrow {
  font-size: inherit;
  color: var(--gold);
  transition: margin-left 0.2s, color 0.2s;
  margin-left: 16px;
  display: inline;
  pointer-events: none;
}
.list-link:hover .list-link-arrow {
  margin-left: 22px;
  color: var(--gold-light);
}
.list-link span[data-i18n-ru],
.list-link span[data-i18n-en] {
  font-size: 24px;
  color: var(--cream);
}
.numbered-list { list-style: none; counter-reset: roman 0; display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.numbered-list li { counter-increment: roman 1; display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 18px 0; border-bottom: 0.5px solid rgba(184,150,62,0.12); }
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before { content: counter(roman, upper-roman); font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold); letter-spacing: 0.06em; font-weight: 400; }
.numbered-list strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--cream); margin-bottom: 6px; letter-spacing: 0.02em; }
.numbered-list span { font-size: 19px; color: var(--cream-muted); line-height: 1.7; }


/* ═══════════════════════════════════════════════
   COMPREHENSIVE MOBILE FIXES
   ═══════════════════════════════════════════════ */

/* ─── TOPBAR: scrollable nav on narrow screens ─── */
@media (max-width: 900px) {
  .topbar-left {
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
  }
  .topbar-left::-webkit-scrollbar { display: none; }
  .topbar {
    overflow: visible;
    gap: 10px;
  }
  .topbar-right { flex-shrink: 0; }
  .lang-switch .sep { display: none; }
}

@media (max-width: 600px) {
  .topbar { padding: 10px 18px; }
  .topbar-icon { width: 24px; height: 24px; }
  .topbar-icons { gap: 10px; }
  /* Hide direction links on mobile — use hamburger instead */
  .topbar-nav { display: none; }
  .menu-trigger { padding: 6px 8px; }
  .menu-trigger-icon { width: 18px; }

  /* subnav: tighten on mobile */
  .subnav {
    top: 44px;
    padding: 0 14px;
  }
  .subnav-parent { font-size: 11px; letter-spacing: 0.14em; }
  .subnav-sep { padding: 0 8px; font-size: 13px; }
  .subnav a:not(.subnav-parent) { font-size: 11px; letter-spacing: 0.14em; padding: 8px 10px; }
  .subnav ~ .hero, .subnav + * { padding-top: 110px; }
}

/* ─── INDEX: hero offset for topbar ─── */
@media (max-width: 480px) {
  .page-header { padding-top: 70px !important; }
}

/* Hero on root pages without subnav or crumb */
.page > .hero:first-child {
  padding-top: 112px;
}
@media (max-width: 768px) {
  .page > .hero:first-child { padding-top: 94px; }
}

/* ─── MENU OVERLAY: mobile font sizes ─── */
@media (max-width: 600px) {
  .menu-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 24px 32px;
  }
  .menu-nav-item > a { font-size: 28px; gap: 10px; padding: 8px 0 2px; }
  .menu-nav-item { gap: 2px; }
  .menu-nav-item > a .num { font-size: 20px; min-width: auto; letter-spacing: 0.08em; }
  .menu-subitems { padding-left: 33px; gap: 4px 14px; }
  .menu-subitems a { font-size: 11px; letter-spacing: 0.14em; }
  .menu-aside {
    border-left: none;
    border-top: 0.5px solid rgba(184,150,62,0.25);
    padding-left: 0;
    padding-top: 20px;
  }
  .menu-aside-line { font-size: 17px; }
  .menu-top { padding: 12px 18px; }
  .menu-close { font-size: 10px; }
}

/* ─── SYSTEM ROWS: always stack on narrow ─── */
@media (max-width: 600px) {
  .system-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .system-pill { min-width: unset; width: 100%; }
  .system-desc { white-space: normal; font-size: 14px; }
  .system-arrow { margin-left: 0; margin-top: 4px; }
}

/* ─── STATS FOOTNOTE: stack on mobile ─── */
@media (max-width: 480px) {
  .stats-footnote { flex-direction: column; gap: 6px; padding: 16px 18px; text-align: center; align-items: center; }
}

/* ─── LEADER: always stack ─── */
@media (max-width: 600px) {
  .leader-block { grid-template-columns: 1fr; gap: 14px; padding: 20px 16px; }
  .leader-avatar { display: none; }
}

/* ─── CASE SLIDER: mobile ─── */
@media (max-width: 600px) {
  .case-slide { padding: 20px 18px 20px; }
  .case-title { font-size: 22px; margin-bottom: 18px; }
  .case-block, .case-insight { grid-template-columns: 1fr; gap: 4px; }
  .case-label { display: inline-block; margin-bottom: 4px; font-size: 11px; }
  .case-block p, .case-insight p { font-size: 18px; }
  .cases-slider-header { padding: 14px 18px; }
  .cases-nav { padding: 14px 18px; }
  .cases-btn { width: 36px; height: 36px; font-size: 18px; }
}

/* ─── LONG SECTIONS: mobile ─── */
@media (max-width: 480px) {
  .case-insight { margin-top: 12px; padding-top: 14px; }
  .list-link { font-size: inherit; }
  .list-link span[data-i18n-ru], .list-link span[data-i18n-en] { font-size: 20px; }
  .numbered-list strong { font-size: 20px; }
  .numbered-list span { font-size: 16px; }
}

/* ─── FOOTER NAV: wrap cleanly ─── */
@media (max-width: 480px) {
  .footer-nav { gap: 6px 0; font-size: 10px; }
  .footer-nav-sep { padding: 0 6px; }
  .footer-sign, .footer-copyright {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .footer-sign .dot-sep, .footer-copyright .dot-sep {
    margin: 0 0.2em;
    font-size: 1.2em;
  }
  .footer-legal { overflow-x: auto; scrollbar-width: none; }
}

/* ─── PULL QUOTE: mobile ─── */
@media (max-width: 480px) {
  .pull-quote { font-size: 21px; padding: 20px 0; }
}

/* ─── CONTACT ICONS: stack on very small ─── */
@media (max-width: 380px) {
  .contact-icons { flex-direction: column; gap: 12px; }
}
