

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Karla:wght@400;500&display=swap');
/* ============================================================
   TELSTAR DIGITAL v2 — CSS BUILD ENTRY
   ============================================================
   Build order matters. Tokens first, then base typography,
   then layout, then components.
   ============================================================ */
/* ============================================================
   TELSTAR DIGITAL v2 — CANONICAL DESIGN TOKENS
   ============================================================
   Single source of truth. Every CSS file in the theme must
   consume these tokens by variable name. No hardcoded hex
   values in overlay files. No --telstar-* tokens. No pale
   wash fill tokens.

   Locked: June 2026
   Source: telstar-v2-component-spec.html
   Navy:   #0F1626
   Teal:   #3aa598
   Copper: #C4733A
   ============================================================ */
:root {

  /* ── Palette ─────────────────────────────────────────── */
  --td-navy:          #0F1626;
  --td-ink:           #101827;
  --td-teal:          #3aa598;
  --td-teal-hover:    #2d8f83;
  --td-teal-border:   rgba(58, 165, 152, 0.32);
  --td-copper:        #C4733A;
  --td-copper-border: rgba(196, 115, 58, 0.32);
  --td-surface:       #FBFBFA;
  --td-offwhite:      #F7F8FA;
  --td-white:         #FFFFFF;
  --td-muted:         #5A616B;
  --td-border:        rgba(16, 24, 39, 0.10);
  --td-border-mid:    rgba(16, 24, 39, 0.16);
  --td-border-dark:   rgba(255, 255, 255, 0.08);
  --td-alert:         #B23B34;
  --td-alert-border:  rgba(178, 59, 52, 0.28);
  --td-alert-wash:    rgba(178, 59, 52, 0.06);

  /* ── Typography ──────────────────────────────────────── */
  --font-head: 'Inter', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --font-body: 'Karla', 'Helvetica Neue', sans-serif;

  /* ── Type scale ──────────────────────────────────────── */
  --text-xs:   0.6875rem;   /* 11px — chips, micro labels */
  --text-sm:   0.8125rem;   /* 13px — buttons, captions */
  --text-base: 1rem;        /* 16px — body */
  --text-md:   1.125rem;    /* 18px — lead */
  --text-lg:   clamp(1.2rem, 1vw + 1.05rem, 1.375rem);    /* h3 — 22px desktop, ~19px phone */
  --text-xl:   clamp(1.5rem, 2vw + 0.9rem, 1.875rem);     /* h2 — 30px desktop, 24px phone */
  --text-2xl:  clamp(1.75rem, 2.8vw + 1.05rem, 2.5rem);   /* h1 section — 40px desktop, 28px phone */
  --text-3xl:  clamp(2rem, 5.5vw + 0.75rem, 3.5rem);      /* h1 hero — 56px desktop, ~33px phone */

  /* ── Spacing ─────────────────────────────────────────── */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-8:  3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;

  /* ── Fluid section rhythm (mobile pass, July 2026) ───── */
  --sp-section-y: clamp(3rem, 8vw, 5rem);
  --sp-section-x: clamp(1.25rem, 5vw, 3rem);

  /* ── Radius ──────────────────────────────────────────── */
  --radius-sm: 3px;    /* buttons, chips */
  --radius-md: 6px;    /* cards, icon badges */
  --radius-lg: 12px;   /* conversion panels */

  /* ── Shadows ─────────────────────────────────────────── */
  --shadow-card: 0 4px 24px rgba(15, 22, 38, 0.06);
  --shadow-lift: 0 8px 32px rgba(15, 22, 38, 0.10);

  /* ── Transitions ─────────────────────────────────────── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t:    0.18s var(--ease);
}
/* ============================================================
   TELSTAR DIGITAL v2 — BASE & TYPOGRAPHY
   ============================================================
   Source: telstar-v2-component-spec.html Section 02
   Reset, font imports, and core typography classes.
   Every value flows from tokens. No hardcoded hex, no !important.
   ============================================================ */
/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--td-ink);
  background: var(--td-surface);
  line-height: 1.65;
}
/* ── Overflow hygiene (mobile pass) ────────────────────── */
html,
body {
  overflow-x: clip;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
/* ── Headings ──────────────────────────────────────────── */
.td-h1 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--td-ink);
  text-transform: lowercase;
}
.td-h2 {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--td-ink);
  text-transform: lowercase;
}
.td-h3 {
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--td-ink);
  /* Sentence case — NOT lowercase. Applied via content. */
}
.td-h4 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--td-ink);
}
/* ── Eyebrow ───────────────────────────────────────────── */
.td-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--td-muted);
}
/* On dark sections, eyebrows render teal. Applied via parent
   section class — see layout.css when section types are defined. */
