/* ============================================================
   CryptoFinders — Consulting Detectives, London
   Aged-paper / private-inquiry aesthetic
   ============================================================ */

:root {
  --paper:        #f6f1e6;
  --paper-deep:   #ece5d2;
  --card:         #fdfbf4;
  --card-edge:    #e0d7bf;
  --ink:          #1a241f;
  --ink-soft:     #454f47;
  --ink-faint:    #6d766c;
  --red:          #9c2b2b;
  --red-deep:     #7d1f1f;
  --brass:        #a07f2c;
  --brass-bright: #c9a952;
  --dark:         #14201b;
  --dark-2:       #1b2a23;
  --dark-line:    rgba(201, 169, 82, 0.2);
  --line:         rgba(26, 36, 31, 0.16);
  --line-soft:    rgba(26, 36, 31, 0.09);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-type:    "Fragment Mono", "Courier New", monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --shadow-soft: 0 1px 2px rgba(26, 36, 31, 0.05), 0 16px 40px -18px rgba(26, 36, 31, 0.22);
  --shadow-lift: 0 2px 4px rgba(26, 36, 31, 0.06), 0 28px 56px -22px rgba(26, 36, 31, 0.3);

  --shell: 1260px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(255, 249, 226, 0.55), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 32px; }
.shell-narrow { max-width: 920px; }

::selection { background: var(--red); color: var(--card); }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.008em; }

.eyebrow {
  font-family: var(--font-type);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); flex: none; }

.section-dark .eyebrow { color: var(--brass-bright); }
.section-dark .eyebrow::before { background: var(--brass-bright); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 28px;
  border: 1.5px solid var(--dark);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-dark { background: var(--dark); color: var(--card); box-shadow: 0 10px 24px -12px rgba(20, 32, 27, 0.55); }
.btn-dark:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(125, 31, 31, 0.5); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(26, 36, 31, 0.05); border-color: var(--ink); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(26, 36, 31, 0.28); background: color-mix(in srgb, var(--paper) 85%, transparent); }

.header-inner { display: flex; align-items: center; gap: 34px; height: 84px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-glass { width: 31px; height: 31px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.1; }
.brand-tag { font-family: var(--font-type); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.brand-light { color: var(--card); }
.brand-light .brand-tag { color: var(--brass-bright); }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15.5px;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--red);
  transition: right 0.3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }

.header-cta { padding: 11px 20px; font-size: 14.5px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s var(--ease); }

/* ---------- hero ---------- */

.hero { padding: 90px 0 70px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 70px;
  align-items: center;
}

.hero-title { font-size: clamp(44px, 5.6vw, 72px); margin-bottom: 30px; }
.hero-title > span { display: block; }
.hero-title-accent { font-style: italic; color: var(--red); }

.lede { font-size: 19px; color: var(--ink-soft); max-width: 54ch; margin-bottom: 34px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-assurances { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; font-size: 14px; color: var(--ink-faint); }
.hero-assurances li { display: flex; align-items: center; gap: 9px; }
.hero-assurances li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* case-file exhibit */

.hero-exhibit { position: relative; }

.case-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  padding: 34px 36px 26px;
  transform: rotate(1.2deg);
  box-shadow: var(--shadow-lift);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.case-tab {
  position: absolute;
  top: -16px; left: 26px;
  background: var(--red);
  color: var(--card);
  font-family: var(--font-type);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  transform: rotate(-1.2deg);
  box-shadow: 0 6px 16px -6px rgba(125, 31, 31, 0.5);
}

.case-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-type);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.case-batch { color: var(--ink-faint); font-weight: 400; }

.case-rule { border-top: 1.5px dashed var(--card-edge); }

.case-rows { list-style: none; padding: 6px 0; }
.case-row {
  display: grid;
  grid-template-columns: 1fr 44px 110px 76px;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  font-family: var(--font-type);
  font-size: 14.5px;
}
.case-row + .case-row { border-top: 1px solid var(--line-soft); }

.redact {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--dark), var(--dark) 4px, #2c3d34 4px, #2c3d34 8px);
  border-radius: 2px;
}

