/* ============================================================
   AEQUIS LEGAL — STYLESHEET
   Professional light-blue brand theme, typography-led
   ============================================================ */

/* ── Variables ───────────────────────────────────── */
:root {
  --ink:       #0f172a;
  --ink-mid:   #334155;
  --ink-light: #7a8fa8;
  --paper:     #f0f8ff;
  --white:     #ffffff;
  --border:    #bdd5ea;
  --gold:      #1565a3;
  --gold-pale: #dbeafe;
  --navy:      #0d2040;
  --navy-mid:  #1a3a6e;
  --accent:    #1d4ed8;

  --f-serif:  'Cormorant Garamond', Georgia, serif;
  --f-sans:   'Inter', system-ui, sans-serif;
  --f-title:  'Cinzel', serif;

  --max-w: 1200px;
  --pad:   clamp(20px, 5vw, 80px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.4s;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-sans); color: var(--ink); background: var(--paper); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ============================================================
   BCI DISCLAIMER MODAL
   ============================================================ */
.bci-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14, 31, 59, 0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 1; transition: opacity 0.5s var(--ease);
}
.bci-overlay.hidden { opacity: 0; pointer-events: none; }

.bci-modal {
  background: var(--white);
  border-radius: 4px;
  max-width: 660px; width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  border-top: 4px solid var(--gold);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.bci-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 2rem;
}
.bci-emblem {
  font-size: 2.2rem; color: var(--gold); line-height: 1;
}
.bci-firm-name {
  display: block;
  font-family: var(--f-title); font-size: 1.3rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.1em;
}
.bci-firm-sub {
  display: block; font-size: 0.72rem; color: var(--ink-light);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px;
}

.bci-heading {
  font-family: var(--f-serif); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600; color: var(--navy); margin-bottom: 0.75rem;
}
.bci-rule {
  height: 1px; background: var(--border); margin-bottom: 1.25rem;
}
.bci-intro {
  font-size: 0.92rem; color: var(--ink-mid); line-height: 1.7; margin-bottom: 1.25rem;
}
.bci-intro em { font-style: italic; color: var(--ink); }

.bci-list {
  padding-left: 0; margin-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: 12px;
}
.bci-list li {
  font-size: 0.88rem; color: var(--ink-mid); line-height: 1.65;
  padding-left: 20px; position: relative;
}
.bci-list li::before {
  content: '•'; position: absolute; left: 0;
  color: var(--gold); font-size: 1rem;
}

.bci-footer-text {
  font-size: 0.82rem; color: var(--ink-light); line-height: 1.7;
  border-top: 1px solid var(--border); padding-top: 1rem; margin-bottom: 2rem;
}

