/* Self-hosted fonts (Google Fonts woff2, latin + latin-ext) — generated 2026-07-26 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-500-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   Shugar Law Office — Liquid Glass design system
   Brand: blue #487fda · navy #264474 · canvas #f4f8fd
   Type: Cormorant Garamond (display) · IBM Plex Sans (body)
   Original design — no vendor code. 2026-07
   ============================================================ */

:root {
  /* color */
  --blue: #487fda;
  --blue-bright: #6b9af0;
  --blue-deep: #2f61c9;
  --navy: #264474;
  --ink-ground: #0e1c38;          /* dark band background */
  --ink-ground-2: #132648;
  --canvas: #f4f8fd;
  --canvas-mid: #eaf1fa;
  --card: #ffffff;
  --ink: #16233c;
  --ink-mid: #2c3c5c;
  --muted: #5c6b84;
  --muted-light: #8b98ad;
  --line: rgba(72, 127, 218, 0.14);
  --line-strong: rgba(72, 127, 218, 0.28);

  /* glass */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-dark-bg: rgba(255, 255, 255, 0.07);
  --glass-dark-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-blur: 18px;
  --specular: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.07) 45%, transparent 60%);
  --specular-dark: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 45%, transparent 60%);
  --glass-inset: inset 0 1px 0 rgba(255,255,255,0.92), inset 0 -1px 0 rgba(72,127,218,0.05);
  --glass-inset-dark: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(0,0,0,0.2);
  --shadow-1: 0 1px 4px rgba(38,68,116,0.06), 0 6px 20px rgba(38,68,116,0.06);
  --shadow-2: 0 4px 16px rgba(38,68,116,0.12), 0 12px 40px rgba(38,68,116,0.08);
  --shadow-dark: 0 2px 8px rgba(0,0,0,0.35), 0 12px 40px rgba(0,0,0,0.3);

  /* shape & motion */
  --r: 16px;
  --r-btn: 12px;
  --r-pill: 999px;
  --t-fast: 160ms cubic-bezier(.4,0,.2,1);
  --t-med: 240ms cubic-bezier(.4,0,.2,1);

  /* type */
  --font-display: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;

  /* spacing scale (8px base) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 var(--s2); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 var(--s2); max-width: 68ch; }
.lead { font-size: 1.18rem; color: var(--ink-mid); font-weight: 300; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: var(--s2);
}
.band-dark .eyebrow, .hero .eyebrow { color: var(--blue-bright); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--card); color: var(--ink); padding: 12px 20px; border-radius: 0 0 var(--r-btn) 0;
}
.skip-link:focus { left: 0; }

/* ---------- glass primitives ---------- */
.glass, .card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--glass-inset), var(--shadow-1);
}
.glass::after, .card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--specular); pointer-events: none;
}
.band-dark .glass, .hero .glass, .glass-dark {
  position: relative;
  background: var(--glass-dark-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r);
  box-shadow: var(--glass-inset-dark), var(--shadow-dark);
}
.band-dark .glass::after, .hero .glass::after, .glass-dark::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--specular-dark); pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: var(--r-btn); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.btn-primary {
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 120%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 4px 14px rgba(72,127,218,0.35);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 28px rgba(72,127,218,0.5);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-color: var(--line-strong); color: var(--ink);
}
.btn-ghost:hover { background: var(--glass-bg-hover); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.band-dark .btn-ghost, .hero .btn-ghost { background: var(--glass-dark-bg); border-color: rgba(255,255,255,0.25); color: #fff; }
.band-dark .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--glass-dark-bg-hover); color: #fff; }
.btn-lg { padding: 18px 38px; font-size: 1.06rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14, 28, 56, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t-med), box-shadow var(--t-med);
}
.nav.scrolled { background: rgba(14, 28, 56, 0.82); box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--s3);
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-brand { display: flex; align-items: center; }
.brand-logo { width: 280px; max-width: 58vw; height: auto; display: block; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35)); }
.footer .brand-logo { width: 240px; margin-bottom: var(--s1); }
.nav-menu { display: flex; align-items: center; gap: var(--s3); }
.nav-link {
  color: rgba(255,255,255,0.82); font-size: 0.94rem; font-weight: 500;
  padding: 6px 2px; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--blue-bright); transition: right var(--t-med); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.btn-nav {
  font-size: 0.92rem; font-weight: 600; color: #fff; padding: 10px 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 10px rgba(72,127,218,0.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-nav:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 6px 20px rgba(72,127,218,0.55); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 15% -10%, rgba(72,127,218,0.35), transparent 55%),
    radial-gradient(ellipse 70% 60% at 95% 110%, rgba(72,127,218,0.22), transparent 60%),
    linear-gradient(170deg, var(--ink-ground-2) 0%, var(--ink-ground) 60%);
  color: #fff;
  padding: calc(72px + var(--s7)) var(--s3) var(--s7);
}
.hero::before {
  content: ''; position: absolute; inset: -40%;
  background: conic-gradient(from 200deg at 60% 40%, transparent 0deg, rgba(107,154,240,0.08) 90deg, transparent 200deg);
  animation: drift 26s linear infinite;
  pointer-events: none;
}
@keyframes drift { to { transform: rotate(360deg); } }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: italic; color: var(--blue-bright); }
.hero-sub { font-size: 1.22rem; font-weight: 300; color: rgba(255,255,255,0.78); max-width: 56ch; margin-bottom: var(--s4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-radius: var(--r); max-width: 960px;
  padding: var(--s2) 0;
}
.stat-cell {
  padding: var(--s2) var(--s4); text-align: left;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.stat-cell:first-child { border-left: none; }
.stat-v {
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1.1;
  color: #fff; font-variant-numeric: lining-nums tabular-nums;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.stat-l {
  font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.88);
  margin-top: 6px; letter-spacing: 0.01em; line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr 1fr; padding: var(--s1) 0; }
  .stat-cell { padding: var(--s2) var(--s3); }
  .stat-cell:nth-child(odd) { border-left: none; }
  .stat-v { font-size: 1.9rem; }
}

