/* Privacy page - Craig David presents TS5, Oxford (Supermodified).
   Engine legal.css (fantazia-raves) re-tokened to this site's palette:
   ink #181818, links sky-deep #0B6C93 (5.9:1 on white), accent ember
   #A4481A (6.0:1). Same type: Archivo variable. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-wdth.woff2?v=20261106-22") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --void:     #FFFFFF;
  --ink:      #181818;
  --ice:      #0B6C93;   /* links (engine name kept: every rule below reads it) */
  --frost:    #181818;   /* hover */
  --red:      #A4481A;   /* accent bar / focus (engine name kept) */
  --paper:    #181818;   /* headings + strong (engine name kept) */
  --mist:     #2A2A2A;   /* reading copy */
  --mist-dim: #555555;
  --line:     #E2E2E2;
  --display:  "Archivo", "Arial Narrow", sans-serif;
  --font:     "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--void); }
body.legal-wrap {
  margin: 0;
  background: var(--void);
  color: var(--mist);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- header band: the wordmark lockup on paper ---------- */
.legal-hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(64px, 8vw, 80px) 16px clamp(24px, 4vw, 40px);
  overflow: hidden;
  background: #15BAE1 url("../images/bg-desktop.webp?v=20261106-22") center 30% / cover no-repeat;
}
.legal-hero__lockup {
  display: block;
  width: min(440px, 78vw);
  height: auto;
}

/* --- back link: top-left of the band, outlined like the site's panel --- */
.legal__back {
  position: absolute;
  z-index: 2;
  top: clamp(14px, 2.4vw, 22px);
  left: clamp(14px, 3vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid #D4D4D4;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.legal__back:hover { border-color: var(--red); background: #fff; }
.legal__back-arrow { display: flex; flex: 0 0 auto; width: 16px; height: 16px; color: var(--red); }
.legal__back-arrow svg { width: 100%; height: 100%; }

/* ---------- document ---------- */
.legal {
  max-width: 74ch;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) clamp(18px, 5vw, 32px) clamp(48px, 8vw, 88px);
}
.legal h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-stretch: 62%;
  font-size: clamp(52px, 9vw, 84px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
  color: var(--paper);
}
/* the site's title pattern: second line in the sun's red */
.legal h1 em { font-style: normal; color: var(--red); }
.legal__intro {
  margin: 0 0 clamp(26px, 4vw, 38px);
  font-size: 17px;
  color: var(--mist);
  max-width: 56ch;
}
.legal h2 {
  position: relative;
  margin: clamp(34px, 4.6vw, 48px) 0 14px;
  padding: 16px 0 0 26px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--paper);
}
/* red bar, one per section, the lit wall's colour */
.legal h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 14px;
  background: var(--red);
}
.legal h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}
.legal p {
  margin: 0 0 13px;
  color: var(--mist);
  max-width: 70ch;
}
.legal p strong { color: var(--paper); font-weight: 700; }
.legal a { color: var(--ice); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--frost); text-decoration-thickness: 2px; }

.legal .legal__meta {
  margin: clamp(36px, 5vw, 54px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mist-dim);
}

/* ---------- footer: same band as the sign-up page ---------- */
.foot {
  padding: 18px clamp(16px, 4vw, 40px) 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot__legal { margin: 0; font-size: 12px; color: var(--mist-dim); }
.foot__legal a { color: var(--mist-dim); text-decoration: none; }
.foot__legal a:hover { color: var(--ice); }
/* the consent script drops "Cookie settings" in right after the privacy link
   with only a text space between them; give it a real gap and a divider. */
.foot__legal [data-sm-consent-open] {
  margin-left: .75em;
  padding-left: .85em;
  border-left: 1px solid #CFCFCF;
}
.site-built { margin: 0; }
.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid #DADADA;
  border-radius: 999px;
  font-size: 12px;
  color: var(--mist-dim);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.site-built a:hover { color: var(--paper); border-color: var(--red); }
/* white + teal credit art: on paper darken + saturate, NEVER invert() */
.site-built img { display: block; filter: brightness(.36) saturate(1.45); }
@media (max-width: 899px) {
  .foot { justify-content: center; text-align: center; }
  .foot__right { justify-content: center; }
}
@media (max-width: 480px) {
  .foot { flex-direction: column; align-items: center; gap: 10px; padding-bottom: 22px; }
  .foot__right { flex-direction: column; align-items: center; gap: 10px; }
  .legal-hero { padding-top: 64px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Named-party disclosure (About us). Set apart because it carries the
   named-party share block the client asked
   to be explicit. */
.legal .controller {
  margin: 18px 0 8px;
  padding: 16px 18px 6px;
  border-left: 3px solid var(--red);
  background: #F7F7F7;
}

/* Lawful-basis and cookie tables: scroll sideways on phones rather than
   squeeze three columns into 320px. */
.legal .tbl { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; color: var(--paper); background: #F4FBFE; }
.legal tr:last-child td { border-bottom: 0; }
.legal ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal li { margin: 0 0 8px; }
.legal address { font-style: normal; margin: 0 0 16px; }