/* ── Lead and body copy ────────────────────────────────── */
.td-lead {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.65;
  color: var(--td-muted);
}
.td-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--td-muted);
}
.td-caption {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--td-muted);
  opacity: 0.75;
}
/* ── Typographic utilities ─────────────────────────────── */
/* Teal first-word treatment — h1 only.
   Applied via <span class="tw">first</span> in markup.
   The component spec is explicit: never applied to h2. */
.tw {
  color: var(--td-teal);
}
/* Teal rule device — for h1 and h2 in section title blocks.
   48x3px underline at the bottom-left of the heading.
   Applied via class="td-h2 td-ruled" in markup. */
.td-ruled {
  display: inline-block;
  padding-bottom: var(--sp-3);
  position: relative;
}
.td-ruled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--td-teal);
  border-radius: 2px;
}
/* ============================================================
   TELSTAR DIGITAL v2 — LAYOUT
   ============================================================
   Source: telstar-v2-component-spec.html Sections 08 and 10
   Section containers, title blocks, grids, dividers.
   Every value flows from tokens. No hardcoded hex, no important.
   ============================================================ */
/* Section containers
   Three section types only. No background colour alternation
   for structure. Dark is reserved for hero, proof, conversion,
   and footer. */
.td-section {
  padding: var(--sp-section-y) var(--sp-section-x);
  background: var(--td-surface);
}
.td-section-offwhite {
  background: var(--td-offwhite);
}
.td-section-dark {
  background: var(--td-navy);
}
/* Inner content container */
.td-shell {
  max-width: 1100px;
  margin-inline: auto;
}
.td-shell-narrow {
  max-width: 720px;
  margin-inline: auto;
}
/* Dark section content overrides */
.td-section-dark .td-eyebrow { color: var(--td-teal); }
.td-section-dark .td-h1,
.td-section-dark .td-h2,
.td-section-dark .td-h3,
.td-section-dark .td-h4 { color: var(--td-white); }
.td-section-dark .td-lead { color: rgba(255, 255, 255, 0.6); }
.td-section-dark .td-body { color: rgba(255, 255, 255, 0.55); }
.td-section-dark .td-caption { color: rgba(255, 255, 255, 0.45); }
/* Title block */
.td-title-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 580px;
}
.td-title-block-center {
  text-align: center;
  align-items: center;
  max-width: 640px;
  margin-inline: auto;
}
/* Grids */
.td-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.td-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.td-grid-2-strict {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.td-grid-3-strict {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
/* Section content spacing */
.td-section-content {
  margin-top: var(--sp-8);
}
/* Dividers */
.td-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin: var(--sp-8) 0;
}
.td-divider::before,
.td-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--td-border);
}
.td-divider-mark {
  width: 32px;
  height: 3px;
  background: var(--td-teal);
  border-radius: 2px;
  flex-shrink: 0;
}
.td-hr {
  border: none;
  border-top: 1px solid var(--td-border);
  margin: var(--sp-8) 0;
}
/* Strict grids collapse to a single column on narrow viewports */
@media (max-width: 768px) {
  .td-grid-2-strict,
  .td-grid-3-strict {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   TELSTAR DIGITAL v2 — BUTTONS
   ============================================================
   Source: telstar-v2-component-spec.html Section 03
   All button variants, sizes, and states.
   Every value flows from tokens. No hardcoded hex.

   Decision recorded 17 June 2026:
   .td-btn-secondary uses --td-muted (not --td-ink) for text.
   This keeps secondary as a quieter companion to primary.
   ============================================================ */
/* Base button — shared properties */
.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  outline: none;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.td-btn:focus-visible {
  outline: 2px solid var(--td-teal);
  outline-offset: 3px;
}
/* Primary — solid teal */
.td-btn-primary {
  background: var(--td-teal);
  color: var(--td-white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--td-teal);
}
.td-btn-primary:hover {
  background: var(--td-teal-hover);
  border-color: var(--td-teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(58, 165, 152, 0.28);
}
.td-btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}
/* Secondary — white bg, muted text, neutral border.
   Quieter companion to primary. */
.td-btn-secondary {
  background: var(--td-white);
  color: var(--td-muted);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--td-border-mid);
}
.td-btn-secondary:hover {
  border-color: var(--td-teal-border);
  color: var(--td-teal);
}
/* Teal ghost — white bg, teal border and text. */
.td-btn-teal-ghost {
  background: var(--td-white);
  color: var(--td-teal);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--td-teal);
}
.td-btn-teal-ghost:hover {
  background: var(--td-offwhite);
}
/* Dark primary — solid teal on dark bg. */
.td-btn-dark-primary {
  background: var(--td-teal);
  color: var(--td-white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--td-teal);
}
.td-btn-dark-primary:hover {
  background: var(--td-teal-hover);
  border-color: var(--td-teal-hover);
  transform: translateY(-1px);
}
/* Dark ghost — transparent, white-translucent border. */
.td-btn-dark-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.td-btn-dark-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--td-white);
}
/* Text link with arrow device. */
.td-link {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--td-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--t);
}
.td-link:hover {
  gap: var(--sp-3);
}
.td-link-arrow {
  font-size: 0.9em;
}
/* Size variants */
.td-btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.7rem;
}
.td-btn-lg {
  padding: 0.95rem 2.25rem;
}
/* ============================================================
   TELSTAR DIGITAL v2 — CHIPS
   ============================================================
   Source: telstar-v2-component-spec.html Section 04
   Eyebrow, method, disposition, sequencing, status.

   Core principle: white background, real teal text/border.
   No pale wash background fills anywhere on light surfaces.
   This file is the explicit fix for the v1 mint-wash problem.

   Decision recorded 18 June 2026:
   - All nine disposition chips use a single unified treatment
   - Now chip is the only chip system-wide that uses copper
   - Dark variants use 5% white fill to prevent navy bleed
   ============================================================ */
