/* =========================================================
   LAW OFFICES OF JASON GLASGOW
   Bold Editorial Style Sheet
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  /* Professional palette — deep navy on ivory with restrained gold */
  --cream: #FAF8F3;           /* ivory / page background */
  --cream-soft: #F1ECE1;      /* soft section band */
  --paper: #FFFFFF;           /* clean card surface */
  --ink: #0D2340;             /* primary navy */
  --ink-soft: #13324F;        /* secondary navy */
  --oxblood: #8A6A20;          /* accent: warm gold (kept variable name for compatibility) */
  --oxblood-deep: #6A4F15;
  --gold: #A8852E;
  --gold-soft: #C9A85A;
  --burgundy: #6F1F28;        /* optional deep-red accent */
  --rule: rgba(13,35,64,0.12);
  --muted: rgba(13,35,64,0.58);

  --f-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --f-editorial: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  --max: 1440px;
  --gutter: clamp(24px, 5vw, 80px);
}

html {
  overflow-x: hidden;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}

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

::selection { background: var(--ink); color: var(--cream); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.editorial {
  font-family: var(--f-editorial);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  vertical-align: middle;
  margin-right: 16px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(80px, 10vw, 160px) 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244,239,230, 0.0);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
  mix-blend-mode: normal;
}

.nav.is-scrolled {
  background: rgba(244,239,230, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px var(--gutter);
  border-color: var(--rule);
}

.nav.inverse {
  color: var(--cream);
}

.nav.inverse.is-scrolled {
  background: rgba(11,11,11,0.92);
  border-color: rgba(244,239,230,0.1);
}

.brand {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand small {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { font-weight: 700; }

.nav-cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 22px;
  border: 1px solid currentColor;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover {
  background: currentColor;
  color: var(--cream);
}
.nav.inverse .nav-cta:hover { color: var(--ink); }

.nav-toggle { display: none !important; }
.mobile-menu { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: flex !important; }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: inherit;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
  }
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--cream);
    z-index: 99;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font-family: var(--f-display);
    font-size: 36px;
    font-weight: 900;
  }
  .mobile-menu.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 120px var(--gutter) 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

/* ---------- Video B-Roll Stage ---------- */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}
.hero-stage .scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-stage .scene.is-active { opacity: 1; }
.hero-stage .scene video,
.hero-stage .scene img,
.hero-stage .scene .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.04);
  animation: kenburns 18s ease-in-out infinite alternate;
}
.hero-stage .scene .poster {
  background-size: cover;
  background-position: center;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1%, -1%); }
}
.hero-stage .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,21,48,0.55) 0%, rgba(6,21,48,0.45) 50%, rgba(6,21,48,0.82) 100%),
    radial-gradient(ellipse at center, rgba(6,21,48,0.1) 0%, rgba(6,21,48,0.6) 90%);
  pointer-events: none;
}

.scene-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 120px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 16px;
  border: 1px solid rgba(250,248,243,0.22);
  background: rgba(6,21,48,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.6s;
}
.scene-caption::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E74C3C;
  box-shadow: 0 0 10px rgba(231,76,60,0.7);
  animation: recpulse 1.6s ease-in-out infinite;
}
.scene-caption .label-main { color: var(--gold-soft); }
.scene-caption .label-sub { opacity: 0.7; }
@keyframes recpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.scene-dots {
  position: absolute;
  left: var(--gutter);
  bottom: 130px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.scene-dots button {
  width: 36px; height: 2px;
  background: rgba(250,248,243,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.4s, width 0.4s;
}
.scene-dots button.is-active { background: var(--gold-soft); width: 56px; }

@media (max-width: 768px) {
  .scene-caption { display: none; }
  .scene-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 56px;
  }
  .hero-meta { display: none; }
  .hero-inner {
    padding-bottom: clamp(140px, 18vw, 200px);
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding-bottom: clamp(120px, 12vw, 220px);
}

.hero-kicker {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 48px;
  font-weight: 500;
}
.hero-kicker span { display: flex; align-items: center; gap: 12px; }
.hero-kicker span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}
.hero-title .emph { color: var(--gold-soft); font-style: italic; font-weight: 400; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.3s; color: var(--gold-soft); font-style: italic; }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244,239,230,0.75);
  opacity: 0;
  animation: fade 1s 0.8s forwards;
}
@keyframes fade { to { opacity: 1; } }

