/* Lexamin Legal â€” Brand tokens & global styles */

:root {
  /* Core palette â€” v2 "challenger" pass: deeper ink navy, same brand gold */
  --navy: #0a121c;
  --navy-deep: #060b13;
  --forest: #1c3a2e;
  --gold: #c9a25f;
  --gold-soft: #b8923f;
  --cream: #f4f0e6;
  --cream-warm: #ece6d6;
  --ink: #14100c;
  --ink-soft: #4a4338;
  --line-dark: rgba(244, 240, 230, 0.14);
  --line-light: rgba(26, 22, 18, 0.14);

  /* Type â€” sharp editorial serif + grotesk */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---- Layout helpers ---- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 40px;
  max-width: 1240px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--cream);
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
  padding: 6px 0;
  text-align: center;
  line-height: 1.5;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--navy); }
.btn { z-index: 0; }
.btn.btn-solid::before { background: var(--cream); }
.btn.btn-solid {
  background: var(--gold);
  color: var(--navy);
}
.btn.btn-solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn.btn-light {
  border-color: var(--ink);
  color: var(--ink);
}
.btn.btn-light:hover { background: var(--ink); color: var(--cream); }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 162, 95, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(28, 58, 46, 0.5), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 28px 0 36px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: #c9c2b1;
  max-width: 540px;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #c9c2b1;
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line-dark);
}
body.theme-heritage .hero-intro { color: var(--ink-soft); }

.hero-meta {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 32px;
  max-width: 600px;
}
.hero-meta > div { padding-right: 24px; }
.hero-meta .num {
  font-family: var(--f-display);
  font-size: 40px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9e9580;
}

/* Hero portrait card */
.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(244, 240, 230, 0.04), rgba(244, 240, 230, 0.01));
  border: 1px solid var(--line-dark);
  padding: 28px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 60px; height: 60px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero-card::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 60px; height: 60px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.hero-portrait {
  flex: 1;
  background:
    repeating-linear-gradient(135deg,
      rgba(201, 162, 95, 0.06) 0 2px,
      transparent 2px 14px),
    rgba(244, 240, 230, 0.02);
  border: 1px dashed rgba(201, 162, 95, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.hero-portrait .placeholder-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201, 162, 95, 0.6);
  text-align: center;
  line-height: 1.8;
}
.hero-portrait .placeholder-label strong { color: var(--gold); display: block; }

.hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.hero-card-foot .name {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.hero-card-foot .role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.hero-card-foot .sra {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #7d7560;
  text-align: right;
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about {
  background: var(--cream);
  padding: 130px 0 110px;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.about-grid h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin-top: 18px;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}
.about-grid h2 em { color: var(--forest); font-style: italic; }

.about-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.about-body p + p { margin-top: 22px; }
.about-body strong { color: var(--ink); font-weight: 600; }

.signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.signature .sig-name {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--navy);
}
.signature .sig-role {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}
.signature .sig-firms {
  text-align: right;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.signature .sig-firms span { display: block; }
.signature .sig-firms .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8270;
  margin-bottom: 6px;
}

/* ===== SERVICES ===== */
.services {
  background: var(--navy);
  color: var(--cream);
  padding: 130px 0;
  position: relative;
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.services-head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.services-head h2 em { color: var(--gold); font-style: italic; }
.services-head p {
  font-size: 16px;
  color: #b8b09b;
  line-height: 1.7;
  max-width: 460px;
  justify-self: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.service {
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(10,18,28,0.18);
  padding: 40px 36px 44px;
  position: relative;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.service:hover { background: var(--navy-deep); box-shadow: 0 10px 30px rgba(10,18,28,0.28); transform: translateY(-4px); }

.service .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 28px;
}
.service h3 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.service p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #a39c87;
  margin-top: auto;
}

/* ===== EXPERIENCE TIMELINE ===== */
.experience {
  background: var(--cream);
  padding: 130px 0;
}

.exp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 60px;
}
.exp-head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 18px;
  color: var(--navy);
  max-width: 640px;
}
.exp-head h2 em { color: var(--forest); font-style: italic; }
.exp-head .total {
  text-align: right;
}
.exp-head .total .num {
  font-family: var(--f-display);
  font-size: 96px;
  line-height: 0.9;
  color: var(--gold);
}
.exp-head .total .lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  padding: 36px 0;
  border-top: 1px solid var(--line-light);
  position: relative;
}
.timeline-row:last-child { border-bottom: 1px solid var(--line-light); }

.timeline-row::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-top: 4px;
}

.timeline-dates {
  padding-left: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-top: 4px;
}
.timeline-dates .duration {
  display: block;
  margin-top: 4px;
  color: var(--gold-soft);
  font-size: 11px;
}

.timeline-content h3 {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.timeline-content .firm {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.timeline-content .firm span { color: var(--ink-soft); margin: 0 8px; }
.timeline-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
}
.timeline-content p + p { margin-top: 14px; }

/* ===== CLIENTS / PRINCIPLES STRIP ===== */
.principles {
  background: var(--forest);
  color: var(--cream);
  padding: 90px 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.principle .num {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 16px;
  font-style: italic;
}
.principle h4 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.2;
}
.principle p {
  font-size: 14px;
  color: rgba(244, 240, 230, 0.72);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 95, 0.06), transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  position: relative;
}

.contact h2 {
  font-family: var(--f-display);
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
  margin-top: 22px;
  letter-spacing: -0.015em;
}
.contact h2 em { color: var(--gold); font-style: italic; }

.contact-lede {
  font-size: 17px;
  line-height: 1.7;
  color: #b8b09b;
  margin-top: 36px;
  max-width: 480px;
}

.contact-details {
  background: rgba(244, 240, 230, 0.03);
  border: 1px solid var(--line-dark);
  padding: 44px 40px;
}

.detail-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: center;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row:first-child { padding-top: 0; }

.detail-row .icon {
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
}

.detail-row .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8270;
  margin-bottom: 4px;
}
.detail-row .value {
  font-family: var(--f-display);
  font-size: 19px;
  color: var(--cream);
}
.detail-row .value a:hover { color: var(--gold); }
.detail-row .value.compact { font-size: 15px; font-family: var(--f-body); letter-spacing: 0.03em; }