/* Eyebrow chip — pure typography, no container */
.td-chip-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--td-muted);
  background: none;
  border: none;
  padding: 0;
}
.td-chip-eyebrow-teal {
  color: var(--td-teal);
}
/* Method chip — white bg, muted text, neutral border */
.td-chip-method {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--td-muted);
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--td-border-mid);
  border-radius: var(--radius-sm);
  background: var(--td-white);
  transition: border-color var(--t), color var(--t);
}
.td-chip-method:hover {
  border-color: var(--td-teal-border);
  color: var(--td-teal);
}
/* Disposition chip — white bg, real teal text, teal border.
   Single unified treatment across all nine disposition paths. */
.td-chip-disposition {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--td-teal);
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--td-teal-border);
  border-radius: var(--radius-sm);
  background: var(--td-white);
  white-space: nowrap;
}
.td-chip-disposition-dark {
  color: var(--td-teal);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(58, 165, 152, 0.30);
}
/* Sequencing chips — Now (copper), Next, Later, Park */
.td-chip-seq {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.td-chip-now {
  background: var(--td-white);
  color: var(--td-copper);
  border: 1px solid var(--td-copper-border);
}
.td-chip-now-dark {
  background: rgba(255, 255, 255, 0.05);
  color: var(--td-copper);
  border: 1px solid rgba(196, 115, 58, 0.35);
}
.td-chip-next {
  background: var(--td-white);
  color: var(--td-muted);
  border: 1px solid var(--td-border-mid);
}
.td-chip-later {
  background: var(--td-white);
  color: var(--td-muted);
  border: 1px solid var(--td-border);
  opacity: 0.65;
}
.td-chip-park {
  background: var(--td-white);
  color: var(--td-muted);
  border: 1px solid var(--td-border);
  opacity: 0.45;
}
/* Status chip — offwhite fill, muted text. Admin states. */
.td-chip-status {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--td-muted);
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--td-border);
  border-radius: var(--radius-sm);
  background: var(--td-offwhite);
}
/* Layout helper for any chip row */
.td-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
/* Feature size — for section-level chip displays (e.g. the nine dispositions),
   not inline card tags. Use as: class="td-chip-disposition td-chip-feature".
   Declared after the base so it wins the shared properties. */
.td-chip-feature {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
}
/* ── Symptom -> cause rows (How We Work root-cause section) ──
   Promoted from inline styles so the layout can respond.
   Desktop: symptom | arrow | cause in one row.
   Phones: stacked, arrow pointing down, chips allowed to wrap. */
