/* =====================================================================
   DAVID WEST — GLOBAL CSS
   ---------------------------------------------------------------------
   WHERE IT GOES: Bricks › Settings › Custom code › Custom CSS
                  (loaded on every page, before any Code element).
   RULES FOR EVERY PAGE BUILDER
   1. Pages use these classes only. No <style> in sections, no inline
      style="" except the documented custom properties (--dw-*).
   2. Every class is prefixed dw- so nothing collides with Bricks.
   3. Colors come from tokens. Every text/background pair below is
      checked to WCAG 2.2 AA (4.5:1 text, 3:1 large text + UI).
   4. Bricks already outputs <header id="brx-header">, <main
      id="brx-content">, <footer id="brx-footer"> and the skip links.
      Code sections never add header/main/footer landmarks.
   5. No scroll-triggered animation. Content is visible without JS.

   TABLE OF CONTENTS
   01 Fonts            08 Cards & tiles        15 Header + drawer
   02 Tokens           09 Media + placeholder  16 Footer
   03 Base & Bricks    10 Lists, steps, quote  17 Events (shortcode output)
   04 Layout           11 FAQ                  18 Utilities
   05 Sections         12 Tables               19 Motion & print
   06 Typography       13 Forms
   07 Buttons & links  14 Breadcrumbs, prose   20 Standards pass 2026-11-22
   ===================================================================== */


/* ---------------------------------------------------------------------
   01 · FONTS — self-hosted (upload to /wp-content/uploads/dw/fonts/)
   Both fonts are SIL Open Font License. Fallbacks are metric-close.
   --------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/wp-content/uploads/dw/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/wp-content/uploads/dw/fonts/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------------------------------------------------------------------
   02 · TOKENS
   Dark is the brand default. .dw-section--light and .dw-section--mint
   redefine the same tokens, so every component adapts automatically.
   --------------------------------------------------------------------- */
:root {
  /* Brand */
  --dw-mint: #10d9a0;            /* 10.8:1 on --dw-bg */
  --dw-mint-ink: #04130e;        /* text ON mint: 11.4:1 */
  --dw-mint-soft: rgba(16, 217, 160, 0.12);
  --dw-mint-line: rgba(16, 217, 160, 0.35);
  --dw-gold: #fbbf24;            /* 11.8:1 on --dw-bg */
  --dw-blue: #60a5fa;            /* 7.8:1 on --dw-bg */

  /* Surfaces */
  --dw-bg: #0a0a0a;
  --dw-bg-alt: #111827;
  --dw-surface: #141b25;
  --dw-surface-2: #1c2531;
  --dw-overlay: rgba(5, 8, 12, 0.86);

  /* Lines */
  --dw-line: rgba(255, 255, 255, 0.12);
  --dw-line-strong: rgba(255, 255, 255, 0.28);

  /* Text */
  --dw-text: #f3f4f6;            /* 17.6:1 on --dw-bg */
  --dw-text-2: #d1d5db;          /* 9.9:1 on --dw-surface-2 */
  --dw-muted: #adb3bd;           /* ≥ 7.3:1 on every dark surface (AAA; was #9ca3af until 2026-11-22) */
  --dw-accent-text: var(--dw-mint);
  --dw-link: var(--dw-mint);

  /* Buttons */
  --dw-btn-bg: var(--dw-mint);
  --dw-btn-text: var(--dw-mint-ink);
  --dw-btn-hover: #4ae6b9;
  --dw-focus: var(--dw-mint);

  /* States */
  --dw-error: #fca5a5;           /* 9.5:1 on --dw-surface */
  --dw-error-line: #f87171;
  --dw-success: var(--dw-mint);

  /* Type */
  --dw-font-display: "Bebas Neue", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --dw-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Space + shape */
  --dw-max: 1200px;
  --dw-gutter: clamp(16px, 5vw, 40px);
  --dw-section-y: clamp(64px, 10vw, 120px);
  --dw-radius: 18px;
  --dw-radius-sm: 10px;
  --dw-radius-pill: 999px;
  --dw-header-h: 72px;
  --dw-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
}


