/*
Theme Name: ANCHOR Newspaper Child
Theme URI: https://ruth-ellen.com/anchor
Description: Child theme for Newspaper — ANCHOR brand system. All ANCHOR pages inherit these styles automatically. Update Newspaper safely; this child theme is never overwritten.
Author: ANCHOR™
Author URI: https://ruth-ellen.com
Template: Newspaper
Version: 1.0.0
Tags: child-theme, anchor, people-teams
Text Domain: anchor-newspaper
*/

/* ============================================================
   ANCHOR DESIGN SYSTEM
   Single source of truth. Change here → changes everywhere.
   ============================================================ */

/* ------------------------------------------------------------
   1. FONTS
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ------------------------------------------------------------
   2. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand colours */
  --anchor-navy:        #0A1628;
  --anchor-navy-mid:    #0f1e38;
  --anchor-navy-light:  #162040;
  --anchor-gold:        #C4A35A;
  --anchor-gold-light:  #d4b870;
  --anchor-gold-dim:    rgba(196,163,90,0.15);
  --anchor-white:       #FFFFFF;
  --anchor-off-white:   #F5F3EE;
  --anchor-grey-100:    #E8E6E1;
  --anchor-grey-300:    #B8B4AC;
  --anchor-grey-500:    #7A7670;
  --anchor-grey-700:    #3D3B38;

  /* Risk colours */
  --anchor-clean:       #4ade80;
  --anchor-advisory:    #fbbf24;
  --anchor-escalate:    #f87171;

  /* Typography */
  --font-display:       'Fraunces', Georgia, serif;
  --font-body:          'DM Sans', system-ui, sans-serif;
  --font-mono:          'DM Mono', 'Courier New', monospace;

  /* Type scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   3rem;       /* 48px */
  --text-6xl:   3.75rem;    /* 60px */

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Layout */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1200px;
  --container-2xl:  1400px;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.12);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.2);
  --shadow-gold: 0 4px 24px rgba(196,163,90,0.2);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
}

/* ------------------------------------------------------------
   3. GLOBAL RESETS (scoped to anchor pages)
   ------------------------------------------------------------ */
.anchor-page *,
.anchor-page *::before,
.anchor-page *::after {
  box-sizing: border-box;
}

.anchor-page {
  font-family: var(--font-body);
  color: var(--anchor-navy);
  background-color: var(--anchor-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dark page variant */
.anchor-page--dark {
  color: var(--anchor-white);
  background-color: var(--anchor-navy);
}

/* ------------------------------------------------------------
   4. TYPOGRAPHY COMPONENTS
   ------------------------------------------------------------ */

/* Eyebrow / label */
.anchor-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--anchor-gold);
}

/* Display headings */
.anchor-h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.anchor-h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.anchor-h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 400;
  line-height: 1.2;
}

.anchor-h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.3;
}

/* Body text */
.anchor-body-lg {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.7;
  font-weight: 300;
}

.anchor-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  font-weight: 300;
}

.anchor-body-sm {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  font-weight: 300;
}

/* Pull quote */
.anchor-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--anchor-gold);
  border-left: 3px solid var(--anchor-gold);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
}

/* Mono label */
.anchor-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   5. LAYOUT COMPONENTS
   ------------------------------------------------------------ */

/* Container */
.anchor-container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.anchor-container--sm  { max-width: var(--container-sm); }
.anchor-container--md  { max-width: var(--container-md); }
.anchor-container--lg  { max-width: var(--container-lg); }
.anchor-container--2xl { max-width: var(--container-2xl); }

/* Section */
.anchor-section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.anchor-section--lg {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

.anchor-section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Grid */
.anchor-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.anchor-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.anchor-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .anchor-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .anchor-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .anchor-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------
   6. BUTTON COMPONENTS
   ------------------------------------------------------------ */

.anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

/* Primary — gold on navy */
.anchor-btn--primary {
  background: var(--anchor-gold);
  color: var(--anchor-navy);
  border-color: var(--anchor-gold);
}
.anchor-btn--primary:hover {
  background: var(--anchor-gold-light);
  border-color: var(--anchor-gold-light);
  color: var(--anchor-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
}

/* Secondary — outlined gold */
.anchor-btn--secondary {
  background: transparent;
  color: var(--anchor-gold);
  border-color: rgba(196,163,90,0.4);
}
.anchor-btn--secondary:hover {
  background: var(--anchor-gold-dim);
  border-color: var(--anchor-gold);
  color: var(--anchor-gold);
  text-decoration: none;
}

/* Ghost — white outline on dark */
.anchor-btn--ghost {
  background: transparent;
  color: var(--anchor-white);
  border-color: rgba(255,255,255,0.2);
}
.anchor-btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  color: var(--anchor-white);
  text-decoration: none;
}

/* Sizes */
.anchor-btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
}