/* ===== FOOTER ===== */
.foot {
  background: var(--navy-deep);
  color: #6e6753;
  border-top: 1px solid var(--line-dark);
  padding: 36px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot a:hover { color: var(--gold); }

/* ===== PEOPLE PREVIEW (homepage) ===== */
.people-preview {
  background: var(--cream-warm);
  padding: 130px 0;
}
.people-preview .exp-head { margin-bottom: 64px; }
.people-preview .exp-head h2 { color: var(--navy); }
.people-preview .exp-head h2 em { color: var(--forest); font-style: italic; }

.people-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.person-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(14, 22, 34, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(14, 22, 34, 0.25);
}
.person-card-coming { cursor: default; }
.person-card-coming:hover { transform: none; box-shadow: none; }

.person-portrait {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg,
      rgba(201, 162, 95, 0.07) 0 2px,
      transparent 2px 16px),
    var(--cream-warm);
  border-bottom: 1px solid rgba(14, 22, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.person-portrait-coming {
  background:
    repeating-linear-gradient(45deg,
      rgba(14, 24, 34, 0.04) 0 2px,
      transparent 2px 16px),
    var(--cream-warm);
}
.person-portrait .placeholder-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 24, 34, 0.5);
  text-align: center;
  line-height: 1.8;
}
.person-portrait .placeholder-label strong {
  color: var(--gold-soft);
  display: block;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.person-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.person-meta {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.person-name {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.person-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 14px;
}
.person-blurb {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}
.person-link {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}

/* ===== PEOPLE PAGE ===== */
.people-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 110px 0 110px;
  position: relative;
  overflow: hidden;
}
.people-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 90% 10%, rgba(201, 162, 95, 0.08), transparent 60%);
  pointer-events: none;
}
.people-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
}
.people-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 28px 0 36px;
  text-wrap: balance;
}
.people-hero h1 em { font-style: italic; color: var(--gold); }

.people-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid var(--line-dark);
  padding-left: 40px;
}
.people-hero-stats .stat-num {
  font-family: var(--f-display);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.people-hero-stats .stat-lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9e9580;
}

/* Profile */
.profile {
  background: var(--cream);
  padding: 110px 0;
  border-bottom: 1px solid var(--line-light);
}
.profile:last-of-type { border-bottom: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.profile-portrait {
  aspect-ratio: 3 / 4;
  background:
    repeating-linear-gradient(135deg,
      rgba(201, 162, 95, 0.08) 0 2px,
      transparent 2px 14px),
    var(--cream-warm);
  border: 1px dashed rgba(201, 162, 95, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 24px;
}
.profile-portrait .placeholder-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 24, 34, 0.55);
  text-align: center;
  line-height: 1.8;
}
.profile-portrait .placeholder-label strong {
  color: var(--gold-soft);
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 4px;
}
.profile-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.profile-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
}

.profile-contact {
  padding: 24px;
  background: var(--navy);
  color: var(--cream);
}
.contact-line {
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.1);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line:first-child { padding-top: 0; }
.contact-line .lbl {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8270;
}
.contact-line a:hover { color: var(--gold); }
.contact-line a, .contact-line span:not(.lbl) {
  font-family: var(--f-display);
  font-size: 15px;
  color: var(--cream);
}

.profile-head { margin-bottom: 36px; }
.profile-head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 16px;
  color: var(--navy);
}
.profile-role {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}

.profile-bio {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.profile-bio p + p { margin-top: 18px; }

.profile-specs {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}
.specs-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.profile-specs ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.profile-specs li {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--navy);
  padding-left: 20px;
  position: relative;
}
.profile-specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.profile-timeline {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}
.tl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
  position: relative;
}
.tl-row:first-of-type { border-top: 0; padding-top: 0; }
.tl-dates {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-top: 4px;
}
.tl-dates .duration {
  display: block;
  margin-top: 4px;
  color: var(--gold-soft);
  font-size: 10px;
}
.tl-content h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}
.tl-content .firm {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.tl-content .firm span { color: var(--ink-soft); margin: 0 8px; }
.tl-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.tl-content p + p { margin-top: 10px; }

/* Growing block */
.growing {
  background: var(--forest);
  color: var(--cream);
  padding: 110px 0;
}
.growing-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.growing-grid h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin-top: 18px;
}
.growing-grid h2 em { font-style: italic; color: var(--gold); }
.growing-body {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(244, 240, 230, 0.82);
}
.growing-body p + p { margin-top: 18px; }
.growing .btn.btn-light {
  border-color: var(--cream);
  color: var(--cream);
}
.growing .btn.btn-light:hover { background: var(--cream); color: var(--forest); }

/* ===== THEME VARIANTS ===== */
body.theme-heritage .hero { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%); color: var(--ink); }
body.theme-heritage .hero h1 { color: var(--navy); }
body.theme-heritage .hero h1 em { color: var(--forest); }
body.theme-heritage .hero-lede { color: var(--ink-soft); }
body.theme-heritage .hero::before {
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(28, 58, 46, 0.06), transparent 60%);
}
body.theme-heritage .nav { background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line-light); }
body.theme-heritage .nav-links a { color: var(--ink); }
body.theme-heritage .nav-links a:hover { color: var(--forest); }
body.theme-heritage .hero-card { background: rgba(28, 58, 46, 0.04); border-color: rgba(28, 58, 46, 0.2); }
body.theme-heritage .hero-card::before, body.theme-heritage .hero-card::after { border-color: var(--forest); }
body.theme-heritage .hero-portrait { border-color: rgba(28, 58, 46, 0.25); background: repeating-linear-gradient(135deg, rgba(28, 58, 46, 0.05) 0 2px, transparent 2px 14px); }
body.theme-heritage .hero-portrait .placeholder-label { color: rgba(28, 58, 46, 0.6); }
body.theme-heritage .hero-portrait .placeholder-label strong { color: var(--forest); }
body.theme-heritage .hero-card-foot .name { color: var(--navy); }
body.theme-heritage .hero-card-foot .role { color: var(--forest); }
body.theme-heritage .hero-meta { border-top-color: var(--line-light); }
body.theme-heritage .hero-meta .num { color: var(--forest); }
body.theme-heritage .hero-meta .lbl { color: var(--ink-soft); }
body.theme-heritage .btn { border-color: var(--forest); color: var(--forest); }
body.theme-heritage .btn:hover { background: var(--forest); color: var(--cream); }
body.theme-heritage .btn.btn-solid { background: var(--forest); color: var(--cream); }
body.theme-heritage .btn.btn-solid:hover { background: var(--navy); border-color: var(--navy); }
body.theme-heritage .eyebrow { color: var(--gold-soft); }

/* Editorial layout: stack hero text & shift card */
body.layout-editorial .hero-grid { grid-template-columns: 1fr; gap: 60px; }
body.layout-editorial .hero-card { max-width: 100%; }
body.layout-editorial .hero h1 { font-size: clamp(56px, 8vw, 120px); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid, .services-head, .exp-head { grid-template-columns: 1fr; gap: 50px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 16px; }
  .timeline-dates { padding-left: 28px; }
  .nav-links { display: none; }
  .wrap, .nav-inner { padding: 0 24px; }
  .hero { padding: 70px 0 80px; }
  .about, .services, .experience, .contact { padding: 80px 0; }
  .hero-meta { grid-template-columns: 1fr 1fr 1fr; }
  .signature { flex-direction: column; align-items: flex-start; }
  .signature .sig-firms { text-align: left; }
  .foot-inner { flex-direction: column; align-items: flex-start; }

  /* People */
  .people-row { grid-template-columns: 1fr; }
  .people-preview, .growing { padding: 80px 0; }
  .people-hero { padding: 70px 0; }
  .people-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .people-hero-stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 28px; }
  .profile { padding: 80px 0; }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .profile-portrait { max-width: 320px; }
  .profile-specs ul { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .growing-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ANIMATION + TECH LAYER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Scroll progress bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(201, 162, 95, 0.6);
}