.bci-actions {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.bci-agree {
  background: var(--navy); color: var(--white);
  padding: 13px 36px; border-radius: 2px;
  font-family: var(--f-title); font-size: 0.82rem; letter-spacing: 0.12em;
  font-weight: 600; transition: background var(--dur) var(--ease);
}
.bci-agree:hover { background: var(--accent); }
.bci-decline {
  font-size: 0.85rem; color: var(--ink-light); text-decoration: underline;
  transition: color var(--dur);
}
.bci-decline:hover { color: var(--ink); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(253, 252, 249, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px; z-index: 10;
}
.nav-emblem {
  font-size: 1.6rem; color: var(--gold); transition: color var(--dur);
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-firm {
  font-family: var(--f-title); font-size: 1.1rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.1em;
  transition: color var(--dur) var(--ease);
}
.site-header.scrolled .nav-firm { color: var(--navy); }
.nav-sub {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 2px;
  transition: color var(--dur) var(--ease);
}
.site-header.scrolled .nav-sub { color: var(--ink-light); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nl {
  font-size: 0.83rem; font-weight: 500; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8); padding: 8px 14px; border-radius: 3px;
  transition: color var(--dur) var(--ease), background var(--dur);
}
.nl:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.site-header.scrolled .nl { color: var(--ink-mid); }
.site-header.scrolled .nl:hover { color: var(--ink); background: rgba(0,0,0,0.04); }

.nl-cta {
  border: 1px solid rgba(255,255,255,0.5);
  margin-left: 8px;
}
.nl-cta:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.site-header.scrolled .nl-cta { border-color: var(--navy); color: var(--navy); }
.site-header.scrolled .nl-cta:hover { background: var(--navy); color: var(--white); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 200;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); border-radius: 2px; transition: var(--dur) var(--ease);
}
.site-header.scrolled .nav-burger span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: #0b1a33;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}

/* Abstract art canvas */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-svg {
  width: 100%; height: 100%;
  display: block;
}

.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none; z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(60px, 8vh, 100px);
}

.hero-eyebrow {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.eyebrow-dot { color: var(--gold); opacity: 0.6; }

.hero-headline {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: italic; color: var(--gold);
  font-weight: 400;
}

.hero-body {
  font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300;
  color: rgba(255,255,255,0.72); line-height: 1.8;
  max-width: 540px; margin-bottom: 1.5rem;
}
.hero-body--sub {
  font-size: clamp(0.88rem, 1.4vw, 1rem); color: rgba(255,255,255,0.5);
  max-width: 480px; margin-bottom: 3rem;
}

.hero-links { display: flex; gap: 32px; flex-wrap: wrap; }

.link-arrow {
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
  transition: color var(--dur);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
}
.link-arrow span { transition: transform var(--dur); }
.link-arrow:hover { color: var(--white); border-bottom-color: var(--gold); }
.link-arrow:hover span { transform: translateX(4px); }

/* Ticker */
.ticker-wrap {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
  overflow: hidden; padding: 14px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 28px;
  animation: tickerScroll 28s linear infinite;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.tdot { color: var(--gold); opacity: 0.5; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   METRICS BAR
   ============================================================ */
.metrics-bar {
  background: var(--navy); padding: 56px 0;
}
.metrics-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.m-item { text-align: center; flex: 1; min-width: 120px; }
.m-num {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; color: var(--white); line-height: 1;
  margin-bottom: 0.5rem; display: flex; align-items: baseline;
  justify-content: center; gap: 2px;
}
.m-suf { font-size: clamp(1.2rem, 2vw, 1.8rem); color: var(--gold); }
.m-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.m-sep { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.m-label-big {
  font-family: var(--f-serif); font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 300; color: var(--white); line-height: 1;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.sec {
  padding: clamp(64px, 10vw, 120px) 0;
  border-top: 1px solid var(--border);
}
.sec-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem;
}
.sec-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300; line-height: 1.1; color: var(--ink);
  margin-bottom: 1.5rem; letter-spacing: -0.01em;
}
.sec-title em { font-style: italic; color: var(--accent); }

.sec-top-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start; margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-intro {
  font-size: 0.97rem; color: var(--ink-mid); line-height: 1.8;
  padding-top: 0.5rem;
}

/* ============================================================
   EXPERTISE GRID
   ============================================================ */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.exp-card {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background var(--dur) var(--ease);
}
.exp-card:hover { background: var(--white); }
.exp-card::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease);
}
.exp-card:hover::after { height: 100%; }

.exp-n {
  display: block;
  font-family: var(--f-serif); font-size: 0.95rem;
  color: var(--ink-light); margin-bottom: 1rem;
  font-weight: 300; letter-spacing: 0.05em;
}
.exp-card h3 {
  font-family: var(--f-serif); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.75rem; line-height: 1.3;
}
.exp-card p {
  font-size: 0.875rem; color: var(--ink-mid); line-height: 1.75;
  margin-bottom: 1.5rem;
}
.card-link {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur);
}
.card-link:hover { border-color: var(--gold); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-sec { background: var(--white); }

.about-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.about-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 24px; border-radius: 2px; margin-bottom: 2rem;
}
.about-portrait-icon {
  font-size: 2.5rem; color: var(--gold); line-height: 1; flex-shrink: 0;
}
.about-portrait-info { display: flex; flex-direction: column; gap: 4px; }
.about-portrait-info strong { font-size: 1rem; color: var(--navy); font-weight: 600; }
.about-portrait-info span { font-size: 0.8rem; color: var(--ink-light); }

.about-values {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden;
}
.av-item {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; gap: 20px; align-items: baseline;
}
.av-item:last-child { border-bottom: none; }
.av-label {
  font-family: var(--f-title); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  min-width: 96px;
}
.av-text { font-size: 0.87rem; color: var(--ink-mid); }

.about-lede {
  font-family: var(--f-serif); font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400; line-height: 1.6; color: var(--ink); margin-bottom: 1.5rem;
  font-style: italic;
}
.about-right p {
  font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.25rem;
}
.about-right strong { color: var(--ink); font-weight: 600; }
.about-quote {
  border-left: 2px solid var(--gold); padding-left: 20px;
  font-family: var(--f-serif); font-style: italic;
  font-size: 1.05rem; color: var(--ink-mid); line-height: 1.7;
  margin-top: 2rem;
}

/* ============================================================
   CASES TABLE
   ============================================================ */
.cases-table {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--border);
}
.cases-thead {
  display: grid; grid-template-columns: 200px 1fr 200px;
  gap: 24px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-light);
}
.case-row {
  display: grid; grid-template-columns: 200px 1fr 200px;
  gap: 24px; padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--dur);
}
.case-row:hover { background: var(--white); }

