/* ============================================================================
   Accelerating AI - "Signal" design system (WordPress theme stylesheet)
   Ported faithfully from the Claude Design handoff:
     tokens/{colors,typography,spacing,fonts}.css + base.css
     components/{Button,Badge,Input,IconTile}
     ui_kits/relaunch-site/app.css  (the "Signal" layout)
   Direction: editorial, technical, credible. Dark stage + electric-blue accent,
   numbered section indices, registration-mark corner ticks, travelling signal
   line, big confident Gotham, generous full-bleed imagery.
   Self-contained - no build step, no framework.
   ========================================================================== */

/* ==========================================================================
   1. Webfonts - Gotham (self-hosted, licensed). font-display:swap for speed.
   ========================================================================== */
@font-face {
  font-family: "Gotham"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/Gotham-Light.woff2") format("woff2"),
       url("../fonts/Gotham-Light.woff") format("woff");
}
@font-face {
  font-family: "Gotham"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/Gotham-Book.woff2") format("woff2"),
       url("../fonts/Gotham-Book.woff") format("woff");
}
@font-face {
  font-family: "Gotham"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/Gotham-Medium.woff2") format("woff2"),
       url("../fonts/Gotham-Medium.woff") format("woff");
}
@font-face {
  font-family: "Gotham"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/GothamBold.woff2") format("woff2"),
       url("../fonts/GothamBold.woff") format("woff");
}

/* ==========================================================================
   2. Tokens - colors
   ========================================================================== */
:root {
  /* Brand blue */
  --blue-100: #cfe6ff;
  --blue-300: #66b2ff;
  --blue-400: #2e90fa;
  --blue-500: #0082ff;   /* BASE - brand primary */
  --blue-600: #0067cc;
  --blue-700: #004e99;
  --blue-glow: rgba(0, 130, 255, 0.45);

  /* Neutrals */
  --neutral-lightest: #eeeeee;
  --neutral-lighter:  #cccccc;
  --neutral-light:    #aaaaaa;
  --neutral:          #666666;
  --neutral-dark:     #444444;
  --neutral-darker:   #222222;
  --neutral-darkest:  #000000;
  --white:            #ffffff;

  /* Dark surfaces (the near-black "stage") */
  --ink-900: #161616;
  --ink-850: #191919;
  --ink-800: #1c1c1c;
  --ink-700: #222222;
  --ink-stroke: #464646;

  /* Semantic surfaces */
  --surface-page:    var(--ink-850);
  --surface-section: var(--ink-900);
  --surface-card:    var(--ink-800);
  --surface-raised:  var(--ink-700);
  --surface-invert:  var(--white);

  /* Semantic text */
  --text-primary:   var(--white);
  --text-secondary: var(--neutral-light);
  --text-muted:     var(--neutral);
  --text-on-accent: var(--white);
  --text-on-invert: var(--neutral-darkest);
  --text-link:      var(--blue-500);

  /* Accent / interactive */
  --accent:         var(--blue-500);
  --accent-hover:   var(--blue-400);
  --accent-active:  var(--blue-600);
  --accent-subtle:  rgba(0, 130, 255, 0.12);
  --accent-ring:    var(--blue-500);

  /* Borders */
  --border-default: var(--ink-stroke);
  --border-strong:  var(--neutral-dark);
  --border-accent:  var(--blue-500);
  --border-subtle:  rgba(255, 255, 255, 0.08);

  /* Status */
  --success: #1f8a5b;
  --warning: #f5a623;
  --danger:  #e5484d;
  --info:    var(--blue-500);

  /* Atmospheric */
  --fade-to-page: linear-gradient(180deg, rgba(25,25,25,0) 0%, var(--ink-850) 100%);
  --glow-radial: radial-gradient(60% 80% at 50% 0%, var(--blue-glow) 0%, rgba(0,130,255,0) 70%);

  /* Typography */
  --font-sans: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);
  --weight-light: 300;
  --weight-book: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --text-display: 72px;
  --text-h1: 56px;
  --text-h2: 40px;
  --text-h3: 32px;
  --text-h4: 24px;
  --text-xl: 20px;
  --text-lg: 18px;
  --text-base: 16px;
  --text-sm: 14px;
  --text-xs: 12px;
  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.4;
  --leading-relaxed: 1.5;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.14em;

  /* Spacing scale (4px base) */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px;--space-40: 160px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --radius-full: 9999px;

  /* Borders / elevation (inset hairline strokes, not drop shadows) */
  --border-width: 1px;
  --border-hairline: 1px solid var(--border-default);
  --stroke-card: inset 0 0 0 1px var(--border-default);
  --stroke-accent: inset 0 0 0 1px var(--accent);
  --ring-focus: inset 0 0 0 1px var(--accent), 0 0 0 2px var(--accent-subtle);
  --shadow-pop: 0 16px 48px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px -4px var(--blue-glow);

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(20px, 5vw, 80px);
  --gutter: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-base: 240ms;
  --dur-slow: 480ms;
  --dur-flow: 900ms;
}

