/* ==========================================================================
   Landlord Tenant Ontario — Design System
   Premium cool slate & navy editorial theme
   ========================================================================== */

:root {
  --color-bg: #F5F6F8;
  --color-white: #FFFFFF;
  --color-panel: #EAECF0;
  --color-taupe: #55606E;
  --color-heading: #1C2230;
  --color-accent: #1F3A5C;
  --color-accent-dark: #16283F;
  --color-border: #DCE1E8;
  --color-success-bg: #E8F0EC;
  --color-success-text: #2F5F45;
  --color-gold: #B28A57;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(28, 34, 48, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 34, 48, 0.08);
  --shadow-lg: 0 20px 48px rgba(28, 34, 48, 0.12);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-heading);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
section { padding: 80px 0; }
@media (max-width: 720px) { section { padding: 52px 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head p { color: var(--color-taupe); font-size: 1.08rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--color-heading);
  color: var(--color-heading);
}
.btn-outline:hover { background: var(--color-heading); color: #fff; }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-ghost {
  background: transparent;
  color: var(--color-accent-dark);
  padding: 8px 0;
  font-weight: 600;
}
.btn-ghost:hover { text-decoration: underline; }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }

.main-nav { display: flex; min-width: 0; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  color: var(--color-heading);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-accent-dark); text-decoration: none; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.nav-dropdown-trigger .chev { width: 13px; height: 13px; transition: transform 0.15s ease; }
.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  max-width: 90vw;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  flex-direction: column;
  gap: 2px;
  z-index: 110;
}
.nav-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  color: var(--color-heading);
}
.nav-dropdown-link:hover { background: var(--color-panel); text-decoration: none; }
.nav-dropdown-link-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-panel);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-dropdown-link-icon svg { width: 18px; height: 18px; }
.nav-dropdown-link-title { display: block; font-weight: 600; font-size: 0.94rem; color: var(--color-heading); white-space: normal; }
.nav-dropdown-link-caption { display: block; font-size: 0.8rem; color: var(--color-taupe); margin-top: 2px; white-space: normal; }

.nav-dropdown.open .nav-dropdown-panel { display: flex; }
.nav-dropdown.open .nav-dropdown-trigger .chev { transform: rotate(180deg); }

@media (min-width: 1141px) {
  .nav-dropdown:hover .nav-dropdown-panel { display: flex; }
}

/* Mobile: dropdown becomes an inline expandable section */
.mobile-nav .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--color-border); color: var(--color-heading); font-weight: 500; font-size: 1rem; }
.mobile-nav .nav-dropdown-panel { position: static; width: 100%; max-width: none; box-shadow: none; border: none; padding: 4px 0 12px; transform: none; }
.mobile-nav .nav-dropdown-link { padding: 10px 4px; }
.mobile-nav a { white-space: normal; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 12px 24px 20px;
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--color-heading);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav .header-cta { flex-direction: column; align-items: stretch; margin-top: 12px; gap: 10px; }
body.nav-open .mobile-nav { display: flex; }

/* Below this, the full nav can no longer fit on one line — switch to the hamburger menu */
@media (max-width: 1140px) {
  .main-nav, .header-inner .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 18px 0 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.86rem;
  color: var(--color-taupe);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--color-border); }
.breadcrumbs a { color: var(--color-taupe); }
.breadcrumbs li[aria-current] { color: var(--color-heading); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  background: linear-gradient(135deg, #16283F 0%, #1F3A5C 60%, #28496E 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero .eyebrow { color: #9FC1E8; }
.hero h1 { color: #FFFFFF; }
.hero-copy > p { color: #C3D0DE; }
.hero .trust-line { color: #93A6BC; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 20px;
}
.hero-actions .btn-primary { font-size: 1.05rem; padding: 18px 32px; }
.hero-secondary { margin-top: 6px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); }

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0 8px;
}
@media (max-width: 620px) { .pathway-grid { grid-template-columns: 1fr; } }
.pathway-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: var(--color-heading);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pathway-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--color-accent); text-decoration: none; }
.pathway-card .path-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pathway-card .path-icon svg { width: 26px; height: 26px; }
.pathway-card h3 { font-size: 1.18rem; margin-bottom: 2px; }
.pathway-card p { color: var(--color-taupe); font-size: 0.92rem; margin-bottom: 0; }
.pathway-card .pathway-arrow { margin-left: auto; color: var(--color-accent-dark); flex-shrink: 0; }
.trust-line {
  color: var(--color-taupe);
  font-size: 0.92rem;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.4;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; aspect-ratio: 16/10; }
}

