/* =====================================================
   DIVINE STRATEGIC REDRESSAL LLP
   Premium Corporate Website — Design System
   ===================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand colors (from logo) */
  --green-deep: #003d20;          /* primary brand */
  --green-forest: #0a5132;
  --green-mid: #14693f;
  --green-soft: #1f7a4d;
  --green-tint: #e8f0eb;
  --green-bg-tint: #f5f8f6;

  /* Neutrals */
  --ink: #0d0f0e;
  --charcoal: #1a1d1b;
  --slate: #4a514d;
  --stone: #8b918d;
  --mist: #c8ccc9;
  --bone: #f4f1ec;
  --paper: #fafaf7;
  --white: #ffffff;

  /* Accent (gold/brass) */
  --gold: #b08c4a;
  --gold-light: #d4b27a;
  --gold-dark: #8a6d35;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Big Caslon', 'Playfair Display', Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Big Caslon', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Containers */
  --container: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,61,32,0.06);
  --shadow-md: 0 4px 16px rgba(0,61,32,0.08);
  --shadow-lg: 0 12px 40px rgba(0,61,32,0.12);
  --shadow-xl: 0 24px 60px rgba(0,61,32,0.18);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Header height */
  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- 3. Typography ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--green-deep);
  display: inline-block;
  opacity: 0.6;
}
.eyebrow.light { color: var(--gold-light); }
.eyebrow.light::before { background: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 500; line-height: 1.3; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 60ch;
}

p { color: var(--slate); }
em, .italic { font-style: italic; font-family: var(--font-display); color: var(--green-deep); }

.serif { font-family: var(--font-display); }
.uppercase { text-transform: uppercase; letter-spacing: 0.18em; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

section { padding-block: clamp(4rem, 10vw, 8rem); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) {
  .split-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .split-1-2 { grid-template-columns: 1fr 2fr; }
  .split-2-1 { grid-template-columns: 2fr 1fr; }
}

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(250, 250, 247, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.92);
  border-bottom-color: rgba(0,61,32,0.08);
  box-shadow: 0 2px 24px rgba(0,61,32,0.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
}
.brand-text-name {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-text-tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 5px;
  white-space: nowrap;
}
.site-footer .brand-text-name { color: var(--paper); }
.site-footer .brand-text-tag { color: rgba(244,241,236,0.55); }
.site-footer .brand-mark { width: 64px; height: 64px; }
.site-footer .brand-text-name { font-size: 1.4rem; }

/* Legacy <img class="brand-logo"> kept for any pages still using it */
.brand-logo { display: none; }

@media (max-width: 600px) {
  .brand-mark { width: 46px; height: 46px; }
  .brand-text-name { font-size: 1.08rem; }
  .brand-text-tag { font-size: 0.58rem; letter-spacing: 0.18em; }
}
@media (max-width: 380px) {
  .brand-text-tag { display: none; }
}
:root { --header-h: 96px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease-out);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 6px;
  height: 1px;
  background: var(--green-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover { color: var(--green-deep); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green-deep); }

.nav-cta {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    overflow-y: auto;
  }
  .nav a { padding: 1rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid rgba(0,61,32,0.08); }
  .nav a::after { display: none; }
  .nav-cta { margin: 1.5rem 0 0; align-self: flex-start; }
  body.menu-open .nav { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-deep);
  color: var(--paper);
  box-shadow: 0 4px 16px rgba(0,61,32,0.18);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-mid), var(--green-soft));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,61,32,0.25); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  color: var(--green-deep);
  border: 1px solid rgba(0,61,32,0.25);
  background: transparent;
}
.btn-ghost:hover { background: var(--green-deep); color: var(--paper); border-color: var(--green-deep); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(176,140,74,0.3);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--paper); transform: translateY(-2px); }

.btn-link {
  padding: 0.5rem 0;
  border-radius: 0;
  color: var(--green-deep);
  border-bottom: 1px solid var(--green-deep);
  background: transparent;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}
.btn-link .arrow { transition: transform 0.3s var(--ease-out); }
.btn-link:hover .arrow { transform: translateX(6px); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 880px);
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,61,32,0.06), transparent 60%),
    radial-gradient(ellipse at 0% 80%, rgba(176,140,74,0.05), transparent 50%),
    var(--paper);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,61,32,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,61,32,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
}

.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 1.04;
  font-weight: 400;
  margin-block: 1.5rem;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--green-deep); }