/* ==========================================================================
   3. Base reset + brand defaults
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-sans); font-weight: var(--weight-book);
  font-size: var(--text-lg); line-height: var(--leading-relaxed);
  color: var(--text-primary); background-color: var(--surface-page);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--weight-bold);
  line-height: var(--leading-snug); color: var(--text-primary); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--white); }
ul, ol { margin: 0; }
button { font-family: inherit; }

/* Accessibility helpers */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent);
  color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 500;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   4. Components - Button
   ========================================================================== */
.aai-btn {
  --_h: 48px; --_px: 24px; --_fs: var(--text-base);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--_h); padding: 0 var(--_px); border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: var(--weight-medium);
  font-size: var(--_fs); line-height: 1; letter-spacing: 0;
  border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.aai-btn:active { transform: translateY(0) scale(.98); }
.aai-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.aai-btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.aai-btn--sm { --_h: 40px; --_px: 20px; --_fs: var(--text-sm); }
.aai-btn--lg { --_h: 56px; --_px: 32px; --_fs: var(--text-lg); }
.aai-btn--primary { background: var(--white); color: var(--text-on-invert); box-shadow: 0 0 0 1px var(--white); }
.aai-btn--primary:hover { background: var(--neutral-lightest); color: var(--text-on-invert);
  box-shadow: 0 0 0 1px var(--neutral-lightest), var(--shadow-glow); }
.aai-btn--accent { background: var(--accent); color: var(--text-on-accent); }
.aai-btn--accent:hover { background: var(--accent-hover); color: var(--text-on-accent); box-shadow: var(--shadow-glow); }
.aai-btn--accent:active { background: var(--accent-active); }
.aai-btn--secondary { background: transparent; color: var(--text-primary); box-shadow: var(--stroke-card); }
.aai-btn--secondary:hover { background: var(--surface-raised); color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-strong); }
.aai-btn--ghost { background: transparent; color: var(--text-primary); }
.aai-btn--ghost:hover { background: var(--surface-raised); color: var(--text-primary); }
.aai-btn--link { background: transparent; color: var(--accent); height: auto; padding: 0; border-radius: 0; }
.aai-btn--link:hover { color: var(--accent-hover); }
.aai-btn--block { display: flex; width: 100%; }

/* ==========================================================================
   5. Components - Badge / pill
   ========================================================================== */
.aai-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: var(--radius-pill); font-family: var(--font-sans); font-weight: var(--weight-medium);
  font-size: var(--text-sm); line-height: 1; white-space: nowrap;
}
.aai-badge--lg { height: 48px; padding: 0 24px; font-size: var(--text-base); }
.aai-badge svg { width: 1.05em; height: 1.05em; }
.aai-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.aai-badge--outline { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--accent); }
.aai-badge--solid { background: var(--accent); color: var(--text-on-accent); }
.aai-badge--subtle { background: var(--accent-subtle); color: var(--accent); }
.aai-badge--neutral { background: var(--surface-raised); color: var(--text-secondary); box-shadow: var(--stroke-card); }

/* ==========================================================================
   6. Components - IconTile
   ========================================================================== */
.aai-icontile { display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto; }
.aai-icontile svg { width: 22px; height: 22px; }
.aai-icontile--sm { width: 36px; height: 36px; }
.aai-icontile--sm svg { width: 18px; height: 18px; }
.aai-icontile--lg { width: 64px; height: 64px; }
.aai-icontile--lg svg { width: 28px; height: 28px; }
.aai-icontile--solid { background: var(--accent); color: var(--white); }
.aai-icontile--subtle { background: var(--accent-subtle); color: var(--accent); }
.aai-icontile--outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.aai-icontile--ghost { background: var(--surface-raised); color: var(--accent); }

/* ==========================================================================
   7. Components - Input / field
   ========================================================================== */
.aai-field { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-sans); }
.aai-field__label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-secondary); }
.aai-field__req { color: var(--accent); margin-left: 2px; }
.aai-input {
  width: 100%; height: 48px; padding: 0 16px; background: var(--surface-card); color: var(--text-primary);
  font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.5; border: 0;
  border-radius: var(--radius-sm); box-shadow: var(--stroke-card);
  transition: box-shadow var(--dur-fast) var(--ease-out); appearance: none; outline: none;
}
textarea.aai-input { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; }
.aai-input::placeholder { color: var(--text-muted); }
.aai-input:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
.aai-input:focus { box-shadow: var(--ring-focus); }
.aai-input:disabled { opacity: .5; cursor: not-allowed; }
.aai-field--error .aai-input { box-shadow: inset 0 0 0 1px var(--danger); }
.aai-field--error .aai-input:focus { box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 2px rgba(229,72,77,.2); }
.aai-field__help { font-size: var(--text-sm); color: var(--text-muted); }
.aai-field--error .aai-field__help { color: var(--danger); }