/* â”€â”€ Custom cursor â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body.has-custom-cursor,
body.has-custom-cursor * { cursor: none !important; }
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [data-magnetic],
body.has-custom-cursor [role='button'],
body.has-custom-cursor input,
body.has-custom-cursor textarea { cursor: none !important; }

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1000;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #f4f0e6;
}
.cursor-ring {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid #f4f0e6;
  transition: width 0.18s ease, height 0.18s ease, margin 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(201, 162, 95, 0.15);
  border-color: var(--gold);
}
.cursor-ring.down {
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* â”€â”€ Logo flash (brief brand mark on navigation) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.logo-flash {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}
.logo-flash.active { opacity: 1; }

.logo-flash .lf-mark {
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease-out;
}
.logo-flash.active .lf-mark {
  transform: scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .logo-flash { display: none; }
}

/* â”€â”€ Page transition overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.page-transition .pt-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  transform: translateY(100%);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-transition .pt-mark {
  position: relative;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* COVERING state (initial mount): overlay sits over content */
.page-transition.covering .pt-bg { transform: translateY(0); }
.page-transition.covering .pt-mark { opacity: 1; transform: scale(1); }

/* ENTERING state (page just loaded â€” slide out downward) */
.page-transition.entering .pt-bg {
  transform: translateY(-100%);
  transition-delay: 0.15s;
}
.page-transition.entering .pt-mark {
  opacity: 0;
  transform: scale(0.85);
}

/* LEAVING state (about to navigate â€” slide in upward) */
.page-transition.leaving .pt-bg {
  transform: translateY(0);
}
.page-transition.leaving .pt-mark {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.25s;
}

/* â”€â”€ Reveal animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(28px); }
.reveal-down  { transform: translateY(-28px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-scale { transform: scale(0.96); }
.reveal-clip  {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* â”€â”€ Animated cipher mark â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cipher-svg .cipher-frame { transition: stroke-opacity 0.4s; }
.cipher-svg .cipher-l1,
.cipher-svg .cipher-l2 { transform-origin: 50% 50%; }

@keyframes cipher-frame-draw {
  from { stroke-dasharray: 0 376; }
  to   { stroke-dasharray: 376 0; }
}
@keyframes cipher-l-rise {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes cipher-l-rotate-rise {
  from { transform: rotate(180deg) translateY(8px); opacity: 0; }
  to   { transform: rotate(180deg) translateY(0); opacity: 1; }
}
@keyframes cipher-breath {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 0.85; }
}

.cipher-animated .cipher-frame {
  stroke-dasharray: 376 0;
  animation: cipher-frame-draw 1.1s cubic-bezier(0.6, 0, 0.4, 1) both;
}
.cipher-animated .cipher-l1 {
  animation: cipher-l-rise 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0.25s both;
}
.cipher-animated .cipher-l2 {
  transform-origin: 50px 50px;
  animation: cipher-l-rotate-rise 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0.4s both,
             cipher-breath 4.5s ease-in-out 1.5s infinite;
}

/* Logo lockup hover: cipher gets a subtle tilt */
.nav-logo:hover .cipher-svg .cipher-l1 { transform: translateY(-1px); }
.nav-logo:hover .cipher-svg .cipher-l2 { transform: rotate(180deg) translateY(-1px); }
.cipher-svg .cipher-l1,
.cipher-svg .cipher-l2 { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.cipher-animated .cipher-l1,
.cipher-animated .cipher-l2 { transition: none; }

/* â”€â”€ Live clock â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.live-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 6px 10px;
  border: 1px solid var(--line-dark);
  background: rgba(244, 240, 230, 0.02);
  flex-shrink: 0;
  white-space: nowrap;
}
.live-clock .lbl,
.live-clock .time { flex-shrink: 0; white-space: nowrap; }
.live-clock .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(201, 162, 95, 0.7);
}
.live-clock .lbl {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9e9580;
}
.live-clock .time {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201, 162, 95, 0.6); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 6px rgba(201, 162, 95, 0); }
}

body.theme-heritage .live-clock {
  border-color: var(--line-light);
  background: rgba(14, 24, 34, 0.02);
}
body.theme-heritage .live-clock .lbl { color: var(--ink-soft); }

/* â”€â”€ Marquee â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.marquee {
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--gold);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 16px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-deep), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--navy-deep), transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 32px 0 0;
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.marquee-sep {
  margin-left: 32px;
  color: var(--gold);
  font-style: normal;
  font-family: var(--f-body);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* â”€â”€ Tech detail: section number tag â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.sec-tag .bracket { color: var(--ink-soft); opacity: 0.7; }
.sec-tag::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}

.services .sec-tag .bracket,
.principles .sec-tag .bracket,
.hero .sec-tag .bracket,
.contact .sec-tag .bracket { color: rgba(244, 240, 230, 0.4); }

/* â”€â”€ Hero grid backdrop (tech ambient) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero { position: relative; }
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* Floating tech corners for hero card */
.hero-card .corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  z-index: 2;
}
.hero-card .corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-card .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hero-card .corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hero-card .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* â”€â”€ Spotlight section (mouse-follow gradient) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at var(--spot-x, 50%) var(--spot-y, 50%),
                              rgba(201, 162, 95, 0.07),
                              transparent 60%);
  pointer-events: none;
  transition: background 0.2s ease;
  z-index: 0;
}
.spotlight > .wrap, .spotlight > * { position: relative; z-index: 1; }

/* â”€â”€ Magnetic buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-magnetic] {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* â”€â”€ Stat counter cards with subtle hover â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-meta > div,
.people-hero-stats .stat-row {
  position: relative;
  transition: transform 0.4s ease;
}
.hero-meta > div::before,
.people-hero-stats .stat-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 100%;
  background: var(--gold);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-meta > div.in-view::before,
.people-hero-stats .stat-row.in-view::before {
  transform: scaleY(1);
}
.hero-meta > div { padding-left: 18px !important; padding-right: 18px !important; }
.people-hero-stats .stat-row { padding-left: 18px; }

/* â”€â”€ Service cards: hover lift + corner sweep â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.service {
  position: relative;
  overflow: hidden;
}
.service::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover::after { width: 100%; }
.service .num {
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover .num { transform: translateX(4px); color: var(--gold-soft); }

/* â”€â”€ Person card: image kenburns â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.person-card { overflow: hidden; }
.person-card .person-portrait { overflow: hidden; }
.person-card img {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.person-card:hover img { transform: scale(1.05); }

/* â”€â”€ Tweaks panel: shift cursor back to default â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body.has-custom-cursor .twk-panel,
body.has-custom-cursor .twk-panel * { cursor: auto !important; }

/* â”€â”€ Nav: live clock on the right â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-inner { gap: 16px; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Nav link underline indicator */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after,
.nav-links a[data-active="1"]::after { transform: scaleX(1); }