.hero-meta {
  position: absolute;
  bottom: 40px; left: var(--gutter); right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.55);
  font-weight: 500;
  opacity: 0;
  animation: fade 1s 1.2s forwards;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint .line-v {
  width: 1px; height: 36px;
  background: rgba(244,239,230,0.35);
  position: relative;
  overflow: hidden;
}
.scroll-hint .line-v::before {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 100%; height: 36px;
  background: var(--gold);
  animation: trickle 2.4s ease-in-out infinite;
}
@keyframes trickle {
  0% { top: -36px; }
  100% { top: 36px; }
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding: 200px var(--gutter) 100px;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(176,138,47,0.18), transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(122,24,32,0.2), transparent 55%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(60px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.page-hero .meta {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.6);
  line-height: 2;
}

/* ---------- Manifesto Section ---------- */
.manifesto {
  background: var(--cream);
  padding: clamp(100px, 12vw, 200px) var(--gutter);
}
.manifesto-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.manifesto-grid .label { padding-top: 8px; }
.manifesto-body p {
  font-family: var(--f-editorial);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.manifesto-body p + p {
  margin-top: 32px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
}
.manifesto-signature {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.manifesto-signature svg { height: 52px; width: auto; }

@media (max-width: 880px) {
  .manifesto-grid { grid-template-columns: 1fr; }
}

/* ---------- Practice Tiles ---------- */
.practice {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 10vw, 160px) 0;
}
.practice-head {
  max-width: var(--max);
  margin: 0 auto clamp(60px, 8vw, 120px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.practice-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.practice-head h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.practice-head p {
  max-width: 460px;
  color: rgba(244,239,230,0.7);
  font-size: 17px;
  line-height: 1.7;
}

.practice-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(250,248,243,0.12);
  border: 1px solid rgba(250,248,243,0.12);
}

.tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink-soft);
  cursor: pointer;
  isolation: isolate;
}
.tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1) brightness(0.55);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.2,0.8,0.2,1), filter 0.8s;
  z-index: 0;
}
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.2) 0%, rgba(11,11,11,0.85) 100%);
  z-index: 1;
  transition: opacity 0.6s;
}
.tile-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
}
.tile-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}
.tile-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.tile-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244,239,230,0.8);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.2,0.8,0.2,1), opacity 0.4s;
}
.tile-arrow {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
  transform: translateX(-10px);
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}

.tile:hover .tile-bg { transform: scale(1.1); filter: grayscale(0.3) contrast(1.2) brightness(0.6); }
.tile:hover .tile-overlay { background: linear-gradient(180deg, rgba(11,11,11,0.3) 0%, rgba(122,24,32,0.85) 100%); }
.tile:hover .tile-desc { max-height: 200px; opacity: 1; }
.tile:hover .tile-arrow { transform: translateX(0); opacity: 1; }
.tile:hover .tile-num { color: var(--gold-soft); opacity: 1; }

@media (max-width: 1200px) {
  .practice-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .practice-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .practice-grid { grid-template-columns: 1fr; }
}