/* ==========================================================================
   8. Layout system - "Signal" (from app.css)
   ========================================================================== */
.rs { background: var(--surface-page); min-height: 100%; overflow-x: hidden; }
.rs-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px, 4.5vw, 56px); }
.rs-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.rs-sec--tight { padding: clamp(44px, 6vw, 80px) 0; }

/* overline / index */
.rs-over { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.rs-idx { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* section header */
.rs-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: 26px; margin-bottom: 48px; border-bottom: 1px solid var(--border-default); position: relative; }
.rs-shead__l { max-width: 760px; }
.rs-shead h2 { font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -.025em; line-height: 1.04; margin-top: 16px; }
.rs-shead p { color: var(--text-secondary); font-size: var(--text-lg); margin-top: 16px; }
.rs-shead__no { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1;
  color: var(--ink-700); letter-spacing: -.04em; flex: 0 0 auto; }

/* travelling signal line */
.rs-signal { position: relative; height: 1px; background: var(--border-default); overflow: visible; }
.rs-signal::after { content: ""; position: absolute; top: -1px; left: 0; width: 22%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: rs-travel 4.5s var(--ease-in-out) infinite; }
@keyframes rs-travel { 0% { left: -22%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .rs-signal::after { animation: none; left: 0; } }

/* reveal on scroll */
[data-rs] { transform: translateY(18px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s var(--ease-out); }
[data-rs].in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-rs] { transform: none; opacity: 1; } }
.no-js [data-rs] { transform: none; opacity: 1; }

/* media frame with registration-mark corner ticks */
.rs-frame { position: relative; background: var(--ink-800); box-shadow: var(--stroke-card);
  border-radius: var(--radius-sm); overflow: hidden; }
.rs-frame--ph { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--text-muted); text-align: center; min-height: 160px; }
.rs-frame__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-subtle);
  color: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rs-frame__lab { font-size: 13px; letter-spacing: .06em; }
.rs-frame__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow);
  transition: transform .25s var(--ease-out); border: 0; cursor: pointer; }
.rs-frame:hover .rs-frame__play { transform: translate(-50%,-50%) scale(1.08); }
.rs-frame__cap { position: absolute; left: 16px; bottom: 14px; z-index: 3; color: #fff; font-size: 14px;
  font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.rs-frame:has(.rs-frame__play) img { filter: brightness(.62); }
.rs-frame img { width: 100%; height: 100%; object-fit: cover; }
.rs-tick { position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 2; opacity: .8; }
.rs-tick::before, .rs-tick::after { content: ""; position: absolute; background: var(--accent); }
.rs-tick::before { width: 100%; height: 1.5px; top: 0; }
.rs-tick::after { width: 1.5px; height: 100%; left: 0; }
.rs-tick--tl { top: 8px; left: 8px; }
.rs-tick--tr { top: 8px; right: 8px; transform: scaleX(-1); }
.rs-tick--bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.rs-tick--br { bottom: 8px; right: 8px; transform: scale(-1); }

/* Top utility bar */
.rs-util { background: #000; border-bottom: 1px solid var(--border-subtle); }
.rs-util__in { display: flex; align-items: center; justify-content: space-between; height: 38px;
  font-size: 12.5px; color: var(--text-muted); gap: 16px; }
.rs-util__l { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.rs-util__ico { color: var(--accent); display: inline-flex; flex: 0 0 auto; }
/* ellipsis must live on a non-flex element, so truncate the text span (not __l) */
.rs-util__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-util__l b { color: #fff; font-weight: 500; }
.rs-util__r { display: flex; gap: 18px; flex: 0 0 auto; }
.rs-util__r a { color: var(--text-secondary); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rs-util__r a:hover { color: #fff; }
@media (max-width: 760px) { .rs-util__r { display: none; } }

/* Header / nav */
.rs-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface-page) 80%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-subtle); }
.rs-nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.rs-nav__logo { height: 30px; width: auto; cursor: pointer; flex: 0 0 auto; }

/* Animated brand logo (inline SVG): sparkles twinkle, the "AI" letters glow.
   Continuous loop; paused under prefers-reduced-motion. */
.aai-logo { display: block; width: auto; height: 30px; color: var(--text-primary); overflow: visible; }
.rs-nav__logo-link { display: inline-flex; align-items: center; }
.aai-logo .spk { transform-box: fill-box; transform-origin: center; animation: aai-twinkle 3.6s var(--ease-out) infinite; }
.aai-logo .spk2 { animation-delay: -.58s; }
.aai-logo .spk3 { animation-delay: -1.15s; }
.aai-logo .ai { fill: var(--accent); animation: aai-glow 3.6s var(--ease-in-out) infinite; }
@keyframes aai-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 45% { transform: scale(1.13) rotate(6deg); } }
@keyframes aai-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(0,130,255,0)); } 50% { filter: drop-shadow(0 0 8px rgba(0,130,255,.8)); } }
@media (prefers-reduced-motion: reduce) { .aai-logo .spk, .aai-logo .ai { animation: none; } }
/* Shrink the wordmark on phones so it never crowds the Register button / burger. */
@media (max-width: 600px) { .rs-nav__logo { height: 24px; } }
.rs-nav__links { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.rs-nav__links a { color: var(--text-secondary); font-size: 15px; font-weight: 500; cursor: pointer; position: relative; }
.rs-nav__links a.on, .rs-nav__links a:hover,
.rs-nav__links .current-menu-item > a, .rs-nav__links .current_page_item > a { color: #fff; }
.rs-nav__links a.on::after,
.rs-nav__links .current-menu-item > a::after, .rs-nav__links .current_page_item > a::after {
  content: ""; position: absolute; left: 0; bottom: -27px; width: 100%; height: 2px; background: var(--accent); }
.rs-nav__cta { display: flex; align-items: center; gap: 12px; }
.rs-burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: #fff;
  align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--stroke-card); border-radius: 8px; }
