/* ==========================================================================
   Mana Zist Farayand — Static Site Stylesheet
   Classy biotech theme: deep emerald + warm gold + cream
   ========================================================================== */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds */
  --bg: #f7f5ef;            /* warm cream */
  --bg-soft: #f1ede2;       /* sand */
  --surface: #ffffff;
  --dark: #0f1f1c;          /* deep emerald-black */
  --dark-2: #14302a;

  /* Foreground */
  --fg: #1c2b27;
  --fg-soft: #4a5751;
  --fg-muted: #7c8782;
  --on-dark: #f4f1e8;
  --on-dark-soft: rgba(244, 241, 232, 0.72);
  --on-dark-muted: rgba(244, 241, 232, 0.55);

  /* Brand */
  --primary: #1f6b54;       /* deep emerald */
  --primary-deep: #16443a;
  --primary-soft: rgba(31, 107, 84, 0.10);
  --gold: #b8893a;          /* warm gold */
  --gold-soft: #d8b56a;
  --gold-bright: #e0c074;

  /* Lines */
  --border: #e4ddcd;
  --border-dark: rgba(244, 241, 232, 0.14);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(28, 43, 39, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(28, 43, 39, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(28, 43, 39, 0.18);

  /* Layout */
  --container: 1200px;
  --nav-h: 76px;

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(31, 107, 84, 0.18); color: var(--fg); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(31, 107, 84, 0.5);
}
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: rgba(216, 181, 106, 0.5); }

.h-display {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--fg);
}
.h-display .accent { font-style: italic; color: var(--gold); }
.h-display .muted { color: var(--fg-muted); }

.h-section {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--fg);
}
.h-section .muted { color: var(--fg-muted); }

.lead { font-size: 1.125rem; line-height: 1.7; color: var(--fg-soft); }
.text-muted { color: var(--fg-muted); }
.text-soft { color: var(--fg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: var(--on-dark); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-light { background: var(--on-dark); color: var(--primary); }
.btn-light:hover { background: rgba(244, 241, 232, 0.9); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border); color: var(--fg); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.btn-outline-light { border: 1px solid rgba(244, 241, 232, 0.3); color: var(--on-dark); }
.btn-outline-light:hover { background: rgba(244, 241, 232, 0.1); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; padding: 0 32px; font-size: 15px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav.on-hero:not(.scrolled) .nav-inner { color: var(--on-dark); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fg);
  transition: color 0.4s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo .mark { width: 34px; height: 34px; color: var(--primary); }
.nav.on-hero:not(.scrolled) .nav-logo .mark { color: var(--on-dark); }
.nav-logo .name { font-family: var(--font-serif); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.nav-logo .sub { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.65; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.82;
  position: relative;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: none; }
/* On inner pages with a dark hero, the CTA starts light and turns primary when scrolled. */
.nav.on-hero:not(.scrolled) .nav-cta.btn-primary { background: var(--on-dark); color: var(--primary); }
.nav.on-hero:not(.scrolled) .nav-cta.btn-primary:hover { background: rgba(244,241,232,0.9); }
.nav-toggle {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: currentColor;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 992px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-head .nav-logo .mark { color: var(--primary); }
.mobile-menu-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--fg);
}
.mobile-menu-close:hover { background: var(--bg-soft); }
.mobile-menu nav { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 16px 16px;
  border-radius: var(--r-md);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  transition: background 0.2s;
}
.mobile-menu nav a:hover, .mobile-menu nav a.active { background: var(--bg-soft); color: var(--primary); }
.mobile-menu-foot { margin-top: auto; padding: 24px; border-top: 1px solid var(--border); }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { text-align: center; font-size: 12px; color: var(--fg-muted); margin-top: 16px; }
@media (min-width: 992px) { .mobile-menu { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--dark);
  color: var(--on-dark);
  padding: calc(var(--nav-h) + 80px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin: 18px 0 0;
}
.page-hero h1 .muted { color: var(--on-dark-muted); }
.page-hero p { margin-top: 20px; font-size: 1.125rem; color: var(--on-dark-soft); max-width: 600px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--on-dark-muted);
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { opacity: 0.5; }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--on-dark);
  overflow: hidden;
}
.home-hero .bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.home-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,31,28,0.96) 0%, rgba(15,31,28,0.82) 45%, rgba(15,31,28,0.4) 100%),
              linear-gradient(0deg, rgba(15,31,28,0.95) 0%, transparent 40%, rgba(15,31,28,0.5) 100%);
}
.home-hero .bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 22px 22px;
  z-index: 1;
}
.home-hero .content { position: relative; z-index: 2; padding: 120px 0 96px; max-width: 760px; }
.home-hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(244,241,232,0.2);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-dark-soft);
}
.home-hero .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); }
.home-hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 26px 0 0;
}
.home-hero h1 .accent { font-style: italic; color: var(--gold-bright); }
.home-hero .sub { margin-top: 26px; font-size: 1.125rem; line-height: 1.7; color: var(--on-dark-soft); max-width: 560px; }
.home-hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero .pills {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 640px;
}
@media (min-width: 640px) { .home-hero .pills { grid-template-columns: repeat(3, 1fr); } }
.home-hero .pill {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(244,241,232,0.12);
  border-radius: var(--r-md);
  background: rgba(244,241,232,0.05);
  backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 500;
}
.home-hero .pill svg { width: 20px; height: 20px; color: var(--gold-bright); flex-shrink: 0; }
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  flex-direction: column; align-items: center; gap: 8px;
  color: var(--on-dark-muted);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}
