/* ===== MEGA MENU — every rule is scoped to .site-header so nothing leaks into the theme ===== */
/* Revver site tokens (from the theme's custom CSS) */
:root {
  --revver-primary: #AA00FF;
  --revver-primary-dark: #7f02c2;
  --revver-heading: #270070;
  --revver-heading-dark: #1a004a;
  --revver-text: #4a4a4a;
  --revver-muted: #6b6b6b;
  --revver-white: #FFFFFF;
  --revver-dark: #111111;
  --revver-bg-light: #f8f5ff;
  --revver-bg-light-var: #fcf6ff;
  --revver-bg-soft: #EECEFE;
  --revver-icon-bg: #f3e8ff;
  --revver-border: #e0d4e8;
  --revver-border-light: #ece3f2;
  --revver-border-soft: #f4ebfa;
  --revver-shadow-dark: rgba(39, 0, 112, 0.06);
  --revver-shadow-purple: rgba(170, 0, 255, 0.15);
  --revver-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 246, 255, 0.96));
  --revver-speed-fast: 0.25s;
  --revver-speed: 0.35s;
  --revver-speed-slow: 0.6s;
  --revver-body: clamp(0.975rem, 0.92rem + 0.22vw, 1.075rem);
  --revver-body-lg: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  --revver-small: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9rem);
  --revver-h1: clamp(2.15rem, 1.4rem + 2.8vw, 4.75rem);
  --revver-h2: clamp(1.85rem, 1.3rem + 2.2vw, 3.5rem);

  /* Menu aliases: everything below reads from the site tokens */
  --brand: var(--revver-primary);
  --brand-bright: var(--revver-primary);
  --brand-hover: var(--revver-primary-dark);
  --brand-text: var(--revver-primary-dark);
  --page: var(--revver-bg-light);
  --surface: var(--revver-white);
  --ink: var(--revver-heading);
  --text: var(--revver-text);
  --muted: var(--revver-muted);
  --line: var(--revver-border-light);
  --line-strong: var(--revver-border);
  --hover: var(--revver-bg-light);
  --tile: var(--revver-icon-bg);
  --art: var(--revver-heading);
  --art-ink: var(--revver-bg-light-var);
  --shadow-float: 0 8px 28px var(--revver-shadow-dark), 0 1px 3px var(--revver-shadow-dark);
  --shadow-open: 0 24px 60px var(--revver-shadow-dark), 0 8px 20px var(--revver-shadow-dark);
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Motion, measured from the nooks.ai menu */
  --ease-panel: cubic-bezier(.625, .05, 0, 1);   /* panel height: slow start, fast finish */
  --ease-out-expo: cubic-bezier(.19, 1, .22, 1);  /* columns rising into place */
  --ease-out-cubic: cubic-bezier(.215, .61, .355, 1); /* fades and hovers */
  --dur-panel: .45s;
  --dur-fade: .15s;
  --rise: 16px;
  --stagger: .1s;

  --open-delay: 160ms;   /* first open on hover */
  --switch-delay: 90ms;  /* moving between triggers */
  --close-delay: 300ms;  /* leaving the header */
}
.site-header, .site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.site-header :focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; border-radius: 8px; }
/* =========================================================
   HEADER SHELL — the bar and the panel are one container
   ========================================================= */
.site-header {
  position: fixed;
  left: 0; right: 0;
  z-index: 100;
  padding: 0;
  pointer-events: none;
  font-family: 'Nunito'; /* point --font at your site font, or delete this line to inherit it */
  -webkit-font-smoothing: antialiased;
  line-height: normal;
  transition: top .4s cubic-bezier(.22, .8, .24, 1), padding .4s cubic-bezier(.22, .8, .24, 1);
}
.site-header[data-scrolled="true"] { top: calc(env(safe-area-inset-top, 0px) + 12px); }
/* Logged-in WordPress admins: clear the admin bar */
.admin-bar .site-header[data-scrolled="true"] { top: calc(32px + 12px); }
@media (max-width: 782px) {
.admin-bar .site-header[data-scrolled="true"] { top: calc(46px + 12px); }
}
/* Same width as the site's Divi rows (95%, max 1920px) at the top and when scrolled.
   The bar, mega panel, and panel content all live inside this shell, so they match too. */
