@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --primary: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --amber-dark: #92400e;
  --red: #ef4444;
  --red-light: #fef2f2;
  --green: #10b981;
  --green-light: #ecfdf5;
  --blue: #3b82f6;
  --blue-light: #eff6ff;
  --sh-sm: 0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.05);
  --sh-md: 0 4px 12px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.05);
  --sh-lg: 0 8px 24px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.06);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --ease: cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Progress bar ── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--red));
  z-index: 9999; transition: width .1s linear; pointer-events: none;
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header-brand { display: flex; align-items: center; gap: 14px; }
.brand-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg,#fbbf24,#f97316);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 2px 8px rgba(249,115,22,.3);
}
.brand-text h1 {
  font-size: clamp(15px,2.2vw,21px); font-weight: 700; color: #fff;
  letter-spacing: -.02em; line-height: 1.2;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.brand-text small {
  display: block; font-size: 11px; color: rgba(255,255,255,.4);
  font-weight: 400; margin-top: 2px; letter-spacing: .02em;
}
.header-meta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.meta-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.6); font-size: 12.5px;
}

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-r {
  opacity: 0; transform: translateX(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-r.visible { opacity: 1; transform: translateX(0); }

/* ── Keyframes ── */
@keyframes pulse-badge {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50%      { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ── Intro section ── */
.intro-section {
  background: linear-gradient(160deg,#fffbeb,#fef9ef);
  border-bottom: 1px solid #fde68a; padding: 40px 0;
}
.intro-card {
  display: flex; align-items: flex-start; gap: 22px;
  background: #fff; border-radius: var(--r-lg); padding: 28px 32px;
  box-shadow: var(--sh-md); border-left: 4px solid var(--amber);
}
.intro-icon { font-size: 36px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.intro-content h2 {
  font-size: clamp(16px,2.2vw,21px); font-weight: 700; color: var(--primary);
  margin-bottom: 10px; letter-spacing: -.02em; line-height: 1.35;
}
.intro-content p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.intro-content p+p { margin-top: 6px; }

/* ── Name change banner ── */
.name-change-section {
  background: linear-gradient(160deg,var(--green-light),#f0fdf4);
  border-bottom: 1px solid #a7f3d0; padding: 14px 0;
}
.name-change-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge-important {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--green); color: #fff; padding: 5px 13px;
  border-radius: 100px; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  flex-shrink: 0; animation: pulse-badge 2.5s ease-in-out infinite;
}
.name-change-text { font-size: 13px; color: #064e3b; line-height: 1.6; }
.name-change-text strong { color: #065f46; }

/* ── Content section ── */
.content-section { padding: 56px 0 72px; }
.content-grid {
  display: grid; grid-template-columns: 1fr 390px;
  gap: 52px; align-items: start;
}

/* ── Story column ── */
.story-image-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); margin-bottom: 44px; background: #1e293b;
}
.story-image-wrap img {
  width: 100%; height: 300px; object-fit: cover;
  transition: transform .5s var(--ease); opacity: .95;
}
.story-image-wrap:hover img { transform: scale(1.04); }
.img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 20px 14px;
  background: linear-gradient(transparent,rgba(0,0,0,.65));
  color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .02em;
}

.story-block {
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.story-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.block-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.block-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--amber-light); display: flex; align-items: center;
  justify-content: center; font-size: 19px; flex-shrink: 0;
}
.block-heading h3 {
  font-size: clamp(17px,1.9vw,21px); font-weight: 700;
  color: var(--primary); letter-spacing: -.02em;
}

.story-block p { font-size: 15px; line-height: 1.85; color: var(--text); margin-bottom: 16px; }
.story-block p:last-child { margin-bottom: 0; }

.hl        { font-weight: 600; color: var(--primary); }
.hl-amber  { font-weight: 600; color: var(--amber-dark); background: var(--amber-light); padding: 1px 5px; border-radius: 4px; }
.hl-red    { font-weight: 600; color: #b91c1c; }

.story-block q {
  display: block; quotes: "«" "»";
  font-style: italic; color: #334155; font-size: 14.5px; line-height: 1.72;
  padding: 14px 20px; margin: 20px 0;
  background: var(--blue-light); border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.story-block q::before { content: open-quote; }
.story-block q::after  { content: close-quote; }

.evidence-fig { margin: 24px 0; }
.evidence-fig img {
  width: 100%; border-radius: var(--r-md); box-shadow: var(--sh-md);
  border: 1px solid var(--border); transition: box-shadow .3s var(--ease);
}
.evidence-fig img:hover { box-shadow: var(--sh-lg); }
.evidence-fig figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }

.closure-box {
  background: linear-gradient(135deg,#fff7ed,#ffedd5);
  border: 1px solid #fed7aa; border-radius: var(--r-md);
  padding: 22px 26px; margin-top: 20px;
}
.closure-box p { font-size: 14.5px !important; color: #7c2d12 !important; margin-bottom: 10px !important; }
.closure-box p:last-child { margin-bottom: 0 !important; }
.closure-box strong { color: #9a3412; }

/* ── Review column (right) ── */
.rating-card,
.timeline-card,
.review-full-card,
.evidence-card {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden;
  margin-bottom: 24px; border: 1px solid var(--border);
}

.card-header {
  background: linear-gradient(135deg,#1e293b,#0f172a);
  color: #fff; padding: 18px 22px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
}
.card-header .ch-icon { font-size: 18px; }

/* Rating */
.rating-top {
  background: linear-gradient(135deg,#1e293b,#0f172a);
  padding: 22px 24px; display: flex; align-items: center; gap: 18px;
}
.rating-stars { font-size: 26px; letter-spacing: 2px; line-height: 1; }
.rating-score { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; }
.rating-of    { font-size: 16px; color: rgba(255,255,255,.35); font-weight: 400; }
.rating-lbl   { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 3px; letter-spacing: .03em; }
.rating-body  { padding: 16px 22px; border-bottom: 1px solid var(--border); }
.rating-body p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.rating-verdict {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; background: var(--red-light);
  color: #b91c1c; font-size: 13px; font-weight: 600;
}

/* Timeline */
.timeline { padding: 8px 0; }
.timeline-item { display: flex; align-items: stretch; }
.tl-left { width: 50px; display: flex; flex-direction: column; align-items: center; padding: 16px 0 4px; flex-shrink: 0; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--amber); flex-shrink: 0; z-index: 1;
}
.tl-dot.neg { background: var(--red); box-shadow: 0 0 0 3px var(--red); }
.tl-line { width: 2px; flex: 1; background: var(--border); margin: 4px 0 0; min-height: 20px; }
.timeline-item:last-child .tl-line { display: none; }
.tl-body { flex: 1; padding: 14px 20px 14px 0; }
.tl-date {
  display: inline-block; background: var(--amber-light); color: var(--amber-dark);
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px;
}
.tl-date.neg { background: #fef2f2; color: #b91c1c; }
.tl-text { font-size: 12.5px; line-height: 1.6; color: var(--text); }
.tl-text strong { color: var(--primary); font-weight: 600; }

/* Review updates */
.review-updates { padding: 4px 0; }
.review-update { padding: 16px 22px; border-bottom: 1px solid var(--border); }
.review-update:last-child { border-bottom: none; }
.update-lbl {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin-bottom: 6px;
}
.review-update p { font-size: 12.5px; line-height: 1.65; color: var(--text); }
.review-update.conclusion { background: #fafafa; }
.review-update.conclusion .update-lbl { color: var(--primary); }

/* Evidence card */
.evidence-card img { width: 100%; height: auto; transition: transform .4s var(--ease); }
.evidence-card img:hover { transform: scale(1.01); }

/* ── Disclaimer ── */
.disclaimer-section {
  background: linear-gradient(160deg,#fff5f5,#fef2f2);
  border-top: 1px solid #fecaca; padding: 48px 0;
}
.disclaimer-card {
  background: #fff; border-radius: var(--r-lg);
  padding: 28px 32px; box-shadow: var(--sh-md);
  border-left: 4px solid var(--red);
}
.disclaimer-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.disclaimer-heading span { font-size: 24px; }
.disclaimer-heading h3 { font-size: 18px; font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
.disclaimer-card p { font-size: 13.5px; color: var(--muted); line-height: 1.72; margin-bottom: 12px; }
.disclaimer-card p:last-child { margin-bottom: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.45);
  padding: 24px; text-align: center; font-size: 12.5px; line-height: 1.65;
}

/* ── Back to top ── */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--primary); color: #fff;
  border: none; border-radius: 50%; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
  z-index: 50; box-shadow: var(--sh-lg); pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: #1d4ed8; }

/* ── Court section ── */
.court-section {
  background: linear-gradient(160deg,#f0fdf4,#dcfce7);
  border-bottom: 1px solid #86efac; padding: 40px 0;
}
.court-card {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden;
  border: 1px solid #86efac;
}
.court-card-badge {
  background: linear-gradient(135deg,#15803d,#166534);
  color: #fff; padding: 16px 24px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.court-card-badge .badge-icon { font-size: 20px; }
.court-body { padding: 28px 32px; }
.court-amount-wrap {
  text-align: center; margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.court-amount {
  font-size: clamp(34px,5vw,56px); font-weight: 800;
  color: #15803d; letter-spacing: -.03em; line-height: 1;
}
.court-amount-sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.court-breakdown {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px;
}
.court-item {
  background: var(--bg); border-radius: var(--r-sm);
  padding: 10px 14px; display: flex; flex-direction: column; gap: 3px;
}
.court-item-lbl { font-size: 11px; color: var(--muted); }
.court-item-val { font-size: 14px; font-weight: 700; color: var(--primary); }
.court-final {
  display: flex; align-items: center; gap: 10px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--r-md); padding: 14px 18px;
  font-size: 13.5px; font-weight: 600; color: #15803d;
}
.court-final-icon { font-size: 20px; flex-shrink: 0; }
.court-docs {
  border-top: 1px solid var(--border); padding: 16px 32px;
  display: flex; gap: 20px; flex-wrap: wrap; background: var(--bg);
}
.court-doc-link {
  font-size: 13px; color: var(--blue); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: opacity .2s;
}
.court-doc-link:hover { opacity: .65; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .review-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .rating-card,.timeline-card,.review-full-card,.evidence-card { margin-bottom: 0; }
  .review-full-card,.evidence-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .court-breakdown { grid-template-columns: 1fr; }
  .court-body { padding: 20px; }
  .court-docs { flex-direction: column; gap: 10px; padding: 14px 20px; }
  .header-meta { display: none; }
  .header-inner { padding: 12px 16px; }
  .container { padding: 0 16px; }
  .intro-card { flex-direction: column; padding: 20px; gap: 14px; }
  .content-section { padding: 36px 0 48px; }
  .story-image-wrap img { height: 220px; }
  .review-column { display: flex; flex-direction: column; }
  .story-block { margin-bottom: 36px; padding-bottom: 36px; }
  .disclaimer-card { padding: 20px; }
  .back-top { bottom: 16px; right: 16px; }
}