@media (max-width: 940px) {
  .rs-nav__links { display: none; }
  .rs-burger { display: inline-flex; }
  .rs-nav__cta .rs-cta-learn { display: none; }
}
/* mobile menu */
.rs-mobile { display: none; border-bottom: 1px solid var(--border-subtle); background: var(--surface-section); }
.rs-mobile.is-open { display: block; }
.rs-mobile ul { list-style: none; padding: 0; margin: 0; }
.rs-mobile a { display: block; padding: 14px 0; color: var(--text-secondary); font-size: 16px; font-weight: 500;
  border-bottom: 1px solid var(--border-subtle); cursor: pointer; }
.rs-mobile li:last-child a { border-bottom: 0; }
.rs-mobile .current-menu-item > a { color: #fff; }

/* Hero */
.rs-hero { position: relative; overflow: hidden; }
.rs-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 8vw, 104px); }
@media (max-width: 940px) { .rs-hero__grid { grid-template-columns: 1fr; } }
.rs-hero__glow { position: absolute; right: -10%; top: -20%; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,130,255,.22), rgba(0,130,255,0) 70%); }
.rs-hero h1 { font-size: clamp(40px, 6.4vw, 82px); line-height: .99; letter-spacing: -.035em; margin: 22px 0 0; }
.rs-hero h1 .b { color: var(--accent); }
.rs-hero__sub { color: var(--text-secondary); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; max-width: 520px; margin-top: 24px; }
.rs-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.rs-hero__stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; padding-top: 26px;
  border-top: 1px solid var(--border-default); }
.rs-hero__stat { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14.5px; }
.rs-hero__stat svg { color: var(--accent); flex: 0 0 auto; }
.rs-hero__media { position: relative; aspect-ratio: 1/1; max-height: 560px; margin: 0 auto; width: 100%; }
.rs-hero__media .rs-frame { position: absolute; inset: 0; }
.rs-hero__badge { position: absolute; left: -18px; bottom: 24px; z-index: 3; background: var(--accent); color: #fff;
  padding: 14px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-pop); }
.rs-hero__badge b { display: block; font-size: 22px; font-weight: 700; line-height: 1; }
.rs-hero__badge span { display: block; font-size: 12px; opacity: .9; letter-spacing: .04em; white-space: nowrap; }
/* Linkable corner badge: whole badge is the tap target (no text underline, gentle lift on hover/focus). */
.rs-hero__badge--link { text-decoration: none; color: #fff; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), filter .25s var(--ease-out); }
.rs-hero__badge--link:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: var(--shadow-pop), var(--shadow-glow); }
.rs-hero__badge--link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Pillars */
.rs-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .rs-pillars { grid-template-columns: 1fr; } }
.rs-pillar { position: relative; padding: 30px; border-radius: var(--radius-sm); background: var(--surface-card);
  box-shadow: var(--stroke-card); overflow: hidden;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out); }