@media (min-width: 768px) { .scroll-cue { display: flex; } }
.scroll-cue .chev { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- About / content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); object-fit: cover; }
.media-frame .corner {
  position: absolute; top: -16px; left: -16px;
  width: 80px; height: 80px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: var(--r-xl);
}
.float-card {
  position: absolute; right: -8px; bottom: -24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
@media (min-width: 768px) { .float-card { right: -24px; } }
.float-card .badge-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; color: var(--primary); font-size: 17px;
}
.float-card .big { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--fg); line-height: 1; }
.float-card .small { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }

.quote-card {
  margin-top: 32px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 24px;
}
.quote-card .q { width: 20px; height: 20px; color: var(--gold); }
.quote-card blockquote { margin-top: 12px; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; line-height: 1.6; color: var(--fg); }

.check-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
@media (min-width: 540px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-soft); }
.check-list .tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-list .tick svg { width: 12px; height: 12px; color: var(--primary); }

/* ---------- Values grid ---------- */
.values-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-cell { background: var(--surface); padding: 28px; }
.value-cell .num { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--gold); }
.value-cell h4 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; margin-top: 16px; color: var(--fg); }
.value-cell p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* ---------- Services (home preview + full page) ---------- */
.services-list { display: flex; flex-direction: column; gap: 80px; }
@media (min-width: 992px) { .services-list { gap: 112px; } }
.service-row { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 992px) { .service-row { grid-template-columns: 1fr 1fr; gap: 64px; } }
.service-row.reverse .service-media { order: 2; }
@media (min-width: 992px) { .service-row.reverse .service-media { order: 2; } }

