/* =========================================================
   INNER PAGES — appended to styles.css system
   ========================================================= */

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 88px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 40%, black 30%, transparent 80%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }

.crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}
.crumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.crumb a:hover { color: var(--gold); }
.crumb-sep { opacity: 0.4; }

.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.page-hero-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent); opacity: 0.6;
}

.page-hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--paper);
  max-width: 18ch;
  margin-bottom: 24px;
}
.page-hero-title em { color: var(--accent); font-style: normal; }
.page-hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 60ch;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: 48px;
}
.quick-stat {
  background: var(--ink);
  padding: 24px 28px;
}
.quick-stat-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.quick-stat-value {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--paper); line-height: 1;
}
.quick-stat-sub {
  font-size: 12px; color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* Services grid (overview page) */
.service-cards-section {
  background: var(--paper); padding: var(--section-y) 0;
}
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}
.service-card {
  background: var(--ink);
  padding: 40px 32px 32px;
  display: flex; flex-direction: column;
  min-height: 320px;
  text-decoration: none; color: var(--paper);
  transition: filter 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,22,40,0.78), rgba(10,22,40,0.78));
  z-index: 0;
  transition: background 0.25s var(--ease);
}
.service-card:hover::before { background: linear-gradient(rgba(10,22,40,0.62), rgba(10,22,40,0.62)); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { filter: brightness(1.05); }
.service-card-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  margin-bottom: 32px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.service-card:hover .service-card-icon {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.service-card-num {
  position: absolute; top: 32px; right: 32px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--muted);
}
.service-card-title {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--paper); margin-bottom: 12px;
}
.service-card-body {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.55; margin-bottom: auto;
  padding-bottom: 32px;
}
.service-card-foot {
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; align-items: center;
}
.service-card-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.service-card-tag {
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1); padding: 4px 8px;
  border-radius: 2px;
}
.service-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--paper);
}

