:root {
  --ink: #1a1815;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --accent: #c4422c;
  --accent-soft: #e88b6f;
  --teal: #3d6b6e;
  --teal-soft: #6a9295;
  --gold: #b8893a;
  --muted: #6b665d;
  --rule: #d6cdb9;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Lighter grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
}
.logo .slash { color: var(--accent); font-style: italic; padding: 0 2px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; font-size: 22px; }

/* ===== STICKY TOC INDICATOR ===== */
.toc {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 12px;
  background: rgba(244, 239, 230, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid var(--rule);
}
.toc-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}
.toc-dot:hover, .toc-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.4); }
.toc-dot::after {
  content: attr(data-label);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toc-dot:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  padding: 140px 40px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Slow-drifting background blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blob-drift 22s ease-in-out infinite alternate;
}
.hero-blob.b1 {
  width: 480px; height: 480px;
  background: var(--accent);
  top: -120px; left: -100px;
  opacity: 0.12;
}
.hero-blob.b2 {
  width: 520px; height: 520px;
  background: var(--teal);
  bottom: -140px; right: -120px;
  opacity: 0.10;
  animation-duration: 28s;
  animation-delay: -8s;
}
.hero-blob.b3 {
  width: 360px; height: 360px;
  background: var(--gold);
  top: 30%; left: 45%;
  opacity: 0.07;
  animation-duration: 32s;
  animation-delay: -14s;
}
@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Italic word with animated underline */
h1.hero-title .italic {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  position: relative;
  display: inline-block;
}
h1.hero-title .italic::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  animation: underline-grow 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
  border-radius: 2px;
  opacity: 0.7;
}
@keyframes underline-grow {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
h1.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.hero-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--ink);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-aside {
  position: relative;
  padding: 48px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}
.hero-aside .gradient-mesh {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(196, 66, 44, 0.18), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(61, 107, 110, 0.20), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(184, 137, 58, 0.18), transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(196, 66, 44, 0.12), transparent 45%);
  filter: blur(30px);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(4%, -3%) scale(1.08); }
  66%  { transform: translate(-3%, 4%) scale(1.05); }
  100% { transform: translate(2%, 2%) scale(1.1); }
}
.hero-aside::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.hero-aside::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}
.stat-number {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.stat-divider { height: 1px; background: var(--rule); margin: 28px 0; }
.stat-row { display: flex; justify-content: space-between; gap: 32px; }
.stat-row .stat { flex: 1; }
.stat-row .stat-number { font-size: 48px; }

/* ===== SECTION GENERAL ===== */
section {
  padding: 110px 40px;
  position: relative;
  z-index: 2;
}
.container { max-width: 1400px; margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.section-num {
  font-family: var(--display);
  font-style: italic;
  color: var(--teal);
  font-size: 14px;
}
h2.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
h2.section-title .italic {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}

/* Section divider decoration */
.section-divider {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 200px;
}
.section-divider span {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--teal);
  padding: 0 24px;
  font-variation-settings: 'opsz' 72, 'WONK' 1;
}

/* ===== ABOUT (moved above services) ===== */
#about { background: var(--paper-2); }
.about-intro {
  max-width: 900px;
  margin-bottom: 60px;
}
.about-intro p {
  font-size: 18px;
  line-height: 1.65;
  color: #3d3a35;
  margin-bottom: 20px;
}

/* Motto as centerpiece */
.motto-feature {
  text-align: center;
  padding: 100px 40px;
  margin: 80px -40px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.motto-feature::before {
  content: '"';
  font-family: var(--display);
  font-size: 200px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-style: italic;
}
.motto-feature-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.motto-feature .motto-text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.motto-feature .motto-text .accent { color: var(--accent); }

.values-block {
  max-width: 900px;
  padding: 32px 0;
}
.values-block p {
  font-size: 17px;
  line-height: 1.65;
  color: #3d3a35;
  margin-bottom: 16px;
}
.values-block .values-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}
.founder {
  background: var(--paper);
  padding: 40px;
  border-radius: 4px;
  position: relative;
}
.founder-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px var(--rule), 0 0 0 6px var(--paper), 0 0 0 7px var(--accent);
  background: var(--paper-2);
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variation-settings: 'opsz' 144;
}
.founder .role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.founder p { color: #3d3a35; font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.founder-bio.expanded p.bio-more { display: block; }
.founder-bio p.bio-more { display: none; }
.founder-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 8px;
}
.founder-toggle:hover { color: var(--ink); }
.founder-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.founder-social a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.founder-social a:hover { color: var(--accent); }