.hero-lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--slate);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-meta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,61,32,0.12);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1;
  display: block;
}
.hero-meta-item .num sup { font-size: 0.6em; color: var(--gold); margin-left: 2px; }
.hero-meta-item .lbl {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Hero visual — animated orb / leaf composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 540px;
  margin-inline: auto;
  width: 100%;
}
.orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid) 60%, var(--green-soft));
  filter: blur(0px);
  transform: scale(0.85);
  box-shadow:
    inset 0 -40px 80px rgba(0,0,0,0.25),
    inset 0 40px 80px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,61,32,0.25);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(176,140,74,0.18), transparent 55%);
  filter: blur(40px);
  animation: orbGlow 6s ease-in-out infinite alternate;
}
.orb-rings {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(0,61,32,0.18);
  animation: rotate 60s linear infinite;
}
.orb-rings.r2 { inset: -16%; border-color: rgba(176,140,74,0.18); animation-duration: 90s; animation-direction: reverse; }
.orb-leaf {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  animation: leafFloat 6s ease-in-out infinite;
}
.orb-leaf svg, .orb-leaf img { width: 40%; height: 40%; object-fit: contain; display: block; }

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  z-index: 3;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(20,105,63,0.18);
  animation: pulse 2s ease-in-out infinite;
}
.hero-badge.b1 { top: 8%; left: -8%; animation: float 5s ease-in-out infinite; }
.hero-badge.b2 { bottom: 14%; right: -6%; animation: float 6s ease-in-out infinite -1.5s; }
.hero-badge.b3 { bottom: -2%; left: 8%; animation: float 5.5s ease-in-out infinite -3s; }
.hero-badge svg { width: 18px; height: 18px; color: var(--green-deep); }

@keyframes orbFloat {
  0%, 100% { transform: scale(0.85) translateY(0); }
  50% { transform: scale(0.88) translateY(-8px); }
}
@keyframes orbGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}
@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(2deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(20,105,63,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(20,105,63,0.05); }
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 1000px) {
  .hero-visual { max-width: 380px; margin-top: 1rem; }
  .hero-badge.b1 { left: -2%; }
  .hero-badge.b2 { right: -2%; }
}

/* ---------- 8. Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  z-index: 3;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--slate), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 9. Section header ---------- */
.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 760px;
}
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lede { margin-top: 0.5rem; }

/* ---------- 10. Pillar / service cards ---------- */
.pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.pillar {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,61,32,0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pillar::after {
  content: '';
  position: absolute;
  inset: auto -40% -40% auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,61,32,0.06), transparent 70%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,61,32,0.18);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover::after { transform: scale(1.4); }

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-bg-tint);
  color: var(--green-deep);
  margin-bottom: 1.5rem;
  transition: transform 0.5s var(--ease-out);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar:hover .pillar-icon { transform: rotate(-6deg) scale(1.05); background: var(--green-deep); color: var(--paper); }

.pillar h3 { margin-bottom: 0.75rem; }
.pillar p { font-size: 0.95rem; }
.pillar-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--slate);
}
.pillar-list li {
  position: relative;
  padding-left: 1.25rem;
}
.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- 11. Stat strip ---------- */
.stat-strip {
  background: var(--green-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.stat-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(176,140,74,0.18), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(31,122,77,0.4), transparent 50%);
  pointer-events: none;
}
.stat-strip .container { position: relative; z-index: 2; }
.stats {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: left;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
  display: block;
}
.stat .num sup { color: var(--gold-light); font-size: 0.5em; vertical-align: super; }
.stat .lbl {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.65);
  font-weight: 500;
}
.stat .desc {
  margin-top: 0.5rem;
  color: rgba(244,241,236,0.85);
  font-size: 0.92rem;
  max-width: 28ch;
}

