/* ==========================================================================
   CapitalXB — Redesign foundation
   --------------------------------------------------------------------------
   Shared shell for the redesigned pages: design tokens, typography scale,
   layout primitives, buttons, sticky header + dropdown nav, mobile drawer,
   footer, and the full-bleed image break band.

   Page-specific section CSS lives in a <style> block in each page, the same
   split the prototype used. This file is the ONLY place the header, footer
   and button system are defined — change them here, not per page.

   Loaded WITHOUT bootstrap.min.css / style.css / responsive.css. The
   redesigned pages and the legacy Bootstrap pages must not share a
   stylesheet set; they conflict.

   Tokens are declared on :root AND .page so components still resolve when
   used outside the .page wrapper.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root,
.page {
  --paper: #ffffff;
  --paper2: #f4f5f7;
  --card: #ffffff;
  --ink: #191c1f;
  --indigo: #1c46d9;
  /* NOTE: --green is intentionally the indigo brand blue. The redesign moved
     CapitalXB from the legacy green (#1A4137) to blue; the token name is kept
     so the prototype's rules port over unchanged. */
  --green: #1c46d9;
  --green-d: #0a57c2;
  --green-l: #7db2ff;
  --line: rgba(25, 28, 31, 0.14);
  --line2: rgba(25, 28, 31, 0.07);
  --t2: #565c64;
  --t3: #969ca5;
  --dt1: #eef0f3;
  --dt2: #a8aeb8;
  --dt3: #7e858f;
  --mono: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --disp: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "General Sans", "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

.page {
  background: linear-gradient(180deg, #f4f5f7 0%, var(--paper) 22%);
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.04;
  color: var(--ink);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

a,
.btn,
.nlink,
.f-l {
  transition: color 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 5px;
}

::selection {
  background: #f0eadd;
  color: #191c1f;
}

/* Lenis smooth scroll — classes applied to <html> at runtime by vendor/lenis.min.js */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

.sec {
  padding: clamp(52px, 6vw, 88px) 0;
  position: relative;
}

.sec > .shell {
  position: relative;
  z-index: 1;
}

/* oversized section watermark numeral */
.wm {
  display: none;
  position: absolute;
  top: clamp(28px, 3.5vw, 60px);
  right: clamp(-4px, 1vw, 20px);
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(110px, 19vw, 250px);
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 28, 31, 0.1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.02em;
}

.wm.ond {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.1);
}

/* dark section: rounded inset panel with dotted texture */
.dark {
  background: radial-gradient(125% 130% at 82% -10%, #24272b 0%, #191c1f 64%);
  color: var(--dt1);
  position: relative;
  overflow: hidden;
  border-radius: clamp(30px, 4vw, 56px);
  margin-left: clamp(12px, 2.4vw, 30px);
  margin-right: clamp(12px, 2.4vw, 30px);
  --card: rgba(255, 255, 255, 0.055);
  --paper: rgba(255, 255, 255, 0.045);
  --paper2: rgba(255, 255, 255, 0.09);
  --ink: #fff;
  --line: rgba(255, 255, 255, 0.16);
  --line2: rgba(255, 255, 255, 0.08);
  --t2: #a8aeb8;
  --t3: #8e88b0;
  --green-d: var(--green-l);
}

.dark h1,
.dark h2,
.dark h3 {
  color: #fff;
}

.dark--flush {
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.07) 1.1px,
    transparent 1.2px
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(
    ellipse 85% 78% at 74% -8%,
    #000,
    transparent 72%
  );
  mask-image: radial-gradient(ellipse 85% 78% at 74% -8%, #000, transparent 72%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.sec.dark > * {
  position: relative;
  z-index: 1;
}

/* section that overlaps the one above it */
.lift {
  position: relative;
  z-index: 3;
  background: #fff;
  margin-top: clamp(-60px, -4.5vw, -30px);
  padding-top: clamp(42px, 5.5vw, 72px);
}

/* faint graph-paper grid backdrop */
.hasgrid {
  position: relative;
  overflow: hidden;
}

.hasgrid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(25, 28, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 28, 31, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 62% 66% at 88% 6%,
    #000,
    transparent 72%
  );
  mask-image: radial-gradient(ellipse 62% 66% at 88% 6%, #000, transparent 72%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. Typography scale
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(46px, 7.1vw, 98px);
  line-height: 0.99;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(32px, 4.8vw, 62px);
  letter-spacing: -0.018em;
  line-height: 1.03;
  font-weight: 600;
}

.h3 {
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: -0.01em;
  line-height: 1.16;
  font-weight: 600;
}

.lead {
  font-family: var(--body);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--t2);
  max-width: 64ch;
  font-weight: 400;
}

.lead.ond {
  color: var(--dt2);
}

/* eyebrow label with leading rule */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--green-d);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--green);
  display: inline-block;
}