/* ---------------------------------------------------------------------
   03 · BASE & BRICKS WRAPPERS
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Bricks sets html { font-size: 62.5% } (1rem = 10px). This site is
     built on 1rem = 16px and respects the visitor's browser text size. */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--dw-header-h) + 16px); /* WCAG 2.4.11 */
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body,
body.brx-body {
  margin: 0;
  background: var(--dw-bg);
  color: var(--dw-text);
  font-family: var(--dw-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bricks wrappers */
#brx-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

.admin-bar #brx-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #brx-header {
    top: 0;
  }
}

#brx-content > .brxe-code,
#brx-header > .brxe-code,
#brx-footer > .brxe-code {
  width: 100%;
  max-width: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

::selection {
  background: var(--dw-mint);
  color: var(--dw-mint-ink);
}

:focus-visible {
  outline: 3px solid var(--dw-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

/* Bricks skip links: keep its behaviour, match the brand */
.skip-link:focus {
  background: var(--dw-mint);
  color: var(--dw-mint-ink);
  outline: 3px solid var(--dw-text);
}


/* ---------------------------------------------------------------------
   04 · LAYOUT
   --------------------------------------------------------------------- */
.dw-container {
  width: 100%;
  max-width: calc(var(--dw-max) + 2 * var(--dw-gutter));
  margin-inline: auto;
  padding-inline: var(--dw-gutter);
}

.dw-container--narrow {
  max-width: calc(780px + 2 * var(--dw-gutter));
}

.dw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

@media (min-width: 640px) {
  .dw-grid--2,
  .dw-grid--3,
  .dw-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .dw-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dw-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Two columns: copy + media or copy + form */
.dw-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 920px) {
  .dw-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .dw-split--top {
    align-items: start;
  }

  .dw-split--reverse > :first-child {
    order: 2;
  }
}

.dw-stack > * + * {
  margin-top: var(--dw-stack, 1rem);
}

.dw-section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.dw-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.dw-section-head--center .dw-eyebrow {
  justify-content: center;
}


/* ---------------------------------------------------------------------
   05 · SECTIONS (each redefines tokens for its surface)
   --------------------------------------------------------------------- */
.dw-section {
  position: relative;
  padding-block: var(--dw-section-y);
  background: var(--dw-bg);
  color: var(--dw-text);
}

.dw-section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.dw-section--alt {
  background: var(--dw-bg-alt);
}

.dw-section--line {
  border-top: 1px solid var(--dw-line);
}

.dw-section--light {
  --dw-bg: #f9fafb;
  --dw-bg-alt: #f3f4f6;
  --dw-surface: #ffffff;
  --dw-surface-2: #f3f4f6;
  --dw-line: rgba(10, 10, 10, 0.12);
  --dw-line-strong: rgba(10, 10, 10, 0.3);
  --dw-text: #0a0a0a;
  --dw-text-2: #1f2937;
  --dw-muted: #434b57;           /* ≥ 8:1 on #f9fafb, #fff and #f3f4f6 (AAA; was #4b5563) */
  --dw-accent-text: #05573f;     /* ≥ 7.8:1 on #f9fafb, #fff and #f3f4f6 (AAA; was #047857) */
  --dw-link: #05573f;
  --dw-btn-bg: #0a0a0a;
  --dw-btn-text: #ffffff;
  --dw-btn-hover: #1f2937;
  --dw-focus: #05573f;
  --dw-mint-soft: rgba(4, 120, 87, 0.1);
  --dw-mint-line: rgba(4, 120, 87, 0.35);
  --dw-error: #b91c1c;
  --dw-error-line: #b91c1c;
  --dw-shadow: 0 20px 50px -30px rgba(10, 10, 10, 0.35);
  background: var(--dw-bg);
  color: var(--dw-text);
}

.dw-section--mint {
  --dw-bg: var(--dw-mint);
  --dw-text: var(--dw-mint-ink);
  --dw-text-2: #0a2a20;
  --dw-muted: #0b3226;           /* 7.6:1 on mint (AAA; was #0d3a2c, 6.9:1) */
  --dw-accent-text: var(--dw-mint-ink);
  --dw-link: var(--dw-mint-ink);
  --dw-line: rgba(4, 19, 14, 0.2);
  --dw-line-strong: rgba(4, 19, 14, 0.45);
  --dw-btn-bg: var(--dw-mint-ink);
  --dw-btn-text: #ffffff;
  --dw-btn-hover: #12382c;
  --dw-focus: var(--dw-mint-ink);
  --dw-surface: rgba(255, 255, 255, 0.35);
  --dw-mint-soft: rgba(4, 19, 14, 0.08);
  background: var(--dw-bg);
  color: var(--dw-text);
}

/* Hero: soft glow + grid texture, still dark-on-text safe */
.dw-hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 112px) clamp(56px, 9vw, 120px);
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(16, 217, 160, 0.12), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(96, 165, 250, 0.08), transparent 60%),
    var(--dw-bg);
  overflow: hidden;
}

