/*
Theme Name: HR Vision London 2026
Theme URI: https://www.hrvisionevent.com/
Description: GeneratePress child theme for HR Vision London 2026 with editable speakers, sponsors, agenda requests, sponsor requests, and Telegram notifications.
Author: ILP Events
Template: generatepress
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: hrvision-london-2026
*/

:root {
  --hrv-black: #0a0a0a;
  --hrv-surface: #111111;
  --hrv-elevated: #171717;
  --hrv-card: #1f1f1f;
  --hrv-light: #fafafa;
  --hrv-muted: #f4f4f5;
  --hrv-purple: #6b2d8b;
  --hrv-purple-light: #8b4da8;
  --hrv-orange: #f9a825;
  --hrv-pink: #e91e63;
  --hrv-green: #66bb6a;
  --hrv-cyan: #26c6da;
  --hrv-text-muted: rgba(255, 255, 255, 0.62);
  --hrv-radius: 24px;
  --hrv-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12);
  --hrv-shadow-glow: 0 0 40px rgba(249, 168, 37, 0.35);
}

body.hrvision-theme {
  background: var(--hrv-black);
  color: #fff;
}

.hrvision-theme .site-content,
.hrvision-theme .inside-article {
  padding: 0;
}

.hrvision-theme .site-header,
.hrvision-theme .site-footer,
.hrvision-theme .page-header {
  display: none;
}

.hrvision-theme .entry-content:not(:first-child),
.hrvision-theme .entry-summary:not(:first-child),
.hrvision-theme .page-content:not(:first-child) {
  margin-top: 0;
}

.hrv-page {
  background: var(--hrv-black);
  color: #fff;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

.hrv-page--editor-content {
  min-height: 60vh;
  background: #fff;
  color: var(--hrv-black);
}

.hrv-editor-content {
  width: 100%;
}

.hrv-container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.hrv-section {
  padding: clamp(76px, 10vw, 128px) 0;
}

.hrv-section-light {
  background: var(--hrv-light);
  color: var(--hrv-black);
}

.hrv-section-dark {
  background: var(--hrv-black);
  color: #fff;
}

.hrv-section-elevated {
  background: var(--hrv-elevated);
}

.hrv-mesh {
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(107, 45, 139, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(233, 30, 99, 0.2), transparent 50%);
}

.hrv-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.hrv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hrv-logo {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}

.hrv-logo img {
  display: block;
  width: auto;
  height: 42px;
}

.hrv-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hrv-nav a,
.hrv-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.hrv-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hrv-nav a:hover,
.hrv-nav a:focus-visible,
.hrv-footer a:hover,
.hrv-footer a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hrv-header__actions {
  display: flex;
  gap: 10px;
}

.hrv-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  color: #fff;
}

.hrv-menu-toggle span,
.hrv-menu-toggle::before,
.hrv-menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hrv-menu-toggle span {
  margin: 4px 0;
}

.hrv-button,
.hrv-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--hrv-orange);
  color: var(--hrv-black);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--hrv-shadow-glow);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hrv-button:hover,
.hrv-button:focus-visible,
.hrv-form button:hover,
.hrv-form button:focus-visible {
  color: var(--hrv-black);
  background: #ffb936;
  transform: translateY(-1px);
}

.hrv-button--outline {
  border: 2px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.hrv-button--outline:hover,
.hrv-button--outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hrv-button--ghost {
  border: 2px solid rgba(107, 45, 139, 0.3);
  background: transparent;
  color: var(--hrv-purple);
  box-shadow: none;
}

.hrv-button--ghost:hover,
.hrv-button--ghost:focus-visible {
  background: rgba(107, 45, 139, 0.08);
  color: var(--hrv-purple);
}

.hrv-button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.hrv-brand-bars {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hrv-brand-bars span {
  display: block;
  width: 48px;
  height: 12px;
  border-radius: 3px;
  transform: skewX(-12deg);
}

.hrv-brand-bars span:nth-child(1) {
  background: var(--hrv-orange);
}

.hrv-brand-bars span:nth-child(2) {
  background: var(--hrv-pink);
}

.hrv-brand-bars span:nth-child(3) {
  background: var(--hrv-green);
}

.hrv-brand-bars span:nth-child(4) {
  background: var(--hrv-cyan);
}

.hrv-brand-bars--sm span {
  width: 24px;
  height: 8px;
}

.hrv-brand-bars--lg span {
  width: 56px;
  height: 16px;
}

.hrv-hero {
  position: relative;
  min-height: 100svh;
  padding: 128px 0 92px;
  overflow: hidden;
}

.hrv-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 10%, rgba(107, 45, 139, 0.2), transparent 28rem),
    radial-gradient(circle at 10% 90%, rgba(233, 30, 99, 0.12), transparent 22rem);
  content: "";
}

