/* ============================================================
   iSanctuary — design system
   Red Hat Display, grey/green/blue palette, hairline rules,
   generous whitespace.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --grey: #212e37;
  --green: #01bea2;
  --blue: #0147b9;
  --alert: #b42318;
  --white: #fff;
  --ink: var(--grey);
  --ink-mid: rgba(33, 46, 55, 0.78);
  --ink-soft: rgba(33, 46, 55, 0.56);
  --rule: rgba(33, 46, 55, 0.16);
  --rule-soft: rgba(33, 46, 55, 0.09);
  --green-pale: rgba(1, 190, 162, 0.10);
  --blue-pale: rgba(1, 71, 185, 0.08);
  --dark-rule: rgba(255, 255, 255, 0.16);
  --dark-soft: rgba(255, 255, 255, 0.68);
  --dark-muted: rgba(255, 255, 255, 0.48);
  --page: var(--white);
  --serif: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green);
}

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

em.accent { font-style: italic; color: var(--green); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav-logo img {
  display: block;
  width: auto;
  height: 44px;
  max-height: calc(68px - 18px);
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 24px);
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 500;
}
.nav-links > li { position: relative; }
.nav-links a,
.nav-dropdown-trigger { transition: color .15s; }
.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { color: var(--blue); }
.nav-dropdown-trigger {
  appearance: none;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -22px;
  width: 292px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 44px rgba(33, 46, 55, 0.16);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 110;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--ink-mid);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--green-pale);
  color: var(--blue);
  outline: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-scrim { display: none; }
.nav-mobile-contact { display: none; }
.nav-cta {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  padding: 11px 22px;
  font-weight: 500;
  transition: background .15s;
}
.nav-cta:hover { background: var(--blue); }

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

.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  font-weight: 500;
  transition: background .15s;
}
.btn-primary:hover { background: var(--blue); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 500;
  padding: 15px 0;
}
.btn-secondary::after { content: '→'; color: var(--green); transition: transform .15s; }
.btn-secondary:hover::after { transform: translateX(4px); }

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

.hero {
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 54%, rgba(1, 190, 162, 0.06) 100%);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.76) 26%, rgba(255, 255, 255, 0.20) 68%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(135deg, rgba(1, 190, 162, 0.50) 0%, rgba(1, 71, 185, 0.58) 100%),
    url("../heroimage2.jpg") center right / cover no-repeat;
  background-blend-mode: normal, multiply, normal;
  opacity: 0.72;
  filter: saturate(0.9) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 100%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
  background:
    linear-gradient(105deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.32) 47%, rgba(1, 190, 162, 0.18) 50%, transparent 56%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 82px);
  background-size: 240% 100%, 82px 82px, 82px 82px;
  background-position: -120% 0, 0 0, 0 0;
  mix-blend-mode: screen;
  opacity: 0.48;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 100%);
  pointer-events: none;
  z-index: 0;
  animation: hero-image-sweep 8s ease-in-out infinite;
}
@keyframes hero-image-sweep {
  0% { background-position: -120% 0, 0 0, 0 0; }
  52% { background-position: 120% 0, 12px 0, 0 12px; }
  100% { background-position: 120% 0, 12px 0, 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}
.hero-inner {
  padding-top: 96px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.08;
  max-width: 720px;
  margin-bottom: 28px;
  letter-spacing: 0;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero-actions .btn-secondary { color: var(--green); }
.hero-actions .btn-secondary:hover { color: var(--blue); }

/* legacy watermark replaced by the photographic hero treatment */
.hero-mark {
  position: absolute;
  right: -40px;
  top: 40px;
  font-family: var(--serif);
  font-size: 420px;
  line-height: 1;
  color: var(--green);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  display: none;
}

.hero-credentials {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.cred-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.cred-value { font-family: var(--serif); font-size: 19px; }
.specialist-credentials {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  gap: 24px;
}
.specialist-credentials .cred-value {
  font-size: clamp(15px, 1.5vw, 19px);
  white-space: nowrap;
}

/* ---------- trusted-by band ---------- */

.clients-band {
  background: var(--grey);
  border-bottom: 1px solid var(--dark-rule);
  padding: 18px 0;
  position: relative;
  overflow: hidden;
}
.clients-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.clients-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  padding-right: 24px;
  border-right: 1px solid var(--dark-rule);
  font-weight: 500;
}
.client-names-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.client-names-track { width: max-content; }
.client-names {
  display: flex;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.client-names-copy { display: none; }
.client-name {
  animation: client-name-highlight 12.6s ease-in-out infinite;
}
.client-name::after {
  content: '\00a0 ·\00a0 ';
  color: var(--white);
}
.client-name:last-child::after { content: none; }
.client-name:nth-child(2) { animation-delay: 1.8s; }
.client-name:nth-child(3) { animation-delay: 3.6s; }
.client-name:nth-child(4) { animation-delay: 5.4s; }
.client-name:nth-child(5) { animation-delay: 7.2s; }
.client-name:nth-child(6) { animation-delay: 9s; }
.client-name:nth-child(7) { animation-delay: 10.8s; }
@keyframes client-name-highlight {
  0%, 8% { color: var(--green); }
  14%, 100% { color: var(--white); }
}
@keyframes client-names-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .client-name {
    animation: none;
    color: var(--green);
  }
}

/* ---------- stats band ---------- */

.stats-band {
  background: var(--grey);
  border-bottom: 1px solid var(--dark-rule);
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 28px;
  border-left: 1px solid var(--rule-soft);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-value {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-value span { color: var(--green); }
.stat-label { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; max-width: 200px; }
.stats-marquee {
  border-top: 1px solid rgba(1, 190, 162, 0.28);
}
.stats-track {
  display: flex;
  width: max-content;
  animation: stats-scroll 34s linear infinite;
}
.stats-group {
  display: flex;
  flex: 0 0 auto;
}
.stats-marquee .stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: clamp(300px, 32vw, 430px);
  padding: 14px clamp(28px, 4vw, 56px);
  border-left-color: rgba(1, 190, 162, 0.28);
}
.stats-marquee .stat:first-child {
  border-left: 1px solid rgba(1, 190, 162, 0.28);
  padding-left: clamp(28px, 4vw, 56px);
}
.stats-marquee .stat-value {
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--white);
  margin-bottom: 0;
  white-space: nowrap;
}
.stats-marquee .stat-label {
  color: var(--dark-soft);
  max-width: 250px;
}
.stats-marquee:hover .stats-track {
  animation-play-state: paused;
}
@keyframes stats-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .stats-track {
    width: auto;
    animation: none;
  }
  .stats-group[aria-hidden="true"] {
    display: none;
  }
  .stats-group {
    width: 100%;
    flex-wrap: wrap;
  }
  .stats-marquee .stat {
    flex: 1 1 260px;
  }
}

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