/* â”€â”€ Hero h1 char split (for reveal) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero h1 .word {
  display: inline-block;
  overflow: hidden;
}
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero h1.in-view .word > span {
  transform: translateY(0);
}
.hero h1 .word > span.italic-gold {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
body.theme-heritage .hero h1 .word > span.italic-gold { color: var(--forest); }

/* Homepage contact section: contact line list */
.contact-line-big {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 0.3s ease;
  text-decoration: none;
}
.contact-line-big:hover { padding-left: 8px; }
.contact-line-big .k {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8270;
  font-weight: 500;
  align-self: center;
}
.contact-line-big .v {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--gold);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
a.contact-line-big:hover .v { color: var(--cream); }

/* â”€â”€ Stagger reveal for service grid items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.service-grid .reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* â”€â”€ In-view stat number animation feel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-meta .num, .people-hero-stats .stat-num {
  font-variant-numeric: tabular-nums;
}

/* â”€â”€ Section sweep header rule â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.about h2, .services-head h2, .exp-head h2, .contact h2,
.people-hero h1, .profile-head h2, .growing-grid h2 {
  position: relative;
}

/* â”€â”€ Frosted scrollbar (cosmetic) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html { scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 4px; }
html::-webkit-scrollbar-track { background: transparent; }

/* â”€â”€ Reduce-motion override â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring, .page-transition { display: none; }
  .marquee-track { animation: none; }
  .live-clock .dot { animation: none; }
  .cipher-animated .cipher-frame,
  .cipher-animated .cipher-l1,
  .cipher-animated .cipher-l2 { animation: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PHASE 2 â€” NAV UTILS, FOOTER, FORMS, NEW PAGES, DASHBOARD
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Extended nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-utils {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: all 0.25s ease;
  background: rgba(244, 240, 230, 0.02);
}
.nav-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 95, 0.08);
}
body.theme-heritage .nav-icon-btn { color: var(--ink); border-color: var(--line-light); background: transparent; }
body.theme-heritage .nav-icon-btn:hover { color: var(--forest); border-color: var(--forest); }

.nav-cta { padding: 6px !important; font-size: 9px !important; margin-left: 12px; border-radius: 0 !important; width: 72px; height: 72px; aspect-ratio: 1 / 1; text-align: center; white-space: normal; line-height: 1.3; justify-content: center; }

.nav-burger {
  display: none;
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid var(--line-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  width: 14px; height: 1px;
  background: var(--cream);
  transition: all 0.3s;
}
body.theme-heritage .nav-burger { border-color: var(--line-light); }
body.theme-heritage .nav-burger span { background: var(--ink); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 997;
  background: var(--navy-deep);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile-close {
  position: absolute;
  top: 28px; right: 28px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  font-size: 20px;
  cursor: pointer;
}
.nav-mobile-inner {
  width: 100%;
  max-width: 480px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.nav-mobile-links { display: flex; flex-direction: column; gap: 8px; }
.nav-mobile-links a {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--cream);
  letter-spacing: -0.005em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: baseline;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.2s;
}
.nav-mobile.open .nav-mobile-links a { opacity: 1; transform: none; }
.nav-mobile-links a:hover, .nav-mobile-links a.active { color: var(--gold); }
.nav-mobile-links a .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.16em;
}
.nav-mobile-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-mobile-foot .btn { padding: 12px 18px; font-size: 12px; }

/* â”€â”€ Floating WhatsApp button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 20px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 12px 32px -10px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.6), 0 6px 18px rgba(0,0,0,0.2);
}
.whatsapp-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-fab { padding: 12px 14px; }
  .whatsapp-fab-label { display: none; }
}
/* Hide FAB once the footer (with the regulatory disclaimer) is in view */
.whatsapp-fab.is-hidden {
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  pointer-events: none;
}

/* â”€â”€ Footer v2 â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.foot-v2 {
  background: var(--navy-deep);
  color: rgba(244, 240, 230, 0.55);
  padding: 80px 0 28px;
  font-size: 13px;
  border-top: 1px solid var(--line-dark);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.foot-tag {
  font-family: var(--f-display);
  font-size: 16px;
  font-style: italic;
  color: rgba(244, 240, 230, 0.75);
  line-height: 1.55;
  margin-top: 24px;
  max-width: 340px;
}
.foot-socials { display: flex; gap: 10px; margin-top: 24px; }
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col .foot-h {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}
.foot-col a {
  color: rgba(244, 240, 230, 0.7);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--gold); }

.legal-prose { max-width: 760px; display: flex; flex-direction: column; gap: 8px; }
.legal-prose h2 { font-family: var(--f-display); font-size: 24px; margin: 32px 0 4px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }

.foot-compliance {
  padding: 72px 0 28px;
  border-bottom: 1px solid var(--line-dark);
}
.foot-compliance .foot-h {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.foot-compliance p {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 240, 230, 0.5);
  max-width: 920px;
}
.foot-compliance strong { color: rgba(244, 240, 230, 0.75); font-weight: 500; }

.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6e6753;
  flex-wrap: wrap;
}
.foot-bottom-links { display: flex; gap: 20px; }
.foot-bottom a:hover { color: var(--gold); }

/* â”€â”€ FORMS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form {
  background: var(--cream);
  padding: 44px 48px 36px;
  border: 1px solid rgba(14, 24, 34, 0.08);
  position: relative;
}
.form-compact { padding: 32px 32px 28px; }

.form-head { margin-bottom: 32px; }
.form-head h3 {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-top: 12px;
  line-height: 1.1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px 18px;
}
.form-field.col-12 { grid-column: span 12; }
.form-field.col-6  { grid-column: span 6; }
.form-field.col-4  { grid-column: span 4; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.form-field label .req { color: var(--gold-soft); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--navy);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(14, 24, 34, 0.18);
  padding: 10px 0 8px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  border-radius: 0;
}
.form-field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--f-body);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--gold);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(14, 24, 34, 0.3);
  font-style: italic;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%23c9a25f'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-bottom-color: #b8514a; }
.form-err {
  font-size: 11px;
  color: #b8514a;
  letter-spacing: 0.06em;
}

.form-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 24, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 360px;
  letter-spacing: 0.02em;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 60px 48px;
}
.form-tick { display: flex; justify-content: center; margin-bottom: 24px; }
.form-success h3 {
  font-family: var(--f-display);
  font-size: 36px;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.form-success p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto;
}
.form-success p + p { margin-top: 12px; }
.form-success-tip {
  font-size: 13px !important;
  background: rgba(201, 162, 95, 0.08);
  padding: 14px 20px;
  margin-top: 20px !important;
  display: inline-block;
}
.form-success-tip strong { color: var(--gold-soft); font-family: var(--f-mono); font-size: 12px; }
.form-success code {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--gold-soft);
  background: rgba(201, 162, 95, 0.1);
  padding: 2px 6px;
}
.form-success-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .form { padding: 28px 24px 24px; }
  .form-field.col-6, .form-field.col-4 { grid-column: span 12; }
  .form-success { padding: 40px 24px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: center; }
}

/* â”€â”€ PAGE HEROES (slim, used on About/Services/Agents/Cert/Contact) â”€ */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero.legal-hero { padding: 56px 0 40px; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(201, 162, 95, 0.08), transparent 60%);
  pointer-events: none;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 24px 0 0;
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: #c9c2b1;
  max-width: 520px;
  margin-top: 30px;
}
.page-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--line-dark);
  padding-left: 36px;
}
.page-hero-aside .line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.page-hero-aside .line .k {
  text-transform: uppercase;
  color: #9e9580;
  letter-spacing: 0.18em;
  font-size: 10px;
}
.page-hero-aside .line .v {
  color: var(--gold);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* â”€â”€ Generic content section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.content-section {
  background: var(--cream);
  padding: 110px 0;
}
.content-section.alt { background: var(--cream-warm); }
.content-section.dark { background: var(--navy); color: var(--cream); }
.content-section.dark h2, .content-section.dark h3 { color: var(--cream); }

.content-head {
  margin-bottom: 64px;
  max-width: 800px;
}
.content-head h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 18px;
  color: var(--navy);
}
.content-head h2 em { font-style: italic; color: var(--forest); }
.content-section.dark .content-head h2 { color: var(--cream); }
.content-section.dark .content-head h2 em { color: var(--gold); }
.content-head p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 22px;
  max-width: 640px;
}
.content-section.dark .content-head p { color: #b8b09b; }

/* Two-col layout for About / Agents / Cert pages */
.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.two-col-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.two-col-body p + p { margin-top: 22px; }
.two-col-body strong { color: var(--ink); font-weight: 600; }
.content-section.dark .two-col-body { color: rgba(244, 240, 230, 0.78); }
.content-section.dark .two-col-body strong { color: var(--cream); }

@media (max-width: 920px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 28px; }
  .content-section { padding: 70px 0; }
  .page-hero { padding: 70px 0; }
}

