/* =============================================================
   PROVES.IO — 05. PRIVACY  (/privacy/)
   Rules for this page only. Loads last, so anything here
   intentionally overrides the shared files above.
   ============================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 1200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--bg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-vivid), var(--red));
  z-index: 1000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--red-glow);
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48rem;
  background: radial-gradient(ellipse 42% 32% at 68% 16%, var(--red-glow) 0%, transparent 70%), radial-gradient(ellipse 28% 20% at 12% 22%, var(--red-dim) 0%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] #site-header.scrolled {
  background: rgba(15, 15, 15, 0.7);
}

.logo {
  position: relative;
  display: block;
  width: 340px;
  height: 74px;
  overflow: hidden;
  line-height: 1;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.45s var(--ease-out);
  user-select: none;
}

@media (max-width: 900px) {
  .logo {
    width: 248px;
    height: 54px;
  }
}

.header-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.header-attribution {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-attribution a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.theme-toggle__icon {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.theme-toggle__icon svg {
  width: 14px;
  height: 14px;
}

main {
  display: block;
}

.container {
  width: min(1240px, calc(100% - 6rem));
  margin: 0 auto;
}

.hero {
  padding: 11rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.breadcrumb span {
  opacity: 0.65;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
}

.hero-copy {
  margin-top: 1.4rem;
  max-width: 65ch;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.9375rem 2.125rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: background 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s, border-color 0.2s;
}

.btn-primary {
  background: var(--red-vivid);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(242, 61, 51, 0.3), 0 1px 4px rgba(0, 0, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #e5362c;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(242, 61, 51, 0.38), 0 4px 12px rgba(0, 0, 0, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--text-primary);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.jump-nav a:focus-visible,
.timeline-trigger:focus-visible {
  outline: 2px solid var(--red-vivid);
  outline-offset: 3px;
}

.section-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--border-mid) 28%, var(--border-mid) 72%, transparent);
}

.programme-section {
  padding: 2.75rem 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
}

.section-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.cta-banner {
  margin: 1rem auto 4.5rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(247, 246, 242, 0.95), rgba(239, 237, 231, 0.84));
  box-shadow: var(--shadow);
}

[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.cta-banner p {
  margin: 0;
  color: var(--text-secondary);
}

.cta-banner strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

#site-footer {
  padding: 0 3rem 3rem;
  background: var(--bg-raised);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-attr,
.footer-legal {
  color: var(--text-muted);
}

.footer-attr {
  font-size: 0.75rem;
}

.footer-attr a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.footer-attr a:hover,
.footer-nav a:hover {
  color: var(--red);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-legal {
  font-size: 0.6875rem;
  letter-spacing: 0.025em;
}

@media (max-width: 1100px) {
  .hero-grid,
  .section-header,
  .cta-banner-grid,
  .timeline-panel-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  #site-header {
    padding: 1.25rem 1.75rem;
  }

  #site-header > nav {
    flex-wrap: wrap;
  }

  .header-attribution {
    display: none;
  }

  .header-links {
    gap: 1.5rem;
  }

  .breadcrumb {
    display: none;
  }

  .theme-toggle {
    left: 1.75rem;
  }

  .container {
    width: min(100% - 3.5rem, 1240px);
  }

  #site-footer {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 10rem;
  }

  .container {
    width: min(100% - 2rem, 1240px);
  }

  .theme-toggle {
    top: auto;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: auto;
    padding: 6px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 22px -8px rgba(10, 10, 10, 0.32);
  }

  .theme-toggle__track {
    width: 64px;
    height: 30px;
  }

  .theme-toggle__indicator {
    width: 30px;
    height: 30px;
  }

  [data-theme="dark"] .theme-toggle__indicator {
    transform: translateX(34px);
  }

  .theme-toggle__icon {
    width: 30px;
    height: 30px;
  }

  .theme-toggle__icon svg {
    width: 14px;
    height: 14px;
  }
}

.phase-flow-wrap {
  padding: 0 0 1rem;
}

.phase-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.phase-chevron {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-height: 12.5rem;
  padding: 1.75rem 2.4rem 1.75rem 3rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(242, 61, 51, 0.07), rgba(242, 61, 51, 0.02));
  color: var(--text-primary);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%);
  transition: transform 0.25s var(--ease-spring), background 0.25s ease;
}

.phase-chevron:first-child {
  padding-left: 2rem;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

[data-theme="dark"] .phase-chevron {
  background: linear-gradient(135deg, rgba(255, 122, 107, 0.1), rgba(255, 122, 107, 0.02));
  border-color: rgba(242, 240, 236, 0.14);
}

a.phase-chevron:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(242, 61, 51, 0.13), rgba(242, 61, 51, 0.04));
}

a.phase-chevron:focus-visible {
  outline: 2px solid var(--red-vivid);
  outline-offset: 3px;
}

.phase-chevron-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.phase-chevron-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.phase-chevron-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(242, 61, 51, 0.35);
  background: var(--bg);
  color: var(--red);
  flex-shrink: 0;
}

.phase-chevron-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.phase-chevron-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.phase-chevron-caption {
  margin: 0;
  max-width: 20ch;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.narrative-block {
  max-width: 860px;
  margin: 0 auto;
}

.narrative-block .section-title {
  margin-bottom: 1.4rem;
}

.narrative-standfirst {
  margin: 0.6rem 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}

.narrative {
  max-width: none;
}

.narrative p {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.narrative p:last-child {
  margin-bottom: 0;
}

.narrative strong {
  color: var(--text-primary);
}

.narrative p.narrative-lede {
  margin: 2.4rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.callout {
  margin: 1.75rem 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 0 1rem 1rem 0;
  background: rgba(247, 246, 242, 0.9);
}

[data-theme="dark"] .callout {
  background: rgba(255, 255, 255, 0.03);
}

.callout p {
  margin: 0;
  font-size: 0.9875rem;
  color: var(--text-secondary);
}

.callout .callout-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.phase-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.phase-detail-body p.phase-detail-lede {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.phase-detail-body p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.phase-detail-body p:last-child {
  margin-bottom: 0;
}

.phase-detail-body strong {
  color: var(--text-primary);
}

.phase-points {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: rgba(247, 246, 242, 0.92);
}

[data-theme="dark"] .phase-points {
  background: rgba(255, 255, 255, 0.02);
}

.phase-points-label {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.phase-points ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phase-points li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.55;
}

.phase-points li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.phase-points li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 0.62rem;
  color: var(--red);
  font-weight: 600;
}

.phase-points li strong {
  color: var(--text-primary);
}

.pull-quote {
  position: relative;
  margin: 1.75rem 0 0;
  padding: 1.9rem 1.7rem 1.5rem 2.9rem;
  border: 1px solid rgba(242, 61, 51, 0.22);
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(242, 61, 51, 0.07), rgba(242, 61, 51, 0.015)), var(--bg);
  box-shadow: 0 20px 44px -30px rgba(10, 10, 10, 0.4);
}

.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.55;
}

[data-theme="dark"] .pull-quote {
  border-color: rgba(255, 122, 107, 0.24);
  background: linear-gradient(135deg, rgba(255, 122, 107, 0.1), rgba(255, 122, 107, 0.02)), var(--bg-raised);
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.6);
}

.pull-quote p {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.38;
  color: var(--text-primary);
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.signoff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.signoff-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--bg-raised);
}

.signoff-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.signoff-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .phase-detail {
    grid-template-columns: 1fr;
  }

  .signoff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .phase-flow {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .phase-chevron,
  .phase-chevron:first-child {
    clip-path: none;
    padding: 1.4rem 1.5rem;
    border-radius: 1rem;
    min-height: 0;
  }

  .phase-chevron-caption {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .programme-section {
    padding: 2.25rem 0;
  }

  .narrative p.narrative-lede {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    margin-top: 1.9rem;
  }

  .narrative p {
    font-size: 1rem;
  }

  .pull-quote {
    padding: 1.7rem 1.25rem 1.3rem 2.3rem;
  }

  .pull-quote::before {
    font-size: 2.6rem;
    left: 0.75rem;
  }

  .pull-quote p {
    font-size: 1.15rem;
  }

  .callout {
    padding: 1.2rem 1.25rem;
  }

  .signoff-card {
    padding: 1.35rem 1.4rem;
  }

  .logo {
    width: 214px;
    height: 46px;
  }
}

.legal {
  max-width: 820px;
  margin: 0 auto;
}

.legal-meta {
  margin: 0 0 2.25rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--bg-raised);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

[data-theme="dark"] .legal-meta {
  background: rgba(255, 255, 255, 0.03);
}

.legal-meta strong {
  color: var(--text-secondary);
}

.legal h2 {
  margin: 2.75rem 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.legal h3 {
  margin: 1.85rem 0 0.6rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.legal p {
  margin: 0 0 1.1rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.legal ul {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

.legal li {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal li::marker {
  color: var(--red);
}

.legal strong {
  color: var(--text-primary);
}

.legal a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(224, 74, 63, 0.5);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.legal a:hover {
  color: var(--red);
}

@media (max-width: 640px) {
  .legal h2 {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

  .legal p,
  .legal li {
    font-size: 1rem;
  }
}