.hrv-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hrv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(249, 168, 37, 0.34);
  border-radius: 999px;
  background: rgba(249, 168, 37, 0.1);
  color: var(--hrv-orange);
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hrv-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hrv-orange);
}

.hrv-pulse::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: hrv-ping 1.5s infinite;
  content: "";
}

.hrv-hero h1,
.hrv-section-title,
.hrv-card h3 {
  letter-spacing: 0;
}

.hrv-hero h1 {
  max-width: 760px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 900;
  line-height: 1.02;
}

.hrv-tagline {
  margin: 20px 0 0;
  color: var(--hrv-cyan);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.hrv-lede {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.7;
}

.hrv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hrv-meta li,
.hrv-chip {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 650;
}

.hrv-hero__actions,
.hrv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hrv-snapshot {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--hrv-shadow-card);
  backdrop-filter: blur(18px);
}

.hrv-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hrv-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.hrv-stat {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--hrv-orange);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
}

.hrv-stat:nth-child(2) {
  border-left-color: var(--hrv-pink);
}

.hrv-stat:nth-child(3) {
  border-left-color: var(--hrv-green);
}

.hrv-stat:nth-child(4) {
  border-left-color: var(--hrv-cyan);
}

.hrv-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.hrv-stat span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hrv-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hrv-countdown div {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px 8px;
  text-align: center;
}

.hrv-countdown strong {
  display: block;
  color: var(--hrv-orange);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.hrv-countdown div:nth-child(2) strong {
  color: var(--hrv-pink);
}

.hrv-countdown div:nth-child(3) strong {
  color: var(--hrv-green);
}

.hrv-countdown div:nth-child(4) strong {
  color: var(--hrv-cyan);
}

.hrv-countdown span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hrv-value-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--hrv-elevated);
  padding: 42px 0;
}

.hrv-value-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.hrv-value-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  font-weight: 700;
}

.hrv-value-grid,
.hrv-card-grid {
  display: grid;
  gap: 20px;
}

.hrv-value-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hrv-value-item,
.hrv-card,
.hrv-topic,
.hrv-agenda-topic {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  padding: 22px;
}

.hrv-value-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.35;
}

.hrv-section-kicker {
  display: inline-flex;
  margin: 16px 0 0;
  color: var(--hrv-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hrv-section-dark .hrv-section-kicker,
.hrv-section-elevated .hrv-section-kicker {
  color: var(--hrv-cyan);
}

.hrv-section-title {
  max-width: 790px;
  margin: 12px 0 0;
  color: inherit;
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 900;
  line-height: 1.08;
}

.hrv-section-desc {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  line-height: 1.7;
}

.hrv-section-light .hrv-section-desc {
  color: rgba(0, 0, 0, 0.64);
}

.hrv-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(42px, 7vw, 76px);
}

.hrv-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hrv-topic {
  display: flex;
  align-items: center;
  gap: 14px;
  border-color: rgba(0, 0, 0, 0.07);
  background: #fff;
  color: var(--hrv-black);
  box-shadow: var(--hrv-shadow-card);
}

.hrv-color-bar {
  display: block;
  width: 6px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 3px;
  transform: skewX(-12deg);
}

.hrv-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hrv-card-grid--5 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hrv-card {
  background: var(--hrv-card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.hrv-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hrv-card h3 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.hrv-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

.hrv-empty-state {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  padding: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  text-align: center;
}

.hrv-stream {
  border-left: 4px solid var(--hrv-orange);
  background: linear-gradient(135deg, rgba(249, 168, 37, 0.16), rgba(233, 30, 99, 0.06));
}

.hrv-stream:nth-child(2) {
  border-left-color: var(--hrv-pink);
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.16), rgba(107, 45, 139, 0.08));
}

.hrv-stream:nth-child(3) {
  border-left-color: var(--hrv-cyan);
  background: linear-gradient(135deg, rgba(38, 198, 218, 0.16), rgba(102, 187, 106, 0.08));
}

.hrv-stream__badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(249, 168, 37, 0.18);
  color: var(--hrv-orange);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hrv-card:nth-child(2) .hrv-stream__badge {
  background: rgba(233, 30, 99, 0.18);
  color: var(--hrv-pink);
}

.hrv-card:nth-child(3) .hrv-stream__badge {
  background: rgba(38, 198, 218, 0.18);
  color: var(--hrv-cyan);
}

.hrv-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hrv-chip-list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.74);
  padding: 7px 11px;
  font-size: 12px;
}