.case-state { color: var(--ink-faint); }
.case-amt { text-align: right; font-weight: 700; }

.stamp {
  font-family: var(--font-type);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 3px;
  padding: 3px 8px;
  text-align: center;
  transform: rotate(-4deg);
  opacity: 0.9;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='6' intercept='-1.1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='40' fill='%23fff'/%3E%3Crect width='120' height='40' filter='url(%23r)' opacity='0.5'/%3E%3C/svg%3E");
}
.case-row .stamp { justify-self: end; }
.s2 { transform: rotate(3deg); }
.s3 { transform: rotate(-2deg); }
.s4 { transform: rotate(5deg); }

.case-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  font-family: var(--font-type);
  font-size: 11.5px;
  color: var(--ink-faint);
  font-style: italic;
}

/* docket band */

.docket {
  margin-top: 84px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.docket > div { padding: 30px 32px; }
.docket > div + div { border-left: 1px solid var(--line-soft); }

.docket-label {
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16.5px;
}
.docket-label svg { width: 26px; height: 26px; color: var(--brass); flex: none; }

.docket-stat strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 400; line-height: 1.15; }
.docket-stat span { font-size: 13.5px; color: var(--ink-faint); }

/* ---------- sections ---------- */

.section { padding: 110px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 20px; }
.section-lede { color: var(--ink-soft); font-size: 17.5px; }

.section-dark { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--card); position: relative; }
.section-dark::before, .section-dark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-bright) 50%, transparent);
  opacity: 0.45;
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }
.section-dark .section-lede { color: #b8c2b3; }

/* ---------- search desk ---------- */

.search-desk {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-soft);
}

.search-form { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; }
.search-form .grow { flex: 1 1 320px; }
.search-form .field:not(.grow) { flex: 0 1 300px; }
.search-btn { flex: none; padding: 13px 30px; }

.field label {
  display: block;
  font-family: var(--font-type);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}

.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--card-edge);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a8a18a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(156, 43, 43, 0.1);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23182620' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.field input.is-error, .field select.is-error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(140, 33, 33, 0.15); }

.search-hint {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

/* results */

.search-results { margin-top: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.search-results .result-table { min-width: 560px; }

.result-count {
  font-family: var(--font-type);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 22px 0 10px;
}

.result-table { width: 100%; border-collapse: collapse; font-family: var(--font-type); font-size: 14.5px; }
.result-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1.5px dashed var(--card-edge);
}
.result-table td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.result-table tr.result-row { animation: rowIn 0.45s var(--ease) both; }
.result-table .r-amount { font-weight: 700; white-space: nowrap; }
.result-table .r-status .stamp { font-size: 10.5px; padding: 2px 7px; display: inline-block; }
.result-note { font-size: 12px; color: var(--ink-faint); font-style: italic; }

@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.result-empty {
  margin-top: 22px;
  border: 1.5px dashed var(--card-edge);
  border-radius: var(--r-md);
  padding: 30px;
  text-align: center;
  color: var(--ink-faint);
}
.result-empty strong { font-style: normal; color: var(--ink); }

/* ---------- method ---------- */

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border: 1px solid var(--card-edge); border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-soft); }
.method-card { padding: 44px 40px 48px; position: relative; }
.method-card + .method-card { border-left: 1px solid var(--line-soft); }
.method-no { font-family: var(--font-type); font-weight: 700; color: var(--red); font-size: 15px; letter-spacing: 0.1em; display: block; margin-bottom: 18px; }
.method-card h3 { font-size: 25px; margin-bottom: 14px; }
.method-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- territories ---------- */