.rs-pillar:hover { box-shadow: var(--stroke-accent), var(--shadow-glow); transform: translateY(-4px); }
.rs-pillar__no { position: absolute; top: 22px; right: 26px; font-size: 13px; font-weight: 700; color: var(--ink-stroke); }
.rs-pillar h3 { font-size: 22px; margin: 22px 0 8px; }
.rs-pillar p { color: var(--text-secondary); font-size: 15px; }
/* Clickable pillar: whole card is a link; keeps the lift/glow hover, adds an arrow cue. */
.rs-pillar--link { display: block; cursor: pointer; color: inherit; text-decoration: none; }
/* Reserve room for the arrow. Two-class selector so the mobile `.rs-pillar`
   padding rule can't override it and let the arrow overlap the text. */
.rs-pillar.rs-pillar--link { padding-bottom: 60px; }
.rs-pillar--link h3, .rs-pillar--link p { color: inherit; }
.rs-pillar--link p { color: var(--text-secondary); }
.rs-pillar__go { position: absolute; left: 30px; bottom: 26px; display: inline-flex; color: var(--accent);
  opacity: .6; transform: translateX(0); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.rs-pillar--link:hover .rs-pillar__go { opacity: 1; transform: translateX(4px); }
.rs-pillar--link:hover h3 { color: var(--accent); }

/* Proof band */
.rs-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 680px) { .rs-proof { grid-template-columns: 1fr 1fr; gap: 32px; } }
.rs-proof__v { font-size: clamp(40px, 5.6vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.rs-proof__v .s { color: var(--accent); }
.rs-proof__l { color: var(--text-secondary); font-size: 14.5px; margin-top: 10px; }

/* Logo strip */
.rs-logos { display: flex; flex-wrap: wrap; gap: 14px; }
.rs-logos--grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 680px) { .rs-logos--grid { grid-template-columns: 1fr 1fr; } }
.rs-logo { flex: 1; min-width: 150px; height: 88px; border-radius: var(--radius-sm); background: var(--surface-card);
  box-shadow: var(--stroke-card); display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-align: center;
  padding: 0 14px; transition: color .25s, box-shadow .25s; }
.rs-logo img { max-height: 52px; max-width: 78%; object-fit: contain; opacity: .85; transition: opacity .25s; }
.rs-logo:hover img { opacity: 1; }
.rs-logo:hover { color: #fff; box-shadow: var(--stroke-accent); }
.rs-logo small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px; }
a.rs-logo:hover { color: #fff; }

/* Split / story rows */
.rs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rs-split--rev .rs-split__media { order: -1; }
@media (max-width: 880px) { .rs-split { grid-template-columns: 1fr; } .rs-split--rev .rs-split__media { order: 0; } }
.rs-split__media { aspect-ratio: 4/3; position: relative; }
.rs-split__media .rs-frame { position: absolute; inset: 0; }
.rs-split h3 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.06; margin-top: 14px; }
.rs-split p { color: var(--text-secondary); font-size: var(--text-lg); margin-top: 16px; }
.rs-split p + p { margin-top: 12px; }

/* Organisers */
.rs-orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .rs-orgs { grid-template-columns: 1fr; } }
.rs-org { padding: 28px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--stroke-card); }
.rs-org__top { display: flex; align-items: center; gap: 16px; }
.rs-org__logo { width: 80px; height: 48px; flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-start; }
.rs-org__logo img { max-width: 100%; max-height: 42px; object-fit: contain; }
.rs-org__name { font-weight: 700; font-size: 18px; }
.rs-org__role { color: var(--accent); font-size: 14px; margin-top: 2px; }
.rs-org__lead { color: var(--text-muted); font-size: 14px; margin-top: 14px; }
.rs-org__avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border-default); }
.rs-org__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-org__company { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.rs-org__company img { height: 24px; width: auto; max-width: 65%; object-fit: contain; opacity: .8; }

/* Testimonials */
.rs-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .rs-quotes { grid-template-columns: 1fr; } }
.rs-quote { padding: 30px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--stroke-card);
  display: flex; flex-direction: column; gap: 18px; }
.rs-quote__mark { color: var(--accent); font-size: 40px; line-height: .6; font-weight: 700; }
.rs-quote__q { font-size: 17px; line-height: 1.5; color: #fff; flex: 1; }
.rs-quote__who { font-size: 14px; font-weight: 500; }
.rs-quote__org { font-size: 13px; color: var(--text-muted); }

/* Detail list (conference facts) */
.rs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-default);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--stroke-card); }
@media (max-width: 680px) { .rs-facts { grid-template-columns: 1fr; } }
.rs-fact { background: var(--surface-card); padding: 24px 26px; display: flex; align-items: flex-start; gap: 16px; }
.rs-fact .rs-frame__ico { flex: 0 0 44px; }
.rs-fact__k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.rs-fact__v { font-size: 18px; font-weight: 500; margin-top: 6px; }

/* Episodes */
.rs-eps { display: flex; flex-direction: column; }
.rs-ep { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--border-subtle);
  cursor: pointer; color: inherit; }