.section { padding: 88px 0; border-bottom: 1px solid var(--rule); }
.section.white { background: var(--white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: 0; }
.section-intro { font-size: 15px; color: var(--ink-mid); max-width: 420px; line-height: 1.7; font-weight: 300; }
.section-link {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
}
.section-link::after { content: '→'; }

/* ---------- services (law-firm numbered rows) ---------- */

.service-list { border-top: 1px solid var(--rule); }
.service-row {
  display: grid;
  grid-template-columns: 72px 1.1fr 1.6fr 40px;
  gap: 32px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .15s;
  cursor: pointer;
}
.service-row:hover { background: var(--green-pale); }
.service-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--green);
  letter-spacing: 0.08em;
  padding-left: 8px;
}
.service-name { font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.service-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.service-desc { font-size: 14px; color: var(--ink-mid); line-height: 1.7; font-weight: 300; }
.service-arrow { font-size: 18px; color: var(--green); text-align: right; padding-right: 8px; }

/* ---------- people ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.person-card {
  display: flex;
  flex-direction: column;
}
.person-portrait {
  aspect-ratio: 4 / 4.6;
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.person-card:hover .person-portrait { border-color: var(--green); }
.person-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-position, center 22%);
  display: block;
  transform: scale(var(--portrait-zoom, 1));
  transform-origin: center center;
}
.person-portrait img[src*="jonathan-benton"] { --portrait-zoom: 1; }
.person-portrait img[src*="bernard-hogan-howe"] { --portrait-zoom: 1; }
.person-portrait img[src*="robert-eastick"] { --portrait-zoom: 1.42; }
.person-portrait img[src*="george-simpson"] { --portrait-zoom: 1.38; }
.person-portrait img[src*="simon-cole"] { --portrait-zoom: 1; }
.person-portrait img[src*="patrick-kelly"] { --portrait-zoom: 1.12; }
.person-portrait img[src*="john-davey"] { --portrait-zoom: 1; }
.person-portrait img[src*="john-mcdonald"] { --portrait-zoom: 1.12; }
.person-portrait img[src*="harry-allsopp"] { --portrait-zoom: 1.20; }
.person-portrait img[src*="bryden-thomson"] { --portrait-zoom: 1.34; }
.person-portrait img[src*="safi-terywall"] { --portrait-zoom: 1.20; }
.person-portrait img[src*="pascal-dillabough-lefebvre"] { --portrait-zoom: 1.20; }
.person-portrait img[src*="miles-newman"] { --portrait-zoom: 1.18; }
.person-portrait img[src*="jess-holt"] { --portrait-zoom: 1; }
.person-initials {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--green);
  opacity: 0.55;
  font-style: italic;
}
.person-name { font-family: var(--serif); font-size: 21px; margin-bottom: 4px; }
.person-role {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 500;
}
.person-bio { font-size: 13px; color: var(--ink-mid); line-height: 1.65; font-weight: 300; }
.person-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.person-link::after {
  content: '→';
  margin-left: 8px;
  font-size: 13px;
}
.person-link:hover { color: var(--blue); }

/* ---------- dark process section ---------- */

.section.dark {
  background: var(--ink);
  color: var(--white);
  border-bottom: none;
}
.section.dark .section-title { color: var(--white); }
.section.dark .section-intro { color: var(--dark-soft); }
.process-steps { border-top: 1px solid var(--dark-rule); margin-top: 8px; }
.process-step {
  display: grid;
  grid-template-columns: 72px 300px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--dark-rule);
  align-items: baseline;
}
.step-num { font-family: var(--serif); font-size: 15px; color: var(--green); letter-spacing: 0.08em; }
.step-title { font-family: var(--serif); font-size: 21px; color: var(--white); }
.step-desc { font-size: 14px; color: var(--dark-soft); line-height: 1.7; font-weight: 300; }

/* ---------- selected matters (case studies) ---------- */

.matters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: transparent;
  border: 0;
}
.related-blogs-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.related-blogs-grid .matter-card:only-child {
  max-width: calc((100% - 2px) / 3);
}
.matter-card {
  background: var(--white);
  box-shadow: 0 0 0 1px var(--rule);
  color: inherit;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background .15s;
  cursor: pointer;
}
.matter-card:hover { background: var(--green-pale); }
.matter-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.matter-image {
  aspect-ratio: 16 / 10;
  margin: -36px -30px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--rule-soft);
}
.matter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}
.matter-card:hover .matter-image img { transform: scale(1.035); }
.matter-tag {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  font-weight: 500;
}
.matter-headline {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.matter-desc { font-size: 13.5px; color: var(--ink-mid); line-height: 1.7; font-weight: 300; flex: 1; }
.showcase-section { padding-top: 48px; }

/* ---------- article detail pages ---------- */

.article-section { padding-top: 56px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 780px);
  gap: 64px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 104px;
}
.article-meta-list {
  border-top: 1px solid var(--rule);
  margin-top: 22px;
  padding-top: 22px;
  display: grid;
  gap: 18px;
}
.article-meta-item {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.article-meta-label {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.article-meta-item a { color: var(--blue); }
.article-meta-item a:hover { text-decoration: underline; }
.article-body {
  max-width: 780px;
}
.article-featured-image {
  margin-bottom: 34px;
  border: 1px solid var(--rule);
  background: var(--rule-soft);
  overflow: hidden;
}
.article-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-copy {
  border-top: 1px solid var(--rule);
  padding-top: 34px;
}
.article-copy p,
.article-copy li {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.85;
  font-weight: 300;
}
.article-copy p { margin-bottom: 18px; }
.article-copy h2,
.article-copy h3,
.article-copy h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 34px 0 14px;
}
.article-copy h2 { font-size: clamp(28px, 3vw, 36px); }
.article-copy h3 { font-size: 24px; }
.article-copy h4 { font-size: 19px; }
.article-copy ul,
.article-copy ol {
  margin: 0 0 22px 22px;
}
.article-copy li { margin-bottom: 8px; }
.article-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-author {
  align-items: start;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 24px;
  grid-template-columns: 120px minmax(0, 1fr);
  margin-top: 46px;
  padding-top: 30px;
}
.article-author-image {
  aspect-ratio: 4 / 4.6;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.article-author-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  width: 100%;
}
.article-author-label {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.article-author-name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.article-author-role {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.article-author-bio {
  color: var(--ink-mid);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 13px;
}
.article-author .section-link { color: var(--green); }
.article-copy strong,
.article-copy b {
  color: var(--ink);
  font-weight: 500;
}
.article-copy blockquote {
  border-left: 2px solid var(--green);
  margin: 30px 0;
  padding-left: 24px;
  color: var(--ink);
}

/* ---------- content tabs ---------- */

.content-tabs { width: 100%; }
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}
.tab-button {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0 0 16px;
  text-transform: uppercase;
}
.tab-button:hover,
.tab-button:focus-visible {
  color: var(--ink);
}
.tab-button.active,
.tab-button[aria-selected="true"] {
  border-color: var(--green);
  color: var(--ink);
}

/* Keep the primary Blogs & News navigation prominent and easy to select. */
#blogs .tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 640px;
}
#blogs .tab-button {
  font-size: 15px;
  min-height: 56px;
  padding: 18px 20px;
}
.tab-panel[hidden] { display: none; }
.notice-card,
.event-card {
  justify-content: flex-start;
  padding: 34px 30px;
}

