/* ============================================================
   CABINET WEALTH MANAGEMENT — Shared Stylesheet
   ============================================================ */

:root {
  --bg: #0a0f1a;
  --bg2: #0e1322;
  --surface: #141b2d;
  --border: rgba(160,180,210,0.08);
  --text: #e8eaf0;
  --text-muted: #7a8598;
  --accent: #2d3e6b;
  --accent-light: #4a5f8f;
  --accent-pale: #8a9cbd;
  --accent-dim: rgba(45,62,107,0.15);
  --gold: #b8965a;
  --gold-light: #d4b478;
  --gold-dim: rgba(184,150,90,0.15);
  --slate-blue: #6b7fa3;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-light); color: var(--bg); }

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav#nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(11,11,15,0.95) 0%, transparent 100%);
  transition: all 0.4s;
}

nav#nav.scrolled {
  background: rgba(11,11,15,0.97);
  backdrop-filter: blur(20px);
  padding: 1rem 4rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(1.8) contrast(0.9);
  transition: opacity 0.3s;
}

.nav-logo:hover img { opacity: 0.85; }

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

.nav-links > a {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links > a:hover,
.nav-links > a.active { color: var(--accent-pale); }

/* DROPDOWN */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s, border-color 0.3s;
}

.nav-dropdown:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
  border-color: var(--accent-pale);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(11,13,22,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 0.75rem 0;
  opacity: 0;
  z-index: 1000;
}

.dropdown-menu a {
  display: block !important;
  padding: 0.7rem 1.5rem;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  color: var(--text-muted) !important;
  transition: color 0.3s, background 0.3s;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a:hover {
  color: var(--accent-pale) !important;
  background: rgba(74,95,143,0.05);
}

.nav-cta {
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--accent-light);
  color: var(--gold) !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-muted);
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(6px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-6px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,26,0.98);
  backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.2rem;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--text); }

.mobile-menu .mobile-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-pale);
  margin-top: 1rem;
}

.mobile-menu .mobile-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.mobile-menu .mobile-sub a {
  font-size: 0.9rem;
  font-family: var(--sans);
  font-weight: 300;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.3) brightness(0.5);
  opacity: 0.3;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(12,16,24,0.2) 40%, rgba(12,16,24,0.5) 70%, var(--bg) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero > .hero-content { position: relative; z-index: 2; }

.hero-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-pale);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 1.2s 0.5s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-pale);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 200;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}

.hero-cta {
  margin-top: 3.5rem;
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2s infinite;
}

/* Inner hero for sub-pages (shorter) */
.page-hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 4rem 6rem;
  position: relative;
}

.page-hero .hero-bg img { opacity: 0.25; }

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .hero-label {
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  text-align: left;
  max-width: 700px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-block;
  padding: 1rem 2.8rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent-light);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: all 0.4s;
}

.btn-primary:hover { background: var(--accent-pale); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 1rem 2.8rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.4s;
  cursor: pointer;
  background: none;
}

.btn-ghost:hover { border-color: var(--accent-pale); color: var(--accent-pale); }

/* ============================================================
   DIVIDER
   ============================================================ */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
  gap: 2rem;
}

.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-icon { color: var(--accent-pale); font-family: var(--serif); font-size: 1.2rem; }

/* ============================================================
   SECTIONS — COMMON
   ============================================================ */

section { padding: 8rem 4rem; }

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-pale);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 0.95rem;
  font-weight: 200;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
}

/* ============================================================
   INTRO BLOCK
   ============================================================ */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-pale);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.intro-right {
  position: relative;
  padding: 4rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.intro-right::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.intro-quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
}

.intro-quote-author {
  margin-top: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 300;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.services-section { background: var(--bg2); }

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-header .section-title { margin: 0 auto 1.5rem; }
.services-header .section-desc { margin: 0 auto; max-width: 560px; text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.services-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg2);
  padding: 3.5rem 2.5rem;
  transition: all 0.5s;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 1px;
  background: var(--accent-light);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: var(--surface); }

.service-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(75,95,143,0.15);
  margin-bottom: 2rem;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.service-card p {
  font-size: 0.88rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-pale);
  text-decoration: none;
  transition: all 0.3s;
}

.service-link::after { content: ' \2192'; transition: margin-left 0.3s; }
.service-link:hover::after { margin-left: 0.5rem; }

/* ============================================================
   VALUES / FEATURES GRID
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.values-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.value-item {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  transition: border-color 0.4s;
}

.value-item:hover { border-color: var(--accent-pale); }

.value-icon {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: rgba(138,156,189,0.4);
  margin-bottom: 1.25rem;
}

.value-item h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.value-item p {
  font-size: 0.82rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   TEAM
   ============================================================ */