.dw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.dw-hero > * {
  position: relative;
}


/* ---------------------------------------------------------------------
   06 · TYPOGRAPHY
   --------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--dw-text);
  text-wrap: balance;
}

.dw-h1,
.dw-h2,
.dw-display {
  font-family: var(--dw-font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

.dw-h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  margin-bottom: 0.3em;
}

.dw-h2 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  margin-bottom: 0.35em;
}

.dw-h3,
h3 {
  font-family: var(--dw-font-body);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.dw-h4,
h4 {
  font-family: var(--dw-font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.dw-hl {
  color: var(--dw-accent-text);
}

.dw-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dw-accent-text);
}

.dw-eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.dw-lead {
  max-width: 62ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--dw-text-2);
}

.dw-section-head--center .dw-lead {
  margin-inline: auto;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

.dw-muted {
  color: var(--dw-muted);
}

.dw-small {
  font-size: 0.9rem;
  line-height: 1.55;
}

.dw-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--dw-muted);
}

strong {
  font-weight: 700;
  color: var(--dw-text);
}


/* ---------------------------------------------------------------------
   07 · BUTTONS & LINKS (all targets ≥ 44px — WCAG 2.5.8 is 24px)
   --------------------------------------------------------------------- */
a {
  color: var(--dw-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.dw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.6em;
  font-family: var(--dw-font-body);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--dw-btn-text);
  background: var(--dw-btn-bg);
  border: 2px solid var(--dw-btn-bg);
  border-radius: var(--dw-radius-pill);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dw-btn:hover {
  background: var(--dw-btn-hover);
  border-color: var(--dw-btn-hover);
  text-decoration: none;
}

.dw-btn:active {
  transform: translateY(1px);
}

.dw-btn--outline {
  color: var(--dw-text);
  background: transparent;
  border-color: var(--dw-line-strong);
}

.dw-btn--outline:hover {
  background: var(--dw-mint-soft);
  border-color: var(--dw-accent-text);
  color: var(--dw-text);
}

.dw-btn--sm {
  min-height: 44px;
  padding: 0.6em 1.2em;
  font-size: 0.8rem;
}

.dw-btn[disabled],
.dw-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
}

.dw-btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.dw-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 2rem;
}

.dw-btn-row--center {
  justify-content: center;
}

@media (max-width: 560px) {
  .dw-btn-row--stack-mobile .dw-btn {
    width: 100%;
  }
}

.dw-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 700;
  color: var(--dw-link);
}

.dw-link-arrow::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.dw-link-arrow:hover::after {
  transform: translateX(3px);
}

/* External links announce the new tab to screen readers via .dw-sr-only text */
.dw-ext::after {
  content: "\2197";
  margin-left: 0.25em;
  font-size: 0.85em;
}


/* ---------------------------------------------------------------------
   08 · CARDS, TILES, CHIPS
   --------------------------------------------------------------------- */
.dw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
}

.dw-card > :last-child {
  margin-bottom: 0;
}

.dw-card p {
  color: var(--dw-text-2);
}

.dw-card .dw-card__meta,
.dw-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dw-accent-text);
}

.dw-card__footer {
  margin-top: auto;
  padding-top: 1rem;
}

/* Whole card clickable: put the real link on the heading, it stretches */
.dw-card--link {
  transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.dw-card--link:hover {
  border-color: var(--dw-mint-line);
  background: var(--dw-surface-2);
}

.dw-card--link .dw-card__title a {
  color: inherit;
  text-decoration: none;
}

.dw-card--link .dw-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.dw-card--link .dw-card__title a:focus-visible {
  outline: none;
}

.dw-card--link:has(.dw-card__title a:focus-visible) {
  outline: 3px solid var(--dw-focus);
  outline-offset: 3px;
}

.dw-card--link .dw-link-arrow {
  position: relative;
  z-index: 1;
}

.dw-card--feature {
  border-top: 3px solid var(--dw-accent-text);
}

.dw-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--dw-accent-text);
  background: var(--dw-mint-soft);
  border: 1px solid var(--dw-mint-line);
  border-radius: 14px;
}