/* ---------- media coverage library ---------- */

.media-library {
  border-top: 1px solid var(--rule);
  margin-top: 64px;
  padding-top: 56px;
}
.media-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 56px;
  align-items: end;
  margin-bottom: 32px;
}
.media-library-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-top: 8px;
}
.media-library-intro {
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}
.media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}
.media-filter {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink-mid);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  padding: 10px 14px;
  text-transform: uppercase;
  transition: background .15s, border-color .15s, color .15s;
}
.media-filter:hover,
.media-filter:focus-visible {
  border-color: var(--green);
  color: var(--ink);
}
.media-filter.active,
.media-filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.case-filter-panel,
.blog-filter-panel {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  padding-bottom: 28px;
}
.case-filter-panel .eyebrow,
.blog-filter-panel .eyebrow { margin-bottom: 18px; }
.case-filter-panel .media-filters,
.blog-filter-panel .media-filters { margin-bottom: 16px; }
.case-filter-status,
.blog-filter-status {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .04em;
}
.matter-card[hidden] { display: none; }
.media-group {
  margin-top: 42px;
}
.media-group[hidden],
.media-item[hidden] {
  display: none;
}
.media-group-title {
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 14px;
}
.media-group-title h3 {
  font-size: 24px;
  line-height: 1.2;
}
.media-group-title span {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.media-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.media-item {
  border-bottom: 1px solid var(--rule);
  color: inherit;
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 24px 52px 24px 0;
  position: relative;
  text-decoration: none;
}
.media-item:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-right: 32px;
}
.media-item:nth-child(even) {
  padding-left: 32px;
}
a.media-item::after {
  color: var(--green);
  content: '\2197';
  font-size: 18px;
  position: absolute;
  right: 18px;
  top: 24px;
  transition: transform .15s;
}
a.media-item:nth-child(odd)::after { right: 18px; }
a.media-item:hover { background: var(--green-pale); }
a.media-item:hover::after { transform: translate(2px, -2px); }
a.media-item:focus-visible {
  background: var(--green-pale);
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.media-source {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.media-title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
}
.media-note {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
}
.media-item-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}
.media-item-links a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-transform: uppercase;
}
.media-archive {
  border-bottom: 1px solid var(--rule);
  margin-top: 44px;
}
.media-archive[hidden] { display: none; }
.media-archive summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  list-style: none;
  padding: 20px 42px 20px 0;
  position: relative;
}
.media-archive summary::-webkit-details-marker { display: none; }
.media-archive summary::after {
  color: var(--green);
  content: '+';
  font-family: var(--sans);
  position: absolute;
  right: 8px;
}
.media-archive[open] summary::after { content: '\2212'; }
.media-archive .media-list { margin-bottom: 24px; }

@media (max-width: 800px) {
  .media-library-heading { grid-template-columns: 1fr; gap: 16px; }
  .media-list { grid-template-columns: 1fr; }
  .media-item:nth-child(odd) {
    border-right: 0;
    padding-right: 48px;
  }
  .media-item:nth-child(even) { padding-left: 0; }
}

/* ---------- legal ---------- */

.legal-section { padding-top: 48px; }
.legal-document {
  max-width: 900px;
  color: var(--ink-mid);
}
.legal-document h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.14;
  margin-bottom: 28px;
  letter-spacing: 0;
}
.legal-document h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  margin: 34px 0 12px;
  font-weight: 500;
}
.legal-document p {
  margin-bottom: 18px;
  line-height: 1.78;
}
.legal-document ul,
.legal-document ol {
  margin: 0 0 24px 22px;
  line-height: 1.72;
}
.legal-document li { margin-bottom: 10px; }
.legal-document a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- contact ---------- */

.contact-section { padding-top: 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: 72px;
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 24px; }
.contact-copy .section-intro { max-width: 460px; margin-bottom: 36px; }
.contact-details {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 22px;
  padding-top: 28px;
}
.contact-details > div {
  display: grid;
  gap: 4px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.contact-label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-details a {
  color: var(--green);
  text-decoration: none;
  transition: color .15s;
}
.contact-details a:hover {
  color: var(--ink);
}
.contact-details a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.contact-form {
  border: 1px solid var(--rule);
  padding: 34px;
  display: grid;
  gap: 20px;
  background: var(--white);
}
.form-row {
  display: grid;
  gap: 20px;
}
.form-row.two-cols { grid-template-columns: 1fr 1fr; }
.contact-form label {
  display: grid;
  gap: 8px;
}
.contact-form label span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-pale);
}
.contact-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}
.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.form-status {
  border-left: 2px solid var(--green);
  background: var(--green-pale);
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
}
.form-status[hidden] { display: none; }
.form-status--success {
  color: var(--ink);
}
.form-status--error {
  border-left-color: #b9012b;
  background: rgba(185, 1, 43, 0.08);
}
.form-privacy-notice {
  max-width: 680px;
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}
.form-privacy-notice a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-form-stack { min-width: 0; }
.form-transparency-notice {
  max-width: 680px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--green);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.65;
}
.form-transparency-notice strong {
  color: var(--ink-mid);
  font-weight: 600;
}
.contact-copy .form-transparency-notice {
  margin-top: 18px;
  margin-bottom: 24px;
}