.hrv-section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.hrv-tabs {
  display: inline-flex;
  gap: 6px;
  margin-top: 42px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  background: var(--hrv-muted);
  padding: 6px;
}

.hrv-tab {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
}

.hrv-tab.is-active {
  background: var(--hrv-black);
  color: #fff;
}

.hrv-panel[hidden] {
  display: none;
}

.hrv-agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hrv-agenda-topic {
  display: flex;
  align-items: center;
  gap: 16px;
  border-color: rgba(0, 0, 0, 0.07);
  background: #fff;
  color: var(--hrv-black);
  box-shadow: var(--hrv-shadow-card);
}

.hrv-agenda-topic span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--hrv-orange);
  color: #fff;
  font-weight: 900;
}

.hrv-panel:nth-of-type(2) .hrv-agenda-topic span {
  background: var(--hrv-cyan);
}

.hrv-avatar {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--hrv-orange), var(--hrv-pink));
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.hrv-avatar img,
.hrv-sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hrv-speaker-meta {
  margin-top: 5px;
  color: var(--hrv-cyan);
  font-size: 14px;
  font-weight: 800;
}

.hrv-speaker-company {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.hrv-sponsor-logo {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.hrv-sponsor-logo img {
  object-fit: contain;
}

.hrv-why {
  border-top: 4px solid var(--hrv-orange);
}

.hrv-why:nth-child(2) {
  border-top-color: var(--hrv-pink);
}

.hrv-why:nth-child(3) {
  border-top-color: var(--hrv-green);
}

.hrv-why:nth-child(4) {
  border-top-color: var(--hrv-cyan);
}

.hrv-why:nth-child(5) {
  border-top-color: var(--hrv-purple-light);
}

.hrv-map {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 28px;
  box-shadow: var(--hrv-shadow-card);
}

.hrv-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

.hrv-cta-panel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(65, 28, 86, 0.92), var(--hrv-card) 46%, var(--hrv-black));
  color: #fff;
  padding: clamp(36px, 6vw, 58px);
}

.hrv-cta-panel .hrv-section-title,
.hrv-cta-panel .hrv-section-desc {
  overflow-wrap: anywhere;
}

.hrv-cta-panel::before {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -100px;
  right: -100px;
  border-radius: 50%;
  background: rgba(249, 168, 37, 0.17);
  filter: blur(70px);
  content: "";
}

.hrv-cta-panel > * {
  position: relative;
}

.hrv-cta-panel .hrv-section-title {
  color: #fff;
}

.hrv-cta-panel .hrv-section-desc,
.hrv-section-light .hrv-cta-panel .hrv-section-desc {
  color: rgba(255, 255, 255, 0.76);
}

.hrv-sponsor-application {
  margin-top: 28px;
}

.hrv-cta-action {
  margin-top: 26px;
}

.hrv-form-title {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.08;
}

.hrv-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.hrv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hrv-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.hrv-field-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.hrv-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
}