.anchor-btn--sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
}

/* ------------------------------------------------------------
   7. CARD COMPONENTS
   ------------------------------------------------------------ */

/* Base card */
.anchor-card {
  background: var(--anchor-white);
  border: 1px solid var(--anchor-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base);
}

.anchor-card:hover {
  box-shadow: var(--shadow-md);
}

/* Dark card */
.anchor-card--dark {
  background: var(--anchor-navy-light);
  border-color: rgba(196,163,90,0.15);
  color: var(--anchor-white);
}

/* Stat card */
.anchor-stat-card {
  background: var(--anchor-white);
  border: 1px solid var(--anchor-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.anchor-stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--anchor-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.anchor-stat-card__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--anchor-grey-500);
}

/* Risk badge card */
.anchor-risk-card {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  border-left: 3px solid;
}

.anchor-risk-card--clean    { border-color: var(--anchor-clean);    background: rgba(74,222,128,0.05); }
.anchor-risk-card--advisory { border-color: var(--anchor-advisory); background: rgba(251,191,36,0.05); }
.anchor-risk-card--escalate { border-color: var(--anchor-escalate); background: rgba(248,113,113,0.05); }

/* ------------------------------------------------------------
   8. BADGE / PILL COMPONENTS
   ------------------------------------------------------------ */

.anchor-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid;
}

.anchor-badge--gold    { color: var(--anchor-gold);    border-color: rgba(196,163,90,0.3);  background: rgba(196,163,90,0.08); }
.anchor-badge--clean   { color: var(--anchor-clean);   border-color: rgba(74,222,128,0.3);  background: rgba(74,222,128,0.08); }
.anchor-badge--advisory{ color: var(--anchor-advisory);border-color: rgba(251,191,36,0.3);  background: rgba(251,191,36,0.08); }
.anchor-badge--escalate{ color: var(--anchor-escalate);border-color: rgba(248,113,113,0.3); background: rgba(248,113,113,0.08); }

/* ------------------------------------------------------------
   9. HERO COMPONENTS
   ------------------------------------------------------------ */

/* Dark hero — navy background */
.anchor-hero {
  background: var(--anchor-navy);
  color: var(--anchor-white);
  padding: var(--space-32) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture overlay */
.anchor-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,163,90,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.anchor-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--anchor-gold);
  margin-bottom: var(--space-4);
}

.anchor-hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
  color: var(--anchor-white);
}

.anchor-hero__title em {
  font-style: italic;
  color: var(--anchor-gold);
}

.anchor-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.anchor-hero__cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* Light hero variant */
.anchor-hero--light {
  background: var(--anchor-off-white);
  color: var(--anchor-navy);
}

.anchor-hero--light .anchor-hero__title { color: var(--anchor-navy); }
.anchor-hero--light .anchor-hero__subtitle { color: var(--anchor-grey-500); }
.anchor-hero--light::before { display: none; }

/* ------------------------------------------------------------
   10. NAVIGATION (ANCHOR pages override Newspaper nav)
   ------------------------------------------------------------ */

.anchor-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,163,90,0.1);
  transition: background var(--transition-base);
}

.anchor-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.anchor-nav__logo {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--anchor-white);
  text-decoration: none;
}

.anchor-nav__logo span {
  color: var(--anchor-gold);
}

.anchor-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.anchor-nav__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.anchor-nav__links a:hover {
  color: var(--anchor-white);
}

/* ------------------------------------------------------------
   11. DIVIDER / SEPARATOR
   ------------------------------------------------------------ */

.anchor-divider {
  border: none;
  border-top: 1px solid var(--anchor-grey-100);
  margin: var(--space-12) 0;
}

.anchor-divider--gold {
  border-color: rgba(196,163,90,0.2);
}

.anchor-divider--dark {
  border-color: rgba(255,255,255,0.08);
}

/* ------------------------------------------------------------
   12. FEATURE ROW (used on landing pages)
   ------------------------------------------------------------ */

.anchor-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .anchor-feature-row { grid-template-columns: 1fr 1fr; }
  .anchor-feature-row--reverse .anchor-feature-row__content { order: -1; }
}

.anchor-feature-row__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--anchor-gold);
  margin-bottom: var(--space-3);
}

.anchor-feature-row__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.anchor-feature-row__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  color: var(--anchor-grey-500);
  margin-bottom: var(--space-6);
}