.territory-chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 1100px; }
.chip {
  font-family: var(--font-type);
  font-size: 13px;
  padding: 10px 20px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: #cdd4c6;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease), background 0.25s;
  cursor: default;
}
.chip:hover { background: rgba(255, 255, 255, 0.06); }
.chip:hover { border-color: var(--brass-bright); color: var(--card); transform: translateY(-2px); }
.chip-hot { border-color: var(--brass); color: var(--brass-bright); }
.chip-more { border-style: dashed; color: #96a08f; }

/* ---------- wizard ---------- */

.wizard {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.wizard-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--card-edge); }
.wizard-tab {
  font-family: var(--font-type);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 20px 18px;
  border: none;
  background: var(--paper-deep);
  color: var(--ink-faint);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.25s, color 0.25s;
}
.wizard-tab + .wizard-tab { border-left: 1px solid var(--card-edge); }
.wizard-tab.is-active { background: var(--card); color: var(--ink); }
.wizard-tab.is-done { color: var(--ink-soft); }
.tab-no {
  width: 24px; height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  flex: none;
}
.wizard-tab.is-done .tab-no { background: var(--dark); border-color: var(--dark); color: var(--card); }

.wizard-step { display: none; border: none; padding: 40px 44px 44px; }
.wizard-step.is-active { display: block; animation: stepIn 0.4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.form-grid .span2 { grid-column: span 2; }
.form-grid + .wizard-nav { margin-top: 34px; }

.wizard-note { font-size: 15px; color: var(--ink-soft); font-style: italic; margin-bottom: 26px; max-width: 68ch; }

.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.evidence {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--card-edge);
  border-radius: var(--r-md);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.evidence:hover { border-color: var(--brass); }
.evidence:has(input:checked) { border-color: var(--red); background: #fdf6ea; box-shadow: inset 0 0 0 1px var(--red); }
.evidence input { accent-color: var(--red); margin-top: 3px; flex: none; }
.evidence strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-soft); }

/* review */

.review-sheet { border: 1px solid var(--card-edge); border-radius: var(--r-md); padding: 28px 32px; margin-bottom: 26px; background: #ffffff; }
.review-sheet h4 {
  font-family: var(--font-type);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 18px 0 8px;
}
.review-sheet h4:first-child { margin-top: 0; }
.review-sheet dl { display: grid; grid-template-columns: 220px 1fr; gap: 6px 20px; font-size: 15px; }
.review-sheet dt { color: var(--ink-faint); font-style: italic; }
.review-sheet dd { color: var(--ink); }

.consent { display: flex; gap: 14px; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.consent input { accent-color: var(--red); margin-top: 4px; flex: none; }

.wizard-success { text-align: center; padding: 70px 44px; }
.wizard-success[hidden] { display: none; }
.stamp-lg { display: inline-block; font-size: 20px; padding: 10px 24px; border-width: 3px; margin-bottom: 26px; transform: rotate(-6deg); animation: stampIn 0.45s var(--ease) both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-6deg) scale(1.8); } to { opacity: 0.9; transform: rotate(-6deg) scale(1); } }
.wizard-success h3 { font-size: 30px; margin-bottom: 14px; }
.wizard-success p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto; }

/* ---------- casebook ---------- */