.td-symptom-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--td-border);
}
.td-symptom-row .td-chip-method,
.td-symptom-row .td-chip-disposition {
  flex: 1;
}
.td-symptom-arrow {
  color: var(--td-muted);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .td-symptom-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
  }
  .td-symptom-row .td-chip-method,
  .td-symptom-row .td-chip-disposition {
    white-space: normal;
    text-align: center;
  }
  .td-symptom-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
}
/* ============================================================
   TELSTAR DIGITAL v2 — ICON BADGES
   ============================================================
   Source: telstar-v2-component-spec.html Section 05
   Badge containers only. The SVG icons themselves are defined
   in the icon library reference (telstar-v2-icon-library-reference)
   and rendered via inline SVG in PHP templates.

   v2 uses Heroicons stroke-1.5 style only. No Material Symbols.
   No icon fonts. No pale wash fills.

   Locked icon mappings:
   Seven Pillars — building, arrows-cycle, cylinder, grid,
     chain-link, bolt, shield-check
   Nine Dispositions — check-circle, x-circle, funnel, wrench,
     cog, light-bulb, cpu-chip, swap-arrows, pencil-square
   ============================================================ */
/* Base badge */
.td-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
}
.td-icon-badge svg {
  width: 18px;
  height: 18px;
}
/* Size variants */
.td-icon-badge-sm {
  width: 32px;
  height: 32px;
}
.td-icon-badge-sm svg {
  width: 14px;
  height: 14px;
}
.td-icon-badge-lg {
  width: 52px;
  height: 52px;
}
.td-icon-badge-lg svg {
  width: 24px;
  height: 24px;
}
/* Tone — teal (default on light sections) */
.td-icon-badge-teal {
  background: var(--td-white);
  color: var(--td-teal);
  border: 1px solid var(--td-teal-border);
}
/* Tone — navy (for dark sections) */
.td-icon-badge-navy {
  background: var(--td-navy);
  color: var(--td-teal);
  border: 1px solid var(--td-border-dark);
}
/* Tone — outline (white bg, muted) */
.td-icon-badge-outline {
  background: var(--td-white);
  color: var(--td-muted);
  border: 1px solid var(--td-border-mid);
}
/* Tone — offwhite (offwhite bg, muted) */
.td-icon-badge-offwhite {
  background: var(--td-offwhite);
  color: var(--td-muted);
  border: 1px solid var(--td-border);
}
/* ============================================================
   TELSTAR DIGITAL v2 — CARDS
   ============================================================
   Source: telstar-v2-component-spec.html Section 06
   Five card variants. Cards are containers — they consume
   icon badges, typography, chips and buttons from their own
   files. Card CSS defines shape, spacing and hover behaviour.

   Decision recorded 20 June 2026:
   - All content cards lift 2px on hover (lens, route, link, dark)
   - Only metric cards are static (proof numbers, not navigation)
   - Light cards: lift + teal border + shadow-lift
   - Dark cards: lift + teal border (no shadow — invisible on navy)
   - Rule: if it lifts, it links
   ============================================================ */