.rs-ep:last-child { border-bottom: 1px solid var(--border-subtle); }
.rs-ep__n { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; flex: 0 0 26px; }
.rs-ep__play { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px; display: flex; align-items: center;
  justify-content: center; color: var(--accent); box-shadow: var(--stroke-card); transition: all .25s; }
.rs-ep:hover .rs-ep__play { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.rs-ep__t { flex: 1; }
.rs-ep__title { font-weight: 500; font-size: 16.5px; color: var(--text-primary); }
.rs-ep__guest { color: var(--text-muted); font-size: 13.5px; margin-top: 3px; }
.rs-ep__len { color: var(--text-muted); font-size: 13.5px; }

/* White paper embed */
.rs-wp { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .rs-wp { grid-template-columns: 1fr; } }
.rs-wp__doc { position: relative; aspect-ratio: 1/1.32; }
.rs-wp__doc .rs-frame { position: absolute; inset: 0; }
.rs-wp__list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.rs-wp__list li { display: flex; gap: 14px; color: var(--text-secondary); font-size: 16px; }
.rs-wp__list svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

/* Sponsor reasons / tiers */
.rs-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .rs-reasons { grid-template-columns: 1fr; } }
.rs-reason { padding: 28px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--stroke-card); }
.rs-reason h3 { font-size: 19px; margin: 18px 0 8px; }
.rs-reason p { color: var(--text-secondary); font-size: 15px; }
.rs-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .rs-tiers { grid-template-columns: 1fr; } }
.rs-tier { padding: 28px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--stroke-card); position: relative; }
.rs-tier--feat { box-shadow: var(--stroke-accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface-card)); }
.rs-tier__name { font-size: 22px; font-weight: 700; }
.rs-tier__note { color: var(--text-secondary); font-size: 15px; margin-top: 10px; }
.rs-tier__tag { position: absolute; top: 22px; right: 24px; font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); }

/* CTA band */
.rs-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #000;
  box-shadow: var(--stroke-card); padding: clamp(48px, 7vw, 92px) clamp(24px, 5vw, 64px); }
.rs-cta__glow { position: absolute; left: 30%; top: 20%; width: 800px; height: 800px; transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(0,130,255,.24), rgba(0,130,255,0) 70%); pointer-events: none; }
.rs-cta__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; }
.rs-cta h2 { font-size: clamp(28px, 4.4vw, 48px); letter-spacing: -.025em; line-height: 1.04; max-width: 600px; }
.rs-cta p { color: var(--text-secondary); font-size: var(--text-lg); margin-top: 14px; max-width: 520px; }
.rs-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.rs-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 880px) { .rs-contact { grid-template-columns: 1fr; } }
/* Form-only contact (no sidebar): single, comfortably-constrained column. */
.rs-contact--solo { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
.rs-form { display: flex; flex-direction: column; gap: 16px; }
.rs-cinfo { display: flex; flex-direction: column; gap: 22px; }
.rs-cinfo__row { display: flex; gap: 16px; align-items: flex-start; }
.rs-cinfo__row .rs-frame__ico { flex: 0 0 44px; }
.rs-cinfo__k { font-size: 13px; color: var(--text-muted); letter-spacing: .04em; }
.rs-cinfo__v { font-size: 17px; font-weight: 500; margin-top: 4px; }
.rs-cinfo__v a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.rs-cinfo__v a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.rs-foot { border-top: 1px solid var(--border-subtle); padding: 56px 0 40px; background: var(--surface-section); }
.rs-foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .rs-foot__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .rs-foot__top { grid-template-columns: 1fr; } }
.rs-foot__logo { height: 30px; width: auto; margin-bottom: 16px; }
.rs-foot__tag { color: var(--text-muted); font-size: 14px; max-width: 280px; line-height: 1.5; }
.rs-foot__col h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.rs-foot__col ul { list-style: none; padding: 0; margin: 0; }
.rs-foot__col a { display: block; color: var(--text-secondary); font-size: 14px; margin-bottom: 10px; cursor: pointer; }
.rs-foot__col a:hover { color: #fff; }
.rs-foot__bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px;
  padding-top: 24px; border-top: 1px solid var(--border-subtle); flex-wrap: wrap; }
.rs-foot__bot span { color: var(--text-muted); font-size: 13px; }
.rs-foot__social { display: flex; gap: 10px; }

/* Footer subscribe band (double opt-in newsletter) */
.rs-foot__sub { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px,4vw,56px); align-items: center;
  padding-bottom: clamp(32px,4vw,44px); margin-bottom: clamp(32px,4vw,44px); border-bottom: 1px solid var(--border-subtle); }