/* ---------- Counter / Stats ---------- */
.stats {
  background: var(--cream);
  padding: clamp(80px, 10vw, 160px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-head {
  max-width: var(--max);
  margin: 0 auto 80px;
  padding: 0 var(--gutter);
  text-align: center;
}
.stats-head h2 {
  font-family: var(--f-editorial);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  max-width: 900px;
  margin: 24px auto 0;
}
.stats-head h2 em { font-style: italic; color: var(--oxblood); }

.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.stat {
  padding: 48px 24px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.stat:last-child { border-right: none; }

.stat-value {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
}
.stat-value .unit {
  font-size: 0.45em;
  color: var(--oxblood);
  font-weight: 400;
  font-style: italic;
}
.stat-label {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--rule); }
  .stat:nth-child(even) { border-right: none; }
}

/* ---------- Timeline ---------- */
.timeline {
  background: var(--cream-soft);
  padding: clamp(100px, 12vw, 200px) 0;
  overflow: hidden;
}
.timeline-head {
  max-width: var(--max);
  margin: 0 auto 100px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.timeline-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.timeline-head h2 em { font-style: italic; color: var(--oxblood); font-weight: 400; }
.timeline-head p {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.timeline-track {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--rule);
  transform: translateX(-0.5px);
}

.t-item {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}
.t-item.in { opacity: 1; transform: translateY(0); }

.t-year {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 28px;
  text-align: center;
  background: var(--cream-soft);
  padding: 8px 0;
  color: var(--oxblood);
  position: relative;
  z-index: 2;
}
.t-year::before, .t-year::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
}
.t-year::before { left: -16px; }
.t-year::after { right: -16px; }

.t-content {
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.t-content h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.t-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.t-spacer { display: block; }

.t-item:nth-child(even) .t-content { grid-column: 3; }
.t-item:nth-child(even) .t-spacer { grid-column: 1; }
.t-item:nth-child(odd) .t-content { grid-column: 1; text-align: right; }
.t-item:nth-child(odd) .t-spacer { grid-column: 3; }

@media (max-width: 880px) {
  .timeline-track::before { left: 40px; }
  .t-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .t-item .t-spacer { display: none; }
  .t-item:nth-child(odd) .t-content,
  .t-item:nth-child(even) .t-content {
    grid-column: 2;
    text-align: left;
  }
  .t-year { font-size: 20px; }
  .t-year::before { display: none; }
  .timeline-head { grid-template-columns: 1fr; }
}

/* ---------- Legal News Feed ---------- */
/* ---- Legal News Feed — Liquid Glass ---- */
.news-feed {
  position: relative;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
  border-top: 3px solid var(--gold);
  overflow: hidden;
  /* Deep multi-tone gradient backdrop that gives glass something to refract */
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(13,35,64,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 70% 80% at 80% 70%, rgba(90,20,20,0.6) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 55% 10%, rgba(212,182,107,0.18) 0%, transparent 60%),
    linear-gradient(160deg, #0a1a2e 0%, #0d2340 40%, #1a0d0d 100%);
}
/* Animated ambient orbs for the glass to refract */
.news-feed::before, .news-feed::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.news-feed::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,182,107,0.22) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orb-drift-a 12s ease-in-out infinite alternate;
}
.news-feed::after {
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(90,20,20,0.35) 0%, transparent 70%);
  bottom: -80px; right: -120px;
  animation: orb-drift-b 16s ease-in-out infinite alternate;
}
@keyframes orb-drift-a {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes orb-drift-b {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px, -40px) scale(1.2); }
}

/* Banner header */
.news-banner {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: relative;
  z-index: 1;
}
.news-banner-left { display: flex; flex-direction: column; gap: 20px; }
.news-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,182,107,0.08);
  border: 1px solid rgba(212,182,107,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  width: fit-content;
  border-radius: 40px;
}
.news-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.7); }
}
.news-banner-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.news-banner-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.news-banner-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}
.news-banner-right p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,239,230,0.65);
  max-width: 380px;
}

/* Cards grid — liquid glass */
.news-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 200px;
  position: relative;
  z-index: 1;
}
.news-card {
  /* Glass base */
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
/* Glossy sheen highlight at top */
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}
/* Gold shimmer sweep on hover */
.news-card::after {
  content: '';
  position: absolute;
  top: -60%; left: -60%;
  width: 60%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(212,182,107,0.18) 50%, transparent 60%);
  transform: skewX(-20deg) translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.news-card:hover {
  transform: translateY(-6px) scale(1.01);
  background: rgba(255,255,255,0.12);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(212,182,107,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}
.news-card:hover::after { transform: skewX(-20deg) translateX(350%); }

.news-card-source {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-card-title {
  font-family: var(--f-editorial);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.35;
  font-weight: 400;
  flex-grow: 1;
  color: var(--cream);
}
.news-card-date {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.35);
}
/* READ button — bold gold flashing */
.news-card-arrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--f-mono);
  animation: read-flash 2s ease-in-out infinite;
  width: fit-content;
  padding: 6px 14px;
  border: 1px solid rgba(212,182,107,0.45);
  border-radius: 3px;
  background: rgba(212,182,107,0.08);
}
@keyframes read-flash {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(212,182,107,0); }
  50%       { opacity: 0.6; box-shadow: 0 0 12px rgba(212,182,107,0.5); }
}
.news-card:hover .news-card-arrow {
  animation: none;
  opacity: 1;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 20px rgba(212,182,107,0.6);
  border-color: var(--gold);
}