/* ── Lens card ───────────────────────────────────────────── */
.td-card-lens {
  background: var(--td-white);
  border: 1px solid var(--td-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.td-card-lens:hover {
  border-color: var(--td-teal-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.td-card-lens-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.td-card-lens-label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td-teal);
}
/* ── Route card ──────────────────────────────────────────── */
.td-card-route {
  background: var(--td-offwhite);
  border: 1px solid var(--td-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.td-card-route::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--td-teal);
  opacity: 0;
  transition: opacity var(--t);
}
.td-card-route:hover::before {
  opacity: 1;
}
.td-card-route:hover {
  border-color: var(--td-border-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
/* ── Link card ───────────────────────────────────────────── */
a.td-card-link {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-decoration: none;
  background: var(--td-white);
  border: 1px solid var(--td-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
a.td-card-link:hover {
  border-color: var(--td-teal-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
/* ── Metric card (static — no lift, no hover) ────────────── */
.td-card-metric {
  background: var(--td-white);
  border: 1px solid var(--td-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  text-align: center;
}
.td-card-metric-value {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--td-copper);
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.td-card-metric-label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--td-muted);
}
/* ── Dark card (interactive — lift + teal border) ────────── */
.td-card-dark {
  background: var(--td-navy);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t), transform var(--t);
}
.td-card-dark:hover {
  border-color: rgba(58, 165, 152, 0.30);
  transform: translateY(-2px);
}
.td-card-dark .td-h3 { color: var(--td-white); }
.td-card-dark .td-body { color: rgba(255, 255, 255, 0.55); }
.td-card-dark .td-card-lens-label { color: var(--td-teal); }
/* ============================================================
   conversion.css
   Telstar Digital v2 component library
   Primary in-page conversion panel. Dark navy, rounded,
   teal rule accent at the base. Centred content.
   Consumes dark button variants from buttons.css.
   ============================================================ */
/* Conversion panel container */
.td-conversion {
  background: var(--td-navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Teal accent rule at the base */
.td-conversion::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--td-teal);
  border-radius: 2px 2px 0 0;
}
/* Typography overrides inside the panel */
.td-conversion .td-eyebrow {
  color: rgba(255, 255, 255, 0.35);
}
.td-conversion .td-h2 {
  color: var(--td-white);
}
.td-conversion .td-lead {
  color: rgba(255, 255, 255, 0.45);
}
/* CTA button row — centred, wraps on narrow viewports */
.td-conversion-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
/* ============================================================
   proof.css
   Telstar Digital v2 component library
   Copper metrics on navy. Proof strip for evidential numbers.
   Copper token is the most significant use in the system —
   weighted, not decorative.
   ============================================================ */
/* Proof strip — dark navy container for metric values */
.td-proof-strip {
  background: var(--td-navy);
  padding: var(--sp-8);
  border-radius: var(--radius-md);
}
/* Proof layout — distributes values evenly across the strip */
.td-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  align-items: start;
}
/* Individual proof item — centred value + label */
.td-proof-item {
  text-align: center;
  padding: 0 var(--sp-4);
  position: relative;
}
/* Hairline divider between columns */
.td-proof-item + .td-proof-item::before {
  content: '';
  position: absolute;
  left: calc(var(--sp-8) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
}
/* Scroll reveal — armed only when JS is present, so no-JS shows values normally */
.td-proof-strip.is-armed .td-proof-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.td-proof-strip.is-armed .td-proof-item:nth-child(2) { transition-delay: 0.12s; }
.td-proof-strip.is-armed .td-proof-item:nth-child(3) { transition-delay: 0.24s; }
.td-proof-strip.is-armed .td-proof-item.is-in {
  opacity: 1;
  transform: none;
}
@media (max-width: 768px) {
  .td-proof-row { grid-template-columns: 1fr; gap: var(--sp-6); }
  .td-proof-item + .td-proof-item::before { display: none; }
}
/* Proof value — copper, large, light weight */
.td-proof-value {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--td-copper);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}
/* Proof label — translucent white on navy */
.td-proof-label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}
/* ============================================================
   spine.css
   Telstar Digital v2 component library
   Content-agnostic horizontal flow component. Used for:
   - Diagnostic spine (7 nodes):
     Candidate → Evidence → Finding → Recommendation →
     Disposition → Sequencing → Readout
   - ITZAMNA approach (5 nodes):
     Diagnose → Architect → Sequence → Deliver → Stabilise
   Same classes, different content. CSS does not change.
   ============================================================ */
/* Spine container — horizontal flow, wraps on narrow */
.td-spine {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
/* Each node — label + arrow pair */
.td-spine-node {
  display: flex;
  align-items: center;
}
/* Node label — bordered pill */
.td-spine-label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--td-muted);
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--td-border-mid);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  background: var(--td-white);
}
/* Active node — teal treatment */
.td-spine-label.active {
  color: var(--td-teal);
  border-color: var(--td-teal-border);
  background: var(--td-white);
  font-weight: 500;
}
/* Arrow between nodes */
.td-spine-arrow {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  color: var(--td-border-mid);
  padding: 0 0.4rem;
}
/* ── Dark surface variants ─────────────────────────────── */
/* Inactive node on dark */
.td-spine-dark .td-spine-label {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.45);
}
/* Active node on dark */
.td-spine-dark .td-spine-label.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(58, 165, 152, 0.35);
  color: var(--td-teal);
  font-weight: 500;
}
/* Arrow on dark */
.td-spine-dark .td-spine-arrow {
  color: rgba(255, 255, 255, 0.20);
}
/* Feature size — for section-level sequence displays. Two-class selectors,
   so they win over the base regardless of order. Only size is changed;
   colour/background stay with the base and dark variants. */