/* ---------- 12. Client wall ---------- */
.client-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1rem;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate);
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}
.marquee-item:hover { opacity: 1; color: var(--green-deep); }
.marquee-item .dot {
  display: inline-block;
  margin-right: 3rem;
  color: var(--gold);
  font-size: 0.6em;
  transform: translateY(-4px);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Client grid */
.client-grid {
  display: grid;
  gap: 1px;
  background: rgba(0,61,32,0.1);
  border: 1px solid rgba(0,61,32,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client-cell {
  background: var(--paper);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  min-height: 90px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.client-cell:hover { background: var(--green-deep); color: var(--paper); transform: scale(1.02); z-index: 2; position: relative; }
.client-cell .loc {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.25rem;
}
.client-cell:hover .loc { color: var(--gold-light); }

/* ---------- 13. Process steps ---------- */
.process {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  position: relative;
}
.step {
  position: relative;
  padding: 2rem 1.5rem 0;
}
.step .num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1;
  opacity: 0.18;
  letter-spacing: -0.02em;
}
.step h4 { margin: 0.75rem 0 0.5rem; }
.step p { font-size: 0.95rem; }
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.step:hover::before { width: 80px; }

/* ---------- 14. Founder card ---------- */
.founder-block {
  background: var(--green-deep);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2.5rem;
}
.founder-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(176,140,74,0.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(31,122,77,0.5), transparent 60%);
  pointer-events: none;
}
.founder-block > * { position: relative; z-index: 2; }
@media (min-width: 900px) {
  .founder-block { grid-template-columns: 1fr 1.4fr; align-items: center; }
}
.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
}
.founder-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold-light);
  display: block;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.founder-meta { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(244,241,236,0.18); }
.founder-meta .name { font-family: var(--font-display); font-size: 1.25rem; color: var(--paper); }
.founder-meta .role { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-top: 0.25rem; }

.founder-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(0,0,0,0.25), transparent 60%),
    linear-gradient(45deg, var(--gold-dark), var(--gold-light));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(0,0,0,0.04) 20px 21px);
}
.founder-portrait .mono {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.founder-portrait .caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}

/* ---------- 15. Team ---------- */
.team {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.team-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,61,32,0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ---------- 16. Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 5rem;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(0,61,32,0.06), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(176,140,74,0.06), transparent 50%),
    var(--paper);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,61,32,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,61,32,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.7), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.7), transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 18ch;
  margin-block: 1.25rem 1.5rem;
}
.page-hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 60ch; }

.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--green-deep); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--mist); }

/* ---------- 17. Service detail (services page) ---------- */
.service-detail {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(0,61,32,0.08);
  box-shadow: var(--shadow-sm);
}
.service-detail + .service-detail { margin-top: 1.5rem; }
.service-detail-head {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,61,32,0.08);
}
@media (min-width: 800px) {
  .service-detail-head { grid-template-columns: auto 1fr; }
}
.service-num {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  font-weight: 300;
}
.service-num small { color: var(--gold); font-size: 0.32em; letter-spacing: 0.04em; vertical-align: super; margin-left: 0.15em; font-family: var(--font-sans); font-weight: 500; }

.service-list {
  display: grid;
  gap: 0.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: var(--charcoal);
  border-bottom: 1px dashed rgba(0,61,32,0.1);
  transition: padding-left 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.service-list li:hover { padding-left: 0.5rem; color: var(--green-deep); }
.service-list li svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 18. Form ---------- */
.form-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; position: relative; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  padding: 0.95rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(0,61,32,0.18);
  background: var(--white);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(0,61,32,0.1);
  background: var(--paper);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23003d20' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.5rem; }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.88rem; color: var(--slate); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-deep); }

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--green-bg-tint);
  border-radius: var(--r-md);
  border-left: 3px solid var(--green-deep);
  color: var(--green-deep);
}
.form-success.show { display: block; }

/* ---------- 19. Contact card ---------- */
.contact-card {
  display: grid;
  gap: 1.25rem;
}
.contact-row {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,61,32,0.08);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-bg-tint);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row .lbl {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.contact-row .val {
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* Map block */
.map-block {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: linear-gradient(135deg, var(--green-bg-tint), var(--bone));
  border: 1px solid rgba(0,61,32,0.1);
}
.map-block iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 20. CTA strip ---------- */
.cta-strip {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(0,61,32,0.6), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(176,140,74,0.18), transparent 55%);
  pointer-events: none;
}
.cta-strip .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .cta-strip .container { grid-template-columns: 1fr auto; }
}
.cta-strip h2 {
  color: var(--paper);
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}
.cta-strip p { color: rgba(244,241,236,0.7); margin-top: 0.75rem; max-width: 50ch; }