.dw-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.dw-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em 0.95em;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dw-text-2);
  background: var(--dw-mint-soft);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius-pill);
}

.dw-chip--dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dw-accent-text);
}

.dw-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.3em 0.75em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dw-accent-text);
  border: 1px solid var(--dw-mint-line);
  border-radius: var(--dw-radius-pill);
}

/* Partner / brand tile */
.dw-partner {
  gap: 0.25rem;
}

.dw-partner__name {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}

.dw-card .dw-partner__category,
.dw-partner__category {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dw-gold);
}

.dw-section--light .dw-card .dw-partner__category,
.dw-section--light .dw-partner__category {
  color: #92400e; /* 7.0:1 on white */
}

/* Proof / pillar strip (qualitative — no unverified numbers) */
.dw-pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--dw-line);
  border-bottom: 1px solid var(--dw-line);
}

@media (min-width: 720px) {
  .dw-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dw-pillars li {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--dw-line);
}

.dw-pillars li:last-child {
  border-bottom: 0;
}

@media (min-width: 720px) {
  .dw-pillars li {
    border-bottom: 0;
    border-right: 1px solid var(--dw-line);
  }

  .dw-pillars li:last-child {
    border-right: 0;
  }
}

.dw-pillars__title {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--dw-font-display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dw-text);
}

.dw-pillars__text {
  display: block;
  font-size: 0.9rem;
  color: var(--dw-muted);
}


/* ---------------------------------------------------------------------
   09 · MEDIA + IMAGE PLACEHOLDER
   Images live in /wp-content/uploads/dw/img/. Until a file exists,
   global.js swaps the broken image for a branded placeholder.
   --------------------------------------------------------------------- */
.dw-media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--dw-ratio, 4 / 5);
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(16, 217, 160, 0.22), transparent 55%),
    linear-gradient(160deg, #1c2531, #0b0f15);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
}

.dw-media--landscape { --dw-ratio: 16 / 9; }
.dw-media--wide      { --dw-ratio: 4 / 3; }
.dw-media--square    { --dw-ratio: 1 / 1; }
.dw-media--portrait  { --dw-ratio: 4 / 5; }

.dw-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--dw-image-position, center);
}

.dw-media figcaption,
.dw-media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  font-size: 0.85rem;
  color: #f3f4f6;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.dw-media.is-missing {
  display: grid;
  place-items: center;
}

.dw-media.is-missing img {
  display: none;
}

.dw-media__placeholder {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  max-width: 30ch;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #d1d5db;
}

.dw-media__placeholder::before {
  content: "DW";
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-family: var(--dw-font-display);
  font-size: 1.9rem;
  color: var(--dw-mint);
  border: 2px solid rgba(16, 217, 160, 0.6);
  border-radius: 16px;
}

/* Hero portrait frame */
.dw-hero-media {
  position: relative;
  width: 100%; /* auto margins on a grid item would shrink it to its content */
  max-width: 520px;
  margin-inline: auto;
}

.dw-hero-media .dw-media {
  box-shadow: var(--dw-shadow);
}

.dw-hero-media__chips {
  position: absolute;
  inset: auto auto -18px -12px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: calc(100% + 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw-hero-media__chips .dw-chip {
  background: rgba(10, 10, 10, 0.88);
  border-color: var(--dw-mint-line);
  color: var(--dw-text);
  backdrop-filter: blur(6px);
}

@media (max-width: 919px) {
  .dw-hero-media {
    max-width: 440px;
  }
}


/* ---------------------------------------------------------------------
   10 · LISTS, STEPS, QUOTE
   --------------------------------------------------------------------- */
.dw-checklist {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.dw-checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--dw-text-2);
}

.dw-checklist li + li {
  margin-top: 0.7rem;
}

.dw-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304130e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat,
    var(--dw-mint);
}

.dw-section--light .dw-checklist li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat,
    #047857;
}

.dw-section--mint .dw-checklist li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310d9a0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat,
    var(--dw-mint-ink);
}