.news-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.35);
  padding: 60px;
  background: transparent;
}
.news-error {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(244,239,230,0.5);
  padding: 60px;
  background: transparent;
  text-align: center;
  line-height: 1.7;
}
.news-footer {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  justify-content: flex-end;
}
.news-source {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.3);
}
@media (max-width: 980px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-banner { grid-template-columns: 1fr; }
  .news-banner-right p { max-width: 100%; }
}
@media (max-width: 580px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-banner { gap: 28px; padding-bottom: 32px; }
}

/* ---------- Press / Feature Strip ---------- */
.press {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0;
  border-top: 1px solid rgba(244,239,230,0.1);
  border-bottom: 1px solid rgba(244,239,230,0.1);
}
.press-rail {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  animation: marquee 40s linear infinite;
}
@media (max-width: 768px) {
  .press-rail {
    animation: marquee 8s linear infinite;
  }
}
.press-rail span { display: inline-flex; align-items: center; gap: 80px; }
.press-rail span::after {
  content: "◆";
  color: var(--gold);
  font-size: 0.5em;
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--cream);
  padding: clamp(100px, 12vw, 180px) var(--gutter);
}
.testimonial-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--f-editorial);
  font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 40px 0;
  position: relative;
}
.testimonial blockquote::before {
  content: "\201C";
  font-family: var(--f-display);
  font-size: 200px;
  line-height: 0.8;
  color: var(--oxblood);
  opacity: 0.15;
  position: absolute;
  top: -60px; left: -80px;
  pointer-events: none;
}
.close-quote {
  font-family: var(--f-display);
  font-size: 200px;
  line-height: 0;
  color: var(--oxblood);
  opacity: 0.15;
  vertical-align: middle;
  margin-left: 4px;
}
.testimonial cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  display: block;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--oxblood);
  color: var(--cream);
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(244,239,230,0.08), transparent 40%),
              radial-gradient(circle at 70% 80%, rgba(176,138,47,0.15), transparent 50%);
}
.cta-section > * { position: relative; z-index: 2; }
.cta-section h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.cta-section h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.cta-section p {
  max-width: 580px;
  margin: 0 auto 48px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244,239,230,0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 40px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  border: 1px solid var(--cream);
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--cream); transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--cream); }
.btn.outline:hover { background: var(--cream); color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn.dark:hover { background: transparent; color: var(--ink); }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px var(--gutter) 40px;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244,239,230,0.12);
}
.foot-brand h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.foot-brand p {
  max-width: 360px;
  color: rgba(244,239,230,0.7);
  font-size: 15px;
  line-height: 1.7;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
  font-weight: 600;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; font-size: 15px; color: rgba(244,239,230,0.8); }
.foot-col a:hover { color: var(--gold-soft); }

.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
}

@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 16px; }
}

/* ---------- Utility: Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s, transform 0.9s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Form success state ---------- */
.form-success {
  padding: 28px 32px;
  background: rgba(13,35,64,0.05);
  border-left: 3px solid var(--gold);
  font-family: var(--f-editorial);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 8px;
}

/* ---------- Click-to-call / contact links ---------- */
.contact-block a,
.fb-contact-value a,
.foot-col a[href^="tel"],
.foot-col a[href^="mailto"] {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.contact-block a:hover,
.fb-contact-value a:hover,
.foot-col a[href^="tel"]:hover,
.foot-col a[href^="mailto"]:hover { opacity: 0.65; }

/* ---------- Practice Areas Detail Page ---------- */
.practice-detail {
  background: var(--cream);
  padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(72px, 9vw, 120px);
}
.practice-block {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
}
.practice-block:first-of-type { border-top: none; padding-top: 0; }
.practice-block:last-child { padding-bottom: 0; }
.practice-block:nth-child(even) .pb-img { order: 2; }

.pb-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05);
  transition: filter 0.6s;
  position: sticky;
  top: 120px;
  border: 1px solid var(--rule);
}
.practice-block:hover .pb-img { filter: contrast(1.1) brightness(1.05); }