.cr-forum { padding-top: 4px; }
.cr-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-pale); border: 1px solid rgba(184,151,62,0.3);
  padding: 5px 10px; border-radius: 2px;
}
.cr-body h4 {
  font-family: var(--f-serif); font-size: 1.05rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.5rem; line-height: 1.4;
  font-style: italic;
}
.cr-body p { font-size: 0.87rem; color: var(--ink-mid); line-height: 1.7; }
.cr-body strong { color: var(--ink); font-weight: 600; }
.cr-nature {
  font-size: 0.78rem; color: var(--ink-light);
  line-height: 1.5; padding-top: 4px;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-title { margin-bottom: clamp(32px, 5vw, 56px); }
.clients-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.ci {
  padding: clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
  transition: background var(--dur);
}
.ci:hover { background: var(--white); }
.ci-abbr {
  font-family: var(--f-title); font-size: 1rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.05em;
}
.ci-full { font-size: 0.78rem; color: var(--ink-light); line-height: 1.4; }

/* ============================================================
   AWARDS
   ============================================================ */
.awards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.award-item {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur);
  position: relative; overflow: hidden;
}
.award-item::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.award-item:hover { background: var(--white); }
.award-item:hover::before { transform: scaleX(1); }

.aw-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.aw-org {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.aw-year { font-size: 0.82rem; color: var(--ink-light); font-variant-numeric: tabular-nums; }
.aw-title {
  font-family: var(--f-serif); font-size: 1.05rem; font-weight: 600;
  color: var(--ink); line-height: 1.45; margin-bottom: 0.75rem;
}
.aw-body { font-size: 0.84rem; color: var(--ink-mid); line-height: 1.7; }

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-sec { background: var(--white); }
.reviews-title { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.reviews-wrap { max-width: 780px; margin: 0 auto; }

.review-slides { min-height: 260px; position: relative; }
.rev-slide { display: none; animation: revFadeIn 0.5s var(--ease); }
.rev-slide.active { display: block; }
@keyframes revFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.rev-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 1.5rem; }
.rev-slide blockquote {
  font-family: var(--f-serif); font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400; font-style: italic; line-height: 1.65;
  color: var(--ink); margin-bottom: 2rem;
}
.rev-attr { display: flex; flex-direction: column; gap: 4px; }
.rev-attr strong { font-size: 0.9rem; color: var(--navy); }
.rev-attr span   { font-size: 0.82rem; color: var(--ink-light); }

.rev-nav {
  display: flex; align-items: center; gap: 20px;
  margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.rev-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--ink-mid); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur);
}
.rev-btn:hover { border-color: var(--navy); color: var(--navy); }
.rev-dots { display: flex; gap: 8px; flex: 1; }
.rd {
  width: 28px; height: 2px; background: var(--border); border-radius: 2px;
  cursor: pointer; transition: background var(--dur);
}
.rd.active { background: var(--navy); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.blog-card {
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0;
  transition: background var(--dur);
}
.blog-card:hover { background: var(--white); }

.bc-meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 1.25rem;
}
.bc-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-pale); border: 1px solid rgba(184,151,62,0.3);
  padding: 4px 10px; border-radius: 2px;
}
.bc-date {
  font-size: 0.75rem; color: var(--ink-light);
}
.bc-title {
  font-family: var(--f-serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600; line-height: 1.35; color: var(--ink);
  margin-bottom: 1rem;
}
.bc-title a { color: inherit; transition: color var(--dur); }
.bc-title a:hover { color: var(--accent); }
.bc-excerpt {
  font-size: 0.88rem; color: var(--ink-mid); line-height: 1.75;
  flex: 1; margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.contact-sec { background: var(--paper); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.contact-tagline {
  font-size: 1rem; color: var(--ink-mid); line-height: 1.75; margin-bottom: 2.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 0; }
.cd-row {
  display: flex; gap: 24px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cd-row:first-child { border-top: 1px solid var(--border); }
.cd-lbl {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); min-width: 56px; padding-top: 3px;
}
.cd-val { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; }
.cd-val a { color: var(--ink-mid); transition: color var(--dur); }
.cd-val a:hover { color: var(--navy); }

/* Form */
.cf { display: flex; flex-direction: column; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.req { color: var(--accent); }
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 2px;
  font-size: 0.9rem; font-family: var(--f-sans);
  color: var(--ink); background: var(--white);
  outline: none; transition: border-color var(--dur);
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { border-color: var(--navy); }
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-disclaimer { font-size: 0.78rem; color: var(--ink-light); line-height: 1.5; }
.cf-submit {
  background: var(--navy); color: var(--white);
  padding: 14px 32px; border-radius: 2px;
  font-family: var(--f-title); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; align-self: flex-start;
  transition: background var(--dur);
}
.cf-submit:hover { background: var(--accent); }
.cf-success {
  font-size: 0.88rem; color: #166534;
  border: 1px solid #bbf7d0; background: #f0fdf4;
  padding: 14px 20px; border-radius: 2px;
}
.cf-error {
  font-size: 0.88rem; color: #991b1b;
  border: 1px solid #fecaca; background: #fef2f2;
  padding: 14px 20px; border-radius: 2px;
}
.cf-error a { color: #991b1b; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.65);
}
.ft-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 20px;
}
.ft-brand { display: flex; align-items: center; gap: 14px; }
.ft-emblem { font-size: 1.8rem; color: var(--gold); }
.ft-firm {
  display: block; font-family: var(--f-title); font-size: 1rem;
  color: var(--white); letter-spacing: 0.12em;
}
.ft-sub {
  display: block; font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 2px;
}
.ft-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ft-nav a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color var(--dur); }
.ft-nav a:hover { color: var(--white); }

.ft-mid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding: 48px 0;
}
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-head {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.ft-col span, .ft-col a {
  font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.5;
  transition: color var(--dur);
}
.ft-col a:hover { color: rgba(255,255,255,0.85); }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.ft-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.ft-disclaimer { max-width: 800px; line-height: 1.6; font-size: 0.75rem !important; }

/* ============================================================
   FLOATING EMAIL PILL
   ============================================================ */
.float-pill {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--navy); color: rgba(255,255,255,0.85);
  padding: 12px 20px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500;
  box-shadow: 0 8px 24px rgba(14,31,59,0.35);
  transition: all var(--dur) var(--ease);
  opacity: 0; transform: translateY(8px); pointer-events: none;
}
.float-pill.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.float-pill:hover { background: var(--accent); color: var(--white); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed {
  opacity: 1; transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-mid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .sec-top-row { grid-template-columns: 1fr; gap: 20px; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .cases-thead { display: none; }
  .case-row { grid-template-columns: 1fr; gap: 10px; }
  .cr-nature { color: var(--gold); font-size: 0.72rem; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: 1fr; }
  .metrics-inner { justify-content: center; gap: 24px; }
  .m-sep { display: none; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 0; top: 72px;
    background: rgba(14,31,59,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 32px;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nl { color: var(--white); font-size: 1.1rem; padding: 12px 24px; }
  .nl-cta { border-color: rgba(255,255,255,0.4); }
  .site-header.scrolled .nl { color: var(--white); }

  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-header.scrolled .nav-burger.open span { background: var(--white); }

  .exp-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .ft-mid { grid-template-columns: 1fr; gap: 28px; }
  .ft-top { flex-direction: column; }
  .hero-headline { font-size: clamp(2.4rem, 10vw, 3.6rem); }
}

@media (max-width: 400px) {
  .clients-grid { grid-template-columns: 1fr; }
}