/* ===== SERVICES ===== */
#services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.service-card {
  padding: 44px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background 0.3s ease;
  position: relative;
}
.service-card:hover { background: var(--paper-2); }
.service-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}
.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--teal);
}
.service-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--teal);
  display: block;
  margin-bottom: 8px;
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 72;
}
.service-card p { color: #3d3a35; font-size: 15px; line-height: 1.65; }
.service-card .learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.25s ease;
}
.service-card .learn:hover { gap: 14px; }

/* ===== 4D'S TEASER (on home) ===== */
#fourds-teaser {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 40px;
}
#fourds-teaser h2.section-title { color: var(--paper); }
#fourds-teaser h2.section-title .italic { color: var(--accent-soft); }
#fourds-teaser .section-label { color: var(--accent-soft); }
#fourds-teaser .section-label::before { background: var(--accent-soft); }
#fourds-teaser .section-num { color: var(--teal-soft); }
.fourds-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.fourd-teaser-item {
  border-top: 1px solid #3a3530;
  padding-top: 24px;
}
.fourd-teaser-letter {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  font-weight: 300;
  color: var(--accent-soft);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  margin-bottom: 12px;
  display: block;
}
.fourd-teaser-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.fourd-teaser-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #a8a39a;
}

/* ===== LV CONNECT (bigger editorial treatment) ===== */
#lvconnect { background: var(--paper); }
.connect-pullquote {
  text-align: center;
  padding: 60px 0 100px;
  position: relative;
}
.connect-pullquote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--teal);
}
.connect-pullquote .pq {
  font-family: var(--display);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1100px;
  margin: 0 auto 32px;
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
}
.connect-pullquote .pq .accent {
  color: var(--accent);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.connect-pullquote .pq-context {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.connect-stories {
  display: grid;
  gap: 0;
}
.connect-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.connect-story:last-child { border-bottom: 1px solid var(--rule); }
.connect-story-meta { position: sticky; top: 100px; }
.connect-story-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.connect-story-meta h4 {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 144;
}
.connect-story-meta h4 .italic {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.connect-story-body p {
  color: #3d3a35;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.7;
}
.connect-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 28px;
  margin: 32px 0 0;
}
.connect-quote blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 18px;
  font-variation-settings: 'opsz' 72, 'WONK' 1;
}
.connect-quote .attr {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}
.connect-quote .attr strong { color: var(--ink); display: block; }

/* ===== CLIENTS (grouped) ===== */
#clients { background: var(--paper-2); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 90px;
}
.testimonial {
  background: var(--paper);
  padding: 40px;
  border-radius: 4px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 14px;
  left: 24px;
  font-family: var(--display);
  font-size: 88px;
  line-height: 1;
  color: var(--teal);
  opacity: 0.25;
  font-style: italic;
}
.testimonial blockquote {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-variation-settings: 'opsz' 72;
}
.testimonial .attr {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.testimonial .attr-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial .attr-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.client-group { margin-bottom: 56px; }
.client-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.client-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 4px;
  border: 1px solid var(--rule);
  background: var(--rule);
}
.client-logo {
  background: var(--paper);
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  transition: all 0.25s ease;
  min-height: 84px;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 72;
}
.client-logo:hover {
  color: var(--accent);
  background: var(--paper-2);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 40px 50px;
}
#contact h2.section-title { color: var(--paper); }
#contact h2.section-title .italic { color: var(--accent-soft); }
#contact .section-label { color: var(--accent-soft); }
#contact .section-label::before { background: var(--accent-soft); }
#contact .section-num { color: var(--teal-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 90px;
}
.contact-lead {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--paper);
  margin-bottom: 36px;
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
}
.contact-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-ctas .btn {
  border-color: var(--paper);
  color: var(--paper);
}
.contact-ctas .btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.contact-ctas .btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.contact-ctas .btn.primary:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.contact-detail {
  margin-bottom: 28px;
}
.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 8px;
}
.contact-detail-value {
  font-family: var(--display);
  font-size: 20px;
  color: var(--paper);
  font-variation-settings: 'opsz' 72;
}
.contact-detail-value a:hover { color: var(--accent-soft); }