.pb-content {
  padding-top: 8px;
}
.pb-content .eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--gold);
  background: rgba(168,133,46,0.04);
  margin-bottom: 28px;
}
.pb-content h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 22px;
}
.pb-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 4px;
  background: var(--gold);
}
.pb-content h3 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}
.pb-content > p {
  font-size: 17px;
  line-height: 1.75;
  margin: 18px 0 36px;
  color: var(--ink-soft);
  max-width: 620px;
}
.pb-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.pb-list li {
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.25s, padding 0.25s;
}
.pb-list li:hover { background: rgba(13,35,64,0.025); padding-left: 12px; padding-right: 12px; }
.pb-list li > span:first-of-type {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
}
.pb-list li > span:last-of-type {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 980px) {
  .practice-block { grid-template-columns: 1fr; gap: 24px; }
  .practice-block:nth-child(even) .pb-img { order: 0; }
  .pb-img { position: static; aspect-ratio: 16/9; }
  .pb-content h3 { font-size: clamp(28px, 7vw, 48px); line-height: 1.05; }
  .pb-content > p { font-size: 16px; margin: 14px 0 24px; }
}
@media (max-width: 560px) {
  .practice-block { padding: clamp(32px, 6vw, 56px) 0; }
  .pb-content h3 { font-size: clamp(24px, 8vw, 36px); }
  .pb-content .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .pb-content > p { font-size: 15px; line-height: 1.65; }
  .pb-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .pb-list li > span:last-of-type {
    text-align: left;
    white-space: normal;
    font-size: 10px;
    color: var(--muted);
  }
}

/* ---------- Attorneys Grid ---------- */
.attorneys {
  background: var(--cream);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.att-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.att-card {
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
}
.att-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(11,11,11,0.3);
}
.att-img {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s, transform 0.6s;
}
.att-card:hover .att-img { filter: grayscale(0); transform: scale(1.03); }
.att-body {
  padding: 28px;
}
.att-body h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.att-body .role {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.att-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 980px) { .att-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .att-grid { grid-template-columns: 1fr; } }

/* ---------- Featured Bio (Jason Glasgow) ---------- */
.featured-bio {
  background: var(--cream);
  padding: clamp(72px, 9vw, 140px) var(--gutter);
}
.fb-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.fb-portrait {
  position: sticky;
  top: 120px;
}
.fb-portrait-img {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center 35%;
  filter: grayscale(0.85) contrast(1.08) brightness(0.96);
  border: 1px solid var(--rule);
  box-shadow: 0 40px 80px -40px rgba(13,35,64,0.35);
}
.fb-portrait-plate {
  background: var(--ink);
  color: var(--cream);
  padding: 24px 28px;
  margin-top: -40px;
  margin-left: 40px;
  margin-right: 40px;
  border-left: 4px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px -20px rgba(13,35,64,0.5);
}
.fb-seal {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
}
.fb-seal-line1 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.7);
  margin-bottom: 4px;
}
.fb-seal-line2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  color: var(--cream);
}
.fb-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.fb-body h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 36px;
}
.fb-body h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.fb-lead {
  font-family: var(--f-editorial);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 32px;
}
.fb-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.fb-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fb-cred-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.fb-cred-value {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
}
.fb-contact {
  margin-top: 36px;
  background: var(--cream-soft);
  border-left: 3px solid var(--ink);
  padding: 28px 32px;
}
.fb-contact-head {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.fb-contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid rgba(13,35,64,0.08);
  font-size: 14px;
  line-height: 1.5;
}
.fb-contact-row:first-of-type { border-top: none; }
.fb-contact-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.fb-contact-value {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 980px) {
  .fb-grid { grid-template-columns: 1fr; }
  .fb-portrait { position: static; max-width: 420px; }
  .fb-credentials { grid-template-columns: 1fr 1fr; }
  .fb-contact-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 540px) {
  .fb-credentials { grid-template-columns: 1fr; gap: 20px; }
  .fb-portrait-plate { margin-left: 20px; margin-right: 20px; }
}

/* ---------- Counsel Practice-at-a-glance ---------- */
.counsel-practice {
  background: var(--cream-soft);
  padding: clamp(64px, 8vw, 120px) var(--gutter);
}
.counsel-practice-head {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.counsel-practice-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.counsel-practice-head h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
.counsel-practice-head p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.counsel-practice-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.cp-tile {
  background: var(--paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  transition: background 0.3s, color 0.3s;
}
.cp-tile:hover { background: var(--ink); color: var(--cream); }
.cp-tile:hover .cp-num { color: var(--gold-soft); }
.cp-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  transition: color 0.3s;
}
.cp-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 20px;
}
@media (max-width: 1200px) { .counsel-practice-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) {
  .counsel-practice-head { grid-template-columns: 1fr; }
  .counsel-practice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .counsel-practice-grid { grid-template-columns: 1fr; } }