.casebook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.case-note {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.case-note:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.case-note-head {
  background: var(--dark);
  color: var(--card);
  font-family: var(--font-type);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 26px;
}
.case-note-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-note h3 { font-size: 21.5px; margin-bottom: 10px; }
.filed { font-family: var(--font-type); font-size: 11.5px; color: var(--ink-faint); margin-bottom: 14px; }
.case-note-body > p:not(.filed) { font-size: 15px; color: var(--ink-soft); flex: 1; }

.text-link {
  margin-top: 20px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link .arrow { transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- trust ---------- */

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.trust-item { padding: 36px 40px; border-bottom: 1px solid var(--dark-line); }
.trust-item:nth-child(odd) { border-right: 1px solid var(--dark-line); }
.trust-item:nth-last-child(-n+2) { border-bottom: none; }
.trust-item h3 { font-size: 21px; margin-bottom: 12px; color: var(--card); }
.silcrow { color: var(--brass-bright); margin-right: 6px; }
.trust-item p { color: #b8c2b3; font-size: 15px; }

/* ---------- faq ---------- */

.faq-list { border-top: 1.5px solid var(--line); }

.faq { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 21px;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }

.faq-mark { position: relative; width: 16px; height: 16px; flex: none; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform 0.3s var(--ease);
}
.faq-mark::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq-mark::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq[open] .faq-mark::after { transform: scaleY(0); }

.faq-body { padding: 0 4px 28px; max-width: 72ch; }
.faq-body p { color: var(--ink-soft); font-size: 16px; }
.faq[open] .faq-body { animation: stepIn 0.35s var(--ease); }

/* ---------- footer ---------- */

.site-footer { background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%); color: #b8c2b3; padding: 80px 0 40px; position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-bright) 50%, transparent);
  opacity: 0.45;
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 54px; }
.footer-brand p { font-size: 14px; margin-top: 20px; max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-type);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 18px;
}
.footer-col a { display: block; color: #cdd4c6; text-decoration: none; font-size: 15px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--card); }
.footer-col p { font-size: 15px; line-height: 1.9; }

.footer-legal {
  border-top: 1px solid var(--dark-line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 13px;
  color: #96a08f;
}
.footer-legal p:first-child { max-width: 76ch; }
.footer-copy { flex: none; }

/* ---------- reveal animations ---------- */

.reveal, .reveal-r {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-r { transform: translateY(26px) rotate(1.4deg); }
.reveal.is-in, .reveal-r.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }
.d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-r { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- article pages (casebook & legal) ---------- */

.article-main { padding: 80px 0 110px; }

.article-head { margin-bottom: 46px; }
.article-file {
  display: inline-block;
  background: var(--red);
  color: var(--card);
  font-family: var(--font-type);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  transform: rotate(-1.2deg);
  box-shadow: 0 6px 16px -6px rgba(125, 31, 31, 0.5);
  margin-bottom: 26px;
}
.article-head h1 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 18px; }
.article-head .filed { font-family: var(--font-type); font-size: 12.5px; color: var(--ink-faint); }

.article-body { font-size: 17.5px; color: var(--ink-soft); }
.article-body > p { margin-bottom: 24px; max-width: 70ch; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.82;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--ink);
}
.article-body h2 {
  font-size: 27px;
  color: var(--ink);
  margin: 44px 0 18px;
}
.article-body strong { color: var(--ink); }

.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 6px 0 6px 28px;
  margin: 36px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 23px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 60ch;
}

.exhibit {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-md);
  padding: 28px 32px;
  margin: 36px 0;
  box-shadow: var(--shadow-soft);
}
.exhibit h4 {
  font-family: var(--font-type);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.exhibit p, .exhibit li { font-size: 15.5px; }
.exhibit ul, .exhibit ol { padding-left: 22px; margin-top: 6px; }
.exhibit li { margin-bottom: 8px; }
.exhibit p + p { margin-top: 12px; }

.article-cta {
  margin-top: 60px;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--card);
  border-radius: var(--r-lg);
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-bright) 50%, transparent);
  opacity: 0.5;
}
.article-cta h3 { font-size: 26px; margin-bottom: 12px; }
.article-cta p { color: #b8c2b3; margin-bottom: 24px; max-width: 60ch; }
.article-cta .btn-dark { background: var(--card); color: var(--dark); border-color: var(--card); box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3); }
.article-cta .btn-dark:hover { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--dark); }

.article-pager {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1.5px solid var(--line);
  padding-top: 30px;
}
.article-pager a {
  text-decoration: none;
  color: var(--ink);
  max-width: 44%;
}
.article-pager .pager-label {
  display: block;
  font-family: var(--font-type);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.article-pager .pager-title { font-family: var(--font-display); font-size: 19px; line-height: 1.3; transition: color 0.2s; }
.article-pager a:hover .pager-title { color: var(--red); }
.pager-next { text-align: right; margin-left: auto; }

.legal-meta { font-family: var(--font-type); font-size: 13px; color: var(--ink-faint); margin-bottom: 34px; }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; max-width: 66ch; }
.article-body li { margin-bottom: 10px; }

@media (max-width: 820px) {
  .article-cta { padding: 32px 26px; }
  .article-pager { flex-direction: column; }
  .article-pager a, .pager-next { max-width: 100%; text-align: left; margin-left: 0; }
}

/* ============================================================
   v3 layer — multi-page structure, motion, artwork
   ============================================================ */