.thank-you-panel {
  max-width: 760px;
}
.thank-you-panel .section-title {
  margin-bottom: 22px;
}
.thank-you-panel .section-intro {
  max-width: 620px;
  margin-bottom: 30px;
}
.thank-you-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- testimonials ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.testimonial-card { border-left: 2px solid var(--green); padding-left: 28px; }
.testimonial-text {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-attr strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  font-style: normal;
}
.testimonial-attr { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- audience ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.audience-card { background: var(--white); padding: 32px 26px; }
.audience-card-link {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  transition: background .15s, box-shadow .15s;
}
.audience-card-link:hover { background: var(--green-pale); }
.audience-card-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.audience-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 500;
}
.audience-title { font-family: var(--serif); font-size: 20px; margin-bottom: 10px; }
.audience-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.65; font-weight: 300; }
.audience-link {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  margin-top: auto;
  padding-top: 24px;
  text-transform: uppercase;
}
.audience-link::after { content: ' →'; }
.other-services-section { background: var(--white); }
.other-services-links {
  counter-reset: other-services;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--rule);
}
.other-service-link {
  counter-increment: other-services;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 18px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  min-height: 124px;
  padding: 28px 8px;
  transition: background .15s, padding .15s;
}
.other-service-link::before {
  content: counter(other-services, decimal-leading-zero);
  color: var(--green);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .08em;
}
.other-service-link:hover {
  background: var(--green-pale);
  padding-left: 16px;
  padding-right: 16px;
}
.other-service-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.other-service-arrow {
  color: var(--green);
  flex: none;
  font-family: var(--sans);
  font-size: 17px;
  margin-left: 0;
  text-align: right;
}
.cases-contact-card {
  grid-column: span 2;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.due-diligence-audience-grid {
  grid-template-columns: repeat(3, 1fr);
}
.due-diligence-audience-grid .cases-contact-card {
  grid-column: span 1;
}
.cases-contact-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 500;
}
.cases-contact-title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.cases-contact-desc {
  max-width: 520px;
  font-size: 13.5px;
  color: var(--dark-soft);
  line-height: 1.7;
  font-weight: 300;
}
.cases-contact-button {
  align-self: flex-start;
  margin-top: 28px;
  background: var(--green);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 13px 24px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.cases-contact-button:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--rule); max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  font-family: var(--serif);
  font-size: 20px;
  padding: 24px 40px 24px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 22px;
  font-size: 22px;
  color: var(--green);
  font-family: var(--sans);
  font-weight: 300;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 0 40px 26px 0; font-size: 14px; color: var(--ink-mid); line-height: 1.75; font-weight: 300; }
.faq-body ul { padding-left: 20px; margin-top: 8px; }
.faq-body li { margin-bottom: 4px; }

/* ---------- CTA ---------- */

.cta-section {
  background: var(--green-pale);
  border-top: 1px solid rgba(1, 190, 162, 0.24);
  padding: 96px 0;
  text-align: center;
}
.cta-h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; line-height: 1.15; }
.cta-body {
  font-size: 15px;
  color: var(--ink-mid);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 300;
}
.cta-detail { margin-top: 20px; font-size: 13px; color: var(--ink-soft); }
.cta-detail a:hover { color: var(--blue); }

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