.service-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.service-media:hover { transform: translateY(-6px); }
.service-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.service-media:hover img { transform: scale(1.05); }
.service-media .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,31,28,0.55) 0%, transparent 55%); }
.service-media .idx-badge {
  position: absolute; top: 20px; left: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(244,241,232,0.3);
  background: rgba(15,31,28,0.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--on-dark);
}
.service-media .sub-label {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark-soft);
}
.service-text .meta { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--gold); }
.service-text h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; margin-top: 12px; color: var(--fg); letter-spacing: -0.01em; }
.service-text p { margin-top: 16px; color: var(--fg-soft); line-height: 1.7; }
.service-text .pts { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.service-text .pts li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-soft); }
.service-text .pts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.service-text .link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--primary); transition: color 0.2s; }
.service-text .link:hover { color: var(--primary-deep); }
.service-text .link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-text .link:hover svg { transform: translate(2px, -2px); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--dark);
  color: var(--on-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  padding: 56px 0;
}
@media (min-width: 992px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0 24px; } }
.stat .v { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.25rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1; }
.stat .l { margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Process timeline ---------- */
.process-wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 992px) { .process-wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }
.process-sticky { position: relative; }
@media (min-width: 992px) { .process-sticky { position: sticky; top: 110px; } }
.process-sticky .frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); margin-top: 28px; }
.process-sticky .frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.t-step { position: relative; display: flex; gap: 20px; padding-bottom: 40px; }
.t-step:last-child { padding-bottom: 0; }
.t-step .node {
  position: relative; z-index: 1;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 12px; font-weight: 600; color: var(--primary);
}
.t-step .body { padding-top: 4px; }
.t-step h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: var(--fg); }
.t-step p { margin-top: 8px; font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ---------- Full-width banner ---------- */
.capability-banner { position: relative; overflow: hidden; }
.capability-banner img { width: 100%; height: 44vh; min-height: 300px; object-fit: cover; }
.capability-banner .ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,31,28,0.92) 0%, rgba(15,31,28,0.6) 50%, transparent 100%); }
.capability-banner .content { position: absolute; inset: 0; display: flex; align-items: center; }
.capability-banner .content .container { max-width: 760px; }
.capability-banner h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.2; color: var(--on-dark); letter-spacing: -0.01em; }
.capability-banner p { margin-top: 18px; font-size: 14px; color: var(--on-dark-soft); max-width: 460px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 22px 22px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; max-width: 720px; margin: 0 auto; letter-spacing: -0.01em; }
.cta-band h2 .accent { font-style: italic; color: var(--gold-bright); }
.cta-band p { margin-top: 18px; color: var(--on-dark-soft); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: all 0.25s;
}
.contact-info-item:hover { border-color: rgba(31,107,84,0.3); background: var(--primary-soft); }
.contact-info-item .ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.contact-info-item .ic svg { width: 20px; height: 20px; }
.contact-info-item .lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.contact-info-item .val { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--fg); word-break: break-word; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .contact-form { padding: 40px; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 500; color: var(--fg); }
.field label .req { color: var(--primary); }
.field input, .field textarea, .field select {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  font: inherit;
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c8782' stroke-width='2' stroke-linecap='round' stroke-lineround'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form-foot { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-foot .note { font-size: 12px; color: var(--fg-muted); }
.form-msg { padding: 14px 16px; border-radius: var(--r-md); font-size: 14px; display: none; margin-top: 16px; }
.form-msg.success { display: block; background: var(--primary-soft); color: var(--primary-deep); border: 1px solid rgba(31,107,84,0.2); }
.form-msg.error { display: block; background: #fdecec; color: #a83232; border: 1px solid rgba(168,50,50,0.2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 300;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.toast.show { transform: translateX(0); }
.toast.error { border-left-color: #d44; }
.toast .t-title { font-size: 14px; font-weight: 600; color: var(--fg); }
.toast .t-desc { margin-top: 4px; font-size: 13px; color: var(--fg-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--on-dark);
  margin-top: auto;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.footer .inner { position: relative; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-brand .nav-logo .mark { color: var(--on-dark); }
.footer-brand .nav-logo .name { color: var(--on-dark); }
.footer-brand p { margin-top: 24px; max-width: 380px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.7; }
.footer h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-links { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--on-dark-soft); transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--on-dark); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--on-dark-soft); }
.footer-contact li svg { width: 16px; height: 16px; color: var(--gold-soft); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--on-dark); }
.footer-bottom {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12px; color: var(--on-dark-muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Page wrapper for sticky footer ---------- */
.page { display: flex; flex-direction: column; min-height: 100vh; }
.page > main { flex: 1; }

/* ---------- Utility ---------- */
.center-text { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-2xl { max-width: 672px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
