/* ============================================================
   Qashier SG — Fluid Layout Overrides
   Loaded after styles.css; replaces fixed-width constraints
   with fluid containers and clamp()-based spacing/type.
   ============================================================ */

/* ---------- Mobile-only elements (hidden on desktop) ---------- */
.m-br { display: none; }

/* Hamburger + drawer are always injected; CSS controls when they show */
.mobile-ham { display: none; }
.mobile-drawer { display: none; }

/* Backed-by: grey logos on light mobile background */
@media (max-width: 768px) {
  .creds-backed-logos img {
    filter: invert(1) opacity(0.45) !important;
  }
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, #1e2a50 0%, #2c3a78 40%, #475cae 70%, #2c3a78 100%);
  background-size: 200% 100%;
  animation: ab-shimmer 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  overflow: hidden;
}
.announcement-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 100% at 50% 50%, rgba(255,199,44,0.08), transparent 70%);
  pointer-events: none;
}
@keyframes ab-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.ab-inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.ab-badge {
  font-family: var(--font-display, "Century Gothic", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1B2235;
  background: var(--sunglow, #FFC72C);
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.ab-text {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.ab-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display, "Century Gothic", sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sunglow, #FFC72C);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: gap 0.2s ease;
}
.ab-inner:hover .ab-cta { gap: 8px; }
.ab-inner:hover .ab-text { color: #fff; }

/* ---------- Mega menu spacing ---------- */
.nav-panel-inner {
  padding: 48px 32px 56px;
}

.nav-panel-cols {
  gap: 56px;
}

.np-heading {
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.np-item {
  padding: 12px 14px;
  margin: 0 -14px;
}

.np-item-desc {
  margin-top: 5px;
}

.np-list li + li {
  margin-top: 2px;
}

/* ---------- Want-card hover video crossfade ---------- */
/* Smoother fade: v-hover fades in over 0.5s; leave restores over 0.35s */
.want-card.square .v-hover {
  transition: opacity 0.5s ease-out;
  will-change: opacity;
}
@media (hover: hover) and (pointer: fine) {
  .want-card.square:hover .v-hover,
  .want-card.square.is-hovered .v-hover {
    opacity: 1;
    transition: opacity 0.5s ease-out;
  }
}
/* Ensure video element itself is visible during transition */
.want-card.square .v-base {
  will-change: transform, filter;
}

/* ---------- Design tokens ---------- */
:root {
  /* Fluid container: capped at 1440px, fluid below */
  --q-container: min(1440px, 100%);
  /* Horizontal gutters that scale from 24px (mobile) → 80px (ultrawide) */
  --q-gutter: clamp(24px, 5vw, 80px);
  /* Vertical section padding: tighter on mobile, generous on large screens */
  --q-section-py: clamp(80px, 10vw, 156px);
  --q-section-py-sm: clamp(56px, 8vw, 120px);
}

/* ---------- Nav ---------- */
.nav-inner {
  max-width: var(--q-container);
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Section base ---------- */
.section {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.section-inner {
  max-width: var(--q-container);
}

/* ---------- Hero ---------- */
.hero-mk-inner {
  max-width: var(--q-container);
}

/* ---------- Work-smarter want-grid ---------- */
.want-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

/* ---------- Super section ---------- */
.super-inner {
  max-width: var(--q-container);
}

/* ---------- Stats band ---------- */
.stats-band {
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.stats-grid {
  max-width: var(--q-container);
}

/* ---------- Stories ---------- */
.stories {
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.stories-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* ---------- Credentials ---------- */
.creds {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.creds-awards {
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}

.creds-stats {
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
}

/* ---------- MAS note ---------- */
.mas-note {
  max-width: var(--q-container);
}

/* ---------- Footer trust strip ---------- */
.footer-trust {
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.footer-trust-inner {
  max-width: var(--q-container);
}

/* ---------- Footer regulatory ---------- */
.footer-reg {
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.footer-reg-inner {
  max-width: var(--q-container);
}

/* ---------- Final CTA light ---------- */
.final-cta-section {
  padding-top: var(--q-section-py-sm);
  padding-bottom: var(--q-section-py-sm);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.final-cta-light {
  max-width: var(--q-container);
}

/* ---------- Final CTA dark (legacy) ---------- */
.final-cta {
  max-width: var(--q-container);
}

/* ---------- Footer ---------- */
.footer {
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.footer-inner {
  max-width: var(--q-container);
}

.footer-bottom {
  max-width: var(--q-container);
}

/* ---------- Hardware showcase ---------- */
.hardware {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.hw-product-tabs {
  max-width: min(900px, 100%);
}

/* ---------- Megastats ---------- */
.megastats {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.megastats-inner {
  max-width: var(--q-container);
}

/* ---------- Timeline 4P ---------- */
.timeline-4p {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

/* ---------- Dark interlude ---------- */
.interlude {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.interlude-inner {
  max-width: var(--q-container);
}

/* ---------- HW product section ---------- */
.hw-section {
  padding-top: var(--q-section-py);
  padding-bottom: var(--q-section-py);
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

/* ---------- Reg strip ---------- */
.reg-strip {
  padding-left: var(--q-gutter);
  padding-right: var(--q-gutter);
}

.reg-inner {
  max-width: var(--q-container);
}

/* ---------- Editorial section head ---------- */
.section-head-ed {
  gap: clamp(32px, 4vw, 80px);
}

/* ---------- Fluid body / lede typography ---------- */
.section-head-c p,
.section-head-ed .ed-lede {
  font-size: clamp(15px, 1.4vw, 19px);
}

.final-cta-light p,
.final-cta p,
.stats-band p {
  font-size: clamp(16px, 1.5vw, 20px);
}

/* ---------- Industries section (uses .section padding) ---------- */
/* .indt-inner gets its max-width via .section-inner; no extra override needed */

/* ============================================================
   Large-screen breakpoint (≥ 1600px)
   Let grids breathe even more at ultrawide
   ============================================================ */
@media (min-width: 1600px) {
  :root {
    --q-gutter: clamp(56px, 5vw, 120px);
  }

  .super-inner {
    gap: clamp(56px, 4vw, 100px);
  }

  .section-head-ed {
    gap: clamp(56px, 4vw, 100px);
  }

  .hw-stage {
    gap: clamp(40px, 3vw, 80px);
  }

  .interlude-inner {
    gap: clamp(56px, 4vw, 100px);
  }
}

/* ============================================================
   Tablet breakpoint (≤ 1024px) — tighten grids
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --q-gutter: clamp(20px, 4vw, 48px);
    --q-section-py: clamp(56px, 8vw, 120px);
  }

  .creds-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Mobile breakpoint (≤ 640px) — single column
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --q-gutter: 20px;
    --q-section-py: 56px;
    --q-section-py-sm: 48px;
  }

  .want-grid {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .creds-stats {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }
}

/* ============================================================
   CREDENTIALS — Awards & Backed By (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Stats → Stories: reduce large 120px gap */
  .creds-stories {
    margin-top: 60px;
  }

  /* MPI + Awards: 2-column side-by-side */
  .creds-trust-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  /* MPI: icon on top, text below */
  .creds-trust-mpi {
    padding: 20px 16px;
    border-right: 1px solid rgba(20,28,60,0.08);
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  /* Awards: single column stack */
  .creds-trust-awards {
    padding: 20px 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .creds-trust-awards-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .creds-trust-awards-row .cred-award {
    min-height: unset;
    padding: 0;
  }
  .creds-trust-awards-row .cred-award img {
    max-height: 70px;
    width: auto;
    max-width: 100%;
  }

  /* Awards: stack label above, enlarge images */
  .creds-trust-awards {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 16px;
  }
  .creds-trust-awards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .creds-trust-awards-row .cred-award {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: unset;
    padding: 0;
    background: none;
    border-radius: 0;
  }
  .creds-trust-awards-row .cred-award img {
    max-height: 130px;
    width: 100%;
    object-fit: contain;
  }

  /* Backed By + As Seen On: match MPI/Awards padding, add divider between them */
  .creds-trust-row {
    padding: 24px 20px !important;
  }
  /* As Seen On row = creds-trust-row that directly follows another creds-trust-row */
  .creds-trust-row + .creds-trust-row {
    border-top: 1px solid rgba(20,28,60,0.08);
  }
  .creds-backed-logos {
    margin-top: 10px;
    justify-content: center;
  }
  .creds-backed-logos img {
    width: 100%;
    height: auto;
    display: block;
    filter: none;
    opacity: 1;
  }
}

/* ============================================================
   Mobile nav (≤ 756px)
   ============================================================ */
@media (max-width: 756px) {
  /* Announcement bar: inline text flow — NEW pill + text + Learn more as one paragraph */
  .announcement-bar {
    padding: 9px 16px;
  }
  .ab-inner {
    display: block;
    text-align: center;
    line-height: 1.35;
  }
  .ab-badge {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    font-size: 9px;
    padding: 2px 8px;
  }
  .ab-text {
    display: inline;
    font-size: 12px;
  }
  .ab-cta {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 6px;
    font-size: 11.5px;
    gap: 4px;
    white-space: nowrap;
  }

  /* Logo: prevent distortion */
  .nav-logo img {
    height: 26px !important;
    width: auto !important;
    max-width: none;
    object-fit: contain;
  }

  /* Ticker — LIVE pill stacks above scrolling row on mobile */
  .ticker-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 14px;
  }
  .ticker-label {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-bottom: 10px;
  }
  .ticker-row {
    padding: 10px 0 14px;
  }

  /* Hero section — shorter banner on mobile */
  .hero-mk {
    min-height: 80vh;
    padding: 80px 24px 56px;
  }

  /* Hero typography — 3-line heading on mobile, single sub sentence */
  .hero-mk h1 {
    font-size: clamp(40px, 10.5vw, 54px);
    letter-spacing: 0.22em;
  }
  .m-br { display: block; }
  .sub-line2 br { display: none; }
  .hero-mk .sub {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  /* ────────────────────────────────────────────
     GLOBAL MOBILE TYPE SCALE
     H1 ~40px · H2 ~32px · H3 18px · Body 16px · Small 14px · Label 12px
     ──────────────────────────────────────────── */
  h3, .h3 { font-size: 18px; line-height: 1.3; }

  /* Named card headings (higher specificity than h3 in base) */
  .want-headline  { font-size: 18px; }
  .tl-h           { font-size: 18px; line-height: 1.3; }
  .bt h3          { font-size: 18px; }
  .bento h3       { font-size: 18px; }
  .bento.b-feat h3 { font-size: 18px; }
  .creds-stories-head h3 { font-size: 18px; }
  .backed h3      { font-size: 18px; }

  /* Compact card body — 14px for 2-col/3-col grids */
  .tl-c           { font-size: 14px; }
  .want-body      { font-size: 14px; }
  .bt p           { font-size: 14px; }
  .bento p        { font-size: 14px; }

  /* ── Industries — accordion (JS-built, CSS styles only) ── */
  .industries .indt-tabs { display: none; }
  .industries .indt-stage { display: none; } /* moved into accordion panels by JS */

  .m-ind-acc {
    margin-top: 32px;
    border: 1px solid var(--border-1);
    border-radius: 14px !important;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px -12px rgba(15,22,38,0.10);
  }
  .m-ind-item { border-bottom: 1px solid var(--border-1); }
  .m-ind-item:last-child { border-bottom: none; }

  .m-ind-bar {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, border-color 0.2s;
  }
  .m-ind-item.open .m-ind-bar {
    border-left-color: var(--qashier-blue);
    background: linear-gradient(90deg, rgba(71,92,174,0.07) 0%, transparent 80%);
  }
  .m-ind-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
  }
  .m-ind-bar-icon {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    color: var(--fg-3);
    flex-shrink: 0;
  }
  .m-ind-bar-icon svg { width: 20px; height: 20px; }
  .m-ind-item.open .m-ind-bar-icon { color: var(--qashier-blue); }
  .m-ind-bar-text { display: flex; flex-direction: column; gap: 2px; }
  .m-ind-bar-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--fg-1);
    line-height: 1.2;
  }
  .m-ind-item.open .m-ind-bar-name { color: var(--qashier-blue); }
  .m-ind-bar-sub { font-size: 13px; color: var(--fg-3); }
  .m-ind-toggle {
    font-size: 22px;
    font-weight: 400;
    color: var(--fg-3);
    line-height: 1;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.2s;
  }
  .m-ind-item.open .m-ind-toggle { color: var(--qashier-blue); }

  .m-ind-panel {
    display: none;
    padding: 20px 18px 24px;
    border-radius: 0 !important;
  }
  .m-ind-item.open .m-ind-panel { display: block; }
  /* Panel content — strip all inner rounding */
  .m-ind-panel .indt-meta { gap: 14px; border-radius: 0 !important; }
  .m-ind-panel .indt-demo { margin-top: 40px; border-radius: 0 !important; padding: 0; background: transparent; border: none; }
  .m-ind-panel .bt-live,
  .m-ind-panel .bt-rich,
  .m-ind-panel .kds-card,
  .m-ind-panel .mob-frame { border-radius: 0 !important; }
  .indt-headline { font-size: 18px; line-height: 1.3; }
  .indt-desc     { font-size: 14px; line-height: 1.55; max-width: none; }
  .indt-bullets li { font-size: 14px; }
  .m-ind-panel .indt-cta { margin-top: 20px; }

  /* ── Hardware accordion (JS-built) ── */
  .hardware .hw-product-tabs { display: none; }
  .hardware .hw-stage { display: none; }

  .m-hw-acc {
    margin-top: 32px;
    border: 1px solid var(--border-1);
    border-radius: 14px !important;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px -12px rgba(15,22,38,0.10);
  }
  /* Bar icon: larger for product images */
  .m-hw-acc .m-ind-bar-icon { width: 56px; height: 56px; flex-shrink: 0; }
  .m-hw-acc .m-ind-bar-icon .indt-tab-icon { width: 56px !important; height: 56px !important; }
  .m-hw-acc .m-ind-bar-icon img { width: 56px; height: 56px; object-fit: contain; }
  .m-hw-acc .m-ind-item:nth-child(1) .m-ind-bar-icon,
  .m-hw-acc .m-ind-item:nth-child(2) .m-ind-bar-icon { width: 50px; height: 50px; }
  .m-hw-acc .m-ind-item:nth-child(1) .m-ind-bar-icon .indt-tab-icon,
  .m-hw-acc .m-ind-item:nth-child(2) .m-ind-bar-icon .indt-tab-icon { width: 50px !important; height: 50px !important; }
  .m-hw-acc .m-ind-item:nth-child(1) .m-ind-bar-icon img,
  .m-hw-acc .m-ind-item:nth-child(2) .m-ind-bar-icon img { width: 50px; height: 50px; }

  .m-hw-panel {
    display: none;
    padding: 20px 18px 28px;
    border-radius: 0 !important;
  }
  .m-ind-item.open .m-hw-panel { display: block; }

  .m-hw-product-img {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto 24px;
  }
  .m-hw-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fg-3);
    margin-bottom: 6px;
  }
  .m-hw-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;
    color: var(--qashier-blue);
    margin: 0 0 10px;
  }
  .m-hw-name .prod-slim { color: var(--qashier-blue); vertical-align: baseline; font-size: 16px; letter-spacing: 0.14em; }
  .m-ind-bar-name .prod-slim { vertical-align: baseline; font-size: 11px; font-weight: 400; letter-spacing: 0.14em; color: var(--fg-1); }
  .m-ind-item.open .m-ind-bar-name .prod-slim { color: var(--qashier-blue); }
  .m-hw-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg-2);
    margin: 0 0 20px;
  }
  .m-hw-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-1);
    margin-bottom: 0;
  }
  .m-hw-specs > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-1);
  }
  .m-hw-spec-k {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-3);
  }
  .m-hw-spec-v { font-size: 14px; color: var(--fg-1); }
  .m-hw-panel .hw-tick-list { gap: 8px; margin-top: 2px; }
  .m-hw-panel .hw-tick-list li { font-size: 14px; font-weight: 600; gap: 8px; }
  .m-hw-panel .hw-tick-list li::before { width: 16px; height: 16px; background-size: 10px; }
  .m-hw-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 0 4px;
  }

  .m-hw-price-wrap { display: flex; flex-direction: column; gap: 2px; }
  .m-hw-price-label { font-size: 12px; color: var(--fg-3); }
  .m-hw-price { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--qashier-blue); }
  .m-hw-tnc { font-size: 11px; color: var(--fg-3); margin: 0; padding-top: 4px; }

  /* ── 4Ps timeline — 2 × 2 grid on mobile ── */
  .timeline-4p { padding: 56px 20px; }
  .timeline-4p .section-head-ed h2  { white-space: normal; }
  .timeline-4p .section-head-ed .ed-lede { white-space: normal; font-size: 16px; }
  .timeline-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }
  .timeline-cell {
    padding: 20px 14px 24px;
    border-right: 1px solid var(--border-1);
    border-bottom: 1px solid var(--border-1);
  }
  .timeline-cell:nth-child(2n) { border-right: none; }
  .timeline-cell:nth-child(3),
  .timeline-cell:nth-child(4)  { border-bottom: none; }
  .timeline-cell .tl-icon      { gap: 8px; margin-bottom: 14px; }
  .timeline-cell .tl-icon img  { width: 48px; height: 48px; animation: none; }

  /* ── Eyebrow pill ── */
  .eyebrow-pill {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  /* ── Centered section head ── */
  .section-head-c {
    text-align: left;
    margin-bottom: 0;
  }
  .section-head-c h2,
  .section h2 {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.25;
    margin-bottom: 20px;
  }
  .section-head-c p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
  }

  /* ── Center-variant: flush left on mobile ── */
  .section-head-ed.v-center {
    text-align: left;
    justify-items: start;
  }
  .section-head-ed.v-center .ed-eyebrow { justify-content: flex-start; }
  .section-head-ed.v-center h2 { margin-left: 0; margin-right: 0; max-width: none; }
  .section-head-ed.v-center .ed-lede { margin: 0; }

  /* ── Editorial section head — single column, tight spacing on mobile ── */
  .section-head-ed {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0;
  }
  .section-head-ed h2 {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.25;
  }
  .section-head-ed .ed-eyebrow {
    font-size: 12px;
  }
  .section-head-ed .ed-lede {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
  }

  /* ── Work Smarter section ── */
  .want-grid { margin-top: 40px; }
}

/* ============================================================
   Mobile nav + hamburger (< 1024px)
   ============================================================ */
@media (max-width: 1023px) {

  /* Nav inner: full-width, logo left / hamburger right */
  .nav-inner {
    padding: 14px 16px !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Hide desktop links and action buttons */
  .nav-links { display: none !important; }
  .nav-actions { display: none !important; }

  /* ── Injected hamburger ── */
  .mobile-ham {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    padding: 8px; margin-left: auto; flex-shrink: 0;
  }
  .mobile-ham span {
    display: block; width: 22px; height: 2px;
    background: #fff; border-radius: 1px;
    transition: transform 280ms, opacity 280ms;
    pointer-events: none;
  }
  .nav.scrolled .mobile-ham span,
  .nav.menu-open .mobile-ham span { background: #3B4559; }
  .mobile-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-ham.open span:nth-child(2) { opacity: 0; }
  .mobile-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Injected mobile drawer ── */
  .mobile-drawer {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 59;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -2px 20px rgba(15,22,38,0.08);
  }
  .mobile-drawer.open { display: block; }

  .m-drawer-inner { padding: 12px 24px 48px; }

  /* Nav rows */
  .m-nav-row { border-bottom: 1px solid #ECECEC; }
  .m-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 15px; font-weight: 600;
    color: #3B4559; text-decoration: none;
    font-family: "Century Gothic", "AppleGothic", Futura, sans-serif;
  }
  .m-nav-link:hover { color: #475CAE; }
  .m-nav-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 14px 0;
    font-size: 15px; font-weight: 600;
    color: #3B4559; background: none; border: none;
    cursor: pointer; font-family: "Century Gothic", "AppleGothic", Futura, sans-serif;
    text-align: left;
  }
  .m-nav-toggle:hover { color: #475CAE; }
  .m-nav-chev { transition: transform 220ms; flex-shrink: 0; }
  .m-nav-toggle.open .m-nav-chev { transform: rotate(180deg); }
  .m-nav-sub {
    display: none;
    padding: 0 0 10px 12px;
  }
  .m-nav-sub.open { display: block; }
  .m-nav-sub-link {
    display: block; padding: 7px 0;
    font-size: 13.5px; color: #3B4559;
    text-decoration: none;
    font-family: "Century Gothic", "AppleGothic", Futura, sans-serif;
  }
  .m-nav-sub-link:hover { color: #475CAE; }
  .m-nav-group-heading {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: "Century Gothic", "AppleGothic", Futura, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    line-height: 1.2 !important;
    color: #475CAE !important;
    padding: 14px 0 8px !important;
    margin: 8px 0 2px !important;
    border-bottom: 1px solid rgba(15,22,38,0.10) !important;
  }
  .m-nav-group-heading:first-child {
    margin-top: 0 !important;
    padding-top: 4px !important;
  }
  .m-nav-badge {
    display: inline-block; vertical-align: middle;
    font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 999px; margin-left: 6px;
    font-family: "Century Gothic", "AppleGothic", Futura, sans-serif;
  }
  .m-nav-badge--grant   { background: #E8F5E9; color: #2E7D32; }
  .m-nav-badge--popular { background: #FFF3E0; color: #E65100; }
  .m-nav-badge--new     { background: #E3F2FD; color: #1565C0; }

  /* CTA buttons at bottom of drawer */
  .m-drawer-actions {
    display: flex; flex-direction: row; gap: 10px;
    padding-top: 20px; border-top: 1px solid #ECECEC; margin-top: 8px;
  }
  .m-drawer-login {
    display: flex; align-items: center; justify-content: center;
    padding: 14px; min-height: 48px; flex: 1;
    font-size: 15px; font-weight: 700; border-radius: 999px;
    color: #3B4559; background: transparent;
    border: 1.5px solid rgba(59,69,89,0.35);
    text-decoration: none; box-sizing: border-box;
    font-family: "Century Gothic", "AppleGothic", Futura, sans-serif;
  }
  .m-drawer-login:hover { background: #475CAE; color: #fff; border-color: #475CAE; }
  .m-drawer-cta {
    display: flex; align-items: center; justify-content: center;
    padding: 14px; min-height: 48px; flex: 1;
    font-size: 15px; font-weight: 700; border-radius: 999px;
    color: #fff; background: #475CAE; border: none; cursor: pointer;
    font-family: "Century Gothic", "AppleGothic", Futura, sans-serif;
    box-sizing: border-box;
  }
  .m-drawer-cta:hover { background: #3d4f9a; }
}

/* Tap-to-reveal: active on all sub-desktop viewports (< 1024px) */
@media (max-width: 1023px) {
  .want-card.square.tapped { transform: translateY(-4px); box-shadow: var(--shadow-3); }
  .want-card.square.tapped .v-hover { opacity: 1; }
  .want-card.square.tapped .want-content { transform: translateY(-4px); }
  .want-card.square.tapped .want-content .tag {
    color: white;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.4);
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
    margin-bottom: 14px;
  }
  .want-card.square.tapped .want-headline {
    max-height: 5em;
    opacity: 1;
    transform: translateY(0);
    margin: 0 0 10px;
  }
  .want-card.square.tapped .want-body {
    max-height: 8em;
    opacity: 1;
    transform: translateY(0);
    margin: 0 0 18px;
  }
  .want-card.square.tapped .want-arrow {
    opacity: 1;
    transform: translate(0,0) scale(1);
  }
}