.hrv-fieldset--inline {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hrv-fieldset legend {
  padding: 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.hrv-fieldset label,
.hrv-form .hrv-consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.hrv-form .hrv-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hrv-form input,
.hrv-form textarea,
.hrv-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
}

.hrv-form input[type="checkbox"],
.hrv-form input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--hrv-orange);
}

.hrv-form textarea {
  min-height: 130px;
  resize: vertical;
}

.hrv-form input:focus,
.hrv-form textarea:focus,
.hrv-form select:focus,
.hrv-button:focus-visible,
.hrv-menu-toggle:focus-visible,
.hrv-tab:focus-visible {
  outline: 3px solid rgba(38, 198, 218, 0.45);
  outline-offset: 3px;
}

.hrv-form-message {
  border-radius: 16px;
  padding: 15px 18px;
  font-weight: 800;
}

.hrv-form-message--success {
  background: rgba(102, 187, 106, 0.14);
  color: #b9f5bc;
}

.hrv-form-message--error {
  background: rgba(233, 30, 99, 0.14);
  color: #ffb6ce;
}

.hrv-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hrv-modal-open {
  overflow: hidden;
}

.hrv-modal[hidden] {
  display: none;
}

.hrv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px;
}

.hrv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.hrv-modal__dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: min(92vh, 980px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(65, 28, 86, 0.96), var(--hrv-card) 48%, var(--hrv-black));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  color: #fff;
  padding: clamp(28px, 5vw, 52px);
}

.hrv-modal__dialog .hrv-section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.hrv-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hrv-modal__close:focus-visible {
  outline: 3px solid rgba(38, 198, 218, 0.45);
  outline-offset: 3px;
}

.hrv-content-area {
  margin-top: 46px;
}

.hrv-legal-content {
  width: min(100%, 980px);
  max-width: none;
  margin: 0 auto;
}

.hrv-legal-content h2,
.hrv-legal-content h3 {
  margin: 34px 0 12px;
  color: var(--hrv-black);
  font-weight: 900;
}

.hrv-legal-content h2:first-child {
  margin-top: 0;
}

.hrv-legal-content p {
  color: rgba(0, 0, 0, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.hrv-legal-content a {
  color: var(--hrv-purple);
  font-weight: 800;
}

.hrv-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--hrv-elevated);
  padding: 64px 0;
}

.hrv-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
}

.hrv-footer p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.45);
}

.hrv-footer__title {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hrv-mobile-cta {
  display: none;
}

@keyframes hrv-ping {
  75%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .hrv-nav,
  .hrv-header__actions {
    display: none;
  }

  .hrv-menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .hrv-header.is-open .hrv-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.98);
    padding: 18px 20px 22px;
  }

  .hrv-header.is-open .hrv-nav a {
    padding: 14px 16px;
    font-size: 17px;
  }

  .hrv-hero__grid,
  .hrv-two-col,
  .hrv-footer__grid {
    grid-template-columns: 1fr;
  }

  .hrv-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrv-card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hrv-container {
    width: min(100% - 28px, 1180px);
  }

  .hrv-hero {
    padding-top: 108px;
    padding-bottom: 82px;
  }

  .hrv-logo img {
    height: 34px;
  }

  .hrv-hero h1 {
    font-size: 44px;
  }

  .hrv-section-head-row,
  .hrv-value-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hrv-stat-grid,
  .hrv-topic-grid,
  .hrv-card-grid--3,
  .hrv-agenda-grid,
  .hrv-form-grid,
  .hrv-fieldset,
  .hrv-value-grid {
    grid-template-columns: 1fr;
  }

  .hrv-snapshot {
    border-radius: 24px;
  }

  .hrv-tabs {
    width: 100%;
  }

  .hrv-tab {
    flex: 1;
  }

  .hrv-mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.96);
    padding: 12px;
    backdrop-filter: blur(18px);
  }

  .hrv-mobile-cta .hrv-button {
    flex: 1;
    min-height: 46px;
    padding-inline: 14px;
  }

  .hrv-mobile-cta .hrv-button:last-child {
    flex: 1.35;
  }
}