/* page transitions — JS-driven, works in every browser:
   site.js intercepts internal link clicks, plays the exit animation,
   then navigates; the incoming page plays the entrance animation. */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pageOut {
  to { opacity: 0; transform: translateY(-16px); }
}
body { animation: pageIn 0.5s var(--ease); }
html.is-leaving body { animation: pageOut 0.24s var(--ease) forwards; }

@media (prefers-reduced-motion: reduce) {
  body, html.is-leaving body { animation: none; }
}

/* active nav */
.site-nav a.is-active { color: var(--ink); font-weight: 600; }
.site-nav a.is-active::after { right: 0; }

/* page hero (sub-pages) */
.page-hero { padding: 96px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); margin-bottom: 22px; max-width: 20ch; }
.page-hero .lede { margin-bottom: 10px; }

/* hero ambience */
.hero { position: relative; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.hero-blob.b1 { width: 520px; height: 520px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(201, 169, 82, 0.35), transparent 70%); animation: blobDrift 16s ease-in-out infinite alternate; }
.hero-blob.b2 { width: 420px; height: 420px; bottom: -120px; left: -140px; background: radial-gradient(circle, rgba(156, 43, 43, 0.16), transparent 70%); animation: blobDrift 20s ease-in-out infinite alternate-reverse; }
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 40px) scale(1.15); }
}

.dust { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.dust span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  opacity: 0;
  animation: mote 11s linear infinite;
}
@keyframes mote {
  0%   { transform: translateY(30px) scale(0.6); opacity: 0; }
  15%  { opacity: 0.45; }
  85%  { opacity: 0.2; }
  100% { transform: translateY(-140px) scale(1); opacity: 0; }
}

/* hero exhibit sits flat — rotation/tilt blurs text rasterization */
@keyframes cardFloat {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50%      { transform: rotate(1.6deg) translateY(-12px); }
}

/* ledger ticker */
.ticker {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tick 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-type);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9b3a3;
  white-space: nowrap;
}
.ticker-item .t-state { color: var(--brass-bright); }
.ticker-item .t-stamp { color: var(--red); border: 1.5px solid var(--red); border-radius: 3px; padding: 1px 7px; font-weight: 700; font-size: 10.5px; transform: rotate(-3deg); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* radar (territories) */
.radar-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.radar {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.radar svg { width: 100%; height: 100%; display: block; }
.radar-sweep {
  position: absolute; inset: 6.5%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(201, 169, 82, 0.28), transparent 24%);
  animation: sweep 6.5s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 99%, transparent 100%);
  mask-image: radial-gradient(circle, #000 99%, transparent 100%);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-blip {
  position: absolute;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 12px rgba(201, 169, 82, 0.9);
}
.radar-blip::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--brass-bright);
  animation: blip 2.6s ease-out infinite;
}
.radar-blip.r2::after { animation-delay: 0.9s; }
.radar-blip.r3::after { animation-delay: 1.7s; }
@keyframes blip {
  from { transform: scale(0.6); opacity: 0.9; }
  to   { transform: scale(3.4); opacity: 0; }
}
.radar-label {
  position: absolute;
  font-family: var(--font-type);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #96a08f;
  transform: translate(12px, -4px);
  white-space: nowrap;
}

/* case plates (vector artwork) */
.plate { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--dark); }
.case-note .plate-wrap { overflow: hidden; }
.case-note .plate { transition: transform 0.6s var(--ease); }
.case-note:hover .plate { transform: scale(1.05); }

.article-art { max-width: 920px; margin: 0 auto 52px; padding: 0 32px; }
.article-art img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }

/* featured state cards (territories page) */
.state-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.state-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
  padding: 28px 30px;
  color: #cdd4c6;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.state-card:hover { transform: translateY(-5px); border-color: var(--brass); background: rgba(255, 255, 255, 0.06); }
.state-card .sc-state { font-family: var(--font-type); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-bright); }
.state-card h3 { color: var(--card); font-size: 20px; }
.state-card p { font-size: 14.5px; flex: 1; }
.state-card .text-link { color: var(--brass-bright); margin-top: 4px; }