.eyebrow.ond {
  color: var(--green-l);
}

.eyebrow.ond::before {
  background: var(--green-l);
}

/* synthesised oblique accent — General Sans ships no true italic */
.serif-i {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 500;
}

.hi-lite,
.hl {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 500;
  color: var(--green-d);
}

.dark .hi-lite,
.dark .hl {
  color: var(--green-l);
}

.mono {
  font-family: var(--mono);
}

.tnum {
  font-family: var(--mono);
  font-feature-settings: "tnum" 1;
}

.big-num {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--indigo);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

a.ilink {
  color: var(--green-d);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 87, 194, 0.4);
}

a.ilink:hover {
  border-bottom-color: var(--green-d);
}

.arrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-d);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.arrow .a {
  transition: transform 0.2s ease;
}

.arrow:hover .a {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 600 15px/1 var(--body);
  padding: 16px 27px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.18s, border-color 0.18s,
    box-shadow 0.2s;
  white-space: nowrap;
  letter-spacing: 0.005em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(6, 102, 235, 0.7);
}

.btn-green:hover {
  background: #0a57c2;
  color: #fff;
  box-shadow: 0 16px 36px -14px rgba(6, 102, 235, 0.8);
}

.btn-ink {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(25, 28, 31, 0.5);
}

.btn-ink:hover {
  background: #3c3583;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(25, 28, 31, 0.03);
}

.btn-ghostd {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-ghostd:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* pill chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 100px;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.18s ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -14px rgba(25, 28, 31, 0.32);
  border-color: rgba(25, 28, 31, 0.22);
}

.chip .ck {
  color: var(--green-d);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   6. Header — topbar, brand, dropdown nav
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  border-bottom: 1px solid var(--line2);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 14px;
  /* min-height, not height: the Book a Call pill must never be clipped */
  min-height: 38px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--t2);
  flex-wrap: wrap;
}

.tb-i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(6, 102, 235, 0.18);
}

.tb-sep {
  color: var(--t3);
}

/* Topbar "Book a Call" pill. Also carries .login-btn-one, which js/common.js
   binds to open MS Bookings in a centred popup — same behaviour as the legacy
   header. The href is the real booking URL so it still works without JS. */
.tb-login {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-d);
  background: rgba(28, 70, 217, 0.07);
  border: 1px solid rgba(28, 70, 217, 0.18);
  border-radius: 100px;
  padding: 5px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tb-login:hover {
  background: rgba(28, 70, 217, 0.13);
  border-color: rgba(28, 70, 217, 0.36);
  color: var(--indigo);
}

.tb-login svg {
  width: 12px;
  height: 12px;
  flex: none;
}

/* Below ~480px the two credential chips plus the pill cannot share one line.
   Drop the second chip so Book a Call stays on the first row. */
@media (max-width: 480px) {
  .topbar-in .tb-sep,
  .topbar-in .tb-sep + .tb-i {
    display: none;
  }
}

.navbar {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}

.brand {
  flex: none;
}

.logoimg {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: -30px;
}

.nlink {
  font-family: var(--body);
  letter-spacing: 0;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--t2);
  cursor: pointer;
  transition: color 0.14s, background 0.14s;
  white-space: nowrap;
}

.nlink:hover {
  color: var(--ink);
  background: rgba(25, 28, 31, 0.05);
}

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-caret {
  font-size: 11px;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.16s ease;
}

.nav-drop:hover .nav-caret,
.nav-drop.open .nav-caret {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 90;
}

.nav-drop:hover .nav-menu,
.nav-drop.open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-menu-inner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 50px -20px rgba(25, 28, 31, 0.3),
    0 2px 6px rgba(25, 28, 31, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-menu-item {
  display: block;
  padding: 13px 15px;
  border-radius: 10px;
  transition: background 0.14s;
}

.nav-menu-item:hover {
  background: var(--paper2);
}

.nmi-t {
  display: block;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nmi-d {
  display: block;
  font-family: var(--body);
  font-size: 13px;
  color: var(--t3);
  margin-top: 3px;
}

.nav-menu-wide {
  min-width: 600px;
}

.nav-menu-head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 700;
  padding: 6px 15px 12px;
}

.nav-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}

.hdr-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 11px;
}

/* --------------------------------------------------------------------------
   7. Mobile drawer
   The markup is static (not JS-injected) so the links are crawlable and
   present before script runs. js/redesign.js only toggles .mopen.
   -------------------------------------------------------------------------- */
.mburger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
}

.mdrawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px clamp(20px, 5vw, 72px) 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: calc(100dvh - 114px);
  overflow-y: auto;
}

.mdrawer a {
  padding: 11px 4px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--line2);
}

.mdrawer .mdr-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 700;
  padding: 14px 4px 4px;
  border: 0;
}