/* ---------- About Values ---------- */
.values {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 10vw, 160px) var(--gutter);
}
.values-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(244,239,230,0.12);
  border: 1px solid rgba(244,239,230,0.12);
}
.value {
  background: var(--ink);
  padding: 56px 40px;
  min-height: 340px;
  position: relative;
}
.value .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  margin-bottom: 40px;
}
.value h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.value h3 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.value p {
  color: rgba(244,239,230,0.7);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact {
  background: var(--cream);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
}
.contact-info h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.contact-info h2 em { font-style: italic; color: var(--oxblood); font-weight: 400; }
.contact-info > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 48px;
}
.contact-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.contact-block:last-of-type { border: none; }
.contact-block h4 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 12px;
  font-weight: 600;
}
.contact-block p {
  font-family: var(--f-editorial);
  font-size: 24px;
  line-height: 1.3;
}

form {
  display: grid;
  gap: 24px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  font-size: 17px;
  font-family: var(--f-body);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--oxblood);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Map Band ---------- */
.map-band {
  background: var(--cream-soft);
  padding: 60px var(--gutter);
  border-top: 1px solid var(--rule);
}
.map-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}
.map-inner .pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  margin-bottom: 20px;
}
.map-inner h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
}
.map-vis {
  aspect-ratio: 3/1;
  background:
    linear-gradient(135deg, rgba(122,24,32,0.05) 0%, rgba(176,138,47,0.08) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='200' viewBox='0 0 600 200'><defs><pattern id='g' width='20' height='20' patternUnits='userSpaceOnUse'><path d='M 20 0 L 0 0 0 20' fill='none' stroke='%230B0B0B' stroke-width='0.4' opacity='0.2'/></pattern></defs><rect width='100%25' height='100%25' fill='url(%23g)'/><path d='M 50 100 Q 150 60 250 120 T 450 100 T 580 140' fill='none' stroke='%237A1820' stroke-width='1.4'/><circle cx='300' cy='100' r='8' fill='%237A1820'/><circle cx='300' cy='100' r='16' fill='none' stroke='%237A1820' stroke-width='1' opacity='0.5'><animate attributeName='r' from='8' to='28' dur='2s' repeatCount='indefinite'/><animate attributeName='opacity' from='0.6' to='0' dur='2s' repeatCount='indefinite'/></circle></svg>");
  background-size: cover, cover;
  background-position: center;
  border: 1px solid var(--rule);
}

/* Upgraded map band — info panel + live embed */
.map-inner {
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}
.map-info { display: flex; flex-direction: column; gap: 0; }
.map-embed-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--rule);
  min-height: 320px;
}
.map-embed-wrap iframe { width: 100%; height: 100%; display: block; }

/* Directions buttons */
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  min-height: 44px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.directions-btn--dark {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.directions-btn--dark:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}
.directions-btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.directions-btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Contact page inline directions button (inside office block) */
.contact-block .directions-btn {
  margin-top: 16px;
  background: transparent;
  color: var(--oxblood);
  border: 1px solid var(--oxblood);
  padding: 10px 18px;
  font-size: 11px;
}
.contact-block .directions-btn:hover {
  background: var(--oxblood);
  color: var(--cream);
}

/* ---------- Call popover ---------- */
.call-wrap {
  position: relative;
  display: inline-block;
}
.call-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 28px 32px;
  min-width: 260px;
  box-shadow: 0 20px 60px -10px rgba(13,35,64,0.5);
  border: 1px solid rgba(244,239,230,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Entry animation */
  animation: popover-in 0.2s cubic-bezier(0.2,0.8,0.2,1) both;
}
.call-popover[hidden] { display: none; }

@keyframes popover-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* little caret pointing down to the button */
.call-popover::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 28px;
  width: 13px; height: 13px;
  background: var(--ink);
  border-right: 1px solid rgba(244,239,230,0.12);
  border-bottom: 1px solid rgba(244,239,230,0.12);
  transform: rotate(45deg);
}

.call-popover-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  color: rgba(244,239,230,0.5);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.2s;
}
.call-popover-close:hover { color: var(--cream); }

.call-popover-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.call-popover-number {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}
.call-popover-number:hover { color: var(--gold-soft); }