/* ---------- 21. Footer ---------- */
.site-footer {
  background: #07120c;
  color: rgba(244,241,236,0.7);
  padding-block: 4rem 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-brand .brand { color: var(--paper); margin-bottom: 1rem; }
.footer-brand p { color: rgba(244,241,236,0.6); max-width: 32ch; }
.footer-col h5 {
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(244,241,236,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(244,241,236,0.45);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 22. Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- 23. Page-specific & utilities ---------- */
.bg-tint { background: var(--green-bg-tint); }
.bg-bone { background: var(--bone); }
.bg-dark { background: var(--green-deep); color: var(--paper); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--paper); }
.bg-dark p, .bg-dark .lede { color: rgba(244,241,236,0.75); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,61,32,0.2), transparent);
  margin-block: 4rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--green-bg-tint);
  color: var(--green-deep);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  z-index: 90;
  pointer-events: none;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--green-mid); }
.to-top svg { width: 18px; height: 18px; }

/* Page transition cover */
.page-cover {
  position: fixed;
  inset: 0;
  background: var(--green-deep);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-in-out);
  pointer-events: none;
}
.page-cover.cover-in { transform: translateY(0); }
.page-cover.cover-out { transform: translateY(100%); transition-duration: 0.9s; }

/* Cursor trail dot (subtle) */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-deep);
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s, width 0.3s, height 0.3s;
  mix-blend-mode: multiply;
}
@media (hover: hover) {
  body:hover .cursor-dot { opacity: 0.4; }
  .cursor-dot.is-hover { width: 32px; height: 32px; opacity: 0.15; }
}
@media (pointer: coarse) { .cursor-dot { display: none; } }