.mdrawer .mdr-cta {
  margin-top: 16px;
  border: 0;
  padding: 0;
}

.mdrawer .mdr-cta .btn {
  width: 100%;
}

@media (max-width: 820px) {
  .nav,
  .hdr-cta {
    display: none;
  }

  .brand {
    margin-right: auto;
  }

  .mburger {
    display: grid;
  }

  .hdr.mopen .mdrawer {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   8. Full-bleed image break band
   -------------------------------------------------------------------------- */
.imgbreak {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: clamp(300px, 40vw, 540px);
}

.imgbreak img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ibkb 24s ease-in-out infinite alternate;
}

.imgbreak::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-16deg);
  animation: glint 3.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.imgbreak-cap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 7vw, 96px);
  background: linear-gradient(
    90deg,
    rgba(10, 12, 16, 0.82) 0%,
    rgba(10, 12, 16, 0.5) 46%,
    rgba(10, 12, 16, 0.08) 78%
  );
}

.imgbreak-cap .eyb {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-l);
  margin-bottom: 14px;
}

.imgbreak-cap h3 {
  font-family: var(--disp);
  font-weight: 600;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  max-width: 18ch;
}

.imgbreak-cap .serif-i {
  color: var(--green-l);
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.foot {
  background: #191c1f;
  color: #b7bcc4;
  padding: clamp(30px, 3.6vw, 46px) 0 32px;
  border-top: 0;
  margin-top: 14px;
  border-radius: clamp(26px, 4vw, 48px) clamp(26px, 4vw, 48px) 0 0;
}

.foot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: clamp(30px, 4vw, 44px);
  margin-bottom: clamp(30px, 4vw, 44px);
  /* prototype shipped a malformed value here: rgba(255,255,255,.1)-line) */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-slogan {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* --green-d (#0A57C2) fails contrast on the #191C1F footer; use the light tint */
  color: var(--green-l);
  margin-top: 14px;
}

.f-addr {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.62;
  color: #8b929b;
  margin: 0;
  max-width: 340px;
}

.f-cin {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6e747d;
  margin-top: 9px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 28px;
}

.f-h {
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 14px;
}

.f-l {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  color: #b7bcc4;
  padding: 7px 0;
  transition: color 0.13s;
}

.f-l:hover {
  color: #fff;
}

.foot-bot {
  margin-top: clamp(38px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
  color: #8b929b;
}

.foot-bot a {
  color: #b7bcc4;
}

.foot-bot a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   10. Scroll reveal & shared animations
   Uses scroll-driven animations where supported; content is visible by
   default so nothing is hidden if the feature (or JS) is unavailable.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 1;
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: rvl linear both;
    animation-timeline: view();
    animation-range: entry 2% cover 14%;
  }
}

@keyframes rvl {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rvlup {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes panelrise {
  from {
    transform: translateY(72px) scale(0.92);
  }
  to {
    transform: none;
  }
}

/* slow background push on photographic sections */
.bg-pan {
  animation: bgkb 24s ease-in-out infinite alternate;
}

@keyframes bgkb {
  from {
    background-size: auto, 114%;
  }
  to {
    background-size: auto, 130%;
  }
}

@keyframes glint {
  0% {
    left: -70%;
  }
  88%,
  100% {
    left: 130%;
  }
}

@keyframes ibkb {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.16);
  }
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .imgbreak img,
  .imgbreak::after {
    animation: none;
  }

  .imgbreak::after {
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   11. Shared responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   12. Shell polish
   These came from the prototype's article stylesheet, where they applied only
   to subpages. Kept here so the header, footer and buttons behave identically
   on every redesigned page.
   -------------------------------------------------------------------------- */

/* living status dot in the topbar */
@keyframes tb-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 102, 235, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(6, 102, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 102, 235, 0);
  }
}

.tb-dot {
  animation: tb-pulse 2.8s ease-out infinite;
}

.brand {
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

/* sheen sweep across the primary button on hover */
.btn-green {
  position: relative;
  overflow: hidden;
}

.btn-green::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}

.btn-green:hover::after {
  left: 150%;
}

.f-l:hover {
  padding-left: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .tb-dot {
    animation: none;
  }

  .btn-green::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .foot-cols {
    grid-template-columns: 1fr;
  }

  .sec {
    padding: 42px 0;
  }

  .display {
    font-size: clamp(42px, 12.5vw, 58px);
    letter-spacing: -0.02em;
    line-height: 1.02;
  }

  .h2 {
    letter-spacing: -0.015em;
    line-height: 1.06;
  }

  .display,
  .h2 {
    text-wrap: balance;
  }

  .lead {
    font-size: 16.5px;
    line-height: 1.62;
    max-width: none;
  }

  .wm {
    font-size: clamp(84px, 30vw, 140px);
    opacity: 0.55;
  }
}