.td-spine-lg .td-spine-label {
  font-size: var(--text-sm);
  padding: 0.55rem 1.05rem;
  letter-spacing: 0.10em;
}
.td-spine-lg .td-spine-arrow {
  font-size: var(--text-sm);
  padding: 0 0.55rem;
}
/* ── Interactive route (What We Do) ─────────────────────── */
.td-route [data-route-tab] {
  text-decoration: none;
  cursor: pointer;
}
.td-route [data-route-tab]:hover {
  border-color: var(--td-teal-border);
  color: var(--td-teal);
}
.td-route [data-route-tab]:focus-visible {
  outline: 2px solid var(--td-teal);
  outline-offset: 3px;
}
.td-route-panel {
  margin-top: var(--sp-8);
  text-align: center;
  min-height: 180px;
}
/* ── Route section on dark: card lens override so the swap panel reads on navy ── */
.td-section-dark .td-route-panel .td-card-lens-header .td-card-lens-label {
  color: var(--td-teal);
}
.td-section-dark .td-route-panel .td-h3 {
  color: var(--td-white);
}
.td-section-dark .td-route-panel .td-body {
  color: rgba(255, 255, 255, 0.72);
}
.td-section-dark .td-route-panel .td-link {
  color: var(--td-teal);
}
/* ── Vertical spine on narrow viewports (mobile pass) ────
   Below 640px the spine reads top-to-bottom: nodes stack,
   arrows rotate to point down. Applies everywhere a spine
   renders — front page, ITZAMNA, What We Do, explainer floor. */
@media (max-width: 640px) {
  .td-spine {
    flex-direction: column;
    align-items: center;
  }
  .td-spine-node {
    flex-direction: column;
  }
  .td-spine-arrow {
    transform: rotate(90deg);
    padding: 0.3rem 0;
  }
}
/* ============================================================
   TELSTAR DIGITAL v2 — NAV / HEADER / FOOTER
   ============================================================
   Fixed header, slide-in mobile drawer, navy footer.
   No hardcoded hex. No !important. Tokens only.
   ============================================================ */
/* ── Site header ─────────────────────────────────────────── */
.td-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--td-navy);
  border-bottom: 1px solid var(--td-border-dark);
}
.td-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-6);
}
/* ── Wordmark ─────────────────────────────────────────────── */
.td-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.td-brand__logo {
  display: block;
  width: 180px;
  height: auto;
}
/* ── Desktop nav ──────────────────────────────────────────── */
.td-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.td-nav a {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--t);
}
.td-nav a:hover,
.td-nav a:focus-visible {
  color: var(--td-white);
}
.td-nav a.current-menu-item,
.td-nav a[aria-current="page"] {
  color: var(--td-teal);
}
/* WordPress wraps nav items in <li> — flatten */
.td-nav > li { list-style: none; }
.td-nav > li > a {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--t);
}
.td-nav > li > a:hover { color: var(--td-white); }
.td-nav > li.current-menu-item > a { color: var(--td-teal); }
/* ── Header CTA ───────────────────────────────────────────── */
.td-header__cta {
  flex-shrink: 0;
}
/* ── Mobile toggle ────────────────────────────────────────── */
.td-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--td-border-dark);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
  flex-shrink: 0;
}
.td-nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--td-white);
}
.td-nav-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}
/* ── Mobile drawer ────────────────────────────────────────── */
.td-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--td-navy);
  border-left: 1px solid var(--td-border-dark);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  overflow-y: auto;
}
.td-mobile-nav.is-open {
  transform: translateX(0);
}
.td-mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--sp-8);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: color var(--t);
}
.td-mobile-nav__close:hover { color: var(--td-white); }
.td-mobile-nav__close svg {
  width: 24px;
  height: 24px;
  display: block;
}
.td-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}
.td-mobile-nav__list li > a {
  display: block;
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--td-border-dark);
  transition: color var(--t);
}
.td-mobile-nav__list li > a:hover { color: var(--td-white); }
.td-mobile-nav__list li.current-menu-item > a { color: var(--td-teal); }
.td-mobile-nav__cta {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--td-border-dark);
  margin-top: var(--sp-4);
}
/* Overlay behind open drawer */
.td-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
}
.td-mobile-overlay.is-open { display: block; }
/* ── Body offset for fixed header ─────────────────────────── */
.td-body-offset {
  padding-top: 64px;
}
/* ── Responsive breakpoints ───────────────────────────────── */
@media (max-width: 768px) {
  .td-nav { display: none; }
  .td-header__cta { display: none; }
  .td-nav-toggle { display: flex; }
}
@media (min-width: 769px) {
  .td-mobile-nav { display: none; }
  .td-mobile-overlay { display: none !important; }
}
/* ── Site footer ──────────────────────────────────────────── */
.td-footer {
  background: var(--td-navy);
  border-top: 1px solid var(--td-border-dark);
  padding: var(--sp-12) 0 0;
}
.td-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
}
.td-footer__brand svg {
  display: block;
  margin-bottom: var(--sp-5);
}
.td-footer__brand p {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 260px;
}
.td-footer__heading {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--sp-4);
}
.td-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.td-footer__links a {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--t);
}
.td-footer__links a:hover { color: var(--td-white); }
.td-footer__fit p {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}
.td-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--td-border-dark);
  font-family: var(--font-head);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
  gap: var(--sp-4);
}
/* Footer responsive */
@media (max-width: 768px) {
  .td-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  .td-footer__brand {
    grid-column: 1 / -1;
  }

  .td-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
}
@media (max-width: 480px) {
  .td-footer__grid {
    grid-template-columns: 1fr;
  }
}
/* ── Hero ─────────────────────────────────────────────────── */
.td-hero {
  background: var(--td-navy);
  padding: var(--sp-section-y) 0;
  overflow: hidden;
}
.td-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.td-hero--copy .td-hero__inner {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.td-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.td-hero__copy .td-h1 {
  color: var(--td-white);
}
.td-hero__copy .td-lead {
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
}
.td-hero__copy .td-eyebrow {
  color: var(--td-teal);
}
.td-hero__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding-top: var(--sp-2);
}
.td-hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.td-hero__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
@media (max-width: 768px) {
  .td-hero__inner {
    grid-template-columns: 1fr;
  }

  .td-hero__visual {
    display: none;
  }

  .td-hero {
    padding: var(--sp-section-y) 0;
  }
}
/* ============================================================
   TELSTAR DIGITAL v2 — PROSE (LONGFORM ARTICLE BODY)
   ============================================================
   Scopes typography onto rendered WordPress content, which
   arrives as raw <h2>/<p>/<ul>/<blockquote>/<figure> with no
   classes. Everything inside .td-prose is styled here.

   Reading column is .td-shell-narrow (720px). Prose sits one
   step larger than card body (--text-md) for comfortable
   long-form reading, in --td-ink rather than --td-muted.

   Every value flows from tokens. No hardcoded hex. No important.
   ============================================================ */