.site-header .shell {
  pointer-events: auto;
  width: 95%;
  max-width: 1920px;
  margin: 0 auto;
  border-radius: 18px;
  color: var(--ink);
  background: transparent;
  transition: width .45s var(--ease-out-expo), background-color .3s ease, box-shadow .3s ease;
}
/* Open or scrolled: the card grows 20px past the content edge on each side while the bar
   gains 20px of padding, so the logo and buttons never move. */
.site-header[data-scrolled="true"] .shell,
.site-header[data-open="true"] .shell {
  width: calc(95% + 40px);
  max-width: min(1960px, calc(100% - 16px));
}
.site-header[data-scrolled="true"] .shell {
  background-color: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-float);
}
/* Open: the whole shell becomes the card */
.site-header[data-open="true"] .shell {
  background-color: var(--surface);
  background-image: var(--revver-card-bg);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-open);
}
.site-header .bar {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | nav (left-aligned) | actions */
  align-items: center;
  column-gap: 28px;
  height: 64px;
  padding: 0; /* at the top: logo and buttons sit flush with the page content */
  transition: padding .45s var(--ease-out-expo);
}
/* Scrolled: the bar gets a background, so give the content breathing room inside it */
.site-header[data-scrolled="true"] .bar,
.site-header[data-open="true"] .bar { padding: 0 20px; }
/* Logo: the wordmark clips and fades away, leaving the R mark */
.site-header .logo {
  justify-self: start;
  position: relative; display: block;
  width: 143px; height: 26px;
  overflow: hidden;
  transition: width .45s cubic-bezier(.22, .8, .24, 1);
}
.site-header .logo img { position: absolute; left: 0; top: 0; height: 26px; max-width: none; }
.site-header .logo-full { width: 143px; opacity: 1; transition: opacity .3s ease .12s; }
.site-header .logo-mark { width: 27px; opacity: 0; transition: opacity .3s ease; }
.site-header .bar > nav { justify-self: start; }
.site-header .nav-list { display: flex; align-items: center; gap: 2px; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.site-header .trigger, .site-header .nav-link {
  font: inherit; font-size: 15px; font-weight: 600;
  color: inherit; background: none; border: 0;
  padding: 9px 12px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.site-header .trigger:hover, .site-header .nav-link:hover { color: var(--brand-text); }
.site-header .trigger[aria-expanded="true"] { color: var(--brand-text); }
.site-header .trigger .chev { width: 16px; height: 16px; transition: transform .25s ease; }
.site-header .trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.site-header .nav-link.ai { color: var(--brand-text); }
.site-header .nav-link.ai svg { width: 16px; height: 16px; }
.site-header .actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.site-header .signin {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 10px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: inherit; text-decoration: none;
}
.site-header .signin:hover { color: var(--brand-text); }
.site-header .signin-icon { width: 0; height: 20px; opacity: 0; transition: width .35s cubic-bezier(.22, .8, .24, 1), opacity .25s ease; }
.site-header .signin-label { max-width: 60px; overflow: hidden; white-space: nowrap; opacity: 1; transition: max-width .35s cubic-bezier(.22, .8, .24, 1), opacity .2s ease .1s; }
/* Search button (same footprint as the compact Sign in icon) */
.site-header .icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 0;
  background: none; color: inherit; cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.site-header .icon-btn:hover { color: var(--brand-text); background: var(--hover); }
.site-header .icon-btn[aria-expanded="true"] { color: var(--brand-text); background: var(--hover); }
.site-header .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* COMPACT STATE: after scrolling, and always on narrower desktops */
.site-header[data-scrolled="true"] .logo { width: 27px; }
.site-header[data-scrolled="true"] .logo-full { opacity: 0; transition-delay: 0s; }
.site-header[data-scrolled="true"] .logo-mark { opacity: 1; transition-delay: .12s; }
.site-header[data-scrolled="true"] .actions .signin-icon { width: 20px; opacity: 1; }
.site-header[data-scrolled="true"] .actions .signin-label { max-width: 0; opacity: 0; transition-delay: 0s; }
@media (min-width: 961px) and (max-width: 1280px) {
.site-header .logo { width: 27px; }
.site-header .logo-full { opacity: 0; }
.site-header .logo-mark { opacity: 1; }
.site-header .actions .signin-icon { width: 20px; opacity: 1; }
.site-header .actions .signin-label { max-width: 0; opacity: 0; }
}
.site-header .btn {
  height: 40px; padding: 0 16px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.site-header .btn-solid { background: var(--brand); color: #fff; }
.site-header .btn-solid:hover { background: var(--brand-hover); }
.site-header .btn-outline { color: inherit; border: 1px solid var(--line-strong); }
.site-header .btn-outline:hover { border-color: var(--brand); color: var(--brand-text); }
.site-header .menu-toggle {
  display: none; grid-column: 3; justify-self: end;
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: none; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
/* RETURNING CUSTOMERS (is_customer cookie): Sign in never compacts, free trial hides */
.site-header[data-customer="true"] .actions .signin { border: 1px solid var(--line-strong); }
.site-header[data-customer="true"] .actions .signin-icon { width: 0; opacity: 0; }
.site-header[data-customer="true"] .actions .signin-label { max-width: 60px; opacity: 1; }
.site-header[data-customer="true"] .actions .btn-outline { display: none; }
/* Mobile-only demo button (shown by the mobile rules below) */
.site-header .m-cta { display: none; }
/* =========================================================
   PANEL — one container; height animates between views
   ========================================================= */
.site-header .panel {
  height: 0;
  overflow: hidden;
  transition: height var(--dur-panel) var(--ease-panel);
}
.site-header .panel.no-anim { transition: none; }
/* switching menus: snap to the new height */
.site-header .panel-inner {
  position: relative;
  margin: 0 12px; /* fills the shell: 95% / max 1920px, minus a 12px inset */
  border-top: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header[data-open="true"] .panel-inner { border-top-color: var(--line); }
.site-header .view {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 22px 8px 18px;
  display: grid;
  gap: 28px;
  visibility: hidden;
  transition: visibility 0s linear var(--dur-panel); /* stays visible while the panel closes */
}
.site-header .view.is-active { visibility: visible; transition: none; }
/* Each column fades in and rises 16px, one after another */
.site-header .view > * {
  opacity: 0;
  transform: translateY(var(--rise));
  transition: opacity var(--dur-fade) var(--ease-out-cubic), transform var(--dur-panel) var(--ease-out-expo);
}
.site-header .view.is-active > * { opacity: 1; transform: none; }
.site-header .view.is-active > :nth-child(2) { transition-delay: var(--stagger); }
.site-header .view.is-active > :nth-child(3) { transition-delay: calc(var(--stagger) * 2); }
.site-header .view.instant, .site-header .view.instant > * { transition: none !important; }
/* outgoing menu disappears at once */
/* Featured card column: the Revver AI card grows with the screen, from 400px up to 520px */
.site-header .view-platform { grid-template-columns: clamp(400px, 34vw, 520px) 1fr 1fr; }
.site-header .view-solutions { grid-template-columns: 290px 1fr 1.45fr; }
.site-header .view-resources { grid-template-columns: 290px 1fr 1fr; }
/* SEARCH VIEW — opens in the same panel as the menus */
.site-header .view-search { grid-template-columns: 1fr; gap: 18px; padding-top: 18px; }
.site-header .search-form {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 8px 0 16px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header .search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--tile); }
.site-header .search-form > svg { color: var(--muted); }
.site-header .search-input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 17px;
}
.site-header .search-input:focus-visible { outline: none; }
.site-header .search-input::placeholder { color: var(--muted); }
.site-header .search-form kbd {
  font: inherit; font-size: 12px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 7px;
}
.site-header .search-form .btn { height: 40px; }
.site-header .search-cols { display: grid; grid-template-columns: 1.8fr 1fr; gap: 28px; }
.site-header .nav-search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; align-content: start; }
.site-header .search-all {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; text-align: left;
  color: var(--brand-text);
}
.site-header span { text-align: left;} .col-label {text-align: left;}
.site-header .search-all:hover, .site-header .search-all:focus-visible { background: var(--hover); }
.site-header .quick { display: flex; flex-direction: column; }
.site-header .col { display: flex; flex-direction: column; min-width: 0; }
.site-header .col + .col { padding-left: 4px; }
.site-header .col-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 2px 12px 8px; }
.site-header .col-label.spaced { margin-top: 14px; }
/* Link row: icon tile, title, one-line benefit, arrow */
.site-header .row {
  display: grid; grid-template-columns: 38px 1fr 16px; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 14px;
  color: var(--ink); text-decoration: none;
  transition: background-color .15s var(--ease-out-cubic), color .45s var(--ease-out-cubic);
}
.site-header .row:hover, .site-header .row:focus-visible { background: var(--hover); }
.site-header .row-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--tile); color: var(--brand-text);
  display: grid; place-items: center;
}
.site-header .row-icon svg { width: 19px; height: 19px; }
.site-header .row-title { display: block; font-size: 15px; font-weight: 650; font-weight: 600; line-height: 1.3; }
.site-header .row-desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.site-header .row-arrow { width: 16px; height: 16px; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.site-header .row:hover .row-arrow, .site-header .row:focus-visible .row-arrow { color: var(--brand-text); transform: translateX(3px); }
/* Industry grid: compact, no descriptions */
.site-header .industries { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
.site-header .ind {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.site-header .ind svg { width: 18px; height: 18px; color: var(--brand-text); }
.site-header .ind:hover, .site-header .ind:focus-visible { background: var(--hover); color: var(--brand-text); }
.site-header .see-all {
  margin: 10px 12px 0; font-size: 13px; font-weight: 700;
  color: var(--brand-text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}
.site-header .see-all svg { width: 14px; height: 14px; }
.site-header .see-all:hover { text-decoration: underline; }
/* Featured card */
.site-header .feature {
  display: flex; flex-direction: column; gap: 12px;
  padding: 8px; margin: -8px; border-radius: 16px;
  color: inherit; text-decoration: none;
}
.site-header .feature-art {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden;
  background: var(--art); color: var(--art-ink);
}
.site-header .feature-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
.site-header .feature-link { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.site-header a.feature:hover .feature-art > svg,
.site-header .feature-link:hover .feature-art > svg { transform: scale(1.04); }
/* ===== Revver AI card: Revvy slides in; a lens magnifies whatever the pointer is over ===== */
.site-header .ai-art { aspect-ratio: 2 / 1; background: linear-gradient(150deg, var(--revver-bg-light) 0%, var(--revver-bg-soft) 100%); }
.site-header .ai-art { cursor: none; }  /* the lens is the pointer here */
/* The uploaded file (left) */
.site-header .ai-file {
  position: absolute; left: 1.5%; top: 4%; width: 14.5%; height: auto; z-index: 1;
  transform: translateY(-8%); opacity: 0;
  transition: transform .85s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}
.site-header .view.is-active .ai-file { transform: none; opacity: 1; }
/* The automation workflow (right), eased in from 106% like Nooks's background */
.site-header .ai-workflow {
  position: absolute; left: 17.5%; top: 4%; width: 81.5%; height: auto; z-index: 1;
  transform: scale(1.06); transform-origin: 60% 30%;
  transition: transform .85s cubic-bezier(.16, 1, .3, 1);
}
.site-header .view.is-active .ai-workflow { transform: none; }
/* Revvy: starts down-left out of frame, slides in when the panel opens, nudges on hover (Nooks timings) */
.site-header .ai-revvy {
  position: absolute; left: -4%; bottom: -10%; height: 50%; width: auto; max-width: none;
  pointer-events: none; z-index: 3;
  transform: translate(-14%, 14%);
  transition: transform .85s cubic-bezier(.16, 1, .3, 1);
}
.site-header .view.is-active .ai-revvy { transform: none; }
.site-header .view.is-active .feature-link:hover .ai-revvy { transform: translate(3%, -3%) rotate(-2deg); transition-duration: .5s; }
.site-header .view.instant .ai-revvy, .site-header .view.instant .ai-workflow, .site-header .view.instant .ai-file { transition: none; }
/* Keep the corner arrow above the artwork */
.site-header .ai-art .feature-go { z-index: 5; background: var(--revver-primary); box-shadow: 0 4px 12px rgba(170, 0, 255, .3); }
/* Magnifier (built by the menu script) */
.site-header .ai-lens {
  position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none;
  border-radius: 50%; overflow: hidden; background: var(--revver-white);
  box-shadow: 0 0 0 3px var(--revver-white), 0 0 0 4px var(--revver-primary), 0 10px 24px rgba(39, 0, 112, .28);
  opacity: 0; transform: scale(.6);
  transition: opacity .25s var(--ease-out-cubic), transform .45s var(--ease-out-expo);
}
.site-header .ai-lens.is-on { opacity: 1; transform: scale(1); }
.site-header .ai-lens::after { /* glass glint */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), rgba(255,255,255,0) 38%);
}
.site-header .ai-lens-inner {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  background: linear-gradient(150deg, var(--revver-bg-light) 0%, var(--revver-bg-soft) 100%);
}
.site-header .ai-lens-inner img { position: absolute; max-width: none; }
.site-header .feature-go {
  position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff;
  display: grid; place-items: center;
  transition: background-color .2s ease;
}
.site-header .feature-go svg { position: static; width: 16px; height: 16px; transform: rotate(-45deg); }
.site-header a.feature:hover .feature-go,
.site-header .feature-link:hover .feature-go { background: var(--brand); }
.site-header .feature-title {
  font-size: 16px; font-weight: 700; padding: 0 4px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; /* max 2 lines */
}
.site-header .feature-desc {
  font-size: 13px; color: var(--muted); line-height: 1.45; padding: 0 4px; margin-top: -6px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; /* max 3 lines */
}
/* Webinar card: event image over the illustration, plus a date label */
.site-header .feature-art .feature-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .8, .24, 1);
}
.site-header a.feature:hover .feature-img { transform: scale(1.04); }
.site-header .feature-eyebrow { font-size: 12px; font-weight: 700; color: var(--brand-text); padding: 0 4px; margin-bottom: -6px; }
.site-header .chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.site-header .chip { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--tile); color: var(--brand-text); }
.site-header a.chip { text-decoration: none; transition: background-color .15s var(--ease-out-cubic), color .15s var(--ease-out-cubic); }
.site-header a.chip:hover, .site-header a.chip:focus-visible { background: var(--brand); color: var(--revver-white); }
/* =========================================================
   MOBILE DRAWER (built from the desktop views by script)
   ========================================================= */