/* Decorative illustration (SVG-based, no stock photos) */
.art-scene { width: 100%; height: 100%; display: block; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) {
  .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
}

.issue-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--color-heading);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.issue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  text-decoration: none;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--color-panel);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }
.issue-card h3 { font-size: 1.08rem; margin-bottom: 2px; font-family: var(--font-sans); font-weight: 700; }
.issue-card p { color: var(--color-taupe); font-size: 0.94rem; margin-bottom: 0; flex-grow: 1; }
.card-link { font-size: 0.9rem; font-weight: 600; color: var(--color-accent-dark); }

/* ---------- Path panels ---------- */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) { .path-grid { grid-template-columns: 1fr; } }
.path-panel {
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.path-panel.tenant { background: var(--color-white); border: 1px solid var(--color-border); }
.path-panel.landlord { background: var(--color-panel); border: 1px solid var(--color-border); }
.path-panel .path-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.path-panel .path-icon svg { width: 28px; height: 28px; }
.path-panel h3 { font-size: 1.55rem; margin-bottom: 6px; }
.path-panel p.lead { color: var(--color-taupe); margin-bottom: 22px; }
.path-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.path-list li { border-bottom: 1px solid var(--color-border); padding-bottom: 12px; }
.path-list li:last-child { border-bottom: none; padding-bottom: 0; }
.path-list a { color: var(--color-heading); font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.path-list a:hover { color: var(--color-accent-dark); text-decoration: none; }

/* ---------- Notice / form cards ---------- */
.notice-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notice-tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--color-panel);
  color: var(--color-taupe);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.notice-card h3 { font-size: 1.12rem; font-family: var(--font-sans); font-weight: 700; margin-bottom: 2px; }
.notice-card p { color: var(--color-taupe); font-size: 0.95rem; margin-bottom: 4px; flex-grow: 1; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .timeline { grid-template-columns: 1fr; } }
.timeline li {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
}
.timeline .step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.timeline h4 { font-size: 0.98rem; margin-bottom: 4px; }
.timeline p { font-size: 0.88rem; color: var(--color-taupe); margin-bottom: 0; }

/* ---------- Simple vertical timeline (used on ltb-process page) ---------- */
.v-timeline { list-style: none; margin: 0; padding: 0; }
.v-timeline li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.v-timeline li::before {
  content: "";
  position: absolute;
  left: 22px; top: 46px; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.v-timeline li:last-child::before { display: none; }
.v-timeline .step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-panel);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  border: 1px solid var(--color-border);
  z-index: 1;
}
.v-timeline h4 { margin-bottom: 6px; }
.v-timeline p { color: var(--color-taupe); margin-bottom: 0; }

/* ---------- Panels / sections ---------- */
.panel-section { background: var(--color-white); }
.panel-section.alt { background: var(--color-bg); }
.beige-divider { border: none; border-top: 1px solid var(--color-border); margin: 0; }