/* home section teasers / CTA band */
.band-cta { margin: 0 0 110px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-head-row .section-head { margin-bottom: 0; }
.see-all { flex: none; margin-bottom: 8px; }

/* stat count-up dignity */
.docket-stat strong { font-variant-numeric: tabular-nums; }

/* reduced motion for v3 */
@media (prefers-reduced-motion: reduce) {
  .case-card, .hero-blob, .dust span, .ticker-track, .radar-sweep, .radar-blip::after { animation: none; }
  body { animation: none; }
}

@media (max-width: 1080px) {
  .radar-wrap { grid-template-columns: 1fr; gap: 48px; }
  .state-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .state-cards { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 64px 0 6px; }
  .article-art { padding: 0 22px; }
}

/* ============================================================
   v4 layer — hero trace console
   ============================================================ */

.hero-exhibit { position: relative; }

/* rotating brass rings behind the console — kept tight to the card */
.exhibit-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.exhibit-rings i {
  position: absolute;
  border: 1.5px dashed rgba(160, 127, 44, 0.28);
  border-radius: 50%;
  animation: ringSpin 50s linear infinite;
}
.exhibit-rings i:nth-child(1) { width: 96%; aspect-ratio: 1; }
.exhibit-rings i:nth-child(2) { width: 78%; aspect-ratio: 1; animation-duration: 70s; animation-direction: reverse; border-color: rgba(160, 127, 44, 0.18); }
.exhibit-rings i:nth-child(3) { display: none; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* stacked-deck layers beneath the console */
.exhibit-back {
  position: absolute;
  left: 20px; right: 20px;
  top: auto; bottom: -12px;
  height: 80px;
  background: color-mix(in srgb, var(--card) 88%, var(--brass) 12%);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  box-shadow: 0 14px 30px -18px rgba(26, 36, 31, 0.35);
  z-index: 1;
}
.exhibit-back::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px;
  bottom: -10px;
  height: 40px;
  background: color-mix(in srgb, var(--card) 76%, var(--brass) 24%);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  z-index: -1;
}

/* the console */
.trace-console {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, #1c2c24 0%, #101b15 100%);
  border: 1px solid rgba(201, 169, 82, 0.28);
  border-radius: var(--r-lg);
  padding: 26px 30px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 80px -30px rgba(16, 27, 21, 0.6),
    0 4px 18px rgba(16, 27, 21, 0.22);
  overflow: hidden;
}
.trace-console::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(201, 169, 82, 0.08), transparent 60%);
  pointer-events: none;
}

.tc-head, .tc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-type);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tc-head { color: var(--brass-bright); margin-bottom: 8px; }
.tc-batch { color: #7d887b; }
.tc-live { display: inline-flex; align-items: center; gap: 9px; }
.tc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e05252;
  box-shadow: 0 0 10px rgba(224, 82, 82, 0.9);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.tc-rows { list-style: none; margin: 6px 0 10px; }
.tc-row {
  display: grid;
  grid-template-columns: 1fr 36px 120px 74px;
  align-items: center;
  gap: 14px;
  padding: 15px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  font-family: var(--font-type);
  font-size: 14px;
  color: #cdd4c6;
  transition: background 0.4s;
}
.tc-row + .tc-row { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06); }
.tc-row.is-scanning { background: linear-gradient(90deg, rgba(201, 169, 82, 0.12), rgba(201, 169, 82, 0.02)); }
.tc-row.is-scanning .tc-state { color: var(--brass-bright); }

.tc-redact {
  position: relative;
  display: block;
  height: 14px;
  width: var(--w, 50%);
  border-radius: 3px;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, #33443a 0 4px, #26362d 4px 8px);
}
.tc-redact::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 20%, rgba(201, 169, 82, 0.45) 50%, transparent 80%);
}
.tc-row.is-scanning .tc-redact::after { animation: shimmer 0.9s var(--ease) infinite; }
@keyframes shimmer { to { transform: translateX(110%); } }