/* ------------------------------------------------------------
   13. PRICING / SPRINT BLOCK
   ------------------------------------------------------------ */

.anchor-pricing-block {
  background: var(--anchor-navy);
  color: var(--anchor-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  border: 1px solid rgba(196,163,90,0.2);
  position: relative;
  overflow: hidden;
}

.anchor-pricing-block::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196,163,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.anchor-pricing-block__tier {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--anchor-gold);
  margin-bottom: var(--space-4);
}

.anchor-pricing-block__price {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--anchor-white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.anchor-pricing-block__period {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-8);
}

.anchor-pricing-block__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
}

.anchor-pricing-block__features li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.anchor-pricing-block__features li::before {
  content: '→';
  color: var(--anchor-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ------------------------------------------------------------
   14. CTA BLOCK
   ------------------------------------------------------------ */

.anchor-cta-block {
  background: var(--anchor-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  border: 1px solid rgba(196,163,90,0.15);
  position: relative;
  overflow: hidden;
}

.anchor-cta-block::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(196,163,90,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.anchor-cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 400;
  color: var(--anchor-white);
  margin-bottom: var(--space-4);
}

.anchor-cta-block__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   15. BLOG / EDITORIAL COMPONENTS
   ------------------------------------------------------------ */

/* Post card */
.anchor-post-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--anchor-white);
  border: 1px solid var(--anchor-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  text-decoration: none;
  color: var(--anchor-navy);
}

.anchor-post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.anchor-post-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.anchor-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.anchor-post-card:hover .anchor-post-card__image img {
  transform: scale(1.03);
}

.anchor-post-card__body {
  padding: var(--space-6);
}

.anchor-post-card__category {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--anchor-gold);
  margin-bottom: var(--space-2);
}

.anchor-post-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-3);
  color: var(--anchor-navy);
}

.anchor-post-card__excerpt {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.6;
  color: var(--anchor-grey-500);
}

/* Article body (blog post content) */
.anchor-article-body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.8;
  color: var(--anchor-navy);
  max-width: 680px;
}

.anchor-article-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.anchor-article-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.anchor-article-body p {
  margin-bottom: var(--space-6);
}

.anchor-article-body a {
  color: var(--anchor-navy);
  text-decoration: underline;
  text-decoration-color: var(--anchor-gold);
  text-underline-offset: 3px;
}

.anchor-article-body strong {
  font-weight: 500;
}

/* ------------------------------------------------------------
   16. FORM COMPONENTS
   ------------------------------------------------------------ */

.anchor-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--anchor-navy);
  background: var(--anchor-white);
  border: 1px solid var(--anchor-grey-300);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.anchor-input:focus {
  border-color: var(--anchor-gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.12);
}

.anchor-input--dark {
  background: var(--anchor-navy-light);
  border-color: rgba(196,163,90,0.2);
  color: var(--anchor-white);
}

.anchor-input--dark:focus {
  border-color: var(--anchor-gold);
}

/* ------------------------------------------------------------
   17. TRUST / PROOF ELEMENTS
   ------------------------------------------------------------ */

.anchor-proof-strip {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--anchor-grey-100);
  border-bottom: 1px solid var(--anchor-grey-100);
}

.anchor-proof-strip__items {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.anchor-proof-strip__item {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--anchor-grey-500);
}

/* Receipt preview (used on landing pages) */
.anchor-receipt-preview {
  background: var(--anchor-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(196,163,90,0.15);
  font-family: var(--font-mono);
}

.anchor-receipt-preview__header {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.anchor-receipt-preview__id {
  font-size: var(--text-xs);
  color: var(--anchor-gold);
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------
   18. FOOTER COMPONENT
   ------------------------------------------------------------ */

.anchor-footer {
  background: var(--anchor-navy);
  color: rgba(255,255,255,0.5);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(196,163,90,0.1);
}

.anchor-footer__brand {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--anchor-gold);
  margin-bottom: var(--space-2);
}

.anchor-footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-8);
}

.anchor-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.anchor-footer__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.anchor-footer__links a:hover {
  color: var(--anchor-white);
}

.anchor-footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.2);
}

/* ------------------------------------------------------------
   19. UTILITY CLASSES
   ------------------------------------------------------------ */

.anchor-text-gold    { color: var(--anchor-gold); }
.anchor-text-white   { color: var(--anchor-white); }
.anchor-text-muted   { color: var(--anchor-grey-500); }
.anchor-text-navy    { color: var(--anchor-navy); }

.anchor-bg-navy      { background-color: var(--anchor-navy); }
.anchor-bg-off-white { background-color: var(--anchor-off-white); }
.anchor-bg-white     { background-color: var(--anchor-white); }