.cta-panel {
  background: var(--color-panel);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.cta-panel h2 { margin-bottom: 12px; }
.cta-panel p { color: var(--color-taupe); max-width: 600px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- About / editorial ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.standards-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.standards-list li { display: flex; gap: 14px; align-items: flex-start; }
.standards-list .check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-success-bg); color: var(--color-success-text);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.standards-list .check svg { width: 14px; height: 14px; }
.reviewer-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.policy-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.policy-links a { font-size: 0.92rem; font-weight: 600; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-heading);
  cursor: pointer;
}
.faq-question .chev { flex-shrink: 0; transition: transform 0.2s ease; color: var(--color-accent-dark); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
  color: var(--color-taupe);
}
.faq-answer > div { padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-item.open .chev { transform: rotate(180deg); }

/* ---------- Article / guide page layout ---------- */
.article-header {
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #16283F 0%, #1F3A5C 60%, #28496E 100%);
}
.article-header .eyebrow { color: var(--color-gold); }
.article-header h1 { color: #fff; }
.article-header p.lede { color: #C3D0DE; font-size: 1.1rem; max-width: 700px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #9FACBE;
  font-size: 0.88rem;
  margin: 16px 0 0;
}
.article-meta strong { color: #fff; }
.article-meta a { color: var(--color-gold); }
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-body h2 { margin-top: 2.2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { color: var(--color-heading); }
.article-body li { margin-bottom: 0.5em; }
.callout {
  background: var(--color-panel);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 28px 0;
  border-left: 4px solid var(--color-accent);
}
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; margin-bottom: 6px; display: block; }
.disclaimer-box {
  background: var(--color-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--color-taupe);
  margin: 32px 0;
}
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}
@media (max-width: 620px) { .next-steps-grid { grid-template-columns: 1fr; } }
.mini-link-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}
.mini-link-card span { display: block; font-weight: 400; color: var(--color-taupe); font-size: 0.85rem; margin-top: 4px; }
.byline-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}
.byline-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-panel);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.byline-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.byline-box .name { font-weight: 700; font-size: 0.94rem; }
.byline-box .role { font-size: 0.84rem; color: var(--color-taupe); }

.related-guides { margin-top: 20px; }

/* Simple policy page */
.policy-body { max-width: 760px; margin: 0 auto; }
.policy-body h2 { margin-top: 1.8em; }

/* Table of contents */
.toc {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 34px;
}
.toc-title { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-taupe); margin-bottom: 10px; display: block; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc li { margin-bottom: 6px; }

/* ---------- Sitewide consultation band ---------- */
.consultation-section {
  background: var(--color-panel);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.consultation-section .contact-grid { align-items: start; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  background: var(--color-white);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }

.contact-info-card {
  background: linear-gradient(135deg, #16283F 0%, #1F3A5C 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.contact-info-card h2 { color: #fff; margin-bottom: 14px; }
.contact-info-card > p { color: #C3D0DE; }
.contact-info-card .contact-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 26px 0 18px;
}
.contact-info-card .contact-phone svg { color: var(--color-gold); width: 22px; height: 22px; flex-shrink: 0; }
.contact-info-card .contact-address {
  display: flex;
  gap: 12px;
  color: #C3D0DE;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-info-card .contact-address svg { color: var(--color-gold); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-info-card .contact-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.88rem;
  color: #C3D0DE;
}
.contact-info-card .contact-note a { color: var(--color-gold); font-weight: 600; }
.contact-info-card .contact-note p { margin-bottom: 8px; }
.contact-info-card .contact-note p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-heading);
  color: #E3E6EB;
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #A8B0BC; font-size: 0.92rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #C4CAD3; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  color: #9AA3AF;
  font-size: 0.84rem;
}
.footer-disclaimer { max-width: 720px; }
.footer-disclaimer strong { color: #D4D9E0; }

/* ---------- Lawyer bio page ---------- */
.bio-hero {
  background: var(--color-white);
  padding: 56px 0 0;
}
.bio-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}
@media (max-width: 900px) {
  .bio-hero-grid { grid-template-columns: 1fr; }
  .bio-hero-grid .bio-card { order: -1; max-width: 420px; margin: 0 auto; }
}
.bio-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.bio-avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: var(--color-panel);
  border: 3px solid var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--color-gold);
  overflow: hidden;
}
.bio-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bio-card .bio-name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--color-accent-dark); margin-bottom: 4px; }
.bio-card .bio-credential-line { color: var(--color-gold); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.bio-credential-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.bio-credential-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-taupe);
  font-size: 0.95rem;
}
.bio-credential-list li svg { color: var(--color-gold); flex-shrink: 0; width: 20px; height: 20px; }