.footer { background: var(--ink); color: var(--dark-soft); padding: 64px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 32px;
  max-width: 210px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-tagline { font-size: 13px; color: var(--dark-muted); line-height: 1.7; margin-bottom: 20px; max-width: 280px; font-weight: 300; }
.footer-contact { font-size: 13px; line-height: 2; }
.footer-contact a { color: inherit; transition: color .15s; }
.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--white); }
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--dark-soft); font-size: 13px; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  background: var(--ink);
  padding: 18px 0;
  font-size: 12px;
  color: var(--dark-muted);
  border-top: 1px solid var(--dark-rule);
}
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero (interior pages) ---------- */

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0 64px;
}
.service-hero,
.team-hero,
.blog-hero,
.case-hero,
.policies-hero {
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 54%, rgba(1, 190, 162, 0.06) 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-hero {
  --interior-hero-image: url("../services hero image.jpg");
  --interior-hero-position: center right;
}
.team-hero {
  --interior-hero-image: url("../ourteam.webp");
  --interior-hero-position: center center;
}
.blog-hero {
  --interior-hero-image: url("../blogs hero.jpg");
  --interior-hero-position: center center;
}
.blog-hero.events-active,
.event-hero-news2 {
  --interior-hero-image: url("../news2.jpg");
  --interior-hero-position: center 42%;
}
.case-hero {
  --interior-hero-image: url("../casestudyhero.jpg");
  --interior-hero-position: center center;
}
.policies-hero {
  --interior-hero-image: url("../polices hero.png");
  --interior-hero-position: center center;
}
.service-hero::before,
.team-hero::before,
.blog-hero::before,
.case-hero::before,
.policies-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.76) 26%, rgba(255, 255, 255, 0.20) 68%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(135deg, rgba(1, 190, 162, 0.50) 0%, rgba(1, 71, 185, 0.58) 100%),
    var(--interior-hero-image) var(--interior-hero-position) / cover no-repeat;
  background-blend-mode: normal, multiply, normal;
  opacity: 0.72;
  filter: saturate(0.9) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 100%);
  pointer-events: none;
  z-index: 0;
}
.rektify-hero::before {
  display: none;
}
.rektify-hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
  overflow: hidden;
  contain: paint;
  clip-path: inset(0);
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.88) 16%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.88) 16%, #000 58%);
  pointer-events: none;
  z-index: 0;
}
.rektify-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.52) 22%, rgba(255, 255, 255, 0.1) 54%, transparent 78%);
}
.rektify-hero-visual img {
  position: absolute;
  inset: -55%;
  width: 210%;
  height: 210%;
  max-width: none;
  object-fit: cover;
  filter: none;
  will-change: transform;
  animation: rektify-trace-pan 36s ease-in-out infinite;
}
.rektify-product-hero .rektify-hero-visual img {
  inset: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform-origin: 0 0;
  animation: crypto-trace-camera 44s ease-in-out infinite;
}
.rektify-product-hero .hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  column-gap: clamp(24px, 3vw, 48px);
}
.rektify-product-hero .cred-value {
  font-size: clamp(15px, 1.55vw, 19px);
  white-space: nowrap;
}
@keyframes rektify-trace-pan {
  0%, 100% { transform: translate3d(-20%, 6%, 0); }
  25% { transform: translate3d(20%, 6%, 0); }
  50% { transform: translate3d(20%, -18%, 0); }
  75% { transform: translate3d(-20%, -18%, 0); }
}
@keyframes crypto-trace-camera {
  0%, 100% {
    transform: translate3d(-5%, -24%, 0) scale(2.35);
  }
  27% {
    transform: translate3d(-72%, -24%, 0) scale(2.35);
  }
  47% {
    transform: translate3d(-39%, -38%, 0) scale(1.48);
  }
  66% {
    transform: translate3d(-8%, -53%, 0) scale(2.08);
  }
  83% {
    transform: translate3d(-47%, -42%, 0) scale(1.5);
  }
  93% {
    transform: translate3d(-34%, -48%, 0) scale(2.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rektify-hero-visual img,
  .rektify-product-hero .rektify-hero-visual img {
    animation: none;
    object-position: 58% center;
    transform: translate3d(0, -27%, 0) scale(1.55);
    will-change: auto;
  }
}
.service-hero .container,
.team-hero .container,
.blog-hero .container,
.case-hero .container,
.policies-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 24px;
  letter-spacing: 0;
}
.page-hero .hero-sub { margin-bottom: 32px; }

/* ---------- urgent band (crypto page) ---------- */

.urgent-band { background: var(--ink); color: var(--white); border-bottom: none; padding: 64px 0; }
.urgent-band .eyebrow { color: var(--green); }
.urgent-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); color: var(--white); margin-bottom: 36px; max-width: 640px; line-height: 1.2; }
.urgent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-rule); border: 1px solid var(--dark-rule); }
.urgent-step {
  --sequence-delay: 0s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding: 26px 24px;
  animation: urgent-step-highlight 7.2s ease-in-out infinite;
  animation-delay: var(--sequence-delay);
}
.urgent-step:nth-child(2) { --sequence-delay: 1.35s; }
.urgent-step:nth-child(3) { --sequence-delay: 2.7s; }
.urgent-step:nth-child(4) { --sequence-delay: 4.05s; }
.urgent-step::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, transparent 8%, rgba(1, 190, 162, 0.18) 44%, transparent 72%);
  opacity: 0;
  transform: translateX(-110%);
  animation: urgent-step-sweep 7.2s ease-in-out infinite;
  animation-delay: var(--sequence-delay);
  pointer-events: none;
}
.urgent-step > * { position: relative; z-index: 1; }
.urgent-step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  animation: urgent-step-num-highlight 7.2s ease-in-out infinite;
  animation-delay: var(--sequence-delay);
}
.urgent-step-title { font-size: 14.5px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.urgent-step-desc { font-size: 13px; color: var(--dark-soft); line-height: 1.65; font-weight: 300; }

@keyframes urgent-step-highlight {
  0%, 17% {
    background: #243b3d;
    box-shadow: inset 0 0 0 1px rgba(1, 190, 162, 0.58), 0 16px 34px rgba(1, 190, 162, 0.14);
    transform: translateY(-2px);
  }
  26%, 100% {
    background: var(--ink);
    box-shadow: inset 0 0 0 1px transparent, 0 0 0 rgba(1, 190, 162, 0);
    transform: translateY(0);
  }
}

@keyframes urgent-step-sweep {
  0% {
    opacity: 1;
    transform: translateX(-110%);
  }
  18% {
    opacity: 1;
    transform: translateX(110%);
  }
  27%, 100% {
    opacity: 0;
    transform: translateX(110%);
  }
}

@keyframes urgent-step-num-highlight {
  0%, 17% {
    color: var(--white);
    text-shadow: 0 0 18px rgba(1, 190, 162, 0.48);
  }
  26%, 100% {
    color: var(--green);
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .urgent-step,
  .urgent-step::before,
  .urgent-step-num {
    animation: none;
  }
  .urgent-step {
    transform: none;
  }
}

/* ---------- two-column feature ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split-body p { font-size: 15px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 18px; font-weight: 300; }
.split-body p strong { color: var(--ink); font-weight: 500; }
.checklist { list-style: none; margin-top: 8px; }
.checklist li {
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14.5px;
  color: var(--ink-mid);
  position: relative;
}
.checklist li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ---------- lead profile ---------- */

.crypto-lead-section,
.service-lead-section {
  background: var(--grey);
  color: var(--white);
}
.crypto-lead-section .section-title,
.service-lead-section .section-title {
  color: var(--white);
}
.crypto-lead-card,
.service-lead-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 52px;
  align-items: center;
}
.crypto-lead-portrait,
.service-lead-portrait {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border: 1px solid var(--dark-rule);
  background: var(--white);
}
.crypto-lead-portrait img,
.service-lead-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(var(--lead-portrait-zoom, 1.42));
}
.crypto-lead-portrait img[src*="jonathan-benton"],
.service-lead-portrait img[src*="jonathan-benton"] { --lead-portrait-zoom: 1; }
.crypto-lead-portrait img[src*="robert-eastick"],
.service-lead-portrait img[src*="robert-eastick"] { --lead-portrait-zoom: 1.42; }
.crypto-lead-portrait img[src*="george-simpson"],
.service-lead-portrait img[src*="george-simpson"] { --lead-portrait-zoom: 1.38; }
.crypto-lead-copy,
.service-lead-copy {
  max-width: 660px;
}
.crypto-lead-role,
.service-lead-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 16px 0 18px;
  font-weight: 500;
}
.crypto-lead-copy p,
.service-lead-copy p {
  font-size: 16px;
  color: var(--white);
  line-height: 1.8;
  font-weight: 300;
}
.crypto-lead-section .section-link,
.service-lead-section .section-link {
  color: var(--white);
}
.crypto-lead-section .section-link:hover,
.service-lead-section .section-link:hover {
  color: var(--green);
}

/* ---------- profile pages ---------- */

.profile-section { padding-top: 64px; }
.profile-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 760px);
  gap: 64px;
  align-items: start;
}
.profile-aside {
  position: sticky;
  top: 104px;
}
.profile-portrait {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--white);
  margin-bottom: 20px;
}
.profile-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(var(--profile-portrait-zoom, 1));
}
.profile-portrait img[src*="robert-eastick"] { --profile-portrait-zoom: 1.42; }
.profile-portrait img[src*="george-simpson"] { --profile-portrait-zoom: 1.38; }
.profile-portrait img[src*="john-mcdonald"] { --profile-portrait-zoom: 1.12; }
.profile-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  font-weight: 500;
}
.profile-copy {
  max-width: 760px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.profile-copy p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 18px;
}
.profile-copy p:last-child { margin-bottom: 0; }