.td-prose {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--td-ink);
}
/* ── Paragraph rhythm ──────────────────────────────────────── */
.td-prose p {
  margin-bottom: var(--sp-5);
}
.td-prose > *:last-child {
  margin-bottom: 0;
}
/* ── Headings ──────────────────────────────────────────────── */
.td-prose h2 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--td-ink);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}
.td-prose h2:first-child {
  margin-top: 0;
}
.td-prose h3 {
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.3;
  color: var(--td-ink);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.td-prose h4 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--td-ink);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
}
/* ── Links ─────────────────────────────────────────────────── */
.td-prose a {
  color: var(--td-teal);
  text-decoration: none;
  border-bottom: 1px solid var(--td-teal-border);
  transition: color var(--t), border-color var(--t);
}
.td-prose a:hover {
  color: var(--td-teal-hover);
  border-bottom-color: var(--td-teal);
}
/* ── Emphasis ──────────────────────────────────────────────── */
.td-prose strong {
  font-weight: 600;
  color: var(--td-ink);
}
.td-prose em {
  font-style: italic;
}
/* ── Lists ─────────────────────────────────────────────────── */
.td-prose ul,
.td-prose ol {
  margin: 0 0 var(--sp-5);
  padding-left: var(--sp-6);
}
.td-prose li {
  margin-bottom: var(--sp-2);
  padding-left: var(--sp-2);
}
.td-prose li:last-child {
  margin-bottom: 0;
}
.td-prose li::marker {
  color: var(--td-teal);
}
.td-prose li > ul,
.td-prose li > ol {
  margin-top: var(--sp-2);
  margin-bottom: 0;
}
/* ── Blockquote — teal left rule ───────────────────────────── */
.td-prose blockquote {
  margin: var(--sp-8) 0;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
  border-left: 3px solid var(--td-teal);
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.5;
  color: var(--td-ink);
}
.td-prose blockquote p {
  margin-bottom: var(--sp-3);
}
.td-prose blockquote p:last-child {
  margin-bottom: 0;
}
.td-prose blockquote cite {
  display: block;
  margin-top: var(--sp-3);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--td-muted);
}
/* ── Code ──────────────────────────────────────────────────── */
.td-prose code {
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  font-size: 0.9em;
  background: var(--td-offwhite);
  border: 1px solid var(--td-border);
  border-radius: var(--radius-sm);
  padding: 0.1em 0.4em;
}
.td-prose pre {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  background: var(--td-navy);
  border-radius: var(--radius-md);
  overflow-x: auto;
}
.td-prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}
/* ── Horizontal rule ───────────────────────────────────────── */
.td-prose hr {
  border: none;
  border-top: 1px solid var(--td-border);
  margin: var(--sp-10) 0;
}
/* ── Images and figures (replaces td-insight-visual) ───────── */
.td-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
.td-prose figure {
  margin: var(--sp-8) 0;
}
.td-prose figure img {
  width: 100%;
  border: 1px solid var(--td-border);
}
.td-prose figcaption {
  margin-top: var(--sp-3);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--td-muted);
  text-align: left;
}
/* ── Tables ────────────────────────────────────────────────── */
.td-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: var(--text-base);
}
.td-prose th,
.td-prose td {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--td-border);
}
.td-prose th {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--td-muted);
}
/* ============================================================
   TELSTAR DIGITAL v2 — PAGINATION
   ============================================================
   Scopes the WordPress the_posts_pagination() output
   (nav.pagination > .nav-links > .page-numbers).
   Tokens only. No hardcoded hex. No !important.
   ============================================================ */