.call-popover-copy {
  background: rgba(244,239,230,0.08);
  border: 1px solid rgba(244,239,230,0.2);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--f-body);
  align-self: flex-start;
  min-height: 44px;
}
.call-popover-copy:hover { background: rgba(244,239,230,0.16); }
.call-popover-copy.copied { color: var(--gold-soft); border-color: var(--gold-soft); }

@media (max-width: 880px) {
  .map-inner { grid-template-columns: 1fr; }
  .map-embed-wrap { aspect-ratio: 4/3; min-height: 260px; }
  /* On mobile the tel: link works natively — no popover needed */
  .call-popover { display: none !important; }
}

/* ==========================================================
   MOBILE OPTIMIZATIONS
   ========================================================== */

/* --- Global touch / iOS baseline --- */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

html {
  /* Prevent elastic over-scroll from revealing a white background */
  overscroll-behavior: none;
  /* Smoother momentum scroll on iOS */
  -webkit-overflow-scrolling: touch;
}

/* --- iOS viewport height fix (100vh clips behind Safari toolbar) ---
   svh = "small viewport height" — iOS 15.4+
   The fallback 100vh is fine on desktop / older iOS.             */
.hero {
  min-height: 100svh;
}
@supports not (min-height: 100svh) {
  .hero { min-height: 100vh; }
}

/* --- Touch tap targets: minimum 44×44 px (Apple HIG / WCAG 2.5.5) --- */
@media (max-width: 880px) {
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 4px;
  }
}

.mobile-menu a {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.btn,
.nav-cta {
  min-height: 44px;
}

/* Scene dots — make the tap area bigger than the visual bar */
.scene-dots button {
  min-height: 44px;
  padding: 21px 0;
  box-sizing: content-box;
  height: 2px; /* visual height only */
}

/* --- Hero kicker: wrap on narrow screens --- */
@media (max-width: 600px) {
  .hero-kicker {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-bottom: 32px;
  }
  .hero-kicker span { font-size: 10px; letter-spacing: 0.28em; }

  /* Hide scroll hint on mobile — redundant on touch devices */
  .scroll-hint { display: none; }

  /* Hero meta: single centred line */
  .hero-meta {
    justify-content: center;
    text-align: center;
    font-size: 10px;
  }
}

/* --- Page hero interior: fix rigid 200px top padding --- */
.page-hero {
  padding: clamp(120px, 18vw, 200px) var(--gutter) clamp(60px, 8vw, 100px);
}

/* --- Forms: prevent iOS auto-zoom on focus (needs ≥16px) ---
   The body font is 17px so inputs inherit it, but select
   elements on iOS can default smaller — force them.           */
.field select {
  font-size: 17px;
}

/* On very small screens stack the practice-head text properly */
@media (max-width: 640px) {
  .practice-head {
    grid-template-columns: 1fr;
  }
}

/* --- Verdicts: single column on phones --- */
@media (max-width: 580px) {
  .verdicts-head { grid-template-columns: 1fr; }
  .verdicts-head h2 { grid-column: 1; }
}

/* --- News feed head: single column on phones --- */
@media (max-width: 600px) {
  .news-banner { grid-template-columns: 1fr; }
}

/* --- Stats: full width on very small screens --- */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
}

/* --- Footer: stack to single column on small phones --- */
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --- Testimonial blockquote: tighten on mobile --- */
@media (max-width: 600px) {
  .testimonial blockquote::before { font-size: 120px; top: -20px; left: -10px; }
}

/* --- Timeline: tighten gap on very small screens --- */
@media (max-width: 480px) {
  .t-item { gap: 12px; }
  .t-content { padding: 18px 20px; }
}

/* --- Buttons: full-width on very small screens --- */
@media (max-width: 400px) {
  .btn { width: 100%; justify-content: center; }
}

/* --- Contact form: stack submit row --- */
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* --- Page hero inner: stack on mobile --- */
@media (max-width: 640px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-hero .meta { display: none; }
}

/* --- Featured bio credentials: 2-col → 1-col on small phones --- */
@media (max-width: 400px) {
  .fb-credentials { grid-template-columns: 1fr; }
}

/* --- Counsel practice grid on small phones --- */
@media (max-width: 380px) {
  .counsel-practice-grid { grid-template-columns: 1fr; }
}

/* --- Smoother font rendering on mobile --- */
@media (max-width: 880px) {
  body { font-size: 16px; }
}