.anchor-mt-0  { margin-top: 0; }
.anchor-mb-0  { margin-bottom: 0; }
.anchor-text-center { text-align: center; }

/* Visually hidden (accessible) */
.anchor-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ------------------------------------------------------------
   19b. BEFORE/AFTER GRID + CTA FOOTNOTE
   These exist because Gutenberg strips inline display:grid
   and breaks inline text + link combinations on save.
   ------------------------------------------------------------ */

.anchor-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--anchor-grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.anchor-before-after__col {
  padding: var(--space-8);
}

.anchor-before-after__col--before {
  background: #fef9f9;
  border-right: 1px solid var(--anchor-grey-100);
}

.anchor-before-after__col--after {
  background: #f7fbf8;
}

.anchor-before-after__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.anchor-before-after__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.anchor-cta-footnote {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  margin-top: var(--space-4);
  text-align: center;
}

.anchor-cta-footnote a {
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none !important;
}

.anchor-cta-footnote a:hover {
  color: rgba(255,255,255,0.7) !important;
}

@media (max-width: 640px) {
  .anchor-before-after {
    grid-template-columns: 1fr;
  }
  .anchor-before-after__col--before {
    border-right: none;
    border-bottom: 1px solid var(--anchor-grey-100);
  }
}

/* ------------------------------------------------------------
   20. SEO HELPERS
   These classes structure content for Google without
   affecting visual output.
   ------------------------------------------------------------ */

/* Use on main content region — tells Google what's primary */
.anchor-main-content {
  position: relative;
}

/* Schema-friendly article wrapper */
.anchor-article-schema {
  /* Add itemscope itemtype="https://schema.org/Article" in HTML */
}

/* ------------------------------------------------------------
   22. NEWSPAPER LINK COLOUR OVERRIDE
   Newspaper sets a global pink/magenta link colour.
   Override it on all ANCHOR pages and components.
   ------------------------------------------------------------ */

.anchor-page a,
.anchor-page a:visited {
  color: inherit;
}

.anchor-page a:hover {
  color: inherit;
}

/* Specific override for dark backgrounds */
.anchor-hero a,
.anchor-cta-block a,
.anchor-pricing-block a,
.anchor-receipt-preview a {
  color: inherit !important;
}

/* ------------------------------------------------------------
   23. BEFORE/AFTER COMPARE TABLE
   Used on people-teams and any page needing a side-by-side
   comparison. Table survives Gutenberg without stripping.
   ------------------------------------------------------------ */

.anchor-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--anchor-grey-100);
}

.anchor-compare-table th {
  padding: var(--space-5) var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}

.anchor-compare-table th.col-before {
  background: #fef9f9;
  color: var(--anchor-escalate);
  border-right: 1px solid var(--anchor-grey-100);
}

.anchor-compare-table th.col-after {
  background: #f7fbf8;
  color: var(--anchor-clean);
}

.anchor-compare-table td {
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.6;
  vertical-align: top;
}

.anchor-compare-table td.col-before {
  background: #fef9f9;
  border-right: 1px solid var(--anchor-grey-100);
  color: var(--anchor-grey-700);
}

.anchor-compare-table td.col-after {
  background: #f7fbf8;
  color: var(--anchor-grey-700);
}

.anchor-compare-table td.col-before {
  color: var(--anchor-grey-700);
}

.anchor-compare-table .icon-no {
  color: var(--anchor-escalate);
  font-weight: 600;
}

.anchor-compare-table .icon-yes {
  color: var(--anchor-clean);
  font-weight: 600;
}

.anchor-compare-table tr {
  border-top: 1px solid var(--anchor-grey-100);
}

.anchor-compare-table tr:first-child {
  border-top: none;
}

@media (max-width: 640px) {
  .anchor-compare-table thead { display: none; }
  .anchor-compare-table tr { display: block; margin-bottom: var(--space-4); }
  .anchor-compare-table td { display: block; width: 100%; border-right: none !important; }
  .anchor-compare-table td.col-before { border-bottom: 1px solid var(--anchor-grey-100); }
}

/* ------------------------------------------------------------
   21. RESPONSIVE OVERRIDES
   ------------------------------------------------------------ */

@media (max-width: 767px) {
  .anchor-hero {
    padding: var(--space-20) 0 var(--space-12);
  }

  .anchor-section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .anchor-section--lg {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .anchor-pricing-block {
    padding: var(--space-8);
  }

  .anchor-cta-block {
    padding: var(--space-10) var(--space-6);
  }

  .anchor-hero__cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .anchor-nav__links {
    display: none;
  }
}