/* ---------- product cards (REKTify tiers) ---------- */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--green);
  padding: 38px 32px;
}
.product-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  min-height: 100%;
  transition: background .15s, border-color .15s;
}
.product-card-link:hover {
  background: var(--green-pale);
  border-color: rgba(1, 190, 162, 0.42);
}
.product-card-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.product-card-link .audience-link { margin-top: auto; }
.product-kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  font-weight: 500;
}
.product-name { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.product-desc { font-size: 14px; color: var(--ink-mid); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.product-list { list-style: none; }
.product-list li {
  font-size: 13px;
  color: var(--ink-mid);
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
.product-list li::before { content: '·'; position: absolute; left: 4px; color: var(--green); font-size: 20px; line-height: 1; }

/* ---------- warning panel ---------- */

.warning-panel {
  border: 1px solid rgba(1, 190, 162, 0.24);
  border-left: 3px solid var(--green);
  background: var(--green-pale);
  margin: 0 auto;
  padding: 40px 44px;
  max-width: 860px;
}
.warning-panel .eyebrow { color: var(--alert); }
.warning-panel .eyebrow::before { background: var(--alert); }
.warning-panel h3 { font-size: 26px; margin-bottom: 14px; }
.warning-panel p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.8; font-weight: 300; margin-bottom: 12px; }
.warning-panel p:last-child { margin-bottom: 0; }

/* ---------- pedigree quote band ---------- */

.pedigree-band { background: var(--white); border-bottom: 1px solid var(--rule); padding: 88px 0; }
.pedigree-quote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.4;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.pedigree-quote em { color: var(--green); }
.pedigree-attr {
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- crypto recovery landing page ---------- */

.recovery-page-hero .hero-sub { max-width: 720px; }
.recovery-hero-description { max-width: 760px; }
.recovery-hero-description .hero-sub { margin-bottom: 14px; }
.recovery-hero-description .hero-sub:last-child { margin-bottom: 32px; }
.recovery-page-hero .hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  max-width: none;
  margin-top: 44px;
  gap: clamp(28px, 4vw, 56px);
}
.recovery-page-hero .cred-value { font-size: clamp(16px, 1.55vw, 19px); }
@media (max-width: 900px) {
  .rektify-product-hero .hero-credentials { grid-template-columns: 1fr; }
  .rektify-product-hero .cred-value { white-space: normal; }
}
.recovery-assessment-section { padding-top: 64px; }
.recovery-assessment-list { margin: 28px 0 36px; }

.recovery-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 76px;
  background:
    radial-gradient(circle at 82% 20%, rgba(1, 190, 162, 0.20), transparent 34%),
    radial-gradient(circle at 68% 92%, rgba(1, 71, 185, 0.24), transparent 38%),
    var(--ink);
  color: var(--white);
}
.recovery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 83px, rgba(255, 255, 255, 0.035) 83px 84px),
    repeating-linear-gradient(0deg, transparent 0 83px, rgba(255, 255, 255, 0.03) 83px 84px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
  pointer-events: none;
  z-index: -1;
}
.recovery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(450px, 0.95fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}
.recovery-hero-copy { max-width: 760px; }
.recovery-hero .eyebrow { color: var(--green); }
.recovery-hero h1 {
  color: var(--white);
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1.03;
  margin: 18px 0 28px;
  letter-spacing: -0.02em;
}
.recovery-hero .hero-sub {
  max-width: 710px;
  color: var(--dark-soft);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.recovery-hero-copy .hero-sub:last-of-type { margin-bottom: 0; }
.recovery-hero-lead {
  max-width: 680px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.45;
  margin-bottom: 18px;
}
.recovery-hero .btn-primary {
  background: var(--green);
  color: var(--ink);
}
.recovery-hero .btn-primary:hover { background: var(--white); }
.recovery-hero .btn-secondary { color: var(--white); }
.recovery-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-rule);
}
.recovery-proof span {
  position: relative;
  padding-left: 15px;
  color: var(--dark-soft);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.recovery-proof span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}
.recovery-evidence-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 2px solid var(--green);
  background: rgba(255, 255, 255, 0.055);
  padding: 34px 32px 30px;
  backdrop-filter: blur(8px);
}
.recovery-card-kicker {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.recovery-evidence-card h2 {
  color: var(--white);
  font-size: 27px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.recovery-evidence-card p {
  color: var(--dark-soft);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.recovery-evidence-card ul { list-style: none; }
.recovery-evidence-card li {
  position: relative;
  border-top: 1px solid var(--dark-rule);
  padding: 11px 0 11px 20px;
  color: var(--white);
  font-size: 12.5px;
}
.recovery-evidence-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
}
.recovery-phone {
  display: inline-block;
  margin-top: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.recovery-urgent-header { align-items: end; }
.recovery-urgent-header .urgent-title { margin-bottom: 0; }
.recovery-urgent-header .section-intro { color: var(--dark-soft); }
.recovery-audience-grid { grid-template-columns: repeat(4, 1fr); }
.recovery-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.22);
}
.recovery-service-card {
  position: relative;
  min-height: 390px;
  padding: 40px 36px;
  background: var(--ink);
}
.recovery-service-num {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 42px;
}
.recovery-service-card h3 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 15px;
}
.recovery-service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.72;
}
.recovery-service-card p + p { margin-top: 13px; }
.recovery-warning-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 72px;
  align-items: start;
}
.recovery-warning-grid .warning-panel { max-width: none; }
.recovery-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 72px;
  align-items: start;
}
.recovery-faq-grid .section-intro { margin-top: 22px; }
.recovery-faq-grid .faq-list { max-width: none; }
.recovery-form-section {
  background: var(--green-pale);
  border-top: 1px solid rgba(1, 190, 162, 0.24);
}
.recovery-form-section .contact-form { box-shadow: 0 22px 60px rgba(17, 32, 45, 0.08); }

.recovery-hero-form {
  gap: 15px;
  padding: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}