/* ---------- bands / sections ---------- */
.band { padding: var(--s7) var(--s3); }
.band-dark {
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(72,127,218,0.18), transparent 55%),
    linear-gradient(180deg, var(--ink-ground) 0%, var(--ink-ground-2) 100%);
  color: rgba(255,255,255,0.85);
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,0.75); }
.band-tint { background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-mid) 100%); }
.band-inner { max-width: 1200px; margin: 0 auto; }
.band-head { max-width: 720px; margin-bottom: var(--s5); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: var(--s3); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { padding: var(--s4); transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-med), border-color var(--t-med); }
a.card { color: inherit; display: block; }
.card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  border-color: var(--line-strong);
  box-shadow: var(--glass-inset), var(--shadow-2);
}
.band-dark .card:hover { background: var(--glass-dark-bg-hover); border-color: rgba(255,255,255,0.24); }
.card h3 { margin-bottom: var(--s1); }
.card p { font-size: 0.98rem; color: var(--muted); margin-bottom: var(--s2); }
.band-dark .card p { color: rgba(255,255,255,0.66); }
.card-link { font-weight: 600; font-size: 0.94rem; color: var(--blue-deep); }
.card-link::after { content: ' →'; transition: margin var(--t-fast); }
.card:hover .card-link::after { margin-left: 4px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: var(--s3);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(72,127,218,0.16), rgba(38,68,116,0.1));
  border: 1px solid var(--line);
  color: var(--blue-deep);
}
.card-icon svg { width: 26px; height: 26px; }
.band-dark .card-icon { color: var(--blue-bright); border-color: rgba(255,255,255,0.14); }