@media (max-width: 880px) { .rs-foot__sub { grid-template-columns: 1fr; gap: 18px; } }
.rs-foot__sub-intro h3 { font-size: clamp(20px,2.4vw,26px); letter-spacing: -.01em; }
.rs-foot__sub-intro p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin-top: 8px; max-width: 40ch; }
.rs-subform__row { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-subform__row .aai-input { flex: 1 1 160px; min-width: 0; height: 48px; }
.rs-subform__row .aai-btn { flex: 0 0 auto; height: 48px; }
@media (max-width: 480px) { .rs-subform__row .aai-btn { flex: 1 1 100%; } }
.rs-subform__fine { color: var(--text-muted); font-size: 12.5px; line-height: 1.5; margin-top: 12px; }
.rs-subform .rs-form-note { margin-bottom: 14px; }
/* Roomier tap targets on mobile (footer column + contact-detail links). */
@media (max-width: 880px) {
  .rs-foot__col a { padding: 7px 0; margin-bottom: 3px; }
  .rs-cinfo__v a { display: inline-block; padding: 3px 0; }
}
.rs-foot__social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--text-secondary); box-shadow: var(--stroke-card); cursor: pointer; }
.rs-foot__social a:hover { color: #fff; box-shadow: var(--stroke-accent); }

/* page intro band for interior pages */
.rs-pageintro { padding: clamp(48px, 7vw, 88px) 0 0; }
.rs-pageintro h1 { font-size: clamp(36px, 5.5vw, 68px); letter-spacing: -.03em; line-height: 1.02; margin-top: 18px; }
.rs-pageintro p { color: var(--text-secondary); font-size: var(--text-xl); margin-top: 18px; max-width: 640px; }

/* Page-intro CTA row */
.rs-pageintro__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* "Featuring as part of" MK Tech Week lockup */
.rs-tw { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rs-tw--center { align-items: center; }
.rs-tw__lab { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.rs-tw__logo { height: 34px; width: auto; opacity: .92; }
.rs-foot .rs-tw { margin-top: 22px; }
.rs-foot .rs-tw__logo { height: 30px; }

/* generic gallery grid helpers used by blocks */
.rs-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .rs-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rs-grid-3 { grid-template-columns: 1fr; } }
.rs-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 16px; }
.rs-gallery > *:first-child { grid-row: span 2; }
@media (max-width: 820px) {
  .rs-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .rs-gallery > * { aspect-ratio: 4/3; height: auto !important; }
  .rs-gallery > *:first-child { grid-row: auto; }
}
@media (max-width: 560px) { .rs-gallery { grid-template-columns: 1fr; } }

/* Inline form feedback (contact) */
.rs-form-note { padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 16px; }
.rs-form-note--ok { background: rgba(31,138,91,.14); box-shadow: inset 0 0 0 1px var(--success); color: #cfeede; }
.rs-form-note--err { background: rgba(229,72,77,.12); box-shadow: inset 0 0 0 1px var(--danger); color: #f6c9cb; }

/* Partnership & Sponsorship page ----------------------------------------- */
.rs-ps { max-width: 820px; margin: 0 auto; }
.rs-ps__lede { margin-top: 4px; }
.rs-ps__lede p:first-of-type { font-size: 19px; color: var(--text-primary); }
.rs-ps__h { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; margin: clamp(34px,4vw,48px) 0 0; }
.rs-checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.rs-checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; background: var(--surface-card); border-radius: var(--radius-sm); box-shadow: var(--stroke-card);
  font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.rs-checklist__ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent-subtle); color: var(--accent); flex: 0 0 auto; margin-top: 1px; }
.rs-checklist__ico svg { width: 15px; height: 15px; }
.rs-callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin: clamp(34px,4vw,48px) 0 0;
  padding: clamp(24px,3vw,32px); border-radius: var(--radius-md); background: var(--surface-section);
  box-shadow: inset 0 0 0 1px var(--border-default); }
.rs-callout__ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 50%; background: rgba(229,72,77,.12); color: var(--danger); flex: 0 0 auto; }
.rs-callout h3 { font-size: 20px; }
.rs-callout p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; margin-top: 10px; }
@media (max-width: 560px) { .rs-callout { grid-template-columns: 1fr; gap: 12px; } }

.rs-ps-form__card { max-width: 760px; margin: 0 auto; background: var(--surface-card); border-radius: var(--radius-lg);
  box-shadow: var(--stroke-card); padding: clamp(26px, 4vw, 48px); }