.recovery-hero-form input,
.recovery-hero-form select { min-height: 44px; }
.recovery-hero-form textarea { min-height: 88px; }
.recovery-form-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.recovery-form-heading span {
  display: block;
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.recovery-form-heading h2 {
  color: var(--ink);
  font-size: 27px;
}
.recovery-form-safety {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
  margin-top: -4px;
}
.recovery-trust {
  padding: 30px 0 34px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.recovery-trust-label {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.recovery-trust-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}
.recovery-trust-grid span {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}
.recovery-who-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.22);
}
.recovery-who-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 34px 30px;
  background: var(--ink);
}
.recovery-who-card:nth-child(4),
.recovery-who-card:nth-child(5) { grid-column: span 3; }
.recovery-card-index {
  color: var(--green);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 42px;
}
.recovery-who-card h3 {
  color: var(--white);
  font-size: 23px;
  line-height: 1.22;
  margin-bottom: 14px;
}
.recovery-who-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.72;
}
.recovery-who-card a,
.recovery-service-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 24px;
}
.recovery-who-card a::after,
.recovery-service-link::after {
  content: '→';
  margin-left: 8px;
}
.recovery-service-kicker {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.recovery-service-link { margin-top: 10px; }
.recovery-faq-intro .btn-primary { margin-top: 30px; }
.recovery-contact-section {
  background: var(--green-pale);
  border-top: 1px solid rgba(1, 190, 162, 0.24);
}
.recovery-contact-section .contact-form {
  box-shadow: 0 22px 60px rgba(17, 32, 45, 0.08);
}

@media (max-width: 1000px) {
  .recovery-hero-grid { grid-template-columns: 1fr; }
  .recovery-evidence-card { max-width: 680px; }
  .recovery-services-grid { grid-template-columns: 1fr 1fr; }
  .recovery-trust-grid { grid-template-columns: repeat(4, 1fr); }
  .recovery-who-grid { grid-template-columns: 1fr 1fr; }
  .recovery-who-card,
  .recovery-who-card:nth-child(4) { grid-column: auto; }
  .recovery-who-card:nth-child(5) { grid-column: 1 / -1; }
  .recovery-warning-grid,
  .recovery-faq-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .recovery-hero { padding: 64px 0 56px; }
  .recovery-hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .recovery-hero .hero-sub { font-size: 15px; }
  .recovery-proof { flex-direction: column; }
  .recovery-evidence-card { padding: 28px 24px; }
  .recovery-hero-form { padding: 24px; }
  .recovery-trust-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .recovery-who-grid { grid-template-columns: 1fr; }
  .recovery-who-card,
  .recovery-who-card:nth-child(5) { grid-column: auto; min-height: 0; }
  .recovery-card-index { margin-bottom: 26px; }
  .recovery-services-grid { grid-template-columns: 1fr; }
  .recovery-service-card { min-height: 0; }
  .recovery-service-num { margin-bottom: 26px; }
}

/* ---------- team page ---------- */

.team-section-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 44px;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }

/* ---------- about ---------- */

.about-hero {
  --interior-hero-image: url("../heroimage2.jpg");
  --interior-hero-position: center right;
}
.about-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  margin-bottom: 24px;
}
.about-timeline-section { overflow: hidden; }
.about-timeline {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin-top: 18px;
  position: relative;
}
.about-timeline::before {
  background: linear-gradient(90deg, var(--green), rgba(1, 190, 162, .22));
  content: '';
  height: 1px;
  left: calc((100% - 150px) / 12);
  position: absolute;
  right: calc((100% - 150px) / 12);
  top: 41.5px;
}
.about-timeline::after {
  animation: timeline-journey 8s linear infinite;
  background: linear-gradient(90deg, transparent 0%, rgba(1, 190, 162, .15) 28%, var(--green) 50%, rgba(1, 190, 162, .15) 72%, transparent 100%);
  background-position: -18% 0;
  background-repeat: no-repeat;
  background-size: 18% 100%;
  content: '';
  height: 3px;
  left: calc((100% - 150px) / 12);
  pointer-events: none;
  position: absolute;
  right: calc((100% - 150px) / 12);
  top: 40.5px;
}
@keyframes timeline-journey {
  from { background-position: -18% 0; }
  to { background-position: 118% 0; }
}
.about-timeline-item {
  position: relative;
  text-align: center;
}
.about-timeline-date {
  color: var(--green);
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 16px;
  margin-bottom: 18px;
  min-height: 16px;
  text-transform: uppercase;
}
.about-timeline-node {
  animation: timeline-node-pulse 8s ease-in-out infinite;
  background: var(--ink);
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(1, 190, 162, .12);
  display: block;
  height: 15px;
  margin: 0 auto 30px;
  position: relative;
  width: 15px;
  z-index: 1;
}
.about-timeline-item:nth-child(2) .about-timeline-node { animation-delay: 1.3s; }
.about-timeline-item:nth-child(3) .about-timeline-node { animation-delay: 2.6s; }
.about-timeline-item:nth-child(4) .about-timeline-node { animation-delay: 3.9s; }
.about-timeline-item:nth-child(5) .about-timeline-node { animation-delay: 5.2s; }
.about-timeline-item:nth-child(6) .about-timeline-node { animation-delay: 6.5s; }
@keyframes timeline-node-pulse {
  0%, 12%, 100% {
    background: var(--ink);
    box-shadow: 0 0 0 6px rgba(1, 190, 162, .12);
    transform: scale(1);
  }
  6% {
    background: var(--green);
    box-shadow: 0 0 0 10px rgba(1, 190, 162, .18), 0 0 24px rgba(1, 190, 162, .55);
    transform: scale(1.16);
  }
}
.about-timeline-item h3 {
  color: var(--white);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 11px;
  min-height: 53px;
}
.about-timeline-item p {
  color: var(--dark-soft);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
}
.about-principles-grid .product-card { min-height: 260px; }
.about-principles-grid .product-desc { margin-bottom: 0; }

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

