
:root {
  --bg: #07080d;
  --bg-2: #0e111a;
  --text: #f8fafc;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --line: rgba(255,255,255,.11);
  --soft: rgba(255,255,255,.055);
  --white: #ffffff;
  --ink: #111827;
  --paper: #f8fafc;
  --gold: #d8b76a;
  --blue: #7aa2ff;
  --radius: 28px;
  --shadow: 0 25px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section-pad { padding: 96px 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7,8,13,.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  font-size: 13px;
  letter-spacing: .18em;
}

.brand-text { color: #f4f4f5; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d4d4d8;
  font-size: 14px;
}

.site-nav a { transition: .2s ease; }
.site-nav a:hover { color: #fff; }

.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 99px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(216,183,106,.18), transparent 34%),
    radial-gradient(circle at 86% 20%, rgba(122,162,255,.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 36%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}

.hero-copy,
.content-panel {
  position: relative;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  max-width: 850px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .95;
  letter-spacing: -.07em;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: 22px;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.hero-text,
.page-intro,
.content-panel p,
.section-heading p {
  color: #d4d4d8;
  font-size: 18px;
}

.hero-actions,
.cta-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 800;
  transition: .2s ease;
}

.btn-primary {
  background: #fff;
  color: #0f172a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255,255,255,.18);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.metric-row div {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 22px;
  padding: 16px;
}
.metric-row strong {
  display: block;
  font-size: 17px;
}
.metric-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.hero-card,
.image-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.hero-card img,
.image-panel img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7,8,13,.92));
}

.hero-card-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
}

.hero-card-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-card-caption p {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.about-section,
.content-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}

.reverse { grid-template-columns: .95fr 1.05fr; }

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}
.section-heading.dark p { color: #475569; }

.method-grid,
.case-preview-grid,
.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.method-card {
  min-height: 250px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius);
  padding: 26px;
}
.method-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .16em;
}
.method-card p { color: var(--muted); margin: 0; }

.light-section {
  background: var(--paper);
  color: var(--ink);
}
.light-section .eyebrow { color: #8a6a16; }
.light-section h2,
.light-section h3 { color: #0f172a; }

.case-preview-grid,
.press-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-card,
.document-card,
.press-card,
.press-entry {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  color: #111827;
  transition: .2s ease;
}
.case-card:hover,
.press-card:hover,
.press-entry:hover,
.document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.tag,
.case-card span,
.document-card span,
.press-card span,
.press-entry span,
.case-meta span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.case-card p,
.document-card p,
.press-card p,
.press-entry p {
  color: #475569;
}
.case-card a,
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #1d4ed8;
  font-weight: 900;
}
.text-link.dark { color: #1d4ed8; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill-row span {
  border: 1px solid var(--line);
  background: var(--soft);
  color: #e5e7eb;
  border-radius: 999px;
  padding: 9px 13px;
}

.press-card {
  background: rgba(255,255,255,.055);
  border-color: var(--line);
  color: #fff;
}
.press-card p { color: var(--muted); }
.press-card span { background: rgba(255,255,255,.12); }

.cta-section {
  padding-top: 20px;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(216,183,106,.18), transparent 36%),
    rgba(255,255,255,.05);
  border-radius: 36px;
  padding: 42px;
}
.cta-box h2 { max-width: 700px; }
.cta-box p { color: var(--muted); max-width: 720px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 28px;
  background: #05060a;
}
.footer-grid,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-copy,
.footer-bottom {
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e4e4e7;
}
.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* Pages */
.page-hero {
  background:
    radial-gradient(circle at top right, rgba(122,162,255,.18), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}
.page-hero.compact { padding-bottom: 56px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--soft);
  color: #fff;
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 800;
}
.filter-btn.active,
.filter-btn:hover {
  background: #fff;
  color: #111827;
}

.case-list {
  display: grid;
  gap: 20px;
}

.case-detail {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 32px;
  padding: 32px;
}
.case-detail h2 { font-size: clamp(28px, 4vw, 46px); }
.case-detail p { color: #d4d4d8; font-size: 17px; }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.case-meta span:not(.status) {
  background: rgba(255,255,255,.08);
  color: #e5e7eb;
}
.status {
  background: var(--gold) !important;
  color: #111827 !important;
}

.case-info-grid,
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.case-info-grid div {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}
.case-info-grid strong,
.case-info-grid span {
  display: block;
}
.case-info-grid span { color: var(--muted); margin-top: 4px; }

.note-box {
  border: 1px solid rgba(216,183,106,.36);
  background: rgba(216,183,106,.08);
  border-radius: 24px;
  padding: 18px;
  color: #efe3c0;
  margin: 20px 0;
}

.document-grid,
.press-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.press-page-grid {
  grid-template-columns: repeat(2, 1fr);
}

.transparency-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}
.transparency-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.transparency-card span {
  display: block;
  color: #64748b;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.transparency-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
}
.transparency-card p { color: #475569; margin: 14px 0 0; }
.transparency-card.wide { grid-column: 1 / -1; }

.social-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.social-list a {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7,8,13,.97);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px; }

  .hero-grid,
  .split-grid,
  .reverse {
    grid-template-columns: 1fr;
  }
  .hero-card img,
  .image-panel img {
    height: 520px;
  }
  .method-grid,
  .case-preview-grid,
  .press-grid,
  .document-grid,
  .press-page-grid,
  .case-info-grid,
  .transparency-grid {
    grid-template-columns: 1fr;
  }
  .cta-box,
  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 66px 0; }
  .brand-text { display: none; }
  .hero-card img,
  .image-panel img { height: 430px; }
  .metric-row { grid-template-columns: 1fr; }
  .cta-box { padding: 26px; }
  .case-detail { padding: 24px; }
}