.team-section { background: var(--bg2); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.team-card {
  display: flex;
  gap: 2.5rem;
  padding: 3rem;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.4s;
}

.team-card:hover { border-color: rgba(75,95,143,0.3); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent-pale);
  flex-shrink: 0;
  border: 1px solid rgba(75,95,143,0.2);
}

.team-info h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-pale);
  font-weight: 300;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.85rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Full-page team cards (team.html) */
.team-card-full {
  display: flex;
  flex-direction: column;
  padding: 3.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.4s;
  position: relative;
}

.team-card-full::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.team-card-full:hover { border-color: rgba(75,95,143,0.3); }

.team-card-full .team-avatar {
  width: 100px;
  height: 100px;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.team-card-full .team-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.team-card-full .team-role {
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.team-card-full .team-bio {
  font-size: 0.9rem;
  line-height: 1.85;
}

.team-card-full .team-credentials {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.credential-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  font-weight: 300;
}

/* ============================================================
   OFFICES
   ============================================================ */

.offices-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--border);
  border: 1px solid var(--border);
}

.office {
  background: var(--bg);
  padding: 3rem 2.5rem;
  transition: all 0.4s;
}

.office:hover { background: var(--surface); }

.office-city {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.office-country {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-pale);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.office-detail {
  font-size: 0.82rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.8;
}

.office-detail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.office-detail a:hover { color: var(--accent-pale); }

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  text-align: center;
  padding: 10rem 4rem;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.2) brightness(0.5);
  opacity: 0.18;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(12,16,24,0.3) 30%, rgba(12,16,24,0.3) 70%, var(--bg) 100%);
}

.cta-section > .cta-content { position: relative; z-index: 2; }

.cta-section .section-title {
  margin: 0 auto 1.5rem;
  max-width: 700px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.cta-section .section-desc {
  margin: 0 auto 3rem;
  text-align: center;
}

/* Simple CTA (no bg image) */
.cta-simple {
  text-align: center;
  padding: 8rem 4rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.cta-simple .section-title {
  margin: 0 auto 1.5rem;
  max-width: 650px;
  text-align: center;
}

.cta-simple .section-desc {
  margin: 0 auto 3rem;
  text-align: center;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */

.quote-block {
  position: relative;
  padding: 5rem 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  max-width: 750px;
  margin: 0 auto 2rem;
}

.quote-block cite {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 300;
}

/* ============================================================
   SERVICE BLOCKS (detailed)
   ============================================================ */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}

.service-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.service-block.reverse {
  grid-template-columns: 1.6fr 1fr;
}

.service-block-label {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.service-block h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.service-block p {
  font-size: 0.9rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.service-block ul {
  list-style: none;
  margin-top: 1.5rem;
}

.service-block ul li {
  font-size: 0.85rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.service-block ul li::before {
  content: '—';
  color: var(--accent-pale);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.service-block-aside {
  position: relative;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  align-self: center;
}

.service-block-aside::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.service-block-aside h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}

.service-block-aside p {
  font-size: 0.83rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ============================================================
   CAPABILITIES GRID
   ============================================================ */

.capabilities-section { background: var(--bg2); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.capability-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  transition: background 0.4s;
}

.capability-card:hover { background: var(--surface); }

.capability-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(75,95,143,0.15);
  margin-bottom: 1.25rem;
}

.capability-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.capability-card p {
  font-size: 0.82rem;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 200;
  padding: 0.9rem 1.2rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-light);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9cbd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-link { text-decoration: none; }
.footer-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(1.8) contrast(0.9);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-logo-link:hover .footer-logo-img { opacity: 1; }

.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-pale); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 200;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  section { padding: 6rem 2rem; }
  nav#nav { padding: 1.2rem 2rem; }
  nav#nav.scrolled { padding: 0.8rem 2rem; }
  .page-hero { padding: 0 2rem 5rem; min-height: 48vh; }
  .intro { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-2 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .values-grid-2 { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .offices-row { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .service-block { grid-template-columns: 1fr; gap: 3rem; }
  .service-block.reverse { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 2rem; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-section { padding: 7rem 2rem; }
  .cta-simple { padding: 6rem 2rem; }
  .divider { padding: 0 2rem; }
}

@media (max-width: 600px) {
  section { padding: 5rem 1.5rem; }
  nav#nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid-2 { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; gap: 1.5rem; }
  .hero-cta { flex-direction: column; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 0 1.5rem 4rem; }
  .page-hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .team-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 5rem 1.5rem; }
  .cta-simple { padding: 5rem 1.5rem; }
  .quote-block { padding: 4rem 1.5rem; }
}

/* ============================================================
   WORDMARK
   ============================================================ */

.wordmark {
  font-family: serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}