.dw-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dw-step;
}

@media (min-width: 800px) {
  .dw-steps {
    grid-template-columns: repeat(var(--dw-cols, 3), minmax(0, 1fr));
  }
}

.dw-steps > li {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  counter-increment: dw-step;
}

.dw-steps > li::before {
  content: counter(dw-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--dw-font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--dw-accent-text);
}

.dw-steps > li p {
  margin: 0;
  color: var(--dw-text-2);
}

.dw-quote {
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-left: 4px solid var(--dw-accent-text);
  background: var(--dw-surface);
  border-radius: 0 var(--dw-radius) var(--dw-radius) 0;
}

.dw-quote blockquote {
  margin: 0;
  padding: 0;          /* reset Bricks' default blockquote styling */
  border: 0;
  font-family: var(--dw-font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--dw-text);
}

.dw-quote blockquote p {
  margin: 0;
}

.dw-quote figcaption {
  margin-top: 1rem;
  text-align: left;    /* Bricks centers figcaption by default */
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dw-muted);
}


/* ---------------------------------------------------------------------
   11 · FAQ (native <details> — keyboard + screen reader friendly)
   --------------------------------------------------------------------- */
.dw-faq {
  max-width: 860px;
}

.dw-faq details {
  border-bottom: 1px solid var(--dw-line);
}

.dw-faq details:first-of-type {
  border-top: 1px solid var(--dw-line);
}

.dw-faq summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 1.2rem 3rem 1.2rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dw-text);
  list-style: none;
  cursor: pointer;
}

.dw-faq summary::-webkit-details-marker {
  display: none;
}

.dw-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--dw-accent-text);
  border: 1px solid var(--dw-line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}

.dw-faq details[open] summary::after {
  content: "\2212";
}

.dw-faq summary:hover {
  color: var(--dw-accent-text);
}

.dw-faq__answer {
  max-width: 70ch;
  padding: 0 0 1.4rem;
  color: var(--dw-text-2);
}

.dw-faq__answer > :last-child {
  margin-bottom: 0;
}


/* ---------------------------------------------------------------------
   12 · TABLES
   --------------------------------------------------------------------- */
.dw-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
}

.dw-table-wrap:focus-visible {
  outline-offset: 2px;
}

.dw-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.dw-table caption {
  padding: 1rem 1.25rem;
  font-weight: 700;
  text-align: left;
  color: var(--dw-text);
  border-bottom: 1px solid var(--dw-line);
}

.dw-table th,
.dw-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--dw-line);
}

.dw-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dw-accent-text);
  background: var(--dw-surface-2);
}

.dw-table tbody th {
  font-weight: 700;
  color: var(--dw-text);
}

.dw-table td {
  color: var(--dw-text-2);
}

.dw-table tbody tr:last-child > * {
  border-bottom: 0;
}


/* ---------------------------------------------------------------------
   13 · FORMS
   Markup contract (see BUILD-BRIEF): every field has a <label for>,
   required fields say "(required)" in text, hints/errors are tied with
   aria-describedby. global.js handles validation + submission.
   --------------------------------------------------------------------- */
.dw-form-card {
  padding: clamp(22px, 3.5vw, 36px);
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  box-shadow: var(--dw-shadow);
}

.dw-form-card__title {
  margin-bottom: 0.4rem;
  font-family: var(--dw-font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.dw-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start; /* a hint under one field must not stretch its neighbour */
  gap: 1.1rem 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .dw-form--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-form--2col .dw-field--full,
  .dw-form--2col .dw-check,
  .dw-form--2col .dw-form__actions,
  .dw-form--2col .dw-form__summary,
  .dw-form--2col .dw-form__status,
  .dw-form--2col .dw-form__fine,
  .dw-form--2col .dw-hp,
  .dw-form--2col fieldset {
    grid-column: 1 / -1;
  }
}

.dw-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.dw-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dw-text);
}

.dw-label .dw-req {
  font-weight: 500;
  color: var(--dw-muted);
}

.dw-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--dw-muted);
}

.dw-input,
.dw-select,
.dw-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-family: var(--dw-font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--dw-text);
  background: var(--dw-bg);
  border: 1.5px solid var(--dw-line-strong);
  border-radius: var(--dw-radius-sm);
  transition: border-color 0.15s ease;
}