.td-pagination {
  margin-top: var(--sp-10);
}
.td-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}
.td-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-3);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--td-muted);
  text-decoration: none;
  background: var(--td-white);
  border: 1px solid var(--td-border-mid);
  border-radius: var(--radius-sm);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.td-pagination a.page-numbers:hover {
  color: var(--td-teal);
  border-color: var(--td-teal-border);
}
.td-pagination .page-numbers.current {
  color: var(--td-white);
  background: var(--td-teal);
  border-color: var(--td-teal);
}
.td-pagination .page-numbers.dots {
  background: none;
  border-color: transparent;
}
.td-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* ============================================================
   TELSTAR DIGITAL v2 — FORMS
   ============================================================
   Source: Contact page preview, approved 08 July 2026
   Form primitives: fields, inputs, textareas, labels,
   status banners, honeypot, contact-page layout.
   Every value flows from tokens. No hardcoded hex, no !important.
   ============================================================ */
/* ── Contact page grid — form dominant, aside narrower ──── */
.td-contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}
@media (max-width: 860px) {
  .td-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}
/* ── Form container ────────────────────────────────────── */
.td-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
/* ── Field primitives ──────────────────────────────────── */
.td-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.td-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
@media (max-width: 520px) {
  .td-field-row {
    grid-template-columns: 1fr;
  }
}
/* ── Labels ────────────────────────────────────────────── */
.td-label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--td-muted);
}
.td-label-optional {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.7;
}
/* ── Inputs and textareas ──────────────────────────────── */
.td-input,
.td-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--td-ink);
  background: var(--td-white);
  border: 1px solid var(--td-border-mid);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.td-input::-moz-placeholder, .td-textarea::-moz-placeholder {
  color: var(--td-muted);
  opacity: 0.55;
}
.td-input::placeholder,
.td-textarea::placeholder {
  color: var(--td-muted);
  opacity: 0.55;
}
.td-input:focus,
.td-textarea:focus {
  outline: none;
  border-color: var(--td-teal);
  box-shadow: 0 0 0 3px rgba(58, 165, 152, 0.14);
}
.td-textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.55;
}
/* ── Form note (privacy, fallback link) ────────────────── */
.td-form-note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--td-muted);
  opacity: 0.9;
}
.td-form-note a {
  color: var(--td-teal);
  text-decoration: none;
}
.td-form-note a:hover {
  text-decoration: underline;
}
/* ── Status banners (success / error) ──────────────────── */
.td-form-status {
  font-family: var(--font-body);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--td-border);
}
.td-form-status--ok {
  background: rgba(58, 165, 152, 0.08);
  border-color: var(--td-teal-border);
  color: var(--td-ink);
}
.td-form-status--error {
  background: var(--td-alert-wash);
  border-color: var(--td-alert-border);
  color: var(--td-ink);
}
.td-form-status a {
  color: var(--td-teal);
}
/* ── Email address accent ──────────────────────────────── */
.td-email-link {
  color: var(--td-alert);
  text-decoration: none;
}
.td-email-link:hover {
  text-decoration: underline;
}
/* ── Contact aside — static, non-lifting panel ─────────── */
.td-contact-aside {
  background: var(--td-offwhite);
  border: 1px solid var(--td-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.td-contact-aside a {
  color: var(--td-teal);
  text-decoration: none;
}
.td-contact-aside a:hover {
  text-decoration: underline;
}
.td-contact-aside .td-h3 {
  margin-bottom: var(--sp-1);
}
.td-contact-steps {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  color: var(--td-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
}
.td-contact-steps li {
  padding-left: var(--sp-1);
}
/* ── Honeypot — invisible to humans ────────────────────── */
.td-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