/* â”€â”€ Service deep grid (for Services page) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.services-deep {
  background: var(--cream);
  padding: 110px 0;
}
.svc-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.svc-cat {
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 40px 36px;
}
.svc-cat .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.svc-cat h3 {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.svc-cat ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-cat li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.svc-cat li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

@media (max-width: 720px) { .svc-categories { grid-template-columns: 1fr; } }

/* â”€â”€ Pricing table (Certification page) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pricing {
  display: flex;
  flex-direction: column;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
  align-items: baseline;
}
.price-row:last-child { border-bottom: 1px solid var(--line-light); }
.price-name {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.price-amount {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.005em;
  white-space: nowrap;
  background: rgba(201, 162, 95, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
}
.price-amount span { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.price-meta {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 8px;
}
.price-footnote {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* â”€â”€ Trust strip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.trust-strip {
  background: var(--cream-warm);
  border-top: 1px solid rgba(14, 24, 34, 0.06);
  border-bottom: 1px solid rgba(14, 24, 34, 0.06);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item {
  text-align: center;
}
.trust-item .v {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
}
.trust-item .v em { color: var(--gold); font-style: italic; }
.trust-item .l {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 500;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* â”€â”€ Tabs (for Contact page form switcher) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 0;
}
.form-tab {
  background: transparent;
  border: none;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 16px 22px;
  cursor: pointer;
  position: relative;
  font-weight: 500;
  transition: color 0.2s;
}
.form-tab::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.form-tab:hover { color: var(--navy); }
.form-tab.active { color: var(--navy); }
.form-tab.active::after { transform: scaleX(1); }

/* â”€â”€ Dashboard â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dash {
  background: var(--cream-warm);
  min-height: 100vh;
  padding: 60px 0 100px;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.dash-head h1 {
  font-family: var(--f-display);
  font-size: 44px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.dash-stat {
  background: var(--cream);
  padding: 22px 22px;
  border: 1px solid rgba(14, 24, 34, 0.08);
}
.dash-stat .num {
  font-family: var(--f-display);
  font-size: 38px;
  color: var(--navy);
  line-height: 1;
}
.dash-stat .num em { color: var(--gold); font-style: italic; }
.dash-stat .lbl {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
  font-weight: 500;
}

.dash-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.dash-filter {
  background: var(--cream);
  border: 1px solid rgba(14, 24, 34, 0.12);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.dash-filter:hover { color: var(--navy); border-color: var(--gold); }
.dash-filter.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.dash-search {
  margin-left: auto;
  background: var(--cream);
  border: 1px solid rgba(14, 24, 34, 0.12);
  padding: 8px 14px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--navy);
  min-width: 260px;
  outline: none;
}
.dash-search:focus { border-color: var(--gold); }

.dash-list {
  background: var(--cream);
  border: 1px solid rgba(14, 24, 34, 0.08);
}
.dash-row {
  display: grid;
  grid-template-columns: 100px 130px 1fr 140px 120px 80px;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(14, 24, 34, 0.06);
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.dash-row:hover { background: rgba(201, 162, 95, 0.04); }
.dash-row:last-child { border-bottom: 0; }
.dash-row.dash-header {
  background: var(--cream-warm);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  cursor: default;
}
.dash-row.dash-header:hover { background: var(--cream-warm); }
.dash-cell { font-size: 14px; color: var(--navy); }
.dash-cell.date { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; }
.dash-cell.type { font-family: var(--f-mono); font-size: 11px; color: var(--gold-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.dash-cell.name { font-family: var(--f-display); font-size: 17px; }
.dash-cell.contact { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.02em; }
.dash-cell.ref { font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); letter-spacing: 0.08em; }
.status-pill {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 600;
}
.status-pill[data-status="New"] { background: rgba(201, 162, 95, 0.15); color: var(--gold-soft); }
.status-pill[data-status="Contacted"] { background: rgba(28, 58, 46, 0.12); color: var(--forest); }
.status-pill[data-status="Quoted"] { background: rgba(28, 58, 46, 0.12); color: var(--forest); }
.status-pill[data-status="Won"] { background: rgba(40, 120, 80, 0.18); color: #1f6f4d; }
.status-pill[data-status="Lost"] { background: rgba(200, 60, 60, 0.12); color: #b8514a; }
.status-pill[data-status="Follow-up"] { background: rgba(14, 24, 34, 0.08); color: var(--ink-soft); }

.dash-empty {
  text-align: center;
  padding: 80px 40px;
  color: var(--ink-soft);
}
.dash-empty h3 {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

/* Enquiry detail panel */
.dash-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 24, 34, 0.6);
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.dash-detail-overlay.open { opacity: 1; pointer-events: auto; }
.dash-detail {
  background: var(--cream);
  width: min(560px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 36px 40px;
  transform: translateX(40px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.dash-detail-overlay.open .dash-detail { transform: none; }
.dash-detail h2 {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--navy);
  margin-top: 8px;
  margin-bottom: 6px;
}
.dash-detail .dash-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dash-detail .dash-meta span { font-family: var(--f-mono); }
.dash-detail .dash-data {
  border-top: 1px solid rgba(14, 24, 34, 0.1);
  padding-top: 24px;
}
.dash-detail .dash-data .row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(14, 24, 34, 0.06);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  font-size: 14px;
}
.dash-detail .dash-data .row .k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.dash-detail .dash-data .row .v {
  color: var(--navy);
  word-wrap: break-word;
  white-space: pre-wrap;
}
.dash-detail .status-row {
  display: flex;
  gap: 6px;
  margin: 24px 0 12px;
  flex-wrap: wrap;
}
.dash-detail .status-row button {
  background: var(--cream-warm);
  border: 1px solid rgba(14, 24, 34, 0.1);
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.dash-detail .status-row button:hover { color: var(--navy); border-color: var(--gold); }
.dash-detail .status-row button.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.dash-detail-close {
  position: absolute;
  top: 24px; right: 24px;
  background: transparent;
  border: 1px solid rgba(14, 24, 34, 0.18);
  width: 36px; height: 36px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  z-index: 1;
}

/* Dashboard responsive */
@media (max-width: 920px) {
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-row { grid-template-columns: 90px 1fr 100px; gap: 12px; padding: 14px 16px; }
  .dash-row .dash-cell.type, .dash-row .dash-cell.contact, .dash-row .dash-cell.ref { display: none; }
  .dash-row.dash-header .dash-cell.type, .dash-row.dash-header .dash-cell.contact, .dash-row.dash-header .dash-cell.ref { display: none; }
  .dash-search { min-width: 0; width: 100%; }
}

/* â”€â”€ Hide nav links on mobile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-utils .live-clock { display: none; }
}
@media (max-width: 720px) {
  .nav-utils .nav-icon-btn:not(:last-child) { display: none; }
}

/* â”€â”€ Foot v2 mobile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 920px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* Theme heritage adjustments for new components */
body.theme-heritage .page-hero { background: var(--cream); color: var(--ink); }
body.theme-heritage .page-hero h1 em { color: var(--forest); }
body.theme-heritage .page-hero-lede { color: var(--ink-soft); }
body.theme-heritage .page-hero::before { background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(28,58,46,0.06), transparent 60%); }
body.theme-heritage .page-hero-aside { border-left-color: var(--line-light); }
body.theme-heritage .page-hero-aside .line { border-bottom-color: var(--line-light); }
body.theme-heritage .page-hero-aside .line .k { color: var(--ink-soft); }
body.theme-heritage .page-hero-aside .line .v { color: var(--forest); }


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LIQUID GLASS + BENTO LAYER  (Apple-meets-legal)
   Frosted translucent cards, soft rounded corners, layered depth,
   richer scroll + hover motion. Site-wide default; toggle off on the
   homepage via body.no-glass for comparison.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

:root {
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  /* Glass recipes */
  --glass-dark-bg: linear-gradient(155deg, rgba(244,240,230,0.085), rgba(244,240,230,0.025));
  --glass-dark-border: rgba(244,240,230,0.16);
  --glass-dark-shadow: 0 30px 70px -34px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.10);
  --glass-light-bg: linear-gradient(155deg, rgba(255,255,255,0.66), rgba(255,255,255,0.38));
  --glass-light-border: rgba(255,255,255,0.75);
  --glass-light-shadow: 0 26px 60px -34px rgba(14,24,34,0.32), inset 0 1px 0 rgba(255,255,255,0.7);
  --glass-blur: saturate(140%) blur(18px);
}