.dw-input::placeholder,
.dw-textarea::placeholder {
  color: var(--dw-muted);
  opacity: 1;
}

.dw-input:focus,
.dw-select:focus,
.dw-textarea:focus {
  border-color: var(--dw-accent-text);
}

.dw-textarea {
  min-height: 140px;
  resize: vertical;
}

.dw-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 21px) 52%, calc(100% - 15px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.dw-select option {
  color: #0a0a0a;
  background: #ffffff;
}

.dw-field.is-invalid .dw-input,
.dw-field.is-invalid .dw-select,
.dw-field.is-invalid .dw-textarea,
.dw-input[aria-invalid="true"],
.dw-select[aria-invalid="true"],
.dw-textarea[aria-invalid="true"] {
  border-color: var(--dw-error-line);
}

.dw-error {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dw-error);
}

.dw-error:empty {
  display: none;
}

fieldset.dw-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dw-fieldset legend {
  margin-bottom: 0.6rem;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dw-text);
}

.dw-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dw-option {
  position: relative;
}

.dw-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.dw-option span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dw-text-2);
  background: var(--dw-bg);
  border: 1.5px solid var(--dw-line-strong);
  border-radius: var(--dw-radius-pill);
}

.dw-option input:checked + span {
  color: var(--dw-btn-text);
  background: var(--dw-btn-bg);
  border-color: var(--dw-btn-bg);
}

.dw-option input:focus-visible + span {
  outline: 3px solid var(--dw-focus);
  outline-offset: 2px;
}

.dw-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--dw-text-2);
}

.dw-check input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.1rem 0 0;
  accent-color: var(--dw-accent-text);
  cursor: pointer;
}

.dw-check .dw-error {
  grid-column: 2;
}

/* Honeypot: off-screen, not focusable, ignored by assistive tech */
.dw-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.dw-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

@media (max-width: 560px) {
  .dw-form__actions .dw-btn {
    width: 100%;
  }
}

.dw-form__summary {
  padding: 1rem 1.25rem;
  color: var(--dw-text);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid var(--dw-error-line);
  border-radius: var(--dw-radius-sm);
}

.dw-form__summary:focus {
  outline: 3px solid var(--dw-focus);
  outline-offset: 2px;
}

.dw-form__summary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.dw-form__summary a {
  color: var(--dw-text);
}

.dw-form__status {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.dw-form__status:not(:empty) {
  padding: 1rem 1.25rem;
  color: var(--dw-text);
  background: var(--dw-mint-soft);
  border-left: 3px solid var(--dw-accent-text);
  border-radius: 0 var(--dw-radius-sm) var(--dw-radius-sm) 0;
}

.dw-form__status[data-state="error"] {
  background: rgba(248, 113, 113, 0.08);
  border-left-color: var(--dw-error-line);
}

.dw-form__fine {
  margin: 0;
  font-size: 0.8rem;
  color: var(--dw-muted);
}

/* Inline email signup (footer, topic pages) */
.dw-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .dw-inline-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .dw-inline-form .dw-check,
  .dw-inline-form .dw-form__status,
  .dw-inline-form .dw-form__summary {
    grid-column: 1 / -1;
  }
}


/* ---------------------------------------------------------------------
   14 · BREADCRUMBS + PROSE (legal / long-form)
   --------------------------------------------------------------------- */
.dw-breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.dw-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dw-muted);
}

.dw-breadcrumbs li + li::before {
  content: "/";
  color: var(--dw-line-strong);
}

.dw-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--dw-text-2);
}

.dw-breadcrumbs [aria-current="page"] {
  color: var(--dw-muted);
}

.dw-prose {
  max-width: 72ch;
  color: var(--dw-text-2);
}

.dw-prose h2 {
  margin-top: 2.25em;
  font-family: var(--dw-font-body);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
}

.dw-prose h3 {
  margin-top: 1.75em;
}

.dw-prose ul,
.dw-prose ol {
  padding-left: 1.3em;
}

.dw-prose li + li {
  margin-top: 0.4em;
}

.dw-prose li::marker {
  color: var(--dw-accent-text);
}


/* ---------------------------------------------------------------------
   15 · HEADER + MOBILE DRAWER
   Markup lives in bricks/header.html (Bricks header template).
   No horizontal overflow: the drawer is fixed, hidden with visibility,
   and never translated sideways.
   --------------------------------------------------------------------- */