/* Two-column "ideal / look elsewhere" */
.two-col-fit {
  background: var(--paper-2);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.fit-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
}
.fit-card.positive { border-top: 3px solid var(--accent); }
.fit-card.negative { border-top: 3px solid var(--line-strong); }
.fit-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px; color: var(--accent);
}
.fit-card.positive .fit-card-label { color: var(--accent); }
.fit-card.negative .fit-card-label { color: var(--muted); }
.fit-card-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 24px;
}
.fit-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.fit-item:first-of-type { border-top: 0; padding-top: 0; }
.fit-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.fit-card.positive .fit-icon { color: #22c55e; }
.fit-card.negative .fit-icon { color: #9ca3af; }
.fit-item-strong {
  display: block;
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.fit-item-body {
  font-size: 14px; color: var(--text-2); line-height: 1.55;
}

/* Licence types grid */
.types-section {
  padding: var(--section-y) 0;
  background: linear-gradient(rgba(21,34,71,0.30), rgba(21,34,71,0.30)), url('../images/GSS-Legal-concrete-deliverables.png') center center / cover no-repeat;
  background-color: var(--ink);
}
.types-section .eyebrow { color: var(--accent); }
.types-section .h2 { color: #fff; }
.types-section .h2 em { color: var(--accent); font-style: normal; }
.types-section .lede,
.types-section .section-intro-right p { color: rgba(255,255,255,0.70); }
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.type-card {
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 6px;
  padding: 28px;
  position: relative;
  transition: background 0.25s;
  cursor: default;
}
.type-card:first-child,
.type-card:hover { background: var(--accent); }
.types-grid:has(.type-card:hover) .type-card:first-child:not(:hover) { background: rgba(255,255,255,0.92); }
.type-card-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  transition: border-color 0.25s, color 0.25s;
}
.type-card:first-child .type-card-icon,
.type-card:hover .type-card-icon { border-color: rgba(255,255,255,0.40); color: #fff; }
.types-grid:has(.type-card:hover) .type-card:first-child:not(:hover) .type-card-icon { border-color: var(--line-strong); color: var(--accent); }
.type-card-title {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 12px;
  transition: color 0.25s;
}
.type-card:first-child .type-card-title,
.type-card:hover .type-card-title { color: #fff; }
.types-grid:has(.type-card:hover) .type-card:first-child:not(:hover) .type-card-title { color: var(--ink); }
.type-card-body {
  font-size: 13px; color: var(--text-2); line-height: 1.6;
  transition: color 0.25s;
}
.type-card:first-child .type-card-body,
.type-card:hover .type-card-body { color: rgba(255,255,255,0.80); }
.types-grid:has(.type-card:hover) .type-card:first-child:not(:hover) .type-card-body { color: var(--text-2); }

/* Steps timeline */
.timeline-section {
  background: var(--paper-2);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.timeline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.timeline-step {
  padding: 32px 24px;
  border-left: 1px solid var(--line);
  position: relative;
}
.timeline-step:first-child { border-left: 0; }
.timeline-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 700;
  margin-bottom: 24px;
}
.timeline-step-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 8px;
}
.timeline-step-weeks {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
}
.timeline-foot {
  margin-top: 24px;
  font-size: 13px; color: var(--text-2);
  text-align: center;
}

/* Cost table */
.cost-section {
  background: var(--paper); padding: var(--section-y) 0;
}
.cost-table {
  width: 100%; border-collapse: collapse;
  margin-top: 40px;
  border: 1px solid var(--line);
}
.cost-table th, .cost-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.cost-table th {
  background: var(--paper-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.cost-table td { font-size: 14px; color: var(--text); }
.cost-table .cost-label { font-weight: 700; color: var(--ink); }
.cost-table .cost-value { text-align: right; font-weight: 500; }
.cost-table tr.cost-total {
  background: var(--ink); color: var(--paper);
}
.cost-table tr.cost-total td {
  color: var(--paper); border-bottom: 0;
}
.cost-table tr.cost-total .cost-value { color: var(--gold); font-weight: 700; }
.cost-note {
  font-size: 12px; color: var(--muted);
  margin-top: 16px;
}

/* Process banner (CTA inside cost section) */
.process-banner { margin-top: 64px; position: relative; overflow: hidden; min-height: 260px; display: flex; align-items: center; background: url('../images/GSS-Legal-Homepage-How we work-CTA.png') center / cover no-repeat; background-color: var(--ink); }
.process-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.70) 55%, rgba(10,22,40,0.50) 100%); pointer-events: none; }
.process-banner-inner { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 56px; flex-wrap: wrap; }
.process-banner-text { flex: 1; min-width: 260px; }
.process-banner-title { font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; color: var(--paper); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; }
.process-banner-title em { font-style: normal; color: var(--accent); }
.process-banner-body { font-size: 15px; color: rgba(255,255,255,0.68); line-height: 1.6; max-width: 520px; margin: 0; }
.process-banner-cta { flex-shrink: 0; }
@media (max-width: 700px) { .process-banner-inner { padding: 40px 28px; flex-direction: column; align-items: flex-start; } }

/* FAQ */
.faq-section {
  background: var(--paper-2);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.faq-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink);
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq-q.open .faq-icon {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.faq-q.open .faq-icon svg { transform: rotate(45deg); }
.faq-icon svg { transition: transform 0.3s var(--ease); width: 14px; height: 14px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 15px; color: var(--text-2); line-height: 1.65;
  max-width: 80ch;
}

/* Section intro (titled blocks within pages) */
.section-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}
.section-intro .h2 { margin-top: 16px; }
.section-intro-right { padding-bottom: 8px; }

/* Comparison note */
.compare-note {
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-top: 40px;
}
.compare-note strong { color: var(--ink); font-weight: 700; }

/* Related jurisdictions row */
.related-section {
  background: var(--paper); padding: var(--section-y) 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  text-decoration: none; color: inherit;
  transition: background 0.2s, border-color 0.2s;
  overflow: hidden;
}
.related-card:hover { background: var(--paper-2); border-color: var(--ink); }
.related-card-img {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  margin: -24px -24px 20px -24px;
}
.related-card-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 4px;
}
.related-card-license {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

@media (max-width: 1100px) {
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-row { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .section-intro { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .quick-stats { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 56px; }
}


/* ── CASES LIST ─────────────────────── */
.cases-list-section { padding: var(--section-y) 0; background: var(--paper-2); }
.cases-filters { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 48px; overflow-x: auto; }
.cases-filter { display: inline-flex; align-items: center; padding: 18px 28px 18px 0; margin-right: 32px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s; white-space: nowrap; cursor: pointer; }
.cases-filter:hover { color: var(--ink); }
.cases-filter.active { color: var(--ink); border-bottom-color: var(--accent); }
.cases-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-list-card { background: var(--paper); display: flex; flex-direction: column; text-decoration: none; transition: box-shadow 0.2s; }
.case-list-card:hover { box-shadow: 0 6px 24px rgba(10,22,40,0.10); }
.case-list-card-img { height: 200px; flex-shrink: 0; overflow: hidden; position: relative; background: var(--ink); }
.case-list-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-list-card-img--placeholder { background: linear-gradient(135deg, #0f2440, #1a4a6a); }
.case-list-card-body { flex: 1; padding: 24px; display: flex; flex-direction: column; }
.case-list-card-meta-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.case-list-card-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-strong); padding: 4px 10px; }
.case-list-card-timeline { font-size: 12px; color: var(--muted); }
.case-list-card-timeline strong { color: var(--ink); font-weight: 600; }
.case-list-card-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin-top: 0; }
.case-list-card-title em { color: var(--accent); font-style: normal; }
.case-list-card-outcome { font-size: 13px; color: var(--text-2); line-height: 1.55; margin-top: 10px; flex: 1; }
.case-list-card-read { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.case-list-card-read-icon { width: 36px; height: 36px; background: var(--ink); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; transition: background 0.2s; }
.case-list-card-read-icon svg { width: 14px; height: 14px; }
.case-list-card:hover .case-list-card-read-icon { background: var(--accent); }
@media (max-width: 1100px) { .cases-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cases-list-grid { grid-template-columns: 1fr; } }

/* ── SINGLE CASE STUDY ───────────────── */
.case-hero { background: linear-gradient(160deg, #0a1628 0%, #114264 100%); padding: 80px 0 72px; position: relative; overflow: hidden; }
.case-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(28,147,167,0.12) 0%, transparent 60%); }
.case-hero-inner { position: relative; }
.case-hero-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,0.5); }
.case-hero-crumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.case-hero-crumb a:hover { color: rgba(255,255,255,0.8); }
.case-hero-crumb-sep { font-size: 11px; }
.case-hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; display: block; }
.case-hero h1 { font-size: clamp(28px,4vw,52px); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin: 0; max-width: 700px; }
.case-hero h1 em { color: var(--accent); font-style: normal; }
.case-body { padding: 72px 0 80px; }
.case-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.case-feature-visual { aspect-ratio: 16/9; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 72px; margin-bottom: 36px; position: relative; overflow: hidden; }
.case-feature-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3)); }
.case-main h2 { font-size: clamp(22px,2.5vw,32px); font-weight: 700; color: var(--ink); margin: 0 0 16px; letter-spacing: -0.02em; }
.case-main h2 em { color: var(--accent); font-style: normal; }
.case-intro { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 48px; }
.case-section-title { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.case-overview-blocks { display: flex; flex-direction: column; gap: 20px; margin-bottom: 52px; }
.case-block { border-radius: 10px; padding: 24px 26px; border-left: 4px solid; }
.case-block-challenge { background: #fef9f0; border-color: #e8a020; }
.case-block-approach { background: #f0f7ff; border-color: #114264; }
.case-block-outcome { background: #f0faf4; border-color: #1a8a4a; }
.case-block-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.case-block-challenge .case-block-label { color: #c07820; }
.case-block-approach .case-block-label { color: #114264; }
.case-block-outcome .case-block-label { color: #1a7a40; }
.case-block p { font-size: 14.5px; line-height: 1.7; margin: 0; color: var(--ink); }
.case-deliverables { margin-bottom: 52px; }
.case-deliverables-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 20px; }
.case-deliverable-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.4; }
.case-deliverable-item::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; }
.case-milestones { margin-bottom: 52px; }
.case-milestones-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 20px; }
.case-milestone { background: var(--paper); padding: 20px 18px; }
.case-milestone-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 8px; }
.case-milestone-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.case-milestone-weeks { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.case-sidebar { position: sticky; top: 100px; }
.case-details-card { background: #0d1e2c; border-radius: 12px; overflow: hidden; }
.case-details-header { background: var(--accent); padding: 14px 22px; }
.case-details-header h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin: 0; }
.case-details-body { padding: 4px 0; }
.case-details-row { display: flex; flex-direction: column; gap: 3px; padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.case-details-row:last-child { border-bottom: none; }
.case-details-key { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.case-details-val { font-size: 14px; font-weight: 600; color: #fff; }
.case-details-outcome { padding: 18px 22px; background: rgba(28,147,167,0.12); border-top: 1px solid rgba(28,147,167,0.2); }
.case-details-outcome-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; }
.case-details-outcome-text { font-size: 13.5px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.case-consult-btn { display: block; margin: 18px 22px 22px; padding: 13px 20px; background: var(--gold); color: #fff; border-radius: 8px; text-align: center; font-size: 13px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.case-consult-btn:hover { background: var(--gold-2); color: #fff; }
.case-nav { border-top: 1px solid var(--line); padding: 32px 0; }
.case-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.case-nav-link { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 12px 0; transition: gap 0.2s; }
.case-nav-link:hover { gap: 16px; }
.case-nav-dir { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.case-nav-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.case-nav-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; }
.case-nav-link:hover .case-nav-arrow { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.case-nav-center { display: flex; gap: 6px; }
.case-nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background 0.2s; }
.case-nav-dot.active { background: var(--accent); }
.article-content { font-size: 15px; line-height: 1.75; color: var(--text-2); }
.article-content h2, .article-content h3 { color: var(--ink); margin: 2em 0 0.6em; }
@media (max-width: 900px) {
  .case-layout { grid-template-columns: 1fr; }
  .case-sidebar { position: static; }
  .case-milestones-row { grid-template-columns: 1fr 1fr; }
  .case-deliverables-grid { grid-template-columns: 1fr; }
}

/* ── FIRM TIMELINE ──────────────────── */
.timeline-section { padding: var(--section-y) 0; background: var(--paper-2); }
.firm-timeline { position: relative; margin-top: 72px; }
.firm-timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--line);
  transform: translateX(-50%);
}
.firm-timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  min-height: 260px;
}
.firm-timeline-dot { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.firm-timeline-dot-inner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); background: var(--paper-2); }
.firm-timeline-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 28px 28px 24px; }
.firm-timeline-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 10px; }
.firm-timeline-title { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.015em; }
.firm-timeline-body { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.firm-timeline-year { font-family: var(--sans); font-size: 56px; font-weight: 800; color: var(--line-strong); letter-spacing: -0.03em; opacity: 0.6; }
.firm-timeline-item.odd .firm-timeline-card { margin-right: 32px; }
.firm-timeline-item.odd .firm-timeline-year { margin-left: 32px; text-align: left; }
.firm-timeline-item.even .firm-timeline-card { margin-left: 32px; order: 3; }
.firm-timeline-item.even .firm-timeline-dot { order: 2; }
.firm-timeline-item.even .firm-timeline-year { order: 1; margin-right: 32px; text-align: right; }
@media (max-width: 840px) {
  .firm-timeline::before { left: 20px; }
  .firm-timeline-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .firm-timeline-item.odd .firm-timeline-card,
  .firm-timeline-item.even .firm-timeline-card { margin: 0; order: 2; }
  .firm-timeline-item.even .firm-timeline-dot { order: 1; }
  .firm-timeline-year { display: none; }
}

/* ── TEAM ───────────────────────────── */
.team-section { padding: var(--section-y) 0; background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.team-member { background: var(--paper); padding: 32px; display: flex; gap: 20px; transition: background 0.2s; }
.team-member:hover { background: var(--paper-2); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0.05em; flex-shrink: 0; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-name { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.015em; }
.team-role { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--text-2); line-height: 1.55; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* ── CONTACT ────────────────────────── */
.contact-section { padding: var(--section-y) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { font-family: var(--sans); font-size: 15px; color: var(--ink); padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; transition: border-color 0.2s, background 0.2s; width: 100%; outline: none; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ink); background: var(--paper-2); }
.form-field--error input, .form-field--error select, .form-field--error textarea { border-color: #c0392b !important; }
.form-field--error label { color: #c0392b; }
.field-error { font-size: 12px; color: #c0392b; margin-top: 4px; }
.form-status { font-size: 14px; margin-top: 12px; padding: 12px 16px; border-radius: 3px; }
.form-status--error { background: #fdf2f2; color: #c0392b; border: 1px solid #f5c6c6; }
.form-status--success { background: #f0faf4; color: #1a7f3c; border: 1px solid #bbdfc8; }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0; text-align: center; }
.form-success p { font-size: 16px; color: var(--ink); }
.form-submit { margin-top: 12px; align-self: flex-start; }
.form-disclaimer { font-size: 12px; color: var(--muted); margin-top: 8px; max-width: 60ch; line-height: 1.5; }
.form-sent { padding: 48px 32px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.form-sent-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.form-sent-icon svg { width: 28px; height: 28px; stroke-width: 2; }
.form-sent h3 { font-family: var(--sans); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.02em; }
.form-sent p { font-size: 15px; color: var(--text-2); max-width: 40ch; margin: 0 auto; }
.contact-side { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 120px; }
.contact-side-block { padding: 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; }
.contact-channels { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.contact-channel { display: flex; align-items: center; gap: 16px; padding: 14px 12px; margin: 0 -12px; border-radius: 3px; transition: background 0.2s; color: var(--ink); }
.contact-channel:hover { background: var(--paper); }
.contact-channel svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.contact-channel-label { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-channel-value { font-size: 14px; font-weight: 500; color: var(--ink); }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } .contact-side { position: static; } }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }


/* ── INSIGHTS NEWSLETTER BAR ─────────── */
.insights-newsletter-bar { background: rgba(28,147,167,0.08); padding: 40px 0 48px; }
.insights-newsletter-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: #fff; border: 1px solid rgba(28,147,167,0.2); border-radius: 16px;
  padding: 28px 36px; box-shadow: 0 4px 24px rgba(28,147,167,0.08);
}
.insights-newsletter-copy { flex-shrink: 0; max-width: 480px; }
.insights-newsletter-title { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.025em; margin: 0 0 6px; line-height: 1.2; }
.insights-newsletter-sub { font-size: 14px; color: var(--text-2); line-height: 1.55; margin: 0; }
.insights-newsletter-right { display: flex; flex-direction: column; gap: 10px; flex: 1; max-width: 560px; }
.insights-newsletter-form {
  display: flex; align-items: center; flex: 1; max-width: 560px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 6px 6px 6px 24px; gap: 8px;
}
.insights-newsletter-input { flex: 1; background: transparent; border: none; outline: none; font-size: 15px; color: var(--ink); font-family: var(--sans); min-width: 0; }
.insights-newsletter-input::placeholder { color: var(--muted); }
.insights-newsletter-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
  border: none; border-radius: 4px; padding: 11px 22px;
  cursor: pointer; white-space: nowrap; transition: background 0.2s; flex-shrink: 0; letter-spacing: -0.01em;
}
.insights-newsletter-btn:hover { background: #158092; }
.insights-newsletter-btn-arrow {
  width: 30px; height: 30px; background: rgba(0,0,0,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.insights-newsletter-btn-arrow svg { width: 13px; height: 13px; color: #fff; }
.insights-newsletter-consent { display: flex; align-items: center; gap: 8px; padding-left: 4px; }
.insights-newsletter-consent input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.insights-newsletter-consent label { font-size: 12px; color: var(--text-2); cursor: pointer; }
.insights-newsletter-consent label a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Form wrapper inherits column layout */
.insights-newsletter-right .newsletter-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }

/* Inline error states on white background */
.insights-newsletter-form.footer-form-input-row--error { border-color: #c0392b; }
.insights-newsletter-consent.footer-consent--error label { color: #c0392b; }
.insights-newsletter-consent .field-error { color: #c0392b; font-size: 11px; margin-top: 2px; }
.insights-newsletter-form ~ .field-error { font-size: 12px; color: #c0392b; padding-left: 4px; }
#insights-subscribe-status.form-status--error { font-size: 12px; color: #c0392b; padding-left: 4px; }

/* Success state on white card background */
.newsletter-form[data-source="insights"] .newsletter-success { color: var(--accent); font-size: 15px; font-weight: 600; padding: 8px 4px; }

@media (max-width: 900px) {
  .insights-newsletter-wrap { flex-direction: column; align-items: stretch; gap: 24px; padding: 24px; }
  .insights-newsletter-right, .insights-newsletter-form, .insights-newsletter-copy { max-width: 100%; }
}

/* ── INSIGHTS INDEX ─────────────────── */
.insights-index-section { padding: calc(var(--section-y) + 28px) 0 var(--section-y); background: var(--paper); }
.insights-filters { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.insights-filter { display: inline-flex; align-items: center; gap: 8px; padding: 18px 28px 18px 0; margin-right: 32px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s; white-space: nowrap; cursor: pointer; }
.insights-filter:hover { color: var(--ink); }
.insights-filter.active { color: var(--ink); border-bottom-color: var(--accent); }
.insights-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }

/* Card reset for index layout — borderless, no internal padding */
.insights-list-grid .insight-card {
  padding: 0; border: none; background: transparent;
  position: relative; transition: transform 0.3s var(--ease);
}
.insights-list-grid .insight-card:hover { transform: translateY(-4px); }
.insights-list-grid .insight-card-img {
  aspect-ratio: 16 / 10; margin-bottom: 20px;
  border: 1px solid var(--line); border-radius: 2px;
}
.insights-list-grid .insight-card-meta { padding: 0; margin-bottom: 12px; }
.insights-list-grid .insight-card-title {
  font-size: 20px; line-height: 1.25; padding: 0; margin-bottom: 10px;
}
.insights-list-grid .insight-card-title a { color: var(--ink); text-decoration: none; }
.insights-list-grid .insight-card-title a:hover { color: var(--accent); }
/* Stretched link — title <a>::after covers the whole card */
.insights-list-grid .insight-card-title a::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
}
.insights-list-grid .insight-card-excerpt { padding: 0; }
/* Category tag as link — sits above stretched overlay */
.insights-list-grid .insight-card-tag {
  color: var(--accent); text-decoration: none;
  position: relative; z-index: 1;
}
.insights-list-grid .insight-card-tag:hover { text-decoration: underline; }
/* Bottom meta row */
.insights-list-grid .insight-card-foot {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--muted);
}

@media (max-width: 1200px) { .insights-list-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .insights-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .insights-list-grid { grid-template-columns: 1fr; } }

/* ── RELATED INSIGHTS (single article page) ─────────────────────────────── */

.insight-related-section {
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
}
.insight-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.insight-related-header-left { display: flex; flex-direction: column; gap: 10px; }
.insight-related-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.insight-related-title em { color: var(--accent); font-style: normal; }

/* Force 3 columns regardless of viewport (override 4-col default) */
.insights-related-grid { grid-template-columns: repeat(3, 1fr) !important; }

@media (max-width: 900px)  { .insights-related-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px)  { .insights-related-grid { grid-template-columns: 1fr !important; } }

@media (max-width: 600px) {
  .insight-related-header { flex-direction: column; align-items: flex-start; }
  .insight-related-title { font-size: 22px; }
}

.insights-featured { margin-bottom: 80px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; padding-bottom: 80px; border-bottom: 1px solid var(--line); }
.insights-featured-img { aspect-ratio: 4 / 3; background: var(--paper-2); position: relative; overflow: hidden; border: 1px solid var(--line); }
.insights-featured-img::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(28,147,167,0.08) 24px 48px); }
.insights-featured-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; text-decoration: none; }
.insights-featured-tag::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.insights-featured-img-link { display: block; text-decoration: none; }
.insights-featured-img-link:hover .insights-featured-img { opacity: 0.92; }
.insights-featured-title-link { color: inherit; text-decoration: none; }
.insights-featured-title-link:hover { color: var(--accent); }
.insights-featured-title { font-family: var(--sans); font-size: clamp(32px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink); margin-bottom: 20px; }
.insights-featured-excerpt { font-size: 17px; color: var(--text-2); line-height: 1.6; margin-bottom: 28px; max-width: 56ch; }
.insights-featured-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.insights-featured-meta-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
@media (max-width: 1100px) { .insights-featured { grid-template-columns: 1fr; gap: 32px; } }

/* ── ARTICLE / LONGFORM ─────────────── */
.article-hero { background: var(--ink); color: var(--paper); padding: 64px 0 96px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.article-hero .crumb { margin-bottom: 32px; }
.article-tag { display: inline-block; padding: 6px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(28,147,167,0.3); margin-bottom: 24px; }
.article-title { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; color: var(--paper); margin-bottom: 32px; max-width: 22ch; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.65); }
.article-meta-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 50%; }
.article-author { display: flex; align-items: center; gap: 12px; }
.article-author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
.article-author-name { color: var(--paper); font-weight: 500; }

.article-body { padding: 96px 0 var(--section-y); background: var(--paper); }
.article-grid { display: grid; grid-template-columns: 200px minmax(0, 720px) 200px; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.article-toc { position: sticky; top: 120px; align-self: start; grid-column: 1; }
/* Always sit in the centre column even when the TOC aside is absent */
.article-content { grid-column: 2; }
.article-toc-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.article-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); padding-left: 20px; }
.article-toc-list a { font-size: 13px; color: var(--text-2); text-decoration: none; transition: color 0.2s; line-height: 1.45; }
.article-toc-list a:hover { color: var(--gold); }
.article-sidenote { position: sticky; top: 120px; align-self: start; }
.article-sidenote-block { padding: 20px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 16px; }
.article-sidenote-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.article-sidenote-body { font-size: 12px; color: var(--text-2); line-height: 1.5; }

.article-content { max-width: 720px; }
.article-lede { font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 40px; font-weight: 500; letter-spacing: -0.01em; }
.article-content h2 { font-family: var(--sans); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 56px 0 16px; }
.article-content h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 40px 0 12px; }
.article-content p { font-size: 17px; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.article-content p + p { margin-top: 0; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 24px; }
.article-content li { font-size: 17px; line-height: 1.65; color: var(--text); margin-bottom: 8px; }
.article-content strong { color: var(--ink); font-weight: 700; }
.article-content blockquote { margin: 32px 0; padding: 24px 32px; background: var(--paper-2); border-left: 3px solid var(--accent); font-size: 19px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.article-content blockquote cite { display: block; margin-top: 12px; font-size: 13px; font-weight: 400; font-style: normal; color: var(--muted); letter-spacing: 0.04em; }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.article-pull-quote { font-family: var(--sans); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #fff; margin: 0; padding: 32px 0; border-top: 2px solid rgba(255,255,255,0.25); border-bottom: 1px solid rgba(255,255,255,0.15); }
.article-pull-quote cite { display: block; margin-top: 16px; font-size: 14px; font-weight: 500; font-style: normal; letter-spacing: 0.04em; color: var(--gold); }
@media (max-width: 1100px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .article-toc, .article-sidenote { display: none; }
  .article-content { grid-column: 1; }
}

.article-foot { padding: 56px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.article-foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.article-share { display: flex; align-items: center; gap: 16px; }
.article-share-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.article-share-btn { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: all 0.2s; background: var(--paper); }
.article-share-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.article-share-btn svg { width: 16px; height: 16px; stroke-width: 1.5; }
.article-nav { display: flex; gap: 24px; align-items: center; font-size: 13px; }
.article-nav a { color: var(--ink); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.article-nav a:hover { color: var(--gold); }

/* ── FAQ INDEX ──────────────────────── */
.faq-index-section { padding: var(--section-y) 0; background: var(--paper); }
.faq-groups { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.faq-toc { position: sticky; top: 120px; }
.faq-toc-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.faq-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.faq-toc-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 14px; color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line); transition: color 0.2s; }
.faq-toc-list a:hover { color: var(--gold); }
.faq-toc-count { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); padding: 2px 8px; background: var(--paper-2); border-radius: 999px; }
.faq-group { margin-bottom: 64px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-heading { font-family: var(--sans); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.faq-group-sub { font-size: 15px; color: var(--text-2); margin-bottom: 32px; max-width: 60ch; }
@media (max-width: 1100px) { .faq-groups { grid-template-columns: 1fr; gap: 32px; } .faq-toc { position: static; } }

/* ── DELIVERABLES (service pages) ───── */
.deliverables-section {
  padding: var(--section-y) 0;
  background: linear-gradient(rgba(21,34,71,0.30), rgba(21,34,71,0.30)), url('../images/GSS-Legal-concrete-deliverables.png') center center / cover no-repeat;
}
.deliverables-section .eyebrow { color: var(--accent); }
.deliverables-section .h2 { color: #fff; }
.deliverables-section .h2 em { color: var(--accent); font-style: normal; }
.deliverables-section .lede,
.deliverables-section .section-intro-right p { color: rgba(255,255,255,0.70); }
.deliverables-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.deliverable { background: var(--paper); padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; transition: background 0.25s; cursor: default; }
.deliverable:first-child { background: var(--ink); }
.deliverable:hover { background: var(--ink); }
.deliverables-grid:has(.deliverable:hover) .deliverable:first-child:not(:hover) { background: var(--paper); }
.deliverable-icon-wrap { width: 64px; height: 64px; background: #e4f2f4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.25s; }
.deliverable:first-child .deliverable-icon-wrap,
.deliverable:hover .deliverable-icon-wrap { background: rgba(255,255,255,0.14); }
.deliverables-grid:has(.deliverable:hover) .deliverable:first-child:not(:hover) .deliverable-icon-wrap { background: #e4f2f4; }
.deliverable-icon-wrap svg { color: #1C93A7; transition: color 0.25s; }
.deliverable:first-child .deliverable-icon-wrap svg,
.deliverable:hover .deliverable-icon-wrap svg { color: #fff; }
.deliverables-grid:has(.deliverable:hover) .deliverable:first-child:not(:hover) .deliverable-icon-wrap svg { color: #1C93A7; }
.deliverable-title { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); transition: color 0.25s; line-height: 1.3; }
.deliverable:first-child .deliverable-title,
.deliverable:hover .deliverable-title { color: var(--paper); }
.deliverables-grid:has(.deliverable:hover) .deliverable:first-child:not(:hover) .deliverable-title { color: var(--ink); }
.deliverable-body { font-size: 14px; color: var(--text-2); line-height: 1.65; transition: color 0.25s; }
.deliverable:first-child .deliverable-body,
.deliverable:hover .deliverable-body { color: rgba(255,255,255,0.72); }
.deliverables-grid:has(.deliverable:hover) .deliverable:first-child:not(:hover) .deliverable-body { color: var(--text-2); }
@media (max-width: 960px) { .deliverables-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .deliverables-grid { grid-template-columns: 1fr; } }

/* ── STICKY PROCESS (jurisdiction timeline) ─ */
.sticky-process { padding: var(--section-y) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.sticky-process-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.sticky-process-head h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; margin: 16px 0 0; }
.sticky-process-head h2 em { font-style: normal; color: var(--accent); }

/* ── PHASE GRID (engagement timeline – service pages) ─ */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.phase-card { background: var(--paper); padding: 32px 24px; display: flex; flex-direction: column; }
.phase-card-title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 28px; }
.phase-card-icon-wrap { width: 72px; height: 72px; background: #e4f2f4; display: flex; align-items: center; justify-content: center; color: #1C93A7; margin-bottom: 28px; }
.phase-card-weeks { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; }
.phase-card-body { font-size: 14px; color: var(--text-2); line-height: 1.65; margin: 0; }
@media (max-width: 960px) { .phase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .phase-grid { grid-template-columns: 1fr; } }


/* ── BRAND LOGO (colored icon + wordmark) ─────── */
.nav-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-icon { display: inline-flex; align-items: center; width: 44px; height: 44px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.nav-logo-icon svg { width: 100%; height: 100%; display: block; }
.nav-logo:hover .nav-logo-icon { transform: scale(1.04); }
.site-header.scrolled .nav-logo-icon { width: 36px; height: 36px; }

/* Legacy .nav-logo-mark (kept for safety; footer still uses it on dark bg) */
.nav-logo-mark { display: inline-flex; align-items: center; color: var(--ink); transition: color 0.2s; }
.nav-logo-mark svg { height: 36px; width: auto; display: block; }
.site-header.scrolled .nav-logo-mark svg { height: 32px; }
.nav-logo:hover .nav-logo-mark { color: var(--gold); }

.footer-brand-mark { display: block; color: #fff; margin-bottom: 24px; max-width: 200px; }
.footer-brand-mark svg { height: 44px; width: auto; max-width: 100%; display: block; }


/* ── BRAND LOGO IMG (full color SVG lockup) ─── */
.nav-logo-img { display: block; height: 52px; width: auto; transition: opacity 0.2s; }
.site-header.scrolled .nav-logo-img { height: 44px; }
.nav-logo:hover .nav-logo-img { opacity: 0.85; }


/* ── SERVICE CARD background cover fix ──────────────────── */
.service-card { background-size: cover; background-position: center; }


/* ── JURISDICTIONS ARCHIVE HERO ─────────────────────────── */
.juris-page-hero {
  position: relative;
  background:
    linear-gradient(to right, rgba(10,22,40,1) 0%, rgba(10,22,40,0.95) 38%, rgba(10,22,40,0.45) 65%, rgba(10,22,40,0.25) 100%),
    url('../images/GSS-Legal-Homepage-Main-Banner.png') center center / cover no-repeat,
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 120px 0 80px;
}
.juris-page-hero-glow {
  position: absolute; top: -10%; right: -5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(28,147,167,0.18) 0%, transparent 60%);
  pointer-events: none; filter: blur(20px);
}
.juris-page-hero .eyebrow { color: var(--gold); }
.juris-page-hero h1 {
  font-size: clamp(40px, 5vw, 64px); font-weight: 700;
  letter-spacing: -0.03em; color: #fff; margin-top: 16px; line-height: 1.05;
}
.juris-page-hero h1 em { color: var(--accent); font-style: normal; }
.juris-page-hero .hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.70);
  line-height: 1.65; margin-top: 20px; max-width: 560px;
}
.juris-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.juris-stat-val { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.juris-stat-val em { color: var(--accent); font-style: normal; }
.juris-stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }
@media (max-width: 640px) { .juris-stats { gap: 28px; } }


/* ── OFFICES SIDEBAR LAYOUT (archive-jurisdiction) ───────── */
.offices-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  margin-top: 40px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.offices-layout .offices-strip {
  display: flex; flex-direction: column;
  background: var(--ink);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.offices-strip-card {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.2s;
}
.offices-strip-card:last-child { border-bottom: none; }
.offices-strip-card:hover { background: rgba(255,255,255,0.04); }
.offices-strip-card.active {
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--accent);
  padding-left: 17px;
}
.offices-layout .office-card-flag { font-size: 24px; margin-bottom: 10px; }
.offices-layout .office-card-city {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: #fff; line-height: 1.1;
}
.offices-layout .office-card-country { color: rgba(255,255,255,0.45); margin-top: 4px; }
.offices-layout .office-card-status { color: var(--gold); margin-top: 6px; }
.offices-layout .office-card-status::before { background: var(--gold); box-shadow: none; }
.offices-map-wrap { overflow: hidden; min-height: 300px; }
.offices-map-wrap iframe { width: 100%; height: 100%; min-height: 300px; border: none; display: block; }
@media (max-width: 720px) {
  .offices-layout { grid-template-columns: 1fr; }
  .offices-layout .offices-strip { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .offices-strip-card { min-width: 140px; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: none; }
  .offices-strip-card.active { border-left: none; border-top: 3px solid var(--accent); padding-left: 20px; padding-top: 21px; }
  .offices-map-wrap { min-height: 240px; }
}


/* ── SJ-GRID / SJ-CARD (service page jurisdiction cards) ─── */
.sj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden; margin-top: 40px;
}
.sj-card {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px;
  background-size: cover; background-position: center;
  background-color: #1a2d3e;
  transition: transform 0.25s;
}
.sj-card:hover { transform: translateY(-4px); }
.sj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.72) 100%);
  z-index: 0; pointer-events: none;
}
.sj-card > * { position: relative; z-index: 1; }
.sj-status {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.sj-status.live { color: #4ade80; }
.sj-status.live::before { content: ""; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
.sj-body { display: flex; flex-direction: column; gap: 4px; }
.sj-name { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.sj-lic {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65); text-transform: uppercase; margin-bottom: 12px;
}
.sj-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2);
}
.sj-tl-lbl {
  display: block; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 2px;
}
.sj-tl { font-size: 13px; font-weight: 600; color: #fff; }
.sj-arr {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f99c1c; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.sj-arr svg { width: 12px; height: 12px; color: #fff; }
@media (max-width: 900px) { .sj-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── LEGAL PAGES (Privacy, Terms, Cookies, Disclosures) ──────────────────── */
.legal-section { padding: 80px 0 120px; background: var(--paper); }

.legal-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
}

.legal-toc {
  position: sticky;
  top: 100px;
}
.legal-toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.legal-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-toc-nav a {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
  transition: color 0.2s;
}
.legal-toc-nav a:hover { color: var(--gold); }

.legal-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}

.legal-block {
  margin-bottom: 48px;
  padding-top: 8px;
}
.legal-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-block p + p { margin-top: 16px; }
.legal-block ul {
  margin-top: 12px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-block a { color: var(--gold); }
.legal-block a:hover { text-decoration: underline; }

/* Cookie table */
.legal-table-wrap { overflow-x: auto; margin-top: 8px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.legal-table thead tr { background: var(--paper-2); text-align: left; }
.legal-table th {
  padding: 10px 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal-table td:first-child { font-family: monospace; font-size: 12px; color: var(--ink); white-space: nowrap; }
.legal-table code { font-family: monospace; font-size: 12px; color: var(--ink); }

@media (max-width: 768px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc { position: static; }
}
@media (max-width: 600px) { .sj-grid { grid-template-columns: 1fr; } }