/* =====================================================
   24. Mobile optimizations (≤900px and ≤600px)
   ===================================================== */
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  section { padding-block: clamp(2.75rem, 8vw, 4.5rem); }
  .container { padding-inline: 1.25rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 3rem); line-height: 1.06; }
  .hero-lede { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-meta { margin-top: 2rem; padding-top: 1.5rem; gap: 1.25rem 2rem; }
  .hero-meta-item .num { font-size: 1.85rem; }
  .hero-meta-item .lbl { font-size: 0.7rem; }

  .hero-visual { max-width: 320px; margin-top: 0.5rem; }
  .hero-badge { font-size: 0.74rem; padding: 0.55rem 0.85rem; }
  .hero-badge svg { width: 14px; height: 14px; }
  .scroll-cue { display: none; }

  /* Page hero */
  .page-hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 3rem; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .page-hero .lede { font-size: 1rem; }
  .breadcrumb { font-size: 0.7rem; }

  /* Section heads */
  .section-head { gap: 1rem; margin-bottom: 2rem; }
  h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1.15; }
  h3 { font-size: 1.35rem; }
  .lede { font-size: 1rem; line-height: 1.6; }

  /* Pillars */
  .pillars { gap: 1rem; }
  .pillar { padding: 1.5rem 1.35rem; }
  .pillar-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
  .pillar-icon svg { width: 22px; height: 22px; }
  .pillar h3 { font-size: 1.25rem; }
  .pillar p { font-size: 0.92rem; }
  .pillar-list { margin-top: 1.1rem; gap: 0.45rem; font-size: 0.85rem; }

  /* Stats */
  .stat-strip { padding-block: 3rem; }
  .stats { gap: 1.75rem; }
  .stat .num { font-size: 2.25rem; }
  .stat .lbl { font-size: 0.74rem; }
  .stat .desc { font-size: 0.85rem; }

  /* Process steps */
  .process { gap: 1.25rem; }
  .step { padding: 1.5rem 1.25rem 0; }
  .step .num { font-size: 2.25rem; opacity: 0.22; }
  .step h4 { font-size: 1.1rem; }
  .step p { font-size: 0.9rem; }
  .step::before { width: 28px; }

  /* Client wall */
  .client-marquee { margin-bottom: 2rem !important; }
  .marquee-item { font-size: 1.05rem; }
  .marquee-item .dot { margin-right: 1.5rem; }
  .client-cell { min-height: 64px; padding: 0.85rem 1rem; font-size: 0.9rem; }
  .client-cell .loc { font-size: 0.62rem; letter-spacing: 0.1em; }

  /* Founder block */
  .founder-block { padding: 2rem 1.5rem; gap: 1.75rem; }
  .founder-portrait { aspect-ratio: 5/3; max-width: 220px; }
  .founder-portrait .mono { font-size: 3.5rem; }
  .founder-portrait .caption { font-size: 0.66rem; bottom: 0.85rem; left: 0.85rem; right: 0.85rem; letter-spacing: 0.1em; }
  .founder-quote { font-size: 1.2rem; line-height: 1.4; }
  .founder-quote::before { font-size: 3.5rem; margin-bottom: 0.5rem; }
  .founder-meta { margin-top: 1.25rem; padding-top: 1rem; }
  .founder-meta .name { font-size: 1.1rem; }
  .founder-meta .role { font-size: 0.72rem; }

  /* Team */
  .team { gap: 1rem; }
  .team-card { padding: 1.5rem 1.35rem; }
  .team-avatar { width: 60px; height: 60px; font-size: 1.25rem; margin-bottom: 1rem; }

  /* Services page — service detail */
  .service-detail { padding: 1.5rem 1.25rem; border-radius: var(--r-lg); }
  .service-detail-head { margin-bottom: 1.5rem; padding-bottom: 1.5rem; gap: 0.75rem; }
  .service-num { font-size: 2.5rem; line-height: 1; }
  .service-num small { font-size: 0.55em; }
  .service-list { gap: 0; }
  .service-list li { padding: 0.55rem 0; font-size: 0.9rem; gap: 0.6rem; }
  .service-list li svg { width: 16px; height: 16px; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }
  .field input, .field textarea, .field select { padding: 0.85rem 1rem; font-size: 0.95rem; }
  .field textarea { min-height: 110px; }
  .field label { font-size: 0.72rem; }

  /* Contact details */
  .contact-row { padding: 1rem 0; gap: 0.85rem; }
  .contact-row .ico { width: 38px; height: 38px; border-radius: 10px; }
  .contact-row .ico svg { width: 18px; height: 18px; }
  .contact-row .lbl { font-size: 0.68rem; }
  .contact-row .val { font-size: 0.95rem; }

  /* CTA strip — single column on mobile */
  .cta-strip { padding-block: 3rem; }
  .cta-strip .container { gap: 1.5rem; }
  .cta-strip h2 { font-size: clamp(1.5rem, 6vw, 1.85rem); }
  .cta-strip p { font-size: 0.92rem; }

  /* Buttons — ensure 44px tap target */
  .btn { padding: 0.85rem 1.4rem; font-size: 0.78rem; min-height: 44px; }
  .btn-link { padding: 0.6rem 0; font-size: 0.92rem; }

  /* Footer */
  .site-footer { padding-block: 3rem 1.5rem; }
  .footer-grid { gap: 2rem; margin-bottom: 2rem; }
  .footer-col h5 { font-size: 0.72rem; margin-bottom: 0.85rem; }
  .footer-col ul { gap: 0.5rem; }
  .footer-bottom { font-size: 0.74rem; gap: 0.75rem; padding-top: 1.5rem; }

  /* Page transitions removed on mobile */
  .page-cover { display: none; }

  /* Eyebrow tightening */
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.18em; }
  .eyebrow::before { width: 22px; }

  /* Tag chips */
  .tag { font-size: 0.66rem; padding: 0.35rem 0.7rem; }

  /* Service detail eyebrow on mobile */
  .service-detail h4 { font-size: 1rem; }

  /* To-top button */
  .to-top { width: 42px; height: 42px; right: 1rem; bottom: 1rem; }

  /* Map block */
  .map-block { aspect-ratio: 4/3; }

  /* Founder portrait — change to wider on mobile so it doesn't dominate */
  .founder-portrait { aspect-ratio: 4/3; max-width: 100%; margin-inline: auto; }
}

/* Extra tightening for very small phones */
@media (max-width: 420px) {
  .container { padding-inline: 1rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-lede { font-size: 0.95rem; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .hero-meta-item:nth-child(3) { grid-column: 1 / -1; }
  .hero-visual { max-width: 280px; }
  .hero-badge { font-size: 0.7rem; padding: 0.45rem 0.7rem; }

  .page-hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .stats { grid-template-columns: 1fr; }

  .client-grid { grid-template-columns: 1fr; }
  .client-cell { min-height: auto; }

  .cta-strip .btn { width: 100%; justify-content: center; }
  .cta-strip > .container > div:last-child { display: flex; flex-direction: column; }

  .legal-content h2 { font-size: 1.25rem; margin-top: 2rem; }
  .legal-content p, .legal-content ul li { font-size: 0.95rem; }

  .founder-portrait { max-width: 280px; }
}

/* Touch-only — disable hover-only effects on touch devices */
@media (hover: none) {
  .marquee-track { animation-play-state: running !important; }
  .pillar:hover { transform: none; }
  .client-cell:hover { transform: none; background: var(--paper); color: var(--charcoal); }
  .pillar:hover .pillar-icon { transform: none; background: var(--green-bg-tint); color: var(--green-deep); }
}