/* The blur sits on a pseudo-element: backdrop-filter on .dw-header itself
   would become the containing block for the fixed drawer and break it. */
.dw-header {
  position: relative;
  isolation: isolate;
}

.dw-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--dw-line);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
}

/* Without JavaScript the menu button can't work, so show the nav instead */
html:not(.dw-js) .dw-menu-btn {
  display: none;
}

@media (max-width: 1059px) {
  html:not(.dw-js) .dw-header__inner {
    flex-wrap: wrap;
    padding-block: 0.5rem;
  }

  html:not(.dw-js) .dw-nav {
    display: block;
    width: 100%;
  }

  html:not(.dw-js) .dw-nav__list {
    flex-wrap: wrap;
  }
}

.dw-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  min-height: var(--dw-header-h);
}

.dw-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  margin-right: auto;
  color: var(--dw-text);
  text-decoration: none;
}

.dw-logo__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  font-family: var(--dw-font-display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--dw-mint);
  background: rgba(16, 217, 160, 0.08);
  border: 1.5px solid rgba(16, 217, 160, 0.55);
  border-radius: 11px;
}

.dw-logo__text {
  display: grid;
  line-height: 1.05;
}

.dw-logo__name {
  font-family: var(--dw-font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.dw-logo__tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dw-muted);
}

/* Narrow phones: the tagline would wrap onto three lines — the name + mark carry it */
@media (max-width: 559px) {
  .dw-logo__tag {
    display: none;
  }
}

.dw-nav {
  display: none;
}

.dw-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dw-text-2);
  text-decoration: none;
  border-radius: var(--dw-radius-sm);
}

.dw-nav__link:hover {
  color: var(--dw-text);
  background: rgba(255, 255, 255, 0.06);
}

.dw-nav__link[aria-current="page"],
.dw-nav__link.is-section {
  color: var(--dw-mint);
}

.dw-header__cta {
  display: none;
}

.dw-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dw-text);
  background: transparent;
  border: 1.5px solid var(--dw-line-strong);
  border-radius: var(--dw-radius-pill);
  cursor: pointer;
}

.dw-menu-btn__icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.dw-menu-btn__icon::before,
.dw-menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.dw-menu-btn__icon::before {
  top: 1px;
}

.dw-menu-btn__icon::after {
  top: 9px;
}

.dw-menu-btn[aria-expanded="true"] .dw-menu-btn__icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.dw-menu-btn[aria-expanded="true"] .dw-menu-btn__icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.dw-drawer {
  position: fixed;
  inset: var(--dw-header-h) 0 0 0;
  z-index: 89;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--dw-bg);
  border-top: 1px solid var(--dw-line);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.admin-bar .dw-drawer {
  top: calc(var(--dw-header-h) + 46px);
}

.dw-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.dw-drawer__inner {
  padding-block: 1.5rem 3rem;
}

.dw-drawer__list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.dw-drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-family: var(--dw-font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--dw-text);
  text-decoration: none;
  border-bottom: 1px solid var(--dw-line);
}

.dw-drawer__list a::after {
  content: "\2192";
  font-family: var(--dw-font-body);
  font-size: 1.1rem;
  color: var(--dw-mint);
}

.dw-drawer__list a[aria-current="page"] {
  color: var(--dw-mint);
}

.dw-drawer__sub {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.dw-drawer__sub a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dw-text-2);
}

html.dw-drawer-open,
html.dw-drawer-open body {
  overflow: hidden;
}

@media (min-width: 1060px) {
  .dw-nav {
    display: block;
  }

  .dw-header__cta {
    display: inline-flex;
  }

  .dw-menu-btn,
  .dw-drawer {
    display: none;
  }

  .dw-logo {
    margin-right: 0;
  }

  .dw-nav {
    margin-left: auto;
  }
}


/* ---------------------------------------------------------------------
   16 · FOOTER
   Markup lives in bricks/footer.html (Bricks footer template).
   --------------------------------------------------------------------- */
.dw-footer {
  padding-block: clamp(56px, 8vw, 96px) 2rem;
  background: #050505;
  border-top: 1px solid var(--dw-line);
}

.dw-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--dw-line);
}