.tc-state { color: #7d887b; }
.tc-amt { text-align: right; font-weight: 700; color: #f1e8cf; white-space: nowrap; }

.tc-stamp { justify-self: end; opacity: 0; transform: rotate(-5deg) scale(1.7); color: #e05252; border-color: #e05252; }
.tc-row.is-traced .tc-stamp { animation: stampSlam 0.4s var(--ease) forwards; }
@keyframes stampSlam {
  from { opacity: 0; transform: rotate(-5deg) scale(1.7); }
  70%  { opacity: 1; transform: rotate(-5deg) scale(0.94); }
  to   { opacity: 0.95; transform: rotate(-5deg) scale(1); }
}

.tc-foot { color: #7d887b; padding-top: 14px; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06); text-transform: none; letter-spacing: 0.06em; }
.tc-count b { color: var(--brass-bright); font-weight: 700; font-variant-numeric: tabular-nums; }
.tc-progress {
  flex: 0 0 110px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.tc-progress i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--brass-bright);
  animation: indeterminate 2.2s var(--ease) infinite;
}
@keyframes indeterminate {
  from { transform: translateX(-110%); }
  to   { transform: translateX(285%); }
}

/* match toast */
.match-toast {
  position: absolute;
  right: -26px;
  bottom: -26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.match-toast.is-show { opacity: 1; transform: none; }
.mt-check {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--brass-bright);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}
.mt-text { display: flex; flex-direction: column; line-height: 1.35; }
.mt-text b { font-size: 14.5px; color: var(--ink); }
.mt-text em { font-style: normal; font-family: var(--font-type); font-size: 11.5px; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  .trace-console, .exhibit-rings i, .tc-dot, .tc-progress i { animation: none; }
  .tc-row .tc-stamp { opacity: 0.95; transform: rotate(-5deg); }
  .match-toast { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .match-toast { right: 0; bottom: -34px; }
  .exhibit-rings { display: none; }
  .tc-row { grid-template-columns: 1fr 26px 104px 58px; font-size: 12.5px; gap: 8px; }
  .trace-console { padding: 20px 20px 16px; }
}

/* ============================================================
   v5 layer — institutional trust & accessibility
   ============================================================ */

/* skip link (visible on keyboard focus only) */
.skip-link {
  position: fixed;
  left: 24px; top: -120px;
  z-index: 300;
  background: var(--dark);
  color: var(--card);
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* keyboard focus states */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
}
.site-footer a:focus-visible, .section-dark a:focus-visible { outline-color: var(--brass-bright); }

/* breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-type);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 34px;
}
.crumbs a { color: var(--ink-faint); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs > span:not([aria-current]) { opacity: 0.5; }

/* claim-page assurance strip */
.assure-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.assure {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.assure svg { flex: none; width: 24px; height: 24px; color: var(--brass); margin-top: 2px; }
.assure b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 3px; }

/* footer verification links */
.footer-legal a { color: #cdd4c6; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--card); }

@media (max-width: 820px) {
  .assure-strip { grid-template-columns: 1fr; }
  .crumbs { flex-wrap: wrap; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-exhibit { max-width: 620px; }
  .docket { grid-template-columns: 1fr 1fr; }
  .docket-label { grid-column: span 2; }
  .casebook-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card + .method-card { border-left: none; border-top: 1px solid var(--line-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 12px 32px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -18px rgba(24, 38, 32, 0.4);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .site-header .brand { margin-right: auto; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 0; }
  .hero { padding: 64px 0 56px; }
  .search-desk, .wizard-step { padding: 28px 24px 32px; }
  .form-grid, .evidence-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item:nth-child(odd) { border-right: none; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
  .trust-item:last-child { border-bottom: none; }
  .casebook-grid { grid-template-columns: 1fr; }
  .docket { grid-template-columns: 1fr; }
  .docket-label { grid-column: auto; }
  .docket > div + div { border-left: none; border-top: 1px solid var(--line-soft); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-legal { flex-direction: column; gap: 14px; }
  .wizard-tab { font-size: 0; gap: 0; justify-content: center; }
  .wizard-tab .tab-no { font-size: 12px; }
  .review-sheet dl { grid-template-columns: 1fr; gap: 2px; }
  .review-sheet dt { margin-top: 10px; }
  .shell { padding: 0 22px; }
}