.rs-ps-form__head h2 { font-size: clamp(26px,3.4vw,38px); letter-spacing: -.02em; margin-top: 12px; }
.rs-ps-form__head p { color: var(--text-secondary); font-size: 17px; line-height: 1.55; margin-top: 14px; max-width: 56ch; }
.rs-ps-form__form { margin-top: 28px; }
.rs-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .rs-form__grid { grid-template-columns: 1fr; } }
.rs-ps-form__fine { color: var(--text-muted); font-size: 13px; text-align: center; margin-top: 4px; }
.rs-ps-form__done { text-align: center; padding: 14px 0; }
.rs-ps-form__done h3 { font-size: 24px; margin-top: 18px; }
.rs-ps-form__done p { color: var(--text-secondary); margin: 12px auto 22px; max-width: 46ch; }

/* WordPress core / editor alignment helpers */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--text-muted); font-size: 13px; margin-top: 6px; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* Editable rich-text blocks inherit brand prose colour */
.rs-prose { color: var(--text-secondary); font-size: var(--text-lg); line-height: 1.6; }
.rs-prose p + p { margin-top: 14px; }
.rs-prose h2, .rs-prose h3 { color: var(--text-primary); margin: 28px 0 12px; }
.rs-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rs-prose ul, .rs-prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

/* Burger icon swap (open/close) driven by aria-expanded */
.rs-burger .aai-burger-open, .rs-burger .aai-burger-close { display: inline-flex; }
.rs-burger .aai-burger-close { display: none; }
.rs-burger[aria-expanded="true"] .aai-burger-open { display: none; }
.rs-burger[aria-expanded="true"] .aai-burger-close { display: inline-flex; }
body.aai-nav-open { overflow: hidden; }
@media (min-width: 941px) { body.aai-nav-open { overflow: visible; } }

/* Hero - full-bleed background video variant ("Signal") */
.rs-hero--video { display: flex; align-items: center; min-height: min(88vh, 820px); }
.rs-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border: 0; }
.rs-hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,15,15,.80) 0%, rgba(15,15,15,.5) 32%, rgba(15,15,15,.1) 58%, rgba(15,15,15,0) 100%),
    linear-gradient(0deg, var(--surface-page) 0%, rgba(25,25,25,0) 24%, rgba(25,25,25,0) 80%, rgba(25,25,25,.28) 100%); }
.rs-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1280px;
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.rs-hero--video .rs-hero__media { aspect-ratio: 4/5; max-height: 540px; z-index: 2; }

/* Offset in-page anchor targets for the sticky header */
:target { scroll-margin-top: 100px; }

/* Single post / prose article wrapper */
.rs-article { max-width: 760px; margin: 0 auto; }
.rs-article__meta { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.rs-back { margin-top: 40px; }

/* Pagination (CPT archives) */
.rs-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; justify-content: center; }
.rs-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px;
  height: 44px; padding: 0 12px; border-radius: var(--radius-sm); box-shadow: var(--stroke-card);
  color: var(--text-secondary); font-weight: 500; }
.rs-pagination .page-numbers.current { background: var(--accent); color: #fff; box-shadow: none; }
.rs-pagination a.page-numbers:hover { color: #fff; box-shadow: var(--stroke-accent); }

/* ==========================================================================
   Mobile refinements - tighter rhythm, hero legibility, comfortable padding
   ========================================================================== */
@media (max-width: 760px) {
  /* Hero video: size to content; strengthen the veil under full-width text */
  .rs-hero--video { min-height: auto; }
  .rs-hero__inner { padding-top: clamp(36px, 9vw, 72px); padding-bottom: clamp(36px, 9vw, 72px); }
  .rs-hero__veil {
    background: linear-gradient(180deg, rgba(12,12,12,.74) 0%, rgba(12,12,12,.42) 40%, rgba(20,20,22,.85) 100%); }
  .rs-hero__badge { left: 0; }
  /* Hero stats read better as a column on narrow screens */
  .rs-hero__stats { gap: 14px; }
}
@media (max-width: 600px) {
  /* Tighter vertical rhythm + comfortable card padding on phones */
  .rs-sec { padding: 52px 0; }
  .rs-sec--tight { padding: 38px 0; }
  .rs-shead { margin-bottom: 30px; padding-bottom: 20px; }
  .rs-pillar, .rs-reason, .rs-tier, .rs-org, .rs-quote { padding: 24px; }
  .rs-pillar.rs-pillar--link { padding-bottom: 58px; }
  .rs-pillar__go { left: 24px; bottom: 24px; }
  .rs-cta { padding: 44px 24px; }
  .rs-wp, .rs-split, .rs-contact { gap: 28px; }
  /* Full-width primary CTAs - bigger, tidier tap targets */
  .rs-hero__cta, .rs-pageintro__cta { gap: 12px; }
  .rs-hero__cta .aai-btn, .rs-pageintro__cta .aai-btn { flex: 1 1 100%; }
  /* Stack hero event facts so a long line (e.g. the venue) never crowds the edge */
  .rs-hero__stats { flex-direction: column; align-items: flex-start; gap: 12px; }
}