/* ---------- reviews ---------- */
.review-card blockquote { margin: 0 0 var(--s2); font-size: 1.02rem; color: var(--ink-mid); font-style: italic; }
.band-dark .review-card blockquote { color: rgba(255,255,255,0.82); }
.review-stars { color: #e8b94a; letter-spacing: 3px; font-size: 1rem; margin-bottom: var(--s2); }
.review-name { font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.band-dark .review-name { color: rgba(255,255,255,0.6); }

/* ---------- attorneys ---------- */
.atty-card { overflow: hidden; padding: 0; }
.atty-card img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.atty-body { padding: var(--s3) var(--s4) var(--s4); }
.atty-body .role { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { margin-bottom: var(--s2); padding: 0; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: var(--s3) var(--s4);
  font-weight: 600; font-size: 1.05rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--blue-deep); transition: transform var(--t-med); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-deep); }
.faq-a { padding: 0 var(--s4) var(--s3); color: var(--muted); }
.faq-a p { font-size: 0.98rem; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-1); margin: var(--s3) 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 10px; border-bottom: 1px solid var(--line); background: var(--canvas); }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-mid); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border-radius: var(--r-btn);
  background: var(--glass-bg); border: 1px solid var(--line-strong);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(72,127,218,0.15);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: linear-gradient(180deg, var(--ink-ground-2), var(--ink-ground)); color: rgba(255,255,255,0.72); padding: var(--s6) var(--s3) var(--s3); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-h { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-bright); margin: 0 0 6px; }
.footer-tag { font-size: 0.95rem; margin: var(--s2) 0; }
.footer-nap { font-size: 0.94rem; line-height: 1.8; }
.footer-nap a { color: #fff; font-weight: 600; }
.footer-social { display: flex; gap: var(--s2); margin-top: var(--s2); }
.footer-social a { font-size: 0.85rem; }
.footer-legal { max-width: 1200px; margin: var(--s5) auto 0; padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-legal p { font-size: 0.8rem; color: rgba(255,255,255,0.45); max-width: none; margin: 0; }

/* ---------- mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 110;
  background: rgba(14,28,56,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mcb-call, .mcb-consult {
  flex: 1; text-align: center; font-weight: 600; font-size: 0.95rem;
  padding: 13px 8px; border-radius: var(--r-btn); color: #fff;
}
.mcb-call { background: linear-gradient(160deg, var(--blue), var(--blue-deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.mcb-consult { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); }
.mcb-call:hover, .mcb-consult:hover { color: #fff; }

/* ---------- reveal animations ---------- */
/* Hidden-until-reveal only when JS is running (html.js set inline in <head>) — no-JS users see everything */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms cubic-bezier(.4,0,.2,1), transform 600ms cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* LCP: above-the-fold hero content must paint immediately, never opacity-gated on
   JS. Heroes keep a transform-only settle; if JS never runs they sit 14px low. */
.js .hero .reveal { opacity: 1; transform: translateY(14px); }
.js .hero .reveal.in { transform: none; }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted-light); margin-bottom: var(--s3); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-deep); }

/* ---------- page-hero (interior) ---------- */
.page-hero { padding: calc(72px + var(--s6)) var(--s3) var(--s5); }
.page-hero.band-dark h1 { max-width: 22ch; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .band { padding: var(--s6) var(--s2); }
  .hero { padding: calc(72px + var(--s5)) var(--s2) var(--s6); }
  .hero-actions .btn { flex: 1; }
  .mobile-callbar { display: flex; }
  .footer { padding-bottom: 96px; } /* clear the call bar */

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: transparent; border: none; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t-med), opacity var(--t-med); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14,28,56,0.96);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: var(--s2) var(--s3) var(--s3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .btn-nav { margin-top: var(--s2); text-align: center; justify-content: center; display: flex; }
}