@media (min-width: 900px) {
  .dw-footer__top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.dw-footer__title {
  margin: 0 0 0.5rem;
  font-family: var(--dw-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.dw-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  padding-block: clamp(40px, 6vw, 56px);
}

@media (min-width: 900px) {
  .dw-footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dw-footer__heading {
  margin: 0 0 0.9rem;
  font-family: var(--dw-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dw-mint);
}

.dw-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.95rem;
  color: var(--dw-text-2);
  text-decoration: none;
}

.dw-footer__links a:hover {
  color: var(--dw-text);
  text-decoration: underline;
}

.dw-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--dw-muted);
}

.dw-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--dw-muted);
}

.dw-footer__disclaimer {
  max-width: 90ch;
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--dw-muted);
}


/* ---------------------------------------------------------------------
   17 · EVENTS (output of the [dw_events] shortcode + series cards)
   --------------------------------------------------------------------- */
.dw-events {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .dw-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dw-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.dw-event__date {
  display: grid;
  place-items: center;
  width: 76px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  background: var(--dw-mint-soft);
  border: 1px solid var(--dw-mint-line);
  border-radius: 14px;
}

.dw-event__month {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dw-accent-text);
}

.dw-event__day {
  font-family: var(--dw-font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--dw-text);
}

.dw-event__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.dw-event__meta {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--dw-muted);
}

.dw-event__status {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dw-gold);
}

.dw-events-empty {
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  background: var(--dw-surface);
  border: 1px dashed var(--dw-line-strong);
  border-radius: var(--dw-radius);
}

.dw-events-empty p {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--dw-text-2);
}

/* Event single (output of [dw_event_detail]) */
.dw-event-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  background: var(--dw-surface);
}

@media (min-width: 720px) {
  .dw-event-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dw-event-facts li {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--dw-line);
}

.dw-event-facts dt,
.dw-event-facts__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dw-accent-text);
}

.dw-event-facts__value {
  display: block;
  margin-top: 0.25rem;
  color: var(--dw-text);
}


/* ---------------------------------------------------------------------
   18 · UTILITIES
   --------------------------------------------------------------------- */
.dw-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dw-center {
  text-align: center;
}

.dw-mt-0 { margin-top: 0 !important; }
.dw-mt-1 { margin-top: 1rem !important; }
.dw-mt-2 { margin-top: 2rem !important; }
.dw-mt-3 { margin-top: clamp(32px, 5vw, 56px) !important; }
.dw-mb-0 { margin-bottom: 0 !important; }

.dw-maxw-text {
  max-width: 68ch;
}

/* Decorative-only content that adds nothing on small screens */
@media (max-width: 919px) {
  .dw-hide-mobile {
    display: none !important;
  }
}

.dw-divider {
  height: 1px;
  margin: clamp(32px, 5vw, 56px) 0;
  border: 0;
  background: var(--dw-line);
}


/* ---------------------------------------------------------------------
   19 · MOTION & PRINT
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  #brx-header,
  .dw-drawer,
  .dw-form-card,
  .dw-footer__top form {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}


/* ---------------------------------------------------------------------
   20 · STANDARDS PASS 2026-11-22
   a) 44 px targets (WCAG 2.5.5, AAA): links that stand alone in a list,
      the breadcrumbs, the footer and the skip links get a hit area at
      least 44 px tall. Links inside sentences keep their size (the
      inline exception). Checkboxes: their label is the 44 px target.
   b) Proscris Consent card: the site's own type.
   --------------------------------------------------------------------- */
.dw-footer__links a,
.dw-footer__legal a,
.dw-breadcrumbs a {
  min-height: 44px;
  min-width: 44px;
}

.dw-stack > li > a:only-child,
.dw-checklist li > a:only-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

nav.dw-card .dw-stack > li + li {
  margin-top: 0;
}

.dw-check label {
  display: block;
  min-height: 44px;
  padding-block: 0.6rem;
  color: inherit; /* Bricks colours every label #9e9e9e (6.5:1); inherit the form text (10.5:1, AAA) */
  cursor: pointer;
}

.dw-check input[type="checkbox"] {
  margin-top: 0.7rem;
}

.skip-link:focus {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.6rem 1rem;
}

:root {
  --pcx-card-font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pcx-card-font-head: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