@media (max-width: 1000px) {
  .hero::before,
  .hero::after,
  .service-hero::before,
  .team-hero::before,
  .blog-hero::before,
  .case-hero::before,
  .policies-hero::before {
    width: min(68vw, 640px);
    opacity: 0.48;
  }
  .rektify-hero-visual {
    width: min(68vw, 640px);
    opacity: 0.62;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 24px; border-top: 1px solid var(--rule-soft); }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: none; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .matters-grid { grid-template-columns: 1fr; }
  .related-blogs-grid .matter-card:only-child { max-width: none; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .other-services-links { column-gap: 36px; }
  .product-grid { grid-template-columns: 1fr; }
  .urgent-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .about-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .about-timeline::before, .about-timeline::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .crypto-lead-card, .service-lead-card { grid-template-columns: 260px 1fr; gap: 36px; }
  .profile-grid { grid-template-columns: 260px 1fr; gap: 36px; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-aside { position: static; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .process-step { grid-template-columns: 56px 1fr; }
  .process-step .step-desc { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .about-timeline::after,
  .about-timeline-node { animation: none; }
}

@media (max-width: 900px) {
  /* A backdrop-filter creates a containing block for fixed descendants in
     mobile browsers. The menu and scrim must remain fixed to the viewport,
     rather than being constrained to the 68px-tall navigation bar. */
  .nav {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Keep the header anchored when scroll locking changes the root scroll
     container. Otherwise a sticky header can jump back toward its document
     position when the menu is opened partway down the page. */
  .nav.nav-open {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }
  html.nav-menu-open,
  html.nav-menu-open body { overflow: hidden; }
  .nav-inner {
    position: relative;
    z-index: 103;
  }
  .nav-logo img { height: 38px; }
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    border-color: var(--green);
    outline: none;
  }
  .nav.nav-open .nav-toggle {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }
  .nav-scrim {
    position: fixed;
    z-index: 101;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: rgba(13, 23, 30, 0.48);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity .24s ease, visibility .24s ease;
  }
  .nav.nav-open .nav-scrim {
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    position: fixed;
    z-index: 102;
    top: 68px;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: min(440px, 100vw);
    /* 100vh is the fallback for older mobile browsers. Dynamic viewport
       units keep the final item above expanding browser chrome. */
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    padding: 26px calc(34px + env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) 34px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--ink);
    box-shadow: -24px 0 60px rgba(13, 23, 30, 0.18);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility .28s ease;
  }
  .nav-links::before {
    content: 'Explore iSanctuary';
    display: block;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--dark-rule);
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
  }
  .nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .nav-links > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--dark-rule);
  }
  .nav-links > li > a,
  .nav-dropdown-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 13px 0;
    justify-content: flex-start;
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.25;
    text-transform: none;
    touch-action: manipulation;
  }
  .nav-links > li > a::after {
    content: '\2192';
    margin-left: auto;
    padding-left: 20px;
    color: var(--green);
    font-size: 18px;
    transition: transform .18s ease;
  }
  .nav-links > li > a:hover::after,
  .nav-links > li > a:focus-visible::after { transform: translateX(4px); }
  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.active,
  .nav-dropdown-trigger:hover,
  .nav-dropdown-trigger:focus-visible,
  .nav-dropdown-trigger.active {
    color: var(--green);
    outline: none;
  }
  .nav-dropdown-trigger::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    transform: translate(-3px, -2px) rotate(45deg);
    transition: transform .2s ease;
  }
  .nav-dropdown.dropdown-open .nav-dropdown-trigger::after {
    transform: translate(-3px, 3px) rotate(225deg);
  }
  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 14px 16px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(1, 190, 162, .45);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown.dropdown-open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    color: var(--dark-soft);
    font-size: 13px;
    letter-spacing: .01em;
    line-height: 1.35;
    touch-action: manipulation;
  }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    background: rgba(255,255,255,.06);
    color: var(--white);
  }
  .nav-mobile-contact { border-bottom: 0; }
  .nav-mobile-contact a {
    position: static;
    display: flex;
    width: 100%;
    min-height: 50px;
    margin-top: 24px;
    padding: 13px 22px !important;
    justify-content: center !important;
    background: var(--green);
    color: var(--ink) !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .11em;
    text-align: center;
    text-transform: uppercase;
  }
  .nav-mobile-contact a::after { display: none; }
  .nav-mobile-contact a:hover,
  .nav-mobile-contact a:focus-visible { background: var(--white); color: var(--ink) !important; }
  .nav-cta { display: none; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-scrim,
  .nav-toggle,
  .nav-toggle-bar,
  .nav-dropdown-trigger::after { transition: none; }
}

@media (max-width: 900px) {
  .clients-inner { gap: 14px; }
  .clients-label {
    flex: none;
    padding-right: 14px;
  }
  .client-names-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .client-names-track {
    display: flex;
    animation: client-names-scroll 28s linear infinite;
    will-change: transform;
  }
  .client-names-copy { display: flex; }
  .client-names .client-name:last-child::after {
    content: '\00a0 ·\00a0 ';
  }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-links {
    padding-right: calc(24px + env(safe-area-inset-right));
    padding-left: calc(24px + env(safe-area-inset-left));
  }
  .hero::before,
  .hero::after,
  .service-hero::before,
  .team-hero::before,
  .blog-hero::before,
  .case-hero::before,
  .policies-hero::before {
    width: 100%;
    opacity: 0.18;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.66) 44%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.66) 44%, transparent 100%);
  }
  .rektify-hero-visual {
    width: 100%;
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.66) 44%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.66) 44%, transparent 100%);
  }
  .hero::after {
    opacity: 0.22;
    background-size: 260% 100%, 68px 68px, 68px 68px;
  }
  .hero-inner { padding-top: 64px; padding-bottom: 52px; }
  .hero-credentials { gap: 28px; }
  .section { padding: 60px 0; }
  .service-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .service-desc { grid-column: 2; }
  .service-arrow { display: none; }
  .people-grid, .team-grid, .testimonials-grid, .audience-grid,
  .urgent-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-timeline {
    gap: 0;
    grid-template-columns: 1fr;
  }
  .about-timeline-item {
    border-left: 1px solid rgba(1, 190, 162, .36);
    padding: 0 0 42px 30px;
    text-align: left;
  }
  .about-timeline-item:last-child { padding-bottom: 0; }
  .about-timeline-date { margin-bottom: 7px; }
  .about-timeline-item h3 { min-height: 0; }
  .about-timeline-node {
    left: -38px;
    margin: 0;
    position: absolute;
    top: 4px;
  }
  .about-principles-grid .product-card { min-height: 0; }
  .audience-card-link { min-height: 0; }
  .article-author {
    gap: 18px;
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .other-services-links { grid-template-columns: 1fr; }
  .other-service-link {
    font-size: 20px;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    min-height: 96px;
    padding: 22px 6px;
  }
  .specialist-credentials {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .specialist-credentials .cred-value { white-space: normal; }
  .cases-contact-card { grid-column: span 1; }
  .crypto-lead-card, .service-lead-card { grid-template-columns: 1fr; }
  .crypto-lead-portrait, .service-lead-portrait { max-width: 280px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-aside { position: static; }
  .profile-portrait { max-width: 280px; }
  .contact-form { padding: 24px; }
  .form-row.two-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-marquee .stat {
    min-width: 280px;
    padding: 12px 24px;
  }
  .stats-marquee .stat-value {
    font-size: 24px;
  }
  .stats-marquee .stat-label {
    font-size: 12px;
    max-width: 190px;
  }
  .stat-value { font-size: 30px; }
  .hero-mark { display: none; }
  .warning-panel { padding: 28px 24px; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .client-names-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .client-names-track {
    animation: none;
    will-change: auto;
  }
  .client-names-copy { display: none; }
}
