/* ==========================================================================
   Policy pages — the site's editorial treatment: full width, a sticky
   on-page contents rail, and numbered serif sections ruled like the
   programme-page magazine layout. No boxes; the document reads like the
   rest of the site.
   ========================================================================== */

/* Hero stats: policy facts are words, not big numbers, so the serif figures
   step down and wrap instead of overflowing. */
.ou-stats.policy-stats .ou-stat strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.2;
  word-break: break-word;
}
.policy-stats-band { padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }

/* ------------------------------------------------------------------ layout */

.policy-body {
  background: var(--tg-surface);
  padding: clamp(2.4rem, 4.5vw, 3.8rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

/* --------------------------------------------------------------- contents */

.policy-toc {
  position: sticky;
  top: calc(var(--tg-header-h, 68px) + 1.25rem);
  max-height: calc(100vh - var(--tg-header-h, 68px) - 2.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 0.4rem;
}
.policy-toc-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin-bottom: 0.8rem;
}
.policy-toc a {
  display: block;
  padding: 0.38rem 0 0.38rem 0.95rem;
  border-left: 2px solid var(--tg-line);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tg-muted);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.policy-toc a:hover { color: var(--tg-royal-text); border-left-color: var(--tg-royal); }

@media (max-width: 960px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc {
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-right: 0;
    margin-bottom: 0.6rem;
  }
  .policy-toc-label { width: 100%; margin-bottom: 0.3rem; }
  .policy-toc a {
    border: 1px solid var(--tg-line-strong);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
  .policy-toc a:hover { border-color: var(--tg-royal); }
}

/* --------------------------------------------------------------- document */

.policy-doc { min-width: 0; }

.policy-sec {
  border-top: 1px solid var(--tg-line-strong);
  padding-top: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: clamp(1.9rem, 3.4vw, 2.8rem);
  scroll-margin-top: calc(var(--tg-header-h, 68px) + 1.25rem);
}
.policy-sec:first-child { border-top: 0; padding-top: 0; }

.policy-sec-head {
  display: flex;
  align-items: baseline;
  gap: 0.95rem;
  margin-bottom: 1.1rem;
}
.policy-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tg-royal);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.policy-sec h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--tg-ink);
}
.policy-sec h3 {
  margin: 1.5rem 0 0.6rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--tg-ink);
}

.policy-sec p,
.policy-sec li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tg-body);
}
.policy-sec p { margin: 0 0 0.95rem; max-width: 78ch; }
.policy-sec p:last-child { margin-bottom: 0; }
.policy-sec strong { font-weight: 700; color: var(--tg-ink); }

.policy-sec ul { list-style: none; padding: 0; margin: 0 0 0.95rem; max-width: 78ch; }
.policy-sec ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}
.policy-sec ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--tg-royal);
  font-weight: 700;
}

.policy-sec a { color: var(--tg-royal-text); font-weight: 700; text-decoration: none; }
.policy-sec a:hover { color: var(--tg-royal); }

/* Emphasis note: a quiet ruled band, same language as the rest of the site. */
.policy-note {
  background: var(--tg-info-bg);
  border-left: 3px solid var(--tg-royal);
  border-radius: var(--tg-radius-sm);
  padding: 1.1rem 1.35rem;
  margin: 1.2rem 0;
  max-width: 78ch;
}
.policy-note p { margin: 0 0 0.5rem; }
.policy-note p:last-child { margin: 0; }
.policy-note strong { color: var(--tg-ink); }

/* Closing contact panel: the dark conversion card used across the site. */
.policy-contact {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  background: #16181D;
  color: #fff;
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 18px 48px rgba(15, 27, 45, 0.25);
}
.policy-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
@media (max-width: 640px) { .policy-contact-grid { grid-template-columns: 1fr; } }
.policy-contact h2 {
  margin: 0 0 1.2rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: #fff;
}
.policy-contact h3 {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFB699;
}
.policy-contact p { margin: 0 0 0.4rem; font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.policy-contact a { color: #FF8A57; font-weight: 700; text-decoration: none; }
.policy-contact a:hover { color: #FFB699; }
.policy-contact-foot {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