/* â”€â”€ Fluid reveal: add a soft blur-to-sharp pass for the liquid feel â”€â”€ */
body:not(.no-glass) .reveal {
  filter: blur(7px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              clip-path 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
body:not(.no-glass) .reveal.in-view { filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  body:not(.no-glass) .reveal { filter: none !important; }
}

/* â”€â”€ Seamless gradient hero backdrop â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .hero {
  background:
    radial-gradient(ellipse 80% 60% at 78% 8%, rgba(201,162,95,0.14), transparent 58%),
    radial-gradient(ellipse 70% 70% at 8% 96%, rgba(28,58,46,0.55), transparent 60%),
    linear-gradient(158deg, #11202e 0%, #0c1622 46%, #0a1814 100%);
}
body:not(.no-glass).theme-heritage .hero {
  background:
    radial-gradient(ellipse 80% 60% at 78% 8%, rgba(28,58,46,0.10), transparent 58%),
    linear-gradient(160deg, #f7f3ea 0%, #efe9da 100%);
}
body:not(.no-glass) .page-hero,
body:not(.no-glass) .people-hero {
  background:
    radial-gradient(ellipse 60% 55% at 88% 6%, rgba(201,162,95,0.13), transparent 56%),
    radial-gradient(ellipse 60% 60% at 4% 100%, rgba(28,58,46,0.42), transparent 60%),
    linear-gradient(158deg, #11202e 0%, #0b1521 100%);
}

/* â”€â”€ Generic glass card mixins applied to existing components â”€â”€â”€â”€ */
/* Dark sections (over navy/forest) */
body:not(.no-glass) .hero-card,
body:not(.no-glass) .contact-details,
body:not(.no-glass) .profile-contact,
body:not(.no-glass) .live-clock {
  background: var(--glass-dark-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-dark-shadow);
}
body:not(.no-glass) .live-clock { border-radius: var(--r-sm); }

/* Light sections (over cream) */
body:not(.no-glass) .person-card,
body:not(.no-glass) .form,
body:not(.no-glass) .dash-stat,
body:not(.no-glass) .dash-list {
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-light-border);
  border-radius: var(--r-md);
  box-shadow: var(--glass-light-shadow);
}

/* â”€â”€ Hero card refinements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .hero-card { padding: 30px; }
body:not(.no-glass) .hero-card::before,
body:not(.no-glass) .hero-card::after { display: none; }
body:not(.no-glass) .hero-card .corner { display: none; }
body:not(.no-glass) .hero-portrait {
  border-radius: var(--r-md);
  border-color: rgba(201,162,95,0.4);
}

/* â”€â”€ Buttons: soften to a modern radius â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .btn { border-radius: var(--r-sm); }
body:not(.no-glass) .whatsapp-fab { box-shadow: 0 16px 40px -10px rgba(37,211,102,0.55), 0 4px 14px rgba(0,0,0,0.18); }

/* â”€â”€ BENTO: homepage service grid â†’ frosted rounded tiles â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .service-grid {
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
body:not(.no-glass) .service {
  border: 1px solid var(--navy);
  border-radius: var(--r-md);
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(10,18,28,0.25);
  padding: 38px 34px 40px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
}
body:not(.no-glass) .service:hover {
  transform: translateY(-6px);
  background: var(--navy-deep);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(10,18,28,0.35),
              0 0 0 1px rgba(201,162,95,0.3);
}
/* the existing ::after underline reads oddly on rounded tiles â€” soften */
body:not(.no-glass) .service::after { display: none; }
/* Make the wrapping Reveal a real grid child so tiles size correctly */
body:not(.no-glass) .service-grid .service-wrap { display: flex; }
body:not(.no-glass) .service-grid .service-wrap > .service { width: 100%; }

/* â”€â”€ BENTO: Services page category grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .svc-categories {
  border: 0;
  gap: 18px;
}
body:not(.no-glass) .svc-cat {
  border: 1px solid var(--glass-light-border);
  border-radius: var(--r-md);
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-light-shadow);
  padding: 38px 34px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
body:not(.no-glass) .svc-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 70px -36px rgba(14,24,34,0.4), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* â”€â”€ Person cards: glass + hover lift/glow â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .person-card { overflow: hidden; }
body:not(.no-glass) .person-card .person-portrait { border-radius: 0; }
body:not(.no-glass) .person-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -34px rgba(14,24,34,0.4),
              0 0 0 1px rgba(201,162,95,0.18),
              inset 0 1px 0 rgba(255,255,255,0.7);
}

/* â”€â”€ Principles strip: glass tiles on forest â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .principles-grid { gap: 18px; }
body:not(.no-glass) .principle {
  background: linear-gradient(155deg, rgba(244,240,230,0.10), rgba(244,240,230,0.03));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(244,240,230,0.16);
  border-radius: var(--r-md);
  padding: 30px 28px 32px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease, border-color 0.4s ease;
}
body:not(.no-glass) .principle:hover {
  transform: translateY(-5px);
  background: linear-gradient(155deg, rgba(201,162,95,0.14), rgba(244,240,230,0.04));
  border-color: rgba(201,162,95,0.4);
}

/* â”€â”€ Trust strip â†’ soft glass chips â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .trust-grid { gap: 18px; }
body:not(.no-glass) .trust-item {
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-light-border);
  border-radius: var(--r-md);
  padding: 26px 18px;
  box-shadow: var(--glass-light-shadow);
}

/* â”€â”€ Forms: rounded inputs to match â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .form-success-tip { border-radius: var(--r-sm); }
body:not(.no-glass) .status-pill { border-radius: 999px; }

/* â”€â”€ Frosted sticky nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.no-glass) .nav {
  background: rgba(14,24,34,0.72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
}
body:not(.no-glass).theme-heritage .nav {
  background: rgba(247,243,234,0.72);
}

/* â”€â”€ Responsive: keep bento readable on small screens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 960px) {
  body:not(.no-glass) .service-grid { grid-template-columns: 1fr 1fr; }
  body:not(.no-glass) .principles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body:not(.no-glass) .service-grid { grid-template-columns: 1fr; }
  body:not(.no-glass) .principles-grid { grid-template-columns: 1fr; }
  body:not(.no-glass) .hero-card { padding: 22px; }
}

/* Glass is heavy on the GPU with many blurs â€” disable on print */
@media print {
  .hero-card, .service, .person-card, .form, .principle, .svc-cat, .trust-item, .nav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE HARDENING â€” prevent horizontal overflow (iOS zoom-out fix)
   The biggest cause of "doesn't scale on a phone" is a single element
   wider than the viewport: the browser then shrinks the whole page to
   fit. The section tags (inline-flex, no-wrap) ran up to ~480px wide.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Safety net: clip any stray horizontal overflow. `clip` (not `hidden`)
   does NOT create a scroll container, so it leaves the sticky nav and
   fixed elements untouched. */
html, body { overflow-x: clip; }
*, *::before, *::after { min-width: 0; }

/* Section number tags must wrap instead of forcing the page wider. */
.sec-tag { flex-wrap: wrap; max-width: 100%; }
.sec-tag > span { min-width: 0; }

/* Long words (URLs, emails) shouldn't punch out of narrow columns. */
.contact-line-big .v,
.detail-row .value,
.dash-cell.contact,
.foot-col a { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }

  /* Tighten oversized display type so it never exceeds the screen. */
  .hero h1 { font-size: clamp(38px, 11vw, 60px); }
  body.layout-editorial .hero h1 { font-size: clamp(40px, 13vw, 64px); }
  .page-hero h1, .people-hero h1 { font-size: clamp(34px, 10vw, 60px); }
  .contact h2 { font-size: clamp(34px, 10vw, 56px); }
  .services-head h2, .exp-head h2 { font-size: clamp(32px, 9vw, 52px); }

  /* Hero stat row: keep 3-up but shrink so figures don't collide. */
  .hero-meta { gap: 6px; padding-top: 26px; }
  .hero-meta > div { padding-left: 14px !important; padding-right: 10px !important; }
  .hero-meta .num { font-size: 30px; }
  .hero-meta .num span { font-size: 15px !important; }

  /* Marquee reads better a touch smaller on phones. */
  .marquee-item { font-size: 22px; padding-right: 24px; }

  /* WhatsApp pill shouldn't crowd the corner. */
  .whatsapp-fab { bottom: 18px; right: 18px; }
}

@media (max-width: 380px) {
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
  .hero-meta > div { padding-left: 12px !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   V2 â€” CHALLENGER PASS
   Editorial scale, sharp surfaces, confident motion.
   Type: Instrument Serif (display) Â· Archivo (body) Â· JetBrains Mono.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Atmosphere: fine grain over everything â”€â”€ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }

::selection { background: var(--gold); color: var(--navy); }

/* â”€â”€ HERO v2: full-width editorial â”€â”€ */
.hero-v2 { padding: 84px 0 0; overflow: hidden; }

.hero-watermark {
  position: absolute;
  top: -0.08em;
  right: -0.06em;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(220px, 34vw, 560px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 95, 0.13);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero-v2 h1 {
  font-size: clamp(52px, 8.6vw, 136px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 30px 0 44px;
  max-width: none;
}
.hero-v2 h1 .line { display: block; }
.hero-v2 h1 .line:last-child { padding-left: clamp(0px, 8vw, 130px); }

.hero-subrow {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}
.hero-v2 .hero-lede { margin-bottom: 0; font-size: 17px; }
.hero-v2 .hero-cta { justify-content: flex-end; }

/* Image band */
.hero-band {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border: 1px solid var(--line-dark);
  border-bottom: 0;
}
.hero-band-media {
  min-height: clamp(46px, 5.3vw, 73px);
  max-width: 260px;
  background:
    repeating-linear-gradient(135deg,
      rgba(201, 162, 95, 0.06) 0 2px,
      transparent 2px 14px),
    rgba(244, 240, 230, 0.02);
  border-right: 1px solid var(--line-dark);
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.hero-band-media .placeholder-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201, 162, 95, 0.6);
  line-height: 1.8;
}
.hero-band-media .placeholder-label strong { color: var(--gold); display: block; }

.hero-band-side {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.hero-band-side .name {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--cream);
}
.hero-band-side .role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}
.hero-band-side .sra {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #7d7560;
  line-height: 1.7;
}

/* Stats strip */
.hero-strip {
  border-top: 1px solid var(--line-dark);
  background: var(--navy-deep);
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-strip .stat {
  padding: 28px 24px 30px 0;
  border-right: 1px solid var(--line-dark);
  margin-right: 24px;
}
.hero-strip .stat:last-child { border-right: 0; margin-right: 0; }
.hero-strip .num {
  font-family: var(--f-display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-strip .num span { font-size: 20px; }
.hero-strip .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9e9580;
  margin-top: 10px;
}
.hero-strip .stat-loc .num { align-items: center; min-height: 44px; }

/* â”€â”€ Type scale: bigger, tighter everywhere â”€â”€ */
.about-grid h2 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.02; }
.services-head h2, .exp-head h2 { font-size: clamp(44px, 5.2vw, 80px); line-height: 1.0; }
.contact h2 { font-size: clamp(46px, 5.4vw, 88px); line-height: 1.0; }
.people-hero h1, .page-hero h1 { font-size: clamp(52px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.02em; }

/* â”€â”€ Service cards: gold hairline sweep on hover â”€â”€ */
.service::after {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.service:hover::after { transform: scaleX(1); }
.service { transition: background 0.3s ease, transform 0.3s ease; }
.service:hover { transform: translateY(-2px); }

/* â”€â”€ Footer: giant outlined wordmark â”€â”€ */
.foot-wordmark {
  font-family: var(--f-display);
  font-size: clamp(72px, 15.5vw, 236px);
  line-height: 0.85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 240, 230, 0.16);
  letter-spacing: 0.04em;
  user-select: none;
  pointer-events: none;
  margin: 48px 0 8px;
  transition: -webkit-text-stroke-color 0.6s ease;
}
.foot-v2:hover .foot-wordmark { -webkit-text-stroke-color: rgba(201, 162, 95, 0.35); }

/* â”€â”€ Responsive for the new hero â”€â”€ */
@media (max-width: 900px) {
  .hero-subrow { grid-template-columns: 1fr; gap: 32px; }
  .hero-v2 .hero-cta { justify-content: flex-start; }
  .hero-band { grid-template-columns: 1fr; }
  .hero-band-media { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero-strip-inner { grid-template-columns: 1fr 1fr; }
  .hero-strip .stat { padding: 22px 16px 24px 0; margin-right: 16px; }
  .hero-strip .stat:nth-child(2n) { border-right: 0; }
  .hero-v2 h1 .line:last-child { padding-left: 0; }
}
@media (max-width: 600px) {
  .hero-v2 h1 { font-size: clamp(40px, 12vw, 64px); }
  .hero-strip-inner { grid-template-columns: 1fr; }
  .hero-strip .stat { border-right: 0; border-bottom: 1px solid var(--line-dark); margin-right: 0; }
  .hero-strip .stat:last-child { border-bottom: 0; }
  .foot-wordmark { -webkit-text-stroke-width: 0.5px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   V2.1 â€” MOTION LAYER
   Curtain image wipes, masked headline rises, drawn underlines,
   velocity-reactive marquee. Companion to the motion engine in
   animations.jsx (which only ever ADDS classes â€” React-safe).
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Curtain: gold panel sweeps off media frames as they enter view */
.curtain { position: relative; overflow: hidden; }
.curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, var(--gold) 60%, var(--gold-soft));
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.1s;
  pointer-events: none;
}
.curtain.in-view::after { transform: scaleX(0); }
.curtain img {
  transform: scale(1.12);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.curtain.in-view img { transform: scale(1); }
@media (prefers-reduced-motion: reduce), print {
  .curtain::after { display: none; }
  .curtain img { transform: none; }
}

/* Masked headline rise: h1/h2 inside a Reveal wrapper lift out of a
   clip as the wrapper enters view â€” an editorial signature move. */
.reveal > h2, .reveal > h1 {
  clip-path: inset(-0.2em 0 100% 0);
  transform: translateY(0.45em);
  transition:
    clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}
.reveal.in-view > h2, .reveal.in-view > h1 {
  clip-path: inset(-0.2em 0 -0.35em 0);
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce), print {
  .reveal > h2, .reveal > h1 { clip-path: none !important; transform: none !important; }
}

/* Deeper reveal travel for the editorial feel */
.reveal-up { transform: translateY(44px); }

/* Nav links: gold underline draws in from the left */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a[data-active="1"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contact lines: slide + gold on hover */
.contact-line-big { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.contact-line-big:hover { transform: translateX(8px); }
.contact-line-big:hover .v { color: var(--gold); }
.contact-line-big .v { transition: color 0.25s ease; }

/* Person cards: photo zoom + lift */
.person-card .person-portrait img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.person-card:hover .person-portrait img { transform: scale(1.05); }

/* Marquee: velocity skew (JS-driven) + pause on hover */
.marquee { transition: transform 0.2s ease-out; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Smooth in-page anchor travel */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FIXES â€” equal-height principle tiles + readable form labels
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Principle cards are wrapped in .reveal animation divs, which become the
   grid items. Stretch the wrapper AND the card so every tile in a row is
   the same height regardless of how much copy it holds. */
.principles-grid > .reveal { height: 100%; display: flex; }
.principles-grid .principle { height: 100%; width: 100%; }

/* The enquiry form sits on a light glass card. The section-level
   .contact .sec-tag rule paints the brackets near-white and the label
   gold â€” both unreadable here. Restore dark, high-contrast text. */
.form .sec-tag { color: var(--gold-soft); }
.form .sec-tag .bracket { color: var(--ink-soft) !important; opacity: 0.6; }
.form-field label { color: var(--navy); }
.form-field label .req { color: var(--gold-soft); }

/* The default glass form background is thin translucent white
   (0.38â€“0.66 alpha). Over the dark navy enquiry section it turns into a
   murky blue-grey and the navy text/labels lose contrast. Use a near-
   opaque warm cream so the panel stays bright and the copy is crisp
   regardless of what's behind it â€” the blur keeps the frosted feel. */
body:not(.no-glass) .form {
  background: linear-gradient(155deg, rgba(248,245,237,0.95), rgba(244,240,230,0.9));
  border-color: rgba(255,255,255,0.85);
}

/* The form can live inside a .content-section.dark, whose cream-text
   rules bleed onto the form's heading, foot and success copy and render
   them invisible on the light card. Re-assert dark text scoped to the
   form so it reads regardless of the surrounding section. */
.form .form-head h3,
.form .form-success h3 { color: var(--navy); }
.form .form-foot,
.form .form-note,
.form .form-success p { color: var(--ink-soft); }