/* Offices grid with markers */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.office-card {
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid #2e2a25;
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
}
.office-marker {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 4px rgba(196,66,44,0.18);
}
.office-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
  font-variation-settings: 'opsz' 72;
}
.office-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-top: 4px;
}

footer {
  padding-top: 36px;
  border-top: 1px solid #3a3530;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #8a857c;
}
footer .legal em { color: #6a655c; }
footer .socials {
  display: flex;
  gap: 20px;
}
footer .socials a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-soft);
  transition: color 0.2s ease;
}
footer .socials a:hover { color: var(--accent-soft); }

/* Reveal (gentler) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-blob,
  .hero-aside .gradient-mesh,
  h1.hero-title .italic::after {
    animation: none !important;
  }
  h1.hero-title .italic::after { transform: scaleX(1); }
}

/* ===== 4D'S PAGE ===== */
.fourds-page-hero {
  padding: 160px 40px 80px;
  position: relative;
}
.fourds-page-hero .container {
  max-width: 1100px;
  margin: 0 auto;
}
.fourds-page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fourds-page-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}
.fourds-page-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: 32px;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.fourds-page-hero h1 .italic {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.fourds-page-hero .subtitle {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--muted);
  font-style: italic;
  max-width: 780px;
  font-variation-settings: 'opsz' 72;
}

.fourds-intro-block {
  padding: 40px 40px 80px;
}
.fourds-intro-block .container {
  max-width: 1100px;
  margin: 0 auto;
}
.fourds-intro-block p {
  font-size: 18px;
  line-height: 1.7;
  color: #3d3a35;
  margin-bottom: 20px;
  max-width: 820px;
}

.fourds-page-grid {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 40px;
}
.fourds-page-grid .container { max-width: 1400px; margin: 0 auto; }
.fourds-page-grid .fourds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.fourds-page-grid .fourd-item {
  border-top: 1px solid #3a3530;
  padding-top: 32px;
}
.fourds-page-grid .fourd-letter {
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.9;
  font-weight: 300;
  color: var(--accent-soft);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  margin-bottom: 16px;
  display: block;
}
.fourds-page-grid .fourd-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.fourds-page-grid .fourd-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #a8a39a;
}

.fourds-essay {
  padding: 100px 40px;
  background: var(--paper-2);
}
.fourds-essay .container {
  max-width: 1100px;
  margin: 0 auto;
}
.fourds-essay .essay-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.fourds-essay .essay-section:last-child { border-bottom: 1px solid var(--rule); }
.fourds-essay h4 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 144;
}
.fourds-essay h4 .italic {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.fourds-essay .essay-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 8px;
  display: block;
}
.fourds-essay p {
  font-size: 16px;
  line-height: 1.75;
  color: #3d3a35;
  margin-bottom: 16px;
}

.fourds-cta {
  padding: 100px 40px;
  text-align: center;
  background: var(--paper);
}
.fourds-cta h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-variation-settings: 'opsz' 144;
}
.fourds-cta h3 .italic {
  font-style: italic;
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .toc { display: none; }
}
@media (max-width: 980px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--rule); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  section { padding: 70px 20px; }
  .hero { padding: 110px 20px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside { padding: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 22px; }
  .fourds-teaser-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fourds-page-grid .fourds-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fourds-essay .essay-section { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .connect-story { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .connect-story-meta { position: static; }
  .founders { grid-template-columns: 1fr; gap: 28px; }
  .founder { padding: 28px; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .motto-feature { padding: 70px 20px; margin: 60px -20px; }
  .stat-number { font-size: 56px; }
  .stat-row .stat-number { font-size: 36px; }
  .offices-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fourds-teaser-grid,
  .fourds-page-grid .fourds-grid { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}