.bio-hero-copy { text-align: left; }
.bio-hero-copy .eyebrow { color: var(--color-gold); }
.bio-hero-copy h1 { color: var(--color-accent-dark); }
.bio-hero-copy > p.lede { color: var(--color-taupe); font-size: 1.1rem; max-width: 560px; margin: 0 0 30px; }
.bio-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.bio-stats-band { background: var(--color-bg); padding: 40px 0; }
.bio-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .bio-stats-grid { grid-template-columns: 1fr 1fr; } }
.bio-stat { text-align: center; }
.bio-stat svg { width: 26px; height: 26px; color: var(--color-gold); margin-bottom: 10px; }
.bio-stat .bio-stat-label { color: var(--color-accent-dark); font-weight: 700; font-size: 0.95rem; }

/* sidebar credentials card, paired with .article-layout on the bio page */
.sidebar-credentials-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.sidebar-credentials-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 18px;
  color: var(--color-accent-dark);
}
.credential-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.credential-cards li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.credential-cards svg { width: 22px; height: 22px; color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.credential-cards h4 { font-size: 0.95rem; margin: 0 0 4px; color: var(--color-accent-dark); }
.credential-cards p { font-size: 0.84rem; color: var(--color-taupe); margin: 0; }

/* dot variant of the vertical timeline, for credential lists */
.v-timeline.dots li { grid-template-columns: 28px 1fr; }
.v-timeline.dots .step-num {
  width: 14px; height: 14px;
  background: var(--color-gold);
  border: none;
  margin-top: 6px;
}
.v-timeline.dots li::before { left: 6px; }

.stat-band {
  background: linear-gradient(135deg, #16283F 0%, #1F3A5C 100%);
  padding: 48px 0;
}
.stat-band .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat-band.cols-4 .container { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .stat-band .container { grid-template-columns: 1fr; gap: 28px; } }
.stat-band .stat-item { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-band .stat-item:last-child { border-right: none; }
@media (max-width: 700px) { .stat-band .stat-item { border-right: none; padding: 0 0 28px; border-bottom: 1px solid rgba(255,255,255,0.15); } .stat-band .stat-item:last-child { border-bottom: none; padding-bottom: 0; } }
.stat-band .stat-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--color-gold); margin-bottom: 6px; }
.stat-band .stat-caption { color: #C3D0DE; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.stat-band .stat-caption a { color: var(--color-gold); }

.cta-panel.accent-top { border-top: 4px solid var(--color-gold); background: linear-gradient(135deg, #16283F 0%, #1F3A5C 100%); }
.cta-panel.accent-top h2, .cta-panel.accent-top p { color: #fff; }
.cta-panel.accent-top p { color: #C3D0DE; }

/* ---------- Embedded calculator / wizard ---------- */
.embed-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}
.embed-card iframe { width: 100%; border: none; display: block; border-radius: 12px; }
.embed-card .embed-source { margin: 16px 0 0; font-size: 0.86rem; color: var(--color-taupe); text-align: center; }
.embed-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-panel);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.embed-tag svg { width: 14px; height: 14px; }

/* ---------- Article layout with sticky consultation sidebar ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
.article-layout .article-body { max-width: none; margin: 0; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; max-width: 760px; }
}
.sticky-sidebar { position: sticky; top: 100px; }
@media (max-width: 900px) { .sticky-sidebar { position: static; margin-top: 8px; } }

.sidebar-consult-card {
  background: linear-gradient(135deg, #16283F 0%, #1F3A5C 100%);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border-top: 4px solid var(--color-gold);
  box-shadow: var(--shadow-md);
}
.sidebar-consult-card .sidebar-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
}
.sidebar-consult-card .sidebar-icon svg { width: 20px; height: 20px; }
.sidebar-consult-eyebrow { display: block; color: var(--color-gold); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.sidebar-consult-phone { display: block; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 10px; text-decoration: none; }
.sidebar-consult-phone:hover { text-decoration: underline; }
.sidebar-consult-card p { color: #C3D0DE; font-size: 0.86rem; margin-bottom: 18px; }
.sidebar-consult-card .btn-primary { width: 100%; justify-content: center; }
.sidebar-consult-note { font-size: 0.74rem; color: #93A6BC; margin-top: 12px; margin-bottom: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.88rem; color: var(--color-taupe); }