.site-header .drawer { display: none; }
@media (max-width: 1080px) {
.site-header .actions .btn-outline { display: none; }
}
@media (max-width: 960px) {
.site-header .bar > nav, .site-header .panel { display: none; }
.site-header .menu-toggle { display: inline-flex; grid-column: auto; }
.site-header .bar { grid-template-columns: 1fr auto auto; column-gap: 4px; padding: 0; }
.site-header[data-scrolled="true"] .bar,
.site-header[data-drawer="true"] .bar { padding: 0 6px 0 16px; }
/* Sign in stays in the bar on mobile: text at the top, icon after scrolling */
.site-header .actions { display: flex; gap: 0; }
.site-header .actions > :not(.signin):not(.search-trigger):not(.m-cta) { display: none; }
.site-header .actions .signin { height: 44px; min-width: 44px; padding: 0 12px; }
.site-header .actions .search-trigger { width: 44px; height: 44px; }
/* Book a demo slides in once a prospect scrolls past the first screen */
.site-header .actions .m-cta {
    display: inline-flex; height: 38px; font-size: 13px;
    max-width: 0; padding: 0; margin-left: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-width .45s var(--ease-out-expo), padding .45s var(--ease-out-expo), margin .45s var(--ease-out-expo), opacity .2s ease, visibility 0s linear .45s;
  }
.site-header[data-mobile-cta="always"]:not([data-customer="true"]) .logo { width: 27px; }
.site-header[data-mobile-cta="always"]:not([data-customer="true"]) .logo-full { opacity: 0; }
.site-header[data-mobile-cta="always"]:not([data-customer="true"]) .logo-mark { opacity: 1; }
.site-header[data-mobile-cta="always"]:not([data-customer="true"]) .actions .signin-icon { width: 20px; opacity: 1; }
.site-header[data-mobile-cta="always"]:not([data-customer="true"]) .actions .signin-label { max-width: 0; opacity: 0; }
.site-header[data-mobile-cta="always"]:not([data-customer="true"]) .actions .m-cta,
.site-header[data-deep="true"]:not([data-customer="true"]) .actions .m-cta {
    max-width: 140px; padding: 0 12px; margin-left: 4px;
    opacity: 1; visibility: visible;
    transition: max-width .45s var(--ease-out-expo), padding .45s var(--ease-out-expo), margin .45s var(--ease-out-expo), opacity .25s ease .1s, visibility 0s;
  }
.site-header[data-drawer="true"] .shell {
    background: var(--surface); color: var(--ink);
    box-shadow: 0 0 0 1px var(--line), var(--shadow-open);
  }
.site-header[data-drawer="true"] .drawer { display: block; }
.site-header .drawer {
    max-height: calc(100dvh - 110px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    padding: 4px 12px 16px;
    border-top: 1px solid var(--line);
  }
.site-header .drawer details { border-bottom: 1px solid var(--line); }
.site-header .drawer summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 52px; padding: 0 6px;
    font-size: 17px; font-weight: 700;
  }
.site-header .drawer summary::-webkit-details-marker { display: none; }
.site-header .drawer summary .chev { width: 18px; height: 18px; transition: transform .25s ease; }
.site-header .drawer details[open] summary .chev { transform: rotate(180deg); }
.site-header .drawer .m-group { padding: 0 0 12px; display: grid; gap: 2px; }
.site-header .drawer .row { grid-template-columns: 34px 1fr; }
.site-header .drawer .row-arrow { display: none; }
.site-header .drawer .row-icon { width: 34px; height: 34px; }
.site-header .drawer .m-flat { display: flex; align-items: center; min-height: 52px; padding: 0 6px; font-size: 17px; font-weight: 700; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-header .drawer .m-flat.ai { color: var(--brand-text); gap: 8px; }
.site-header .drawer .m-ctas { display: grid; gap: 8px; padding-top: 16px; }
.site-header .drawer .m-ctas .btn { height: 48px; }
.site-header .drawer .m-ctas .btn-outline { display: inline-flex; }
.site-header .drawer .search-form { margin: 12px 0 4px; height: 50px; }
.site-header .drawer .search-form kbd, .site-header .drawer .search-form .btn { display: none; }
}
/* =========================================================
   DEMO PAGE ONLY — not part of the menu
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
.site-header, .site-header *, .site-header *::before, .site-header *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Divi builder: keep the header in the layout flow so it doesn't float over the canvas while editing */
body.et-fb .site-header { position: relative; top: auto; }

/* Webinar card: switch to 16:9 when an event image is showing */
.site-header .feature-art:has(.feature-img) { aspect-ratio: 16 / 9; }