/* ---------- Marissa chat widget ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--r-pill);
  background: linear-gradient(160deg, rgba(38,68,116,0.92), rgba(14,28,56,0.94));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 6px 24px rgba(14,28,56,0.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast), visibility var(--t-fast);
}
.chat-launcher:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 10px 32px rgba(14,28,56,0.5); }
/* Stand down while the visitor is on the form — the launcher floats over the
   send button otherwise. Set by site.js on small screens only. */
.chat-launcher.tucked { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; }
.chat-launcher .dot { width: 9px; height: 9px; border-radius: 50%; background: #6fd49a; box-shadow: 0 0 8px rgba(111,212,154,0.8); flex-shrink: 0; }
.chat-launcher-icon { display: none; }

.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  width: 380px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 100px);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.16);
  background: rgba(14,28,56,0.88);
  backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 20px 60px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(16px) scale(0.98); visibility: hidden;
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}
.chat-panel.open { opacity: 1; transform: none; visibility: visible; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(160deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.chat-head-name { color: #fff; font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
.chat-head-sub { color: rgba(255,255,255,0.55); font-size: 0.76rem; }
.chat-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.4rem; cursor: pointer; padding: 6px; line-height: 1; }
.chat-close:hover { color: #fff; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: break-word; }
.chat-msg.bot { align-self: flex-start; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.1); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: linear-gradient(160deg, var(--blue), var(--blue-deep)); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.typing { color: rgba(255,255,255,0.5); font-style: italic; }
.chat-note { font-size: 0.68rem; color: rgba(255,255,255,0.42); padding: 0 16px 8px; line-height: 1.45; }
.chat-inputrow { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid rgba(255,255,255,0.1); }
.chat-inputrow input {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; border-radius: var(--r-btn); padding: 11px 14px; font-size: 0.95rem;
}
.chat-inputrow input::placeholder { color: rgba(255,255,255,0.4); }
.chat-inputrow input:focus { background: rgba(255,255,255,0.12); border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(72,127,218,0.25); }
.chat-send {
  padding: 0 18px; border: none; border-radius: var(--r-btn); cursor: pointer;
  background: linear-gradient(160deg, var(--blue), var(--blue-deep)); color: #fff; font-weight: 600; font-size: 0.95rem;
  transition: transform var(--t-fast);
}
.chat-send:hover { transform: translateY(-1px); }
.chat-send:disabled { opacity: 0.5; cursor: default; transform: none; }
@media (max-width: 720px) {
  /* --callbar-h is measured by site.js: the bar wraps to two lines on narrow
     phones and grows by the home-indicator inset, so a fixed offset overlaps it. */
  /* Icon-only on phones: the full pill is wide enough to cover the CTA button
     underneath it on almost any screen. */
  .chat-launcher { bottom: calc(var(--callbar-h, 84px) + 12px); right: 12px; padding: 0; width: 54px; height: 54px; justify-content: center; }
  .chat-launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launcher-icon { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
  .chat-launcher .dot { position: absolute; top: 8px; right: 9px; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: calc(var(--callbar-h, 84px) + 12px); height: 65vh; }
}

/* ---------- consult form box ---------- */
.consult-box { padding: var(--s4); text-align: left; }
.consult-box h3 { margin-bottom: var(--s1); }
.consult-box .form-note { margin: var(--s2) 0 0; }
.form-error { color: #ffb3a6; font-size: 0.9rem; margin-top: var(--s2); }
.band:not(.band-dark) .form-error { color: var(--crit, #a93b2a); }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; text-align: left; }
@media (max-width: 900px) { .cta-split { grid-template-columns: 1fr; } }

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

/* review strip — theme-aware (light bands default, dark bands override) */
.review-strip { font-size: 0.95rem; color: var(--ink-mid); margin: 0 0 var(--s3); }
.review-strip span { color: #d99a1f; }
.review-strip a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.band-dark .review-strip, .hero .review-strip { color: rgba(255,255,255,0.85); }
.band-dark .review-strip span, .hero .review-strip span { color: #f5c04e; }
.band-dark .review-strip a:hover, .hero .review-strip a:hover { color: #fff; }
