/* ============================================================
   FINSMART ACCOUNTING — DESIGN SYSTEM
   Brand: Red #e53935 accent | No navy backgrounds
   Fonts: Nunito (display) + Nunito Sans (body)
   ============================================================ */

/* ---- GOOGLE FONTS — loaded async via wp_head preload (see functions.php) ---- */

/* ---- TOKENS ---- */
:root {
  --red:           #e53935;
  --red-dark:      #c62828;
  --red-light:     #ef5350;
  --red-tint:      #fff5f5;
  --red-tint-2:    #ffebee;

  --ink:           #0f1729;
  --ink-2:         #2d3a52;
  --body:          #4a5568;
  --muted:         #8896b3;

  --bg:            #ffffff;
  --surface:       #f8f9fc;
  --surface-2:     #f0f3fa;
  --border:        #e4e9f2;
  --border-2:      #cfd7ea;

  --font-display:  'Nunito', system-ui, sans-serif;
  --font-body:     'Nunito Sans', 'Nunito', system-ui, sans-serif;

  --max-w:         1280px;
  --max-w-narrow:  960px;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:  0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg:  0 16px 48px rgba(15,23,42,.10), 0 4px 16px rgba(15,23,42,.06);
  --shadow-red: 0 8px 28px rgba(229,57,53,.25);

  --ease: cubic-bezier(.25,.46,.45,.94);
  --t:    200ms var(--ease);
  --t-slow: 380ms var(--ease);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
}

/* ---- UTILITIES ---- */
.text--red { color: var(--red); }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--max-w-narrow); }
.container--narrow .section-title { text-wrap: wrap; }
.container--narrow .section-body  { max-width: none; }

.section { padding: 88px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 112px 0; }
.section--grey { background: var(--surface); }
.section--red { background: var(--red); }
.section--ink { background: var(--ink); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-body {
  font-size: 17px;
  color: var(--body);
  max-width: 800px;
  line-height: 1.7;
}
.section-header--center .section-body { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--r-md);
  transition: var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(229,57,53,.30); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-2);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: var(--r-lg); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--t);
}
.btn:hover .btn-icon { transform: translateX(3px); }

/* ---- ICON WRAPPER ---- */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-icon] svg { display: block; }
.icon-sm [data-icon] svg, [data-icon].icon-sm svg { width: 16px; height: 16px; }
.icon-lg [data-icon] svg, [data-icon].icon-lg svg { width: 24px; height: 24px; }
.icon-xl [data-icon] svg, [data-icon].icon-xl svg { width: 28px; height: 28px; }

/* ---- TAGS / BADGES ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--ink-2);
}
.tag--red { background: var(--red-tint-2); color: var(--red-dark); }

/* ============================================================
   BREADCRUMB BAR
   ============================================================ */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb-item a:hover { color: var(--red); }
.breadcrumb-item--active { color: var(--ink); font-weight: 600; }
.breadcrumb-sep { color: var(--muted); opacity: .5; font-size: 11px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 40px;
  display: flex;
  align-items: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  transition: color var(--t);
  white-space: nowrap;
}
.top-bar-link:hover { color: var(--red); }
.top-bar-link svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .7; }
.top-bar-sep {
  width: 1px;
  height: 16px;
  background: var(--border-2);
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  padding: 5px 14px;
  transition: border-color var(--t), box-shadow var(--t);
}
.top-bar-search:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}
.top-bar-search input {
  border: none;
  outline: none;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  width: 160px;
}
.top-bar-search input::placeholder { color: var(--muted); }
.top-bar-search svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.top-bar-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  line-height: 0;
}
.top-bar-search-btn:hover svg { color: var(--red); }
@media (max-width: 960px) {
  .top-bar { display: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 40px;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.nav-logo-text span { color: var(--red); }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0 14px;
  height: 68px;
  transition: color var(--t);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:not([href]) { cursor: pointer; user-select: none; }
.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--t);
  opacity: .6;
}
.nav-item:hover .nav-chevron,
.nav-item.mega-open .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- MEGA MENU ---- */
.mega-wrap {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 999;
}
.nav-item:hover .mega-wrap,
.nav-item.mega-open .mega-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Solutions mega */
.mega-solutions { min-width: 720px; }
.mega-grid-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.mega-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 0 4px;
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t), color var(--t);
}
.mega-link:hover { background: var(--red-tint); color: var(--red-dark); }
.mega-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: background var(--t);
}
.mega-link:hover .mega-link-icon { background: var(--red-tint-2); }
.mega-link-text { font-size: 13px; font-weight: 500; }

/* Services mega */
.mega-services { min-width: 720px; }
.mega-grid-services {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 4px 24px;
}
.mega-divider {
  width: 1px;
  background: var(--border);
  margin: 0 4px;
}
.mega-cta-panel {
  width: 188px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.mega-cta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.mega-cta-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}
.mega-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.3);
  transition: background var(--t);
  text-align: center;
}
.mega-cta-btn:hover { background: rgba(255,255,255,.3); }
.mega-cta-geo {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 10px;
}

/* Simple dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
}
.nav-dropdown a:hover { background: var(--red-tint); color: var(--red-dark); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: var(--t); border-radius: 2px; }
.nav-cta-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle at center, rgba(229,57,53,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, rgba(229,57,53,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
  border: 1px solid var(--red-tint-2);
}
.hero-title {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  font-size: 17px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
}
.hero-trust-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual { position: relative; z-index: 1; }

/* Hero form panel */
.hero-visual--form { display:flex; align-items:stretch; }
.hero-form-panel { background:#fff; border:none; border-radius:var(--r-xl); padding:32px; box-shadow:0 2px 4px rgba(0,0,0,.04),0 24px 64px rgba(15,23,42,.14); width:100%; display:flex; flex-direction:column; overflow:hidden; }
.hero-form-title { font-size:17px; font-weight:800; color:#fff; margin:-32px -32px 24px; padding:22px 32px 18px; line-height:1.3; background:var(--ink,#0f172a); border-bottom:3px solid var(--red,#e53935); }
.hero-inline-form { display:flex; flex-direction:column; gap:14px; flex:1; }
.hif-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hif-field { display:flex; flex-direction:column; gap:4px; }
.hif-label { font-size:12px; font-weight:600; color:var(--ink-2); letter-spacing:.02em; }
.hif-input { width:100%; padding:9px 12px; border:1px solid var(--border); border-radius:var(--r-md); font-size:14px; color:var(--ink); background:#fff; transition:border-color var(--t),box-shadow var(--t); outline:none; font-family:inherit; }
.hif-input:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(220,60,40,.12); }
.hif-select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:32px; }
.hif-textarea { resize:none; }
.hif-submit { margin-top:4px; width:100%; justify-content:center; }
.hif-privacy { font-size:11px; color:var(--ink-3,var(--ink-2)); margin:6px 0 0; line-height:1.5; }
.hif-privacy a { color:var(--ink-2); }
.hif-feedback { padding:10px 14px; border-radius:var(--r-md); font-size:13px; margin-top:8px; }
.hif-feedback--success { background:#f0fdf4; color:#15803d; border:1px solid #bbf7d0; }
.hif-feedback--error { background:#fff1f2; color:#b91c1c; border:1px solid #fecaca; }
@media (max-width:768px) { .hero-visual--form { display:none; } .hif-row { grid-template-columns:1fr; } }

/* ============================================================
   Fluent Forms — Finsmart design override
   ============================================================ */
.ff-finsmart-wrap .ff-el-group { margin-bottom:14px; }
.ff-finsmart-wrap .ff-el-input--label label,
.ff-finsmart-wrap .ff-el-input--label { font-size:11px !important; font-weight:700 !important; color:var(--ink-2) !important; letter-spacing:.06em !important; margin-bottom:5px !important; text-transform:uppercase !important; }
.ff-finsmart-wrap .ff-el-input--label .ff-el-is-required.asterisk-right::after { color:var(--red); }
.ff-finsmart-wrap input[type="text"],
.ff-finsmart-wrap input[type="email"],
.ff-finsmart-wrap input[type="tel"],
.ff-finsmart-wrap input[type="url"],
.ff-finsmart-wrap input[type="number"],
.ff-finsmart-wrap select,
.ff-finsmart-wrap textarea { width:100% !important; padding:11px 14px !important; border:1.5px solid var(--border) !important; border-radius:var(--r-md) !important; font-size:14px !important; color:var(--ink) !important; background:#fff !important; transition:border-color var(--t),box-shadow var(--t) !important; outline:none !important; font-family:inherit !important; box-shadow:none !important; }
.ff-finsmart-wrap input:focus,
.ff-finsmart-wrap select:focus,
.ff-finsmart-wrap textarea:focus { border-color:var(--red) !important; box-shadow:0 0 0 3px rgba(220,60,40,.12) !important; }
.ff-finsmart-wrap textarea { resize:vertical; min-height:100px; }
.ff-finsmart-wrap .ff-btn-submit { background:var(--red) !important; border-color:var(--red) !important; color:#fff !important; padding:14px 28px !important; border-radius:var(--r-full,50px) !important; font-size:15px !important; font-weight:700 !important; width:100% !important; cursor:pointer !important; border:none !important; transition:background var(--t),transform var(--t) !important; }
.ff-finsmart-wrap .ff-btn-submit:hover { background:var(--red-dark,#b91c1c) !important; transform:translateY(-1px) !important; }
.ff-finsmart-wrap .ff-message-success { background:#f0fdf4; color:#15803d; border:1px solid #bbf7d0; border-radius:var(--r-md); padding:12px 16px; font-size:14px; }
.ff-finsmart-wrap .ff-message-error,.ff-finsmart-wrap .ff-el-is-error .error { color:#b91c1c; font-size:12px; }
.ff-finsmart-wrap .ff-name-field-container { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ff-finsmart-wrap .ff-name-field-container .ff-el-form-control { width:100% !important; }
/* Hero form compact overrides */
.ff-finsmart-hero .ff-el-group { margin-bottom:10px; }
.ff-finsmart-hero textarea { min-height:72px; }
.ff-finsmart-hero .ff-btn-submit { padding:12px 24px !important; font-size:14px !important; }
/* Privacy note below submit */
.ff-finsmart-wrap .ff-el-group.ff-el-form-check { font-size:11px; color:var(--ink-2); }
.ff-finsmart-wrap .ff-privacy-policy { font-size:11px; color:var(--ink-2); margin-top:8px; text-align:center; }

/* Photo-based hero layout */
.hero-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}
.hero-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--shadow-lg);
}
/* Borderless photo: no frame or shadow, soft fade on the left and bottom edges */
.hero--borderless .hero-photo-wrap { border-radius: 0; }
@media (max-width: 1200px) { .hero--borderless .hero-photo { width: 100%; margin-right: 0; } }
@media (min-width: 961px) { .hero.hero--borderless { padding-top: 24px; padding-bottom: 20px; } } /* the photo's soft edges already add air */
.hero--borderless .hero-photo { height: auto; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; object-position: 55% center;
  width: calc(100% + 140px); max-width: none; margin-right: -140px; /* bigger: runs into the right margin */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%); mask-composite: intersect; }

.hero-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}
.hero-card--main {
  width: 260px;
  bottom: 28px;
  left: -24px;
  z-index: 3;
}
.hero-card--stat {
  width: 160px;
  padding: 16px 18px;
  z-index: 4;
  top: 32px;
  right: -20px;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card--badge {
  width: 170px;
  padding: 12px 16px;
  z-index: 5;
  bottom: 140px;
  right: -20px;
  animation: floatCard 5s ease-in-out infinite reverse;
}
.hero-badge-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.hero-badge-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stat-number span { color: var(--red); }
.stat-suffix { color: var(--ink); }
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.hero-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 10px;
}
.hero-seat-item--featured {
  background: transparent;
  border: 1.5px dashed var(--red);
}
.hero-seat-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-seat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--r-sm);
}
.seat-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.seat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.seat-avail {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #22c55e;
  background: #f0fdf4;
  padding: 3px 8px;
  border-radius: var(--r-full);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--red);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(var(--stat-cols, 5), 1fr);
  gap: 0;
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.stat-block + .stat-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.stat-block-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-block-num sup { font-size: 22px; vertical-align: super; }
.stat-block-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  text-align: center;
}
.stats-bar .section-title { color: #fff; }
.stats-bar .section-eyebrow { color: rgba(255,255,255,.75); }

/* ============================================================
   TECH STACK MARQUEE
   ============================================================ */
.tech-stack {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tech-stack-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 20px;
}
.tech-stack-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tech-stack--restaurants .tech-stack-label {
  color: var(--red);
}
.tech-stack-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 6px;
}
.tech-stack-title span { color: var(--red); }

.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track--reverse {
  animation-direction: reverse;
  animation-duration: 38s;
}
.marquee-track:hover,
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-right: 12px;
  height: 64px;
  min-width: 120px;
  flex-shrink: 0;
  transition: border-color var(--t), box-shadow var(--t);
}
.marquee-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}
.marquee-item img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) opacity(.65);
  transition: filter var(--t);
}
.marquee-item:hover img { filter: grayscale(0) opacity(1); }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   WHO WE SERVE
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.audience-card:hover::before { transform: scaleX(1); }
.audience-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.audience-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ink-2);
}
.audience-icon svg { width: 48px !important; height: 48px !important; stroke-width: 1.2; }
.audience-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.audience-body {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 20px;
}
.audience-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: gap var(--t);
}
.audience-link:hover { gap: 10px; }

/* ============================================================
   ACCOUNTING SEAT MODEL SPOTLIGHT
   ============================================================ */
.seat-spotlight {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.seat-spotlight::after {
  content: 'SEAT MODEL™';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  color: rgba(229,57,53,.09);
  white-space: nowrap;
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
}
.seat-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.seat-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.seat-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: box-shadow var(--t), border-color var(--t);
}
.seat-feature:hover { box-shadow: var(--shadow-sm); border-color: var(--red); }
.seat-feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  background: rgba(229,57,53,.08);
  border-radius: 12px;
  transition: background var(--t), color var(--t);
}
.seat-feature-icon span { display: flex; }
.seat-feature-icon svg { width: 22px !important; height: 22px !important; stroke-width: 1.9; }
.seat-feature:hover .seat-feature-icon { background: var(--red); color: #fff; }
.seat-title { font-size: clamp(34px, 4vw, 50px); line-height: 1.12; }
.seat-title em { display: block; font-style: normal; color: var(--red); }
.seat-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.seat-feature-body { font-size: 15px; color: var(--body); }

.seat-visual {
  position: relative;
}
.seat-diagram {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.seat-diagram-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.seat-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.seat-flow-step {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.seat-flow-step + .seat-flow-step {
  padding-top: 0;
}
.seat-flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -2px;
  width: 2px;
  background: var(--border);
}
.seat-flow-num {
  width: 32px;
  height: 32px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.seat-flow-content {}
.seat-flow-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.seat-flow-body { font-size: 13px; color: var(--body); line-height: 1.55; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  background: var(--surface-2);
  border-radius: var(--r-full);
  padding: 5px;
  width: fit-content;
}
.services-tab {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  padding: 10px 22px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: color var(--t), background var(--t), box-shadow var(--t);
  border: none;
  background: transparent;
  white-space: nowrap;
}
.services-tab.active {
  color: #fff;
  background: var(--red);
  box-shadow: 0 2px 8px rgba(229,57,53,.30);
}
.services-tab:hover:not(.active) {
  color: var(--ink);
  background: rgba(255,255,255,.7);
}
.services-panel { display: none; }
.services-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--red);
  transform: translateY(-2px);
}
.service-card--strip { display:flex; padding:0; overflow:hidden; }
.service-card-strip { width:38px; flex-shrink:0; background:var(--red); display:flex; align-items:center; justify-content:center; padding:16px 0; transition:background var(--t); }
.service-card--strip:hover .service-card-strip { background:var(--red-dark); }
.service-card-strip-label { writing-mode:vertical-rl; transform:rotate(180deg); color:#fff; font-size:14px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.service-card-body { padding:28px 22px; flex:1; display:flex; flex-direction:column; min-width:0; }
.service-card-body .service-icon { margin-bottom:14px; }
.service-card-body .service-name { margin-bottom:8px; }
.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--ink-2);
}
.service-icon svg { width: 42px !important; height: 42px !important; stroke-width: 1.2; }

.service-card__headshot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.service-card__headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Platform card grid (contact page – Choose How You'd Like to Connect) */
.platform-grid { display:grid; grid-template-columns:repeat(var(--pcols,3),1fr); gap:24px; margin-top:40px; align-items:stretch; }
.platform-card { background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); padding:32px; display:flex; flex-direction:column; gap:10px; transition:box-shadow var(--t),border-color var(--t),transform var(--t); }
.platform-card:hover { box-shadow:var(--shadow-md); border-color:var(--red); transform:translateY(-3px); }
.platform-card--featured { background:var(--red); border-color:var(--red); }
.platform-card--featured:hover { box-shadow:0 12px 40px rgba(220,60,40,.35); border-color:var(--red); transform:translateY(-3px); }
.platform-icon { width:64px; height:64px; border-radius:50%; background:rgba(220,60,40,.08); display:flex; align-items:center; justify-content:center; margin-bottom:6px; color:var(--red); flex-shrink:0; }
.platform-card--featured .platform-icon { background:rgba(255,255,255,.2); color:#fff; }
.platform-icon svg { width:28px !important; height:28px !important; stroke-width:1.5; }
.platform-label { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); margin:0; }
.platform-card--featured .platform-label { color:rgba(255,255,255,.75); }
.platform-headline { font-size:18px; font-weight:800; color:var(--ink); line-height:1.25; margin:0; word-break:break-all; }
.platform-card--featured .platform-headline { color:#fff; }
.platform-body { font-size:14px; color:var(--ink-2); line-height:1.65; margin:0; flex:1; }
.platform-card--featured .platform-body { color:rgba(255,255,255,.85); }
.platform-cta { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--red); text-decoration:none; margin-top:auto; padding-top:4px; transition:gap var(--t); }
.platform-cta:hover { gap:10px; }
.platform-card--featured .platform-cta { color:#fff; }
@media (max-width:768px) { .platform-grid { grid-template-columns:1fr; } }

/* Delivery Center section (contact page – Based in Pune) */
.fs-dc-section { padding:88px 0; margin-top:40px; border-top:1px solid var(--border); }
.fs-dc-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.fs-dc-photo-wrap { position:relative; border-radius:var(--r-xl); overflow:hidden; }
.fs-dc-photo { width:100%; aspect-ratio:4/3; background:#1a1a2e; background-size:cover; background-position:center; }
.fs-dc-badge { position:absolute; bottom:20px; left:20px; background:#fff; border-radius:12px; padding:12px 16px; display:flex; align-items:center; gap:12px; box-shadow:0 4px 20px rgba(0,0,0,.15); }
.fs-dc-dot { width:10px; height:10px; background:#22c55e; border-radius:50%; flex-shrink:0; box-shadow:0 0 0 3px rgba(34,197,94,.2); animation:pulse-green 2s infinite; }
@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 3px rgba(34,197,94,.2);}50%{box-shadow:0 0 0 6px rgba(34,197,94,.08);} }
.fs-dc-badge-title { font-size:13px; font-weight:700; color:var(--ink); line-height:1.2; }
.fs-dc-badge-sub { font-size:11px; color:var(--ink-2); margin-top:2px; }
.fs-dc-h2 { font-size:clamp(24px,2.4vw,30px) !important; font-weight:800; color:var(--ink); line-height:1.25; margin:12px 0 14px; text-wrap:balance; }
.fs-dc-h2-sub { display:block; margin-top:6px; font-size:clamp(17px,1.5vw,19px); font-weight:700; color:var(--body); }
.fs-dc-body { font-size:15px; color:var(--ink-2); line-height:1.7; margin-bottom:28px; }
.fs-dc-row { display:flex; align-items:flex-start; gap:14px; padding:18px 0; }
.fs-dc-hr { border:none; border-top:1px solid var(--border); margin:0; }
.fs-dc-row-icon { width:40px; height:40px; background:rgba(220,60,40,.08); border-radius:10px; display:flex; align-items:center; justify-content:center; color:var(--red); flex-shrink:0; }
.fs-dc-row-label { font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); margin-bottom:4px; }
.fs-dc-row-val { font-size:14px; color:var(--ink); font-weight:500; }
.fs-dc-pills { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.fs-dc-pill { font-size:12px; background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:3px 10px; color:var(--ink); }
@media (max-width:900px) { .fs-dc-grid { grid-template-columns:1fr; gap:32px; } }

/* Media card grid (photo-top light style) */
.media-card { background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; display:flex; flex-direction:column; transition:box-shadow var(--t),transform var(--t); position:relative; }
.media-card::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform 0.35s ease; }
.media-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.media-card:hover::after { transform:scaleX(1); }
.media-card__img { aspect-ratio:4/3; overflow:hidden; }
.media-card__img img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.media-card__body { padding:28px 24px; display:flex; flex-direction:column; flex:1; }
.media-card__title { font-size:18px; font-weight:700; color:var(--ink); margin-bottom:10px; }
.media-card__desc { font-size:14px; color:var(--ink-2); line-height:1.65; flex:1; margin-bottom:16px; }
.media-card__link { font-size:14px; font-weight:600; color:var(--red); text-decoration:none; align-self:flex-start; }
.media-card__link:hover { text-decoration:underline; }

/* ── Numbered card grid ───────────────────────────────────────── */
.numbered-grid { display:grid; gap:24px; margin-top:40px; }
.numbered-grid--cols-2 { grid-template-columns:repeat(2,1fr); }
.numbered-grid--cols-3 { grid-template-columns:repeat(3,1fr); }
.numbered-grid--cols-4 { grid-template-columns:repeat(4,1fr); }
@media(max-width:900px) { .numbered-grid--cols-4 { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px) { .numbered-grid--cols-2,.numbered-grid--cols-3,.numbered-grid--cols-4 { grid-template-columns:1fr; } }
.numbered-card { position:relative; background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); padding:28px 24px 24px; display:flex; flex-direction:column; gap:12px; transition:box-shadow var(--t),transform var(--t); }
.numbered-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.numbered-badge { position:absolute; top:-14px; left:20px; width:32px; height:32px; border-radius:50%; background:var(--red); color:#fff; font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; line-height:1; }
.numbered-icon { color:var(--ink); }
.numbered-icon span[data-icon] { width:28px; height:28px; display:block; }
.numbered-title { font-size:16px; font-weight:700; color:var(--ink); line-height:1.35; margin:0; }
.numbered-body { font-size:14px; color:var(--ink-2); line-height:1.65; margin:0; flex:1; }
.numbered-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.numbered-tag { font-size:12px; font-weight:500; color:var(--ink-2); background:var(--surface); border:1px solid var(--border); border-radius:4px; padding:3px 8px; white-space:nowrap; }

.service-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t);
}
.service-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.service-bullets li::before {
  content: '\2713';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-link:hover { gap: 9px; }

/* ============================================================
   WHY FINSMART (COMPETITIVE)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.why-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 36px 26px 32px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(80,0,0,.22);
  transition: transform var(--t), box-shadow var(--t);
}
.why-card::after { /* red accent bar grows on hover */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(.25);
  transition: transform var(--t);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(80,0,0,.3); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(229,57,53,.1);
  transition: background var(--t), color var(--t);
}
.why-icon span { display: flex; }
.why-icon svg { width: 30px !important; height: 30px !important; stroke-width: 1.8; }
.why-card:hover .why-icon { background: var(--red); color: #fff; }
.why-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.why-body { font-size: 14.5px; color: var(--body); line-height: 1.6; }

/* Light surface variant (cards on white/grey sections): the original card look, kept separate from the
   bigger white cards used on the red "Difference Is in the Model" section. */
.why-grid--light .why-card,
.why-card--light { text-align: center; padding: 32px 20px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border); box-shadow: none; transition: background var(--t); }
.why-grid--light .why-card::after,
.why-card--light::after { display: none; }
.why-grid--light .why-card:hover,
.why-card--light:hover { transform: none; box-shadow: none; background: var(--surface); }
.why-grid--light .why-icon,
.why-card--light .why-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 0; background: none; color: var(--red); }
.why-grid--light .why-icon svg,
.why-card--light .why-icon svg { width: 46px !important; height: 46px !important; stroke-width: 1.2; }
.why-grid--light .why-card:hover .why-icon,
.why-card--light:hover .why-icon { background: none; color: var(--red); }
.why-grid--light .why-title,
.why-card--light .why-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.why-grid--light .why-body,
.why-card--light .why-body { font-size: 13px; line-height: 1.6; color: var(--body); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  padding: 28px 24px 80px;
  border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  min-height: 270px;
  text-decoration: none;
}
.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.industry-icon-lg {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-bottom: auto;
  flex-shrink: 0;
}
.industry-icon-lg svg {
  width: 52px !important;
  height: 52px !important;
  stroke-width: 1.2;
}

.industry-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 20px 0 6px;
  line-height: 1.4;
}
.industry-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
}
.industry-card--detail .industry-sub {
  font-size: 14px;
  line-height: 1.6;
}
.industry-card--detail {
  padding-bottom: 28px;
  min-height: 0;
}

.industry-arrow-btn {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t), background var(--t);
  flex-shrink: 0;
  z-index: 2;
}
.industry-card:hover .industry-arrow-btn {
  background: var(--red-dark);
  transform: scale(1.12);
}

.industry-stripes {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 7px,
    rgba(229,57,53,.09) 7px,
    rgba(229,57,53,.09) 9px
  );
  border-radius: 0 0 var(--r-lg) 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.testimonial-block::before {
  content: '\201C';
  position: absolute;
  top: 24px;
  left: 40px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--red);
  line-height: 1;
  opacity: .15;
}
.testimonial-text {
  font-size: 19px;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 28px;
  padding-top: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--red-tint-2);
  box-shadow: 0 0 0 2px var(--red);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.testimonial-stars {
  margin-bottom: 6px;
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ============================================================
   PRICING TEASER
   ============================================================ */
.pricing-teaser {
  background: var(--surface);
}
.pricing-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pricing-highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.price-from {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.price-amount span {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  vertical-align: baseline;
}
.price-note {
  font-size: 13px;
  color: var(--body);
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pricing-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.pricing-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
}
.pricing-bullet::before {
  content: '✓';
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--t), color var(--t);
  cursor: pointer;
}
.faq-q:hover { background: var(--surface); color: var(--red); }
.faq-q.open { background: var(--red-tint); color: var(--red-dark); }
.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.2s;
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  background: var(--red-tint);
}
.faq-item.open .faq-a { max-height: 400px; padding: 4px 28px 20px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-banner-sub {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn--white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.btn--white:hover { background: var(--red-tint); transform: translateY(-1px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--red);
  color: rgba(255,255,255,.9);
  border-top: 1px solid rgba(255,255,255,.2);
}
.site-footer .footer-address { color: rgba(255,255,255,.92) !important; }
.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: block;
}
.footer-logo span { color: var(--red); }
.footer-logo-img {
  display: block;
  height: 36px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
  max-width: 240px;
}
.footer-geo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.footer-geo-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  transition: color var(--t);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.92); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.92); transition: color var(--t); }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   TESTIMONIAL — EDITORIAL CAROUSEL
   ============================================================ */
.testi-section {
  background: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.testi-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: rgba(15,23,42,.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.testi-section .container { position: relative; z-index: 1; }
.testi-section--grey { background: var(--surface); }
.testi-header { margin-bottom: 52px; }

.testi-carousel { position: relative; min-height: 440px; }
.testi-slide {
  display: none;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
  animation: testi-in .5s var(--ease) both;
}
.testi-slide.active { display: grid; }
@keyframes testi-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.testi-photo-col { position: relative; }
.testi-counter {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: rgba(229,57,53,.08);
  position: absolute;
  top: -32px;
  left: -16px;
  pointer-events: none;
  user-select: none;
}
.testi-photo-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.testi-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.testi-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(15,23,42,.55) 100%);
}
.testi-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.testi-quote-col { display: flex; flex-direction: column; }
.testi-stars {
  font-size: 18px;
  color: #f59e0b;
  letter-spacing: 3px;
  margin-bottom: 24px;
}
.testi-quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 36px;
  padding-left: 24px;
  border-left: 3px solid var(--red);
  quotes: none;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-person-line {
  width: 40px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.testi-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.testi-role { font-size: 13px; color: var(--muted); }

.testi-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}
.testi-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: #fff;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.testi-arrow:hover { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot, .testi-dot-press {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  border: none;
  cursor: pointer;
  transition: background var(--t), width var(--t), border-radius var(--t);
  padding: 0;
}
.testi-dot.active, .testi-dot-press.active { background: var(--red); width: 28px; border-radius: 4px; }
.testi-all-link {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t);
}
.testi-all-link:hover { color: var(--red); }

@media (max-width: 960px) {
  .testi-carousel { min-height: auto; }
  .testi-slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .testi-photo-col { max-width: 320px; margin: 0 auto; width: 100%; }
  .testi-counter { display: none; }
  .testi-nav { margin-top: 32px; }
}

/* ============================================================
   TRUST BADGES (inside CTA banner)
   ============================================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.trust-badge svg {
  flex-shrink: 0;
  opacity: .9;
}

/* ============================================================
   COMPARISON TABLE SECTION
   ============================================================ */
.comparison-section { background: var(--bg); }

.comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid #c5cddd;
  margin-top: 48px;
  box-shadow: 0 4px 24px rgba(15,23,41,.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.comparison-th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #c5cddd;
}
.comparison-th--label {
  width: 18%;
  background: var(--surface);
  color: var(--ink);
}
.comparison-th--alt {
  width: 22%;
  background: var(--surface-2);
  color: var(--muted);
  letter-spacing: .03em;
}
.comparison-th--finsmart {
  width: 38%;
  background: var(--red);
  color: #fff;
  border-radius: 0 14px 0 0;
}
.comparison-brand {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}
.comparison-brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: .85;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.comparison-row-label {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border-top: 1px solid #c5cddd;
  vertical-align: top;
  white-space: nowrap;
}

.comparison-td {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
  border-top: 1px solid #c5cddd;
}
.comparison-td--alt {
  color: var(--body);
  background: #fff;
}
.comparison-td--finsmart {
  color: var(--ink);
  background: #fff;
  font-weight: 500;
  border-left: 3px solid var(--red);
}

.comparison-table tbody tr:nth-child(even) .comparison-td--alt {
  background: var(--surface);
}

@media (max-width: 600px) {
  .comparison-th, .comparison-td, .comparison-row-label { padding: 12px 14px; }
}

.ct-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.ct-summary-tabs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.ct-summary-tab {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}
.ct-summary-tab strong { color: var(--ink); font-weight: 700; }
.ct-summary-tab--active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.ct-summary-tab--active strong { color: #fff; }
@media (max-width: 600px) {
  .ct-summary-tabs { flex-direction: column; align-items: center; }
  .ct-summary-tab { white-space: normal; text-align: center; }
}

/* Contact Form */
.contact-form-section { background: var(--ink,#0f172a); }
.contact-form-inner { max-width: 620px; margin: 0 auto; background:#fff; border-radius:var(--r-xl); padding:48px; box-shadow:0 32px 80px rgba(0,0,0,.28); }
.contact-form-header { text-align: center; margin-bottom: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.cf-required { color: var(--red); }
.contact-form-input {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.contact-form-input:focus { border-color: var(--red); }
.contact-form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.contact-form-textarea { resize: vertical; min-height: 120px; }
.contact-form-footer { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-form-privacy { font-size: 12px; color: var(--muted); margin: 0; }
.contact-form-privacy a { color: var(--muted); text-decoration: underline; }
.contact-form-feedback {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.contact-form-feedback--success { background: #f0fdf4; color: #166534; border: 1.5px solid #bbf7d0; }
.contact-form-feedback--error   { background: #fff1f2; color: #991b1b; border: 1.5px solid #fecaca; }
@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* Capacity Model — CPA variant */
.cm-cpa-section { background: var(--surface); padding-bottom: 32px; }
.cm-cpa-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cm-cpa-pyramid-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.cm-cpa-svg { width: 100%; max-width: 100%; display: block; margin: 0 auto; }
.cm-cpa-axis-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.cm-cpa-axis-top { margin-bottom: 8px; }
.cm-cpa-axis-bottom { margin-top: 8px; }
.cm-cpa-cards { display: flex; flex-direction: column; gap: 16px; }
.cm-cpa-card {
  padding: 20px 24px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.cm-cpa-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.cm-cpa-card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
}
.cm-cpa-solutions-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.cm-cpa-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-cpa-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  color: var(--ink);
  background: var(--surface);
}
.cm-cpa-tagline {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 40px auto 0;
  max-width: 520px;
}
.cm-cpa-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 18px 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cm-cpa-step { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.cm-cpa-arrow { color: rgba(255,255,255,.75); font-size: 16px; }
@media (max-width: 768px) {
  .cm-cpa-inner { grid-template-columns: 1fr; gap: 32px; }
  .cm-cpa-svg { max-width: 320px; }
}

/* Hero deck + supporting */
.hero-deck {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 18px;
}
.hero-supporting {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 36px;
  max-width: 520px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-inner { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  .nav-menu { display: none; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 24px 20px;
    overflow-y: auto;
    z-index: 998;
    gap: 0;
  }
  /* backdrop-filter makes the nav the containing block for the fixed menu panel, which collapsed it to one row on iPhone and desktop Chrome */
  .site-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile {
    display: block;
    width: 100%;
    margin-top: 16px;
  }
  .nav-menu.mobile-open .nav-item { position: static; top: auto; }
  .mega-wrap, .nav-dropdown { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: none; padding: 8px 0 8px 16px; min-width: unset; width: 100%; display: none; }
  .nav-item.mega-open .mega-wrap,
  .nav-item.mega-open .nav-dropdown { display: block; }
  /* the desktop hover and open rules re-apply translateX(-50%), which pushed the open panel off the left edge on phones */
  .nav-item .mega-wrap, .nav-item .nav-dropdown,
  .nav-item:hover .mega-wrap, .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .mega-wrap, .nav-item:focus-within .nav-dropdown,
  .nav-item.mega-open .mega-wrap, .nav-item.mega-open .nav-dropdown { transform: none; left: auto; top: auto; }
  .mega-grid-solutions, .mega-grid-services { grid-template-columns: 1fr; gap: 0; }
  .mega-cta-panel { display: none; }
  .nav-link { height: 48px; padding: 0 4px; width: 100%; justify-content: space-between; }

  .hero { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .audience-grid { grid-template-columns: 1fr; }
  .seat-inner { grid-template-columns: 1fr; gap: 40px; }
  .seat-visual { order: -1; }
  .services-panel.active { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .stat-block + .stat-block::before { display: none; }
  .pricing-teaser-inner { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 30px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-panel.active { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .testimonial-block { padding: 28px 20px; }
  .testimonial-text { font-size: 16px; }
  .cta-banner { padding: 56px 0; }
  .section-title { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   BLOCK: FEATURE BAND
   ============================================================ */
.feature-band { background: var(--red); padding: 28px 0; }
.feature-band-inner { display:flex; align-items:center; gap:32px; flex-wrap:wrap; }
.feature-band-label { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.6); white-space:nowrap; flex-shrink:0; }
.feature-band-items { display:flex; align-items:center; gap:24px; flex-wrap:wrap; flex:1; }
.feature-band-item { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:#fff; white-space:nowrap; }
.feature-band-item::before { content:''; width:6px; height:6px; background:rgba(255,255,255,.5); border-radius:50%; flex-shrink:0; }

/* ============================================================
   BLOCK: CARD GRID
   ============================================================ */
.card-grid-section { padding:88px 0; }
.card-grid-section--surface { background:var(--surface); }
.card-grid-section--white { background:#fff; }
.card-grid { display:grid; gap:20px; }
.card-grid--cols-2 { grid-template-columns:repeat(2,1fr); }
.card-grid--cols-3 { grid-template-columns:repeat(3,1fr); }
.card-grid--cols-4 { grid-template-columns:repeat(4,1fr); }
.card-item { background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); padding:28px 24px; transition:box-shadow var(--t),border-color var(--t),transform var(--t); }
.card-item:hover { box-shadow:var(--shadow-md); border-color:var(--red); transform:translateY(-2px); }
.card-item--challenge .card-icon-wrap { width:52px; height:52px; border-radius:var(--r-md); background:var(--red-tint); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--red); }
.card-item--platform .card-icon-wrap { width:56px; height:56px; border-radius:50%; background:var(--surface); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.card-item-title { font-size:16px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.card-item-body { font-size:14px; color:var(--body); line-height:1.65; }
.card-item-link { display:inline-block; margin-top:12px; font-size:13px; font-weight:600; color:var(--red); text-decoration:none; }
.card-item-link:hover { text-decoration:underline; }
@media(max-width:960px){.card-grid--cols-3,.card-grid--cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.card-grid--cols-2,.card-grid--cols-3,.card-grid--cols-4{grid-template-columns:1fr}}

/* ============================================================
   BLOCK: TWO COL CONTENT
   ============================================================ */
.two-col-section { padding:88px 0; background:var(--surface); }
.two-col-inner { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.two-col-photo-wrap { position:relative; }
.two-col-photo { width:100%; border-radius:var(--r-xl); box-shadow:var(--shadow-lg); object-fit:cover; aspect-ratio:4/3; }
.two-col-badge { position:absolute; bottom:28px; left:-20px; background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 22px; box-shadow:var(--shadow-md); }
.two-col-badge-label { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.two-col-badge-price { font-family:var(--font-display); font-size:28px; font-weight:800; color:var(--ink); line-height:1; }
.two-col-badge-sub { font-size:12px; color:var(--muted); margin-top:4px; }
.two-col-badge--stat { display:flex; align-items:center; gap:14px; }
.two-col-badge--stat .two-col-badge-icon { flex-shrink:0; width:48px; height:48px; border-radius:50%; background:var(--red-tint-2); display:flex; align-items:center; justify-content:center; }
.two-col-badge--stat .two-col-badge-text { display:flex; flex-direction:column; gap:4px; }
.two-col-badge--stat .two-col-badge-num { font-family:var(--font-display); font-size:26px; font-weight:800; color:var(--red); line-height:1; }
.two-col-badge--stat .two-col-badge-sub { font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-top:0; }
.two-col-section--challenges .two-col-content-side .btn { margin-top:32px; }
.two-col-features { display:flex; flex-direction:column; gap:10px; margin:24px 0; }
.two-col-feature { display:flex; align-items:flex-start; gap:10px; font-size:15px; color:var(--body); line-height:1.6; }
.two-col-feature::before { content:'✓'; color:var(--red); font-weight:700; flex-shrink:0; margin-top:1px; }
.two-col-section--challenges .two-col-inner { gap:48px; }
.two-col-section--challenges .two-col-photo { aspect-ratio:unset; height:420px; }
.two-col-challenges { display:flex; flex-direction:column; gap:28px; margin-top:32px; }
.two-col-challenge { display:flex; align-items:flex-start; gap:18px; }
.two-col-challenge-icon { flex-shrink:0; width:44px; height:44px; }
.two-col-challenge-icon img { width:44px; height:44px; display:block; }
.two-col-challenge-title { font-size:16px; font-weight:700; color:var(--ink); margin-bottom:6px; }
.two-col-challenge-desc { font-size:14px; color:var(--body); line-height:1.65; }
@media(max-width:960px){.two-col-inner{grid-template-columns:1fr;gap:40px}.two-col-badge{left:0}}

/* ============================================================
   BLOCK: PROCESS STEPS
   ============================================================ */
.process-section { padding:88px 0; background:#fff; }
.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:0; }
.process-step { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:32px 28px; position:relative; transition:box-shadow var(--t),border-color var(--t); }
.process-step:hover { box-shadow:var(--shadow-md); border-color:var(--red); }
.process-step-num { font-family:var(--font-display); font-size:42px; font-weight:900; color:rgba(229,57,53,.08); line-height:1; margin-bottom:16px; }
.process-step-title { font-size:17px; font-weight:700; color:var(--ink); margin-bottom:10px; }
.process-step-body { font-size:14px; color:var(--body); line-height:1.65; }
@media(max-width:960px){.process-grid{grid-template-columns:1fr}}

/* ============================================================
   BLOCK: PRICING CARDS
   ============================================================ */
.pricing-section { padding:64px 0; background:var(--bg); }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.pricing-grid--two { grid-template-columns:repeat(2,minmax(0,420px)); justify-content:center; }
.pricing-grid--one { grid-template-columns:minmax(0,440px); justify-content:center; }
.pricing-card { background:#fff; border:1px solid var(--border); border-radius:var(--r-xl); padding:36px 32px; position:relative; display:flex; flex-direction:column; transition:box-shadow var(--t),border-color var(--t); }
.pricing-card--featured { border:2px solid var(--red); box-shadow:0 8px 40px rgba(229,57,53,.15); }
.pricing-card-badge { position:absolute; top:-14px; left:24px; display:inline-block; background:var(--red); color:#fff; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:4px 14px; border-radius:var(--r-full); }
.pricing-card-icon { margin-bottom:20px; }
.pricing-card-icon--featured { background:var(--red-tint); }
.pricing-card-name { font-size:20px; font-weight:800; color:var(--ink); margin-bottom:4px; text-transform:none; letter-spacing:0; }
.pricing-card-desc { font-size:13px; color:var(--muted); margin-bottom:20px; line-height:1.5; }
.pricing-price-block { margin-bottom:12px; }
.pricing-amount-wrap { display:flex; align-items:baseline; gap:4px; margin-bottom:6px; }
.pricing-card-amount { font-size:36px; font-weight:900; color:var(--ink); line-height:1; }
.pricing-card-amount--featured { color:var(--red); }
.pricing-card-amount--secondary { font-size:24px; font-weight:800; }
.pricing-card-period { font-size:15px; font-weight:600; color:var(--muted); }
.pricing-card-or { font-size:14px; color:var(--muted); margin:4px 0; }
.pricing-card-note { font-size:13px; color:var(--body); margin-top:10px; }
.pricing-card-features { flex:1; display:flex; flex-direction:column; gap:10px; margin:14px 0; }
.pricing-card-feature { display:flex; align-items:flex-start; gap:8px; font-size:14px; color:var(--body); }
.pricing-card-feature::before { content:'✓'; color:var(--red); font-weight:700; flex-shrink:0; margin-top:1px; }
.pricing-card--featured .pricing-card-feature::before { color:var(--red); }
.pricing-footer-note { text-align:center; font-size:13px; color:var(--muted); margin-top:32px; }
@media(max-width:960px){.pricing-grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}}

/* ============================================================
   BLOCK: EXPERT CALLOUT
   ============================================================ */
.expert-callout { padding:64px 0; background:var(--surface); }
.expert-callout-inner { max-width:780px; margin:0 auto; background:#fff; border-left:4px solid var(--red); border-radius:0 var(--r-lg) var(--r-lg) 0; padding:36px 40px; box-shadow:var(--shadow-sm); }
.expert-callout-label { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--red); margin-bottom:20px; }
.expert-callout-quote { font-family:var(--font-display); font-size:clamp(18px,2vw,22px); font-style:italic; color:var(--ink-2); line-height:1.65; margin-bottom:24px; quotes:none; }
.expert-callout-name { font-size:15px; font-weight:700; color:var(--ink); }
.expert-callout-role { font-size:13px; color:var(--muted); }
.expert-callout--action .expert-callout-action-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; background:#fff; border-left:4px solid var(--red); border-radius:0 var(--r-lg) var(--r-lg) 0; padding:28px 36px; box-shadow:var(--shadow-sm); }
.expert-callout--action .expert-callout-action-text { font-size:clamp(16px,1.6vw,19px); font-weight:700; color:var(--ink); line-height:1.5; flex:1; }
.expert-callout--action .btn { white-space:nowrap; flex-shrink:0; }
@media (max-width:640px) { .expert-callout--action .expert-callout-action-inner { flex-direction:column; align-items:flex-start; } }

/* ============================================================
   BLOCK: CAPACITY MODEL (SMARTER-WAY / PYRAMID)
   ============================================================ */
.smarter-way { background: var(--surface); }

.pyramid-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}
.pyramid-panel {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.capacity-col-header {
  padding: 24px 24px 20px;
  text-align: center;
}
.capacity-col-badge {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.3;
}
.capacity-col-sub {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.4;
}
.pyramid-svg-wrap {
  padding: 20px 16px 24px;
}
.capacity-functions {
  margin-top: 36px;
  text-align: center;
}
.capacity-functions-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.capacity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.capacity-tag {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--red);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  background: #fff;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(229,57,53,.12);
  transition: background .2s, color .2s;
}
.capacity-tag:hover { background: var(--red); color: #fff; }
@media (max-width: 840px) {
  .pyramid-panels { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM PAGE — Three-Tier Band
   ============================================================ */
.three-tier-band {
  background: var(--red);
  padding: 18px 0;
}
.three-tier-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.three-tier-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-right: 8px;
  white-space: nowrap;
}
.three-tier-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.three-tier-item [data-icon] svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,.9);
}

/* ============================================================
   TEAM PAGE — Leadership Grid
   ============================================================ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.leader-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.leader-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.leader-photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light);
}
.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.leader-photo--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light) 0%, #e8ecf0 100%);
}
.leader-body {
  padding: 20px 22px 22px;
}
.leader-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 4px;
  line-height: 1.3;
}
.leader-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.leader-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 14px;
}
.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.leader-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  background: var(--light);
}
@media (max-width: 1024px) {
  .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .leadership-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM PAGE — Team Roles
   ============================================================ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}
.role-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 10px;
}
.role-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 18px;
}
.role-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.role-check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--red-rgb, 208,42,42),.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.role-check-icon svg {
  stroke: var(--red);
  width: 11px;
  height: 11px;
}
@media (max-width: 900px) {
  .roles-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   TEAM PAGE — Accountants Grid
   ============================================================ */
.accountants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.accountant-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.accountant-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.accountant-photo-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--light);
}
.accountant-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.accountant-photo--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light) 0%, #e8ecf0 100%);
}
.accountant-body {
  padding: 14px 14px 18px;
}
.accountant-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 3px;
}
.accountant-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.accountant-spec {
  font-size: 12px;
  color: var(--body);
  margin: 0;
  opacity: .8;
}
@media (max-width: 1024px) {
  .accountants-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .accountants-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 420px) {
  .accountants-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM PAGE — Value Split (2-col photo + value list)
   ============================================================ */
.value-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.value-split-photo-wrap {
  position: relative;
}
.value-split-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.value-split-photo--placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: var(--light);
}
.value-split-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--red);
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(208,42,42,.35);
}
.value-split-badge-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.value-split-badge-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: 4px;
}
.value-split-content { }
.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.value-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.value-list-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--red-rgb, 208,42,42),.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-list-icon [data-icon] svg {
  stroke: var(--red);
  width: 18px;
  height: 18px;
}
.value-list-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  padding-top: 9px;
}
@media (max-width: 900px) {
  .value-split { grid-template-columns: 1fr; gap: 40px; }
  .value-split-badge { right: 16px; }
}

/* ============================================================
   TEAM PAGE — Values Strip (4-col)
   ============================================================ */
.values-strip {
  background: var(--heading);
  padding: 56px 0;
}
.values-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.values-strip-item {
  text-align: center;
}
.values-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  margin-bottom: 14px;
}
.values-strip-icon [data-icon] svg {
  stroke: #fff;
  width: 22px;
  height: 22px;
}
.values-strip-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.values-strip-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0;
}
@media (max-width: 900px) {
  .values-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 520px) {
  .values-strip-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDIES — Stats Band
   ============================================================ */
.stats-band {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.stats-band-item {
  text-align: center;
}
.stats-band-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.stats-band-label {
  display: block;
  font-size: 13px;
  color: var(--body);
  margin-top: 4px;
}

/* ============================================================
   CASE STUDIES — Filter Tabs
   ============================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}
.filter-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ============================================================
   CASE STUDIES — CS Grid
   ============================================================ */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.cs-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.cs-card[hidden] { display: none; }
.cs-card-photo {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light);
}
.cs-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.cs-card:hover .cs-card-photo img { transform: scale(1.04); }
.cs-card-photo--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light) 0%, #e2e8ef 100%);
}
.cs-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.25));
  pointer-events: none;
}
.cs-card-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.cs-card-industry-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.cs-card-body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cs-card-client {
  font-size: 12px;
  font-weight: 600;
  color: var(--body);
  opacity: .65;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cs-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 10px;
  line-height: 1.4;
}
.cs-card-challenge {
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 16px;
  flex: 1;
}
.cs-card-results {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.cs-result-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 72px;
}
.cs-result-pill-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.cs-result-pill-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--body);
  opacity: .7;
  text-align: center;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cs-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s;
}
.cs-card-cta:hover { gap: 10px; }
@media (max-width: 1024px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDIES — CS Featured
   ============================================================ */
.cs-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.cs-featured-photo-col {
  position: relative;
}
.cs-featured-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.cs-featured-photo--placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: var(--light);
}
.cs-featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.cs-featured-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.cs-featured-stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.cs-featured-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--body);
  opacity: .7;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cs-featured-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.cs-featured-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.cs-featured-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 16px;
  line-height: 1.3;
}
.cs-featured-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 20px;
}
.cs-challenge-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 20px;
}
.cs-cs-box {
  border-radius: 12px;
  padding: 16px 18px;
}
.cs-cs-box--challenge {
  background: rgba(208,42,42,.06);
  border: 1px solid rgba(208,42,42,.18);
}
.cs-cs-box--solution {
  background: rgba(22,163,74,.06);
  border: 1px solid rgba(22,163,74,.18);
}
.cs-cs-box-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--body);
  opacity: .7;
  margin-bottom: 6px;
}
.cs-cs-box p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}
@media (max-width: 900px) {
  .cs-featured { grid-template-columns: 1fr; gap: 32px; }
  .cs-challenge-solution { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cs-featured-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cs-featured-stat-num { font-size: 18px; }
}

/* ============================================================
   CASE STUDIES — Hero badge
   ============================================================ */
.cs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════════
   CAREERS BLOCKS — Job Listings, Culture Split, Dev Grid,
   Photo Gallery, Hiring Process Steps
   ═══════════════════════════════════════════════════════════════ */

/* ── Job Listings ───────────────────────────────────────────── */
.jobs-list { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.job-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 28px 32px; display: flex; align-items: flex-start; gap: 24px; transition: box-shadow var(--t), border-color var(--t), transform var(--t); }
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--red); transform: translateY(-2px); }
.job-card--featured { border-color: var(--red); border-width: 2px; background: var(--red-tint); }
.job-icon-wrap { flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--r-md); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.job-card--featured .job-icon-wrap { background: rgba(229,57,53,.1); }
.job-body { flex: 1; min-width: 0; }
.job-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.job-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
.job-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: var(--red-tint); color: var(--red); }
.job-tag--green { background: #f0fdf4; color: #16a34a; }
.job-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.job-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.job-meta-item svg { flex-shrink: 0; }
.job-desc { font-size: 14px; color: var(--body); line-height: 1.65; margin-bottom: 0; }
.job-cta-wrap { flex-shrink: 0; display: flex; align-items: center; }
.job-apply-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: var(--r-md); font-size: 14px; font-weight: 700; text-decoration: none; background: var(--red); color: #fff; transition: background var(--t), box-shadow var(--t); white-space: nowrap; }
.job-apply-btn:hover { background: var(--red-dark); box-shadow: 0 4px 14px rgba(229,57,53,.3); }
.job-apply-btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.job-apply-btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
@media (max-width: 680px) { .job-card { flex-direction: column; gap: 16px; } .job-cta-wrap { width: 100%; } .job-apply-btn { width: 100%; justify-content: center; } }

/* ── Culture Split ──────────────────────────────────────────── */
.culture-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .culture-split { grid-template-columns: 1fr; gap: 40px; } }
.culture-photo-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.culture-photo { width: 100%; height: 420px; object-fit: cover; display: block; }
.culture-badge { position: absolute; bottom: 24px; left: 24px; background: #fff; border-radius: var(--r-lg); padding: 16px 20px; box-shadow: 0 8px 28px rgba(0,0,0,.12); display: flex; align-items: center; gap: 12px; }
.culture-badge-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.culture-badge-num { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1; }
.culture-badge-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.culture-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.culture-list-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); transition: box-shadow var(--t); }
.culture-list-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.culture-list-check { flex-shrink: 0; width: 22px; height: 22px; background: var(--red-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.culture-list-text { font-size: 14px; color: var(--body); line-height: 1.6; }
.culture-list-text strong { color: var(--ink); display: block; font-size: 15px; margin-bottom: 2px; }

/* ── Dev Cards (Professional Development) ───────────────────── */
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 960px) { .dev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dev-grid { grid-template-columns: 1fr; } }
.dev-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 24px; text-align: center; transition: box-shadow var(--t), transform var(--t); }
.dev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dev-card-icon { width: 56px; height: 56px; background: var(--surface); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.dev-card-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.dev-card-body { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── Team Photo Grid ────────────────────────────────────────── */
.team-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 720px) { .team-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .team-photo-grid { grid-template-columns: 1fr; } }
.team-photo-item { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.team-photo-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform var(--t); }
.team-photo-item:hover img { transform: scale(1.04); }
.team-photo-item--tall img { height: 320px; }

/* ── Hiring Process Steps ───────────────────────────────────── */
.hiring-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; position: relative; }
@media (max-width: 860px) { .hiring-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hiring-steps { grid-template-columns: 1fr; } }
.hiring-step { text-align: center; padding: 32px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); position: relative; transition: box-shadow var(--t), transform var(--t); }
.hiring-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hiring-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.hiring-step-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.hiring-step-body { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Split Feature (why-finsmart split variant) ──────────────── */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) { .split-feature { grid-template-columns: 1fr; gap: 40px; } }
.split-feature-img { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.split-feature-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.split-feature-img-badge { position: absolute; bottom: 20px; left: 20px; background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: 0 8px 32px rgba(0,0,0,.12); display: flex; align-items: center; gap: 12px; }
.split-feature-img-badge-icon { width: 40px; height: 40px; background: var(--red-tint); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.split-feature-img-badge strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.split-feature-img-badge span { font-size: 11px; color: var(--muted); }
.split-feature-content { display: flex; flex-direction: column; gap: 20px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }

/* ── Content + Photo Split ───────────────────────────────────── */
.cps-section { padding: 88px 0; }
.cps-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) { .cps-inner { grid-template-columns: 1fr; gap: 40px; } }
.cps-content { display: flex; flex-direction: column; gap: 20px; }
.cps-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.cps-photo { width: 100%; height: 480px; object-fit: cover; object-position: center 20%; display: block; border-radius: var(--r-lg); }
@media (max-width: 768px) { .cps-photo { height: 280px; } }
/* Feature items */
.cps-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.cps-item { display: flex; align-items: flex-start; gap: 14px; }
.cps-item-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--red); }
.cps-item-copy { display: flex; flex-direction: column; gap: 4px; }
.cps-item-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.cps-item-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }
/* Bullet list */
.cps-bullets { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 0; }
.cps-bullet { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--ink); line-height: 1.5; }
.cps-bullet:last-child { border-bottom: none; }
.cps-bullet-icon { flex-shrink: 0; width: 18px; height: 18px; background: var(--red-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
/* Floating badge */
.cps-float-badge { position: absolute; bottom: 20px; right: 20px; background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: 0 8px 32px rgba(0,0,0,.12); display: flex; align-items: center; gap: 12px; max-width: 260px; }
.cps-float-badge-icon { width: 40px; height: 40px; background: var(--red-tint); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); }
.cps-float-badge-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.cps-float-badge-text span { font-size: 11px; color: var(--muted); }
/* Floating data card */
.cps-float-card { position: absolute; bottom: 20px; right: 20px; background: #fff; border-radius: var(--r-md); padding: 20px 22px; box-shadow: 0 8px 32px rgba(0,0,0,.12); min-width: 260px; max-width: 320px; }
.cps-float-card-title { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.cps-float-card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.cps-float-card-row:first-of-type { border-top: none; padding-top: 0; }
.cps-float-card-row-label { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cps-float-card-row-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cps-float-card-row-amount { font-size: 14px; font-weight: 700; color: var(--red); white-space: nowrap; flex-shrink: 0; }
/* ── Also Included Callout ─────────────────────────────────────── */
.ai-section { padding: 88px 0; }
.ai-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border-radius: var(--r-lg); padding: 48px; }
@media (max-width: 768px) { .ai-box { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; } }
.ai-content { display: flex; flex-direction: column; gap: 16px; }
.ai-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--ink); line-height: 1.3; margin: 0; }
.ai-body { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }
.ai-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-content: start; }
@media (max-width: 480px) { .ai-list { grid-template-columns: 1fr; } }
.ai-item { display: flex; align-items: flex-start; gap: 10px; }
.ai-check { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.ai-item span { font-size: 14px; color: var(--ink); line-height: 1.5; font-weight: 500; }
/* ── Why Split — Expertise ─────────────────────────────────────── */
.ws-section { padding: 88px 0; }
.ws-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
@media (max-width: 860px) { .ws-split { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; } }
.ws-content { display: flex; flex-direction: column; gap: 0; }
.ws-col-title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; color: var(--ink); margin: 0 0 16px; }
.ws-col-body { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }
.ws-check-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ws-check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--body, #374151); line-height: 1.55; }
.ws-check-dot { width: 22px; height: 22px; background: var(--red-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.ws-check-dot svg { display: block; }
.ws-visual { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.ws-visual img { width: 100%; height: 420px; object-fit: cover; display: block; }
@media (max-width: 480px) { .ws-visual img { height: 260px; } }
.ws-badge { position: absolute; bottom: 24px; left: 24px; background: var(--red); color: #fff; border-radius: var(--r-md, 10px); padding: 16px 20px; max-width: 220px; }
.ws-badge-num { font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.ws-badge-label { font-size: 12px; line-height: 1.4; opacity: .9; }
/* ── Feature Checklist Cards ─────────────────────────────────────── */
.fcl-section { padding: 88px 0; }
.fcl-grid { display: grid; gap: 32px; margin-top: 48px; align-items: start; }
.fcl-grid--2 { grid-template-columns: 1fr 1fr; }
.fcl-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .fcl-grid--2, .fcl-grid--3 { grid-template-columns: 1fr; } }
.fcl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.fcl-head { background: var(--surface); padding: 20px 28px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.fcl-head-icon { width: 44px; height: 44px; background: var(--red-tint); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); }
.fcl-head-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.fcl-head-sub { font-size: 12px; color: var(--ink-2); margin: 0; line-height: 1.4; }
.fcl-head { align-items: flex-start; }
.fcl-body { padding: 24px 28px; }
.fcl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fcl-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--body, #374151); line-height: 1.5; }
.fcl-bullet { width: 20px; height: 20px; background: var(--red-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fcl-bullet svg { display: block; }

/* ── Why Split — flip variant ────────────────────────────────────── */
.ws-split--flip .ws-visual { order: -1; }
@media (max-width: 860px) { .ws-split--flip .ws-visual { order: 0; } }

/* ── Pricing Cards ───────────────────────────────────────────────── */
.pc-section { padding: 88px 0; }
.pc-grid { display: grid; gap: 24px; margin-top: 48px; align-items: stretch; }
.pc-grid--1 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
.pc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pc-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .pc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pc-grid--2, .pc-grid--3, .pc-grid--4 { grid-template-columns: 1fr; } }
.pc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px 28px; display: flex; flex-direction: column; position: relative; }
.pc-card--popular { border: 2px solid var(--red); box-shadow: 0 8px 32px rgba(229,57,53,.12); }
.pc-popular-pill { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 18px; border-radius: var(--r-full); white-space: nowrap; }
.pc-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.pc-price-row { display: flex; align-items: flex-end; gap: 4px; margin: 0 0 6px; }
.pc-price { font-size: 52px; font-weight: 800; line-height: 1; color: var(--ink); font-family: var(--font-display); }
.pc-card--popular .pc-price { color: var(--red); }
.pc-price-unit { font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.pc-monthly { font-size: 13px; color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.pc-monthly strong { color: var(--ink-2); }
.pc-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 20px; }
.pc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body, #374151); line-height: 1.5; }
.pc-item-check { flex-shrink: 0; margin-top: 2px; display: flex; }
.pc-cta { display: block; text-align: center; padding: 13px 20px; border-radius: var(--r-md); font-size: 15px; font-weight: 700; text-decoration: none; margin-top: 24px; transition: background var(--t), color var(--t), border-color var(--t); font-family: var(--font-display); }
.pc-cta--outline { border: 2px solid var(--border-2); color: var(--ink); background: transparent; }
.pc-cta--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pc-cta--filled { background: var(--red); color: #fff; border: 2px solid var(--red); }
.pc-cta--filled:hover { background: var(--red-dark); border-color: var(--red-dark); }
.feature-list-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-list-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.feature-list-icon svg { display: block; }
.feature-list-text h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.feature-list-text p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Process Timeline (hiw-timeline layout) ──────────────────── */
.hiw-timeline { display: flex; align-items: flex-start; margin-top: 56px; position: relative; }
.hiw-timeline::before { content: ''; position: absolute; top: 30px; left: calc(12.5% + 30px); right: calc(12.5% + 30px); height: 2px; background: linear-gradient(to right, var(--red) 0%, rgba(229,57,53,.25) 100%); z-index: 0; }
.hiw-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.hiw-node { width: 60px; height: 60px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red), 0 6px 24px rgba(229,57,53,.22); margin-bottom: 28px; letter-spacing: -.01em; }
.hiw-step-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 8px; }
.hiw-step-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.hiw-step-body { font-size: 13px; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) {
  .hiw-timeline { flex-direction: column; gap: 0; }
  .hiw-timeline::before { top: 30px; left: 30px; bottom: 30px; right: auto; width: 2px; height: auto; background: linear-gradient(to bottom, var(--red) 0%, rgba(229,57,53,.25) 100%); }
  .hiw-step { flex-direction: row; text-align: left; align-items: flex-start; padding: 0 0 36px 0; gap: 24px; }
  .hiw-step:last-child { padding-bottom: 0; }
  .hiw-node { margin-bottom: 0; }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE BLOCKS
   ══════════════════════════════════════════════════════════════ */

/* ── Page Hero – Fullbleed Layout ───────────────────────────── */
.hero--fullbleed { position: relative; overflow: hidden; padding: 0; }
.hero--fullbleed .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero--fullbleed .hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.22) 100%); }
.hero--fullbleed .container { position: relative; z-index: 2; }
.hero--fullbleed .hero-inner { grid-template-columns: 1fr; }
.hero--fullbleed .hero-content { max-width: 680px; padding: 100px 0 80px; }
.hero--fullbleed .hero-eyebrow { color: rgba(255,255,255,.9); background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); }
.hero--fullbleed .hero-title { color: #fff; }
.hero--fullbleed .hero-title em { font-style: normal; color: var(--red, #e53e3e); }
.hero--fullbleed .hero-deck { color: rgba(255,255,255,.85); }
.hero--fullbleed .hero-sub { color: rgba(255,255,255,.7); }
.hero--fullbleed .hero-trust-item { color: rgba(255,255,255,.75); }
.hero--fullbleed .hero-trust-dot { background: rgba(255,255,255,.5); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); color: #fff; }
.hero-reviewer { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.hero-reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.35); flex-shrink: 0; }
.hero-reviewer-text { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.4; margin: 0; }
.hero-reviewer-text strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .hero--fullbleed .hero-content { padding: 80px 0 60px; } }
/* Light tone: bright photo, white fade on the left, dark text */
.hero--fullbleed.hero--light .hero-bg { object-position: right top; }
.hero--fullbleed.hero--light .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 62%); }
.hero--fullbleed.hero--light .hero-eyebrow { color: var(--red); background: var(--red-tint, #fff0f0); border-color: rgba(229,57,53,.2); }
.hero--fullbleed.hero--light .hero-title { color: var(--ink); }
.hero--fullbleed.hero--light .hero-deck { color: var(--ink); }
.hero--fullbleed.hero--light .hero-sub { color: var(--body); }
.hero--fullbleed.hero--light .hero-trust-item { color: var(--body); }
.hero--fullbleed.hero--light .hero-trust-dot { background: var(--red); }
.hero--fullbleed.hero--light .btn--ghost-light { color: var(--ink); border-color: var(--ink); background: transparent; }
.hero--fullbleed.hero--light .btn--ghost-light:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .hero--fullbleed.hero--light .hero-bg { object-position: 78% top; }
  .hero--fullbleed.hero--light .hero-overlay { background: rgba(255,255,255,.86); }
}

/* ── About Hero ─────────────────────────────────────────────── */
.about-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.about-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.2) 100%); }
.about-hero .container { position: relative; z-index: 2; }
.about-hero-content { max-width: 700px; padding: 100px 0 80px; }
.about-hero-title { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 900; color: #fff; line-height: 1.1; margin: 12px 0 20px; }
.about-hero-title em { font-style: normal; color: var(--red-lt, #ff6b6b); }
.about-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 580px; margin-bottom: 32px; }
.about-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.about-hero-badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); }
@media (max-width: 640px) { .about-hero-content { padding: 80px 0 60px; } .about-hero-title { font-size: 2rem; } }
/* Centred variant (Leaders page): even overlay, text centred over the photo */
.about-hero--center { min-height: 600px; }
.about-hero--center .about-hero-overlay { background: rgba(0,0,0,.52); }
.about-hero--center .about-hero-content { margin: 0 auto; padding: 80px 0; text-align: center; }
.about-hero--center .about-hero-title { margin: 8px 0 12px; }
.about-hero--center .about-hero-title em { color: var(--red); }
.about-hero--center .about-hero-sub { margin-bottom: 0; }
@media (max-width: 760px) {
  .about-hero--center { min-height: 460px; }
  .about-hero--center .about-hero-content { padding: 64px 0; }
}
.about-hero--center .eyebrow { justify-content: center; }
.about-hero--center .about-hero-sub { margin-left: auto; margin-right: auto; }
.about-hero--center .about-hero-badges { justify-content: center; }

/* ── Story Split ─────────────────────────────────────────────── */
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .story-split { grid-template-columns: 1fr; gap: 48px; } }
.story-body-text { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }

/* Timeline */
.timeline { margin-top: 36px; position: relative; padding-left: 0; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 28px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 22px; top: 46px; bottom: -28px; width: 2px; background: var(--border); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; z-index: 1; }
.timeline-dot--fill { background: var(--ink); }
.timeline-content { padding-top: 4px; }
.timeline-year { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.timeline-event { font-size: 15px; font-weight: 700; color: var(--ink); }
.timeline-detail { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Horizontal Timeline */
.htl-wrap { margin-top: 64px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.htl-track { display: flex; align-items: stretch; position: relative; min-width: 560px; }
.htl-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--border); transform: translateY(-50%); z-index: 0; }
.htl-item { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.htl-above { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 8px 20px; min-height: 130px; }
.htl-below { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; padding: 20px 8px 0; min-height: 130px; }
.htl-dot { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1.15; text-align: center; flex-shrink: 0; position: relative; z-index: 2; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red); }
.htl-dot--dark { background: var(--ink); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ink); }
.htl-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.htl-event { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.htl-detail { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
@media (max-width: 700px) { .htl-wrap { margin-top: 40px; } .htl-dot { width: 44px; height: 44px; min-width: 44px; font-size: 10px; } .htl-above, .htl-below { min-height: 100px; font-size: 11px; } }

/* Story photo */
.story-photo-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.story-photo-wrap img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; }
.story-photo-badge { position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,.7); color: #fff; padding: 9px 16px; border-radius: var(--r-md); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(4px); }
.story-photo-badge svg { opacity: .75; }

/* ── Mission/Vision ──────────────────────────────────────────── */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px 36px; border-top: 4px solid var(--red); transition: box-shadow var(--t), transform var(--t); }
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mv-card--vision { border-top-color: #e65100; }
.mv-card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: 12px; }
.mv-card-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 14px; }
.mv-card-body { font-size: .95rem; color: var(--muted); line-height: 1.75; }

/* ══════════════════════════════════════════════════════════════
   PRESS PAGE BLOCKS
   ══════════════════════════════════════════════════════════════ */

/* ── Press Logos ─────────────────────────────────────────────── */
.press-logos-section { padding: 52px 0; border-bottom: 1px solid var(--border); }
.press-logos-label { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 36px; }
.press-logos-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; }
.press-logo-item img { height: 32px; width: auto; max-width: 140px; filter: grayscale(1) opacity(.55); transition: filter var(--t); display: block; }
.press-logo-item:hover img { filter: grayscale(0) opacity(1); }
@media (max-width: 600px) { .press-logos-grid { gap: 24px 36px; } .press-logo-item img { height: 26px; } }

/* ── Press Awards ────────────────────────────────────────────── */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 860px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .awards-grid { grid-template-columns: 1fr; } }
.award-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; text-align: center; position: relative; transition: box-shadow var(--t), transform var(--t); border-top: 3px solid var(--red); }
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.award-year { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; letter-spacing: .06em; }
.award-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.award-org { font-size: 12px; color: var(--muted); }

/* ── Press Cards ─────────────────────────────────────────────── */
.press-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 900px) { .press-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .press-cards-grid { grid-template-columns: 1fr; } }
.press-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t), transform var(--t); }
.press-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.press-card-img { aspect-ratio: 16/9; overflow: hidden; }
.press-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t); }
.press-card:hover .press-card-img img { transform: scale(1.04); }
.press-card-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.press-card-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.press-card-source { font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.press-card-date { font-size: 12px; color: var(--muted); }
.press-card-headline { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
.press-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; }
.press-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; margin-top: 16px; transition: gap var(--t); }
.press-card-link:hover { gap: 10px; }

/* ── Press Releases ──────────────────────────────────────────── */
.press-releases-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.press-release-item { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.press-release-item:first-child { border-top: 1px solid var(--border); }
@media (max-width: 700px) { .press-release-item { grid-template-columns: 1fr; gap: 8px; } }
.press-release-meta { padding-top: 4px; }
.press-release-date { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.press-release-cat { display: inline-block; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .07em; }
.press-release-headline { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.press-release-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.press-release-link { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.press-release-link:hover { text-decoration: underline; }

/* ── Press Recognition ───────────────────────────────────────── */
.recognition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 640px) { .recognition-grid { grid-template-columns: 1fr; } }
.recognition-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); transition: box-shadow var(--t); }
.recognition-item:hover { box-shadow: var(--shadow-sm); }
.recognition-icon { width: 44px; height: 44px; min-width: 44px; border-radius: var(--r-md); background: rgba(var(--red-rgb, 200,30,30),.08); display: flex; align-items: center; justify-content: center; color: var(--red); }
.recognition-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.recognition-body { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Press Media Kit ─────────────────────────────────────────── */
.mediakit-band { background: var(--ink); padding: 80px 0; }
.mediakit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .mediakit-inner { grid-template-columns: 1fr; gap: 48px; } }
.mediakit-left .eyebrow { color: rgba(255,255,255,.6); }
.mediakit-left .eyebrow span { background: rgba(255,255,255,.12); }
.mediakit-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; margin: 12px 0 16px; }
.mediakit-body { font-size: .98rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 28px; }
.mediakit-cta { background: #fff; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.mediakit-cta:hover { background: var(--red); color: #fff; }
.mediakit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 480px) { .mediakit-grid { grid-template-columns: 1fr; } }
.mediakit-item { display: flex; gap: 14px; align-items: flex-start; }
.mediakit-item-icon { width: 40px; height: 40px; min-width: 40px; border-radius: var(--r-sm); background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.mediakit-item-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.mediakit-item-value { font-size: 14px; color: #fff; font-weight: 600; line-height: 1.5; }

/* ── Legal / Privacy Policy ───────────────────────────────────────────── */
.legal-page-wrap { padding: 80px 24px 100px; }
.legal-page-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--color-dark); margin-bottom: 6px; }
.legal-last-updated { font-size: 14px; color: var(--color-mid); margin-bottom: 40px; }
.legal-page-wrap h2.wp-block-heading { font-size: 20px; font-weight: 700; color: var(--color-dark); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--color-accent); }
.legal-page-wrap h3.wp-block-heading { font-size: 16px; font-weight: 700; color: var(--color-dark); margin: 24px 0 8px; }
.legal-page-wrap p, .legal-page-wrap li { font-size: 15px; line-height: 1.75; color: #444; }
.legal-page-wrap ul.wp-block-list { padding-left: 20px; margin: 8px 0 16px; }
.legal-page-wrap ul.wp-block-list li { margin-bottom: 6px; }
.legal-page-wrap a { color: var(--color-accent); text-decoration: underline; }

/* ── Restaurant POS Tech Stack Grid (finsmart-pos-grid block) ───────── */
.pos-grid-section { background: var(--surface, #f8f9fc); padding: var(--section-py, 80px) 0; }
.pos-grid-header { text-align: center; margin-bottom: 3rem; }
.pos-grid-header .section-title { margin-top: .75rem; }
.pos-grid-body { color: var(--muted, #666); font-size: .95rem; line-height: 1.65; max-width: 560px; margin: .75rem auto 0; }
.pos-grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .pos-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pos-grid-cards { gap: .75rem; } }
.pos-grid-card { min-width: 0; background: var(--bg, #fff); border: 1px solid #e4e9f2; border-radius: 10px; padding: 20px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: box-shadow var(--t, .2s); }
.pos-grid-card:hover { box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.08)); }
.pos-grid-logo-box { height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; }
.pos-grid-logo { width: auto; height: auto; max-width: min(190px, 100%); max-height: 44px; object-fit: contain; }
.pos-grid-name { font-weight: 700; font-size: 14px; color: var(--ink, #111); margin: 0; }
.pos-grid-role { font-size: 12px; color: var(--muted, #666); margin: 0; }

/* ── Auto Capacity Grid ──────────────────────────────────── */
.acg-section { background: var(--surface); }
.acg-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.acg-cell { position: relative; overflow: hidden; padding: 28px 24px 26px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background var(--t); }
.acg-cell:nth-child(3n) { border-right: none; }
.acg-cell:nth-child(4), .acg-cell:nth-child(5), .acg-cell:nth-child(6) { border-bottom: none; }
.acg-cell:hover { background: #fafbff; }
.acg-num { position: absolute; right: 14px; top: 6px; font-size: 60px; font-weight: 700; line-height: 1; color: var(--ink); opacity: .04; pointer-events: none; letter-spacing: -2px; transition: opacity var(--t); }
.acg-cell:hover .acg-num { opacity: .07; }
.acg-icon { display: block; margin-bottom: 14px; color: var(--red); }
.acg-icon [data-icon] svg { width: 20px; height: 20px; }
.acg-title { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 6px; line-height: 1.35; }
.acg-tasks { font-size: 14px; color: var(--body); line-height: 1.65; margin: 0; }
.acg-accent { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width .25s var(--ease); }
.acg-cell:hover .acg-accent { width: 100%; }
@media (max-width: 900px) { .acg-grid { grid-template-columns: repeat(2, 1fr); } .acg-cell:nth-child(3n) { border-right: 1px solid var(--border); } .acg-cell:nth-child(2n) { border-right: none; } .acg-cell:nth-child(5), .acg-cell:nth-child(6) { border-bottom: none; } .acg-cell:nth-child(3) { border-bottom: 1px solid var(--border); } .acg-cell:nth-child(4) { border-bottom: 1px solid var(--border); } }

/* ── Cleanup Pricing (finsmart-cleanup-pricing) ──────────────── */
.cup-section { padding: 88px 0; background: var(--surface); }
.cup-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: stretch; }
@media (max-width: 900px) { .cup-inner { grid-template-columns: 1fr; } }
.cup-card { background: #fff; border: 2px solid var(--red); border-radius: var(--r-lg); padding: 32px; position: relative; box-shadow: 0 8px 32px rgba(229,57,53,.10); display: flex; flex-direction: column; }
.cup-badge { position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
.cup-icon-bare { color: var(--ink); margin-bottom: 16px; }
.cup-icon-bare [data-icon] svg, .cup-icon-bare svg { width: 28px; height: 28px; }
.cup-plan-name { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.cup-plan-sub { font-size: 14px; color: var(--ink-2); margin: 0 0 20px; line-height: 1.4; }
.cup-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 20px; }
.cup-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.cup-price { font-size: 44px; font-weight: 800; color: var(--red); line-height: 1; }
.cup-price-unit { font-size: 18px; color: var(--ink-2); font-weight: 400; }
.cup-price-note { font-size: 13px; color: var(--ink-2); margin: 0 0 20px; }
.cup-features { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cup-feat-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body, #374151); line-height: 1.5; }
.cup-feat-check { width: 20px; height: 20px; background: var(--red-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.cup-feat-check svg { display: block; }
.cup-cta-full { display: block; text-align: center; margin-top: auto; }
.cup-right-col { display: flex; flex-direction: column; gap: 24px; height: 100%; }
.cup-right-col .cup-software { flex: 1; }
.cup-timeline { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 28px 24px; }
.cup-timeline-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.cup-timeline-icon { color: var(--ink); }
.cup-timeline-icon [data-icon] svg, .cup-timeline-icon svg { width: 32px; height: 32px; }
.cup-timeline-title { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.cup-timeline-sub { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.4; }
.cup-timeline-rows { display: flex; flex-direction: column; gap: 8px; }
.cup-timeline-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--surface, #f8f9fc); border-radius: 8px; }
.cup-timeline-row--alt { background: var(--surface, #f8f9fc); }
.cup-timeline-period { font-size: 14px; color: var(--ink); }
.cup-timeline-duration { font-size: 14px; font-weight: 700; color: var(--red); }
.cup-timeline-note { margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.cup-software { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 28px; }
.cup-software-icon { width: 48px; height: 48px; background: var(--surface); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); margin-bottom: 14px; }
.cup-software-icon [data-icon] svg { width: 24px; height: 24px; }
.cup-software-title { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.cup-software-sub { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.5; }
.cup-software-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cup-pill { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 5px 14px; font-size: 13px; color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .acg-grid { grid-template-columns: 1fr; } .acg-cell { border-right: none !important; border-bottom: 1px solid var(--border) !important; } .acg-cell:last-child { border-bottom: none !important; } }

/* ── Cleanup Transition Block (clt) ─────────────────────────── */
.clt-section { padding: 88px 0; background: #fff; }
.clt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .clt-inner { grid-template-columns: 1fr; gap: 40px; } }
.clt-title { font-size: clamp(28px,3.5vw,40px); font-weight: 800; color: var(--ink); line-height: 1.2; margin: 12px 0 16px; }
.clt-body { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin: 0 0 32px; }
.clt-services { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.clt-service-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.clt-service-icon { flex: 0 0 40px; width: 40px; height: 40px; background: #fff; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.clt-service-icon [data-icon] svg { width: 20px; height: 20px; }
.clt-service-title { font-size: 14px; font-weight: 700; color: var(--red); margin: 0 0 6px; line-height: 1.4; }
.clt-service-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.clt-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.clt-step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.clt-step-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 24px; }
.clt-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.clt-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.clt-step:last-child { border-bottom: none; }
.clt-step-num { flex: 0 0 32px; width: 32px; height: 32px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; line-height: 1; }
.clt-step-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 4px; line-height: 1.4; }
.clt-step-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.clt-step-cta { display: block; text-align: center; width: 100%; }

/* ── FAQ Pricing Cards (finsmart-faq-pricing) ─────────────────── */
.faq-pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .faq-pricing-cards { grid-template-columns: 1fr; } }
.faq-pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; }
.faq-pricing-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--red); }
.faq-pricing-icon [data-icon] svg { width: 32px; height: 32px; stroke: var(--red); }
.faq-pricing-card__title { font-size: 16px; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.3; }
.faq-pricing-card__price { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.faq-pricing-card__price strong { font-size: 20px; font-weight: 900; color: var(--red); display: inline; margin-right: 4px; }


/* ============================================================
   TESTIMONIALS GRID BLOCK
   ============================================================ */
.tg-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.tg-rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff8f0; border: 1px solid #f59e0b33;
  border-radius: 100px; padding: 8px 18px; margin-top: 20px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.tg-rating-stars { display: flex; gap: 2px; align-items: center; }
.tg-rating-score { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1; }
.tg-rating-max { font-size: 13px; font-weight: 600; color: var(--muted); }
.tg-rating-platform { font-size: 13px; color: var(--muted); }

.tg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .tg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tg-grid { grid-template-columns: 1fr; } }

.tg-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .25s, transform .25s;
}
.tg-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.10); transform: translateY(-3px); }
.tg-card--featured {
  border-color: var(--red);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(var(--red-rgb, 200,30,30),.07);
}

.tg-stars { display: flex; gap: 2px; }
.tg-quote {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0;
  flex: 1;
}
.tg-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
}

.tg-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}
.tg-author-photo {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.tg-author-photo--initials {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.tg-author-info { flex: 1; min-width: 0; }
.tg-author-name { font-size: 14px; font-weight: 700; color: var(--heading); margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-author-role { font-size: 12px; color: var(--muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-seat-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
  margin-left: auto;
}

/* ── Video Testimonials (finsmart-video-testimonials) ───────────────── */
.vtg-header{text-align:center;max-width:720px;margin:0 auto 48px}
.vtg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.vtg-card{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/9;cursor:pointer;background:#111;display:block}
.vtg-thumb{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .25s}
.vtg-card:hover .vtg-thumb{opacity:.82}
.vtg-play-btn{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.vtg-play-circle{width:60px;height:60px;background:var(--red,#d63b2d);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .2s,background .2s;padding-left:4px}
.vtg-card:hover .vtg-play-circle{transform:scale(1.1);background:#b52d21}
.vtg-caption{position:absolute;bottom:0;left:0;right:0;padding:40px 16px 14px;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,transparent 100%);pointer-events:none}
.vtg-name{color:#fff;font-weight:700;font-size:15px;margin:0 0 3px;line-height:1.3}
.vtg-role{color:#7dd3fc;font-size:12.5px;margin:0;line-height:1.4}
.vtg-embed{position:absolute;inset:0}
.vtg-embed iframe{width:100%;height:100%;border:none;display:block}
@media(max-width:780px){.vtg-grid{grid-template-columns:repeat(2,1fr)}}

/* ── Scope of Work Tasks (finsmart-scope-tasks) ─────────────────── */
.sow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 48px;
}
.sow-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.sow-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sow-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sow-icon [data-icon] { color: var(--red); }
.sow-icon [data-icon] svg { width: 20px; height: 20px; }
.sow-card-body { min-width: 0; }
.sow-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin: 2px 0 5px;
}
.sow-card-desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.58;
  margin: 0;
}
@media(max-width:680px) {
  .sow-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .sow-card { transition: none; }
}
@media(max-width:500px){.vtg-grid{grid-template-columns:1fr}}

/* Perf: skip rendering of off-screen sections until near viewport */
.section:not(:first-child):not(:has(.fs-glb,.fs-vid-modal,.gl-overlay)){content-visibility:auto;contain-intrinsic-size:auto 640px}

/* Solid white override for blocks whose base style is grey (bg value "plain") */
.two-col-section.section--white,.expert-callout.section--white{background:#fff}

/* ---- Podcast / webinar pages: video thumbnails, library grid, webinar cards, modal ---- */
.vid-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); cursor: pointer; border: 0; padding: 0; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.vid-thumb:hover img { transform: scale(1.04); }
.vid-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,41,0) 55%, rgba(15,23,41,.55)); pointer-events: none; }
.vid-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(229,57,53,.45); transition: transform var(--t), background var(--t); }
.vid-play svg { width: 24px; height: 24px; margin-left: 3px; }
.vid-thumb:hover .vid-play { transform: scale(1.08); background: var(--red-dark); }
.vid-dur { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(15,23,41,.88); color: #fff; font: 700 12px/1 var(--font-display); padding: 6px 9px; border-radius: 6px; letter-spacing: .02em; }
.hero--media .vid-thumb { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hero--media .vid-play { width: 72px; height: 72px; }
.hero--media .vid-play svg { width: 28px; height: 28px; }
.hero--media .hero-actions .btn { cursor: pointer; }

.vl-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 8px 0 24px; }
.vl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vl-chip { min-height: 44px; padding: 10px 18px; border-radius: var(--r-full); border: 1.5px solid var(--border-2); background: #fff; color: var(--ink-2); font: 700 14px/1 var(--font-display); cursor: pointer; transition: all var(--t); }
.vl-chip:hover { border-color: var(--ink); }
.vl-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vl-n { opacity: .6; font-weight: 600; margin-left: 6px; }
.vl-search { position: relative; flex: 0 1 300px; min-width: 220px; }
.vl-search input { width: 100%; min-height: 46px; padding: 11px 16px 11px 44px; border-radius: var(--r-full); border: 1.5px solid var(--border-2); font: 600 15px var(--font-body); color: var(--ink); background: #fff; }
.vl-search svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.vl-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vl-status { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.vl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.vl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.vl-card .vid-thumb, .wg-card .vid-thumb { border-radius: 0; }
.vl-card .vid-play { width: 52px; height: 52px; }
.vl-card .vid-play svg { width: 20px; height: 20px; }
.vl-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.vl-card-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vl-cat { color: var(--red); }
.vl-card-top time { color: var(--muted); }
.vl-card h3 { font-size: 18px; font-weight: 800; line-height: 1.3; margin: 0; }
.vl-card h3 button { all: unset; cursor: pointer; display: block; }
.vl-card h3 button:hover { color: var(--red); }
.vl-card h3 button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.vl-guest { font-size: 14px; color: var(--muted); margin: auto 0 0; }
.vl-guest b { color: var(--ink-2); }
.vl-more { display: flex; justify-content: center; margin-top: 40px; }
.vl-empty { padding: 48px; text-align: center; background: #fff; border: 1px dashed var(--border-2); border-radius: var(--r-lg); color: var(--muted); }
.vl [hidden], .vl-card[hidden] { display: none !important; }
@media(max-width:1020px) { .vl-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:640px) { .vl-grid { grid-template-columns: 1fr; } .vl-search { flex-basis: 100%; } }

.wg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.wg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.wg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wg-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; }
.wg-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.wg-card--wide .wg-body { padding: 34px 36px; }
.wg-card h3 { font-size: 21px; font-weight: 800; line-height: 1.3; margin: 6px 0 12px; }
.wg-card--wide h3 { font-size: 26px; }
.wg-lead { margin: 0 0 6px; }
.wg-learn { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 10px; }
.wg-learn li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.wg-learn svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }
.wg-people { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.wg-people b { color: var(--ink-2); }
.wg-card .btn { margin-top: auto; align-self: flex-start; }
@media(max-width:960px) { .wg-grid { grid-template-columns: 1fr; } .wg-card--wide { grid-template-columns: 1fr; } .wg-card--wide .wg-body { padding: 24px 26px 28px; } }

.vid-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10,15,30,.82); }
.vid-modal.open { display: flex; }
.vid-modal-box { position: relative; width: min(960px, 100%); background: #000; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.vid-modal-ratio { aspect-ratio: 16/9; }
.vid-modal-ratio iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--ink); color: #fff; padding: 12px 16px; }
.vid-modal-bar p { margin: 0; font: 700 15px var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vid-modal-close { flex: none; min-width: 44px; min-height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--t); }
.vid-modal-close:hover { background: var(--red); }
.vid-modal-close svg { width: 20px; height: 20px; }
@media(prefers-reduced-motion:reduce) { .vid-thumb:hover img, .vl-card:hover, .wg-card:hover { transform: none; } }

.hero--media .hero-card--badge{width:auto;max-width:280px;bottom:-22px;left:-22px;right:auto;top:auto}
@media(max-width:700px){.hero--media .hero-card--badge{left:12px;bottom:-18px}}

/* Host profile (podcast page): portrait left, text right */
.hp { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.hp--nophoto { grid-template-columns: 1fr; }
.hp-photo { border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.hp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hp-text .section-title { text-align: left; margin-bottom: 6px; }
.hp-text .section-eyebrow { justify-content: flex-start; }
.hp-role { font: 700 15px/1.4 var(--font-display); color: var(--red); margin: 0 0 18px; }
.hp-p { font-size: 17px; margin: 0 0 14px; max-width: 640px; }
.hp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hp-tag { display: inline-flex; align-items: center; font: 700 12px/1 var(--font-display); letter-spacing: .04em; color: var(--ink-2); background: #fff; border: 1px solid var(--border); padding: 8px 12px; border-radius: var(--r-full); }
@media(max-width: 860px) { .hp { grid-template-columns: 1fr; gap: 28px; } .hp-photo { max-width: 320px; } }

/* Short laptop screens (for example 1366x768): tighter page heroes so the buttons show without scrolling */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding: 56px 0 52px; }
  .hero-inner { gap: 48px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-title { font-size: clamp(32px, 3.3vw, 44px); margin-bottom: 14px; }
  .hero-photo { height: 400px; }
}

/* ---- News & Events: hero card, sub-navigation, events, news, press kit strip, release page ---- */
.ne-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ne-n { opacity: .65; font-weight: 600; margin-left: 4px; }

.ne-subnav { position: sticky; top: 68px; z-index: 40; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.ne-subnav-in { display: flex; gap: 8px; align-items: center; min-height: 56px; overflow-x: auto; scrollbar-width: none; }
.ne-subnav-in::-webkit-scrollbar { display: none; }
.ne-subnav a { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 18px; border-radius: var(--r-full); font: 700 14px var(--font-display); color: var(--ink-2); text-decoration: none; transition: background var(--t), color var(--t); }
.ne-subnav a:hover { background: var(--red-tint); color: var(--red); }
.ne-subnav a.on { background: var(--ink); color: #fff; }
#events, #news, #press-kit { scroll-margin-top: 130px; }

/* hero: next event card */
.hero--ne .hero-visual { display: flex; justify-content: center; }
.ne-next { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 14px; box-shadow: var(--shadow-lg); }
.ne-next-thumb { position: relative; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.ne-next-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ne-next-meta { padding: 18px 8px 6px; }
.ne-next-meta h2 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.ne-next-meta .btn { margin-top: 18px; }
.ne-badge { position: absolute; left: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font: 800 11px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red); padding: 8px 12px; border-radius: var(--r-full); box-shadow: 0 6px 18px rgba(229,57,53,.4); }
.ne-badge--soft { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.ne-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ne-pulse 1.6s infinite; }
.ne-badge--soft i { background: var(--red); }
@keyframes ne-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ne-badge i { animation: none; } }

/* participation: attending / exhibiting + booth */
.ne-mode { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.ne-mode-pill { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: var(--r-full); border: 1.5px solid var(--border-2); color: var(--ink-2); background: #fff; }
.ne-mode-pill svg { width: 15px; height: 15px; }
.ne-mode-pill--ex { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(229,57,53,.28); }
.ne-booth { display: inline-flex; align-items: center; font: 900 13px/1 var(--font-display); letter-spacing: .04em; color: #fff; background: var(--ink); padding: 9px 12px; border-radius: var(--r-full); }
.ne-ecard-body .ne-mode { margin-bottom: 2px; }
.ne-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ne-rows li { display: flex; gap: 10px; align-items: flex-start; }
.ne-rows svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }

/* events */
.ne-tabs-wrap { display: flex; justify-content: center; }
.ne-tabs { display: inline-flex; background: var(--surface-2); padding: 5px; border-radius: var(--r-full); margin: 0 auto 32px; }
.ne-tab { min-height: 44px; padding: 0 24px; border-radius: var(--r-full); border: 0; background: transparent; font: 800 14px var(--font-display); color: var(--ink-2); cursor: pointer; transition: all var(--t); }
.ne-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.ne-pane[hidden], .ne-npane[hidden] { display: none; }
.ne-egrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ne-ecard { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.ne-ecard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.ne-ecard-img { position: relative; min-height: 100%; background: var(--ink); }
.ne-ecard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ne-ecard-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.ne-ecard h3 { font-size: 21px; font-weight: 800; line-height: 1.25; margin: 0; }
.ne-blurb { margin: 0; font-size: 15.5px; }
.ne-eact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.ne-eact .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.ne-empty { text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed var(--border-2); border-radius: var(--r-lg); color: var(--muted); }
.ne-empty b { display: block; font: 800 18px var(--font-display); color: var(--ink); margin-bottom: 6px; }
@media (max-width: 1020px) { .ne-egrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ne-ecard { grid-template-columns: 1fr; } .ne-ecard-img { aspect-ratio: 16/9; min-height: 0; } }

/* news */
.ne-controls { display: flex; justify-content: center; margin-bottom: 28px; }
.ne-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ne-chip { min-height: 44px; padding: 10px 18px; border-radius: var(--r-full); border: 1.5px solid var(--border-2); background: #fff; color: var(--ink-2); font: 700 14px/1 var(--font-display); cursor: pointer; transition: all var(--t); }
.ne-chip:hover { border-color: var(--ink); }
.ne-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ne-nfeat { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ink); color: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 28px; }
.ne-nfeat-body { padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ne-tag { align-self: flex-start; font: 800 11px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 8px 12px; border-radius: var(--r-full); }
.ne-nfeat h3 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; margin: 0; }
.ne-nfeat time { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 700; }
.ne-lnk { color: #fff; font: 800 15px var(--font-display); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.ne-lnk:hover { text-decoration: underline; color: #fff; }
.ne-lnk svg { width: 16px; height: 16px; }
.ne-nfeat-art { background: linear-gradient(135deg, var(--red) 0, var(--red-dark) 100%); display: grid; place-items: center; padding: 32px; position: relative; overflow: hidden; }
.ne-nfeat-art svg { width: 120px; height: 120px; color: rgba(255,255,255,.95); position: relative; }
.ne-nfeat-art::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); right: -120px; top: -140px; }
.ne-nlist { display: grid; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.ne-nitem { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; border-top: 1px solid var(--border); text-decoration: none; color: inherit; transition: background var(--t); }
.ne-nitem:first-child { border-top: 0; }
.ne-nitem:hover { background: var(--surface); }
.ne-nitem time { font: 800 13px var(--font-display); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.ne-nitem h3 { font-size: 18px; font-weight: 800; line-height: 1.35; margin: 4px 0 0; }
.ne-cat { font: 800 11px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.ne-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-2); color: var(--ink); transition: all var(--t); }
.ne-nitem:hover .ne-go { background: var(--red); border-color: var(--red); color: #fff; }
.ne-go svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .ne-nfeat { grid-template-columns: 1fr; } .ne-nfeat-art { min-height: 140px; } .ne-nfeat-body { padding: 28px; } }
@media (max-width: 640px) { .ne-nitem { grid-template-columns: 1fr auto; gap: 6px 16px; } .ne-nitem time { grid-column: 1/-1; } }

/* press kit strip */
.ne-strip { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 36px; box-shadow: var(--shadow-sm); }
.ne-strip h3 { font-size: 22px; font-weight: 900; margin: 0 0 6px; }
.ne-strip p { margin: 0; max-width: 640px; }

/* press release page */
.ne-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.ne-crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.ne-crumbs a:hover { color: var(--red); }
.ne-art-head { padding: 28px 0 36px; max-width: 820px; }
.ne-art-head .ne-tag { display: inline-block; margin-bottom: 18px; }
.ne-art-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; letter-spacing: -.02em; }
.ne-art-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--muted); }
.ne-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-bottom: 72px; }
.ne-art { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.ne-art > p, .ne-art > ul, .ne-art > ol { max-width: 700px; margin: 0 0 22px; }
.ne-art > p:first-child { font-size: 20px; color: var(--ink); font-weight: 600; }
.ne-art h2 { font-size: 24px; font-weight: 800; margin: 36px 0 14px; }
.ne-art h3 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; }
.ne-art img { max-width: 100%; height: auto; border-radius: var(--r-lg); }
.ne-art blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--red); font: italic 700 22px/1.5 var(--font-display); color: var(--ink); max-width: 700px; }
.ne-art blockquote cite { display: block; margin-top: 10px; font: 700 14px var(--font-body); font-style: normal; color: var(--muted); }
.ne-about { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 28px; margin-top: 40px; max-width: 700px; }
.ne-about h2 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.ne-about p { font-size: 16px; margin: 0; }
.ne-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.ne-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.ne-box h2 { font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.ne-box p { font-size: 15px; margin: 0 0 6px; }
.ne-box a { color: var(--red); font-weight: 700; text-decoration: none; }
.ne-box a:hover { text-decoration: underline; }
.ne-box .ne-date { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.ne-share { display: flex; gap: 10px; flex-wrap: wrap; }
.ne-share a, .ne-share button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--border-2); border-radius: var(--r-full); background: #fff; color: var(--ink); font: 800 13px var(--font-display); text-decoration: none; cursor: pointer; }
.ne-box .ne-share a { color: var(--ink); }
.ne-share a:hover, .ne-share button:hover { border-color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .ne-art-grid { grid-template-columns: 1fr; gap: 36px; } .ne-side { position: static; } }

/* short laptop screens: keep the hero card inside the first screen */
@media (min-width: 961px) and (max-height: 820px) { .hero--ne .ne-next-thumb { aspect-ratio: 16/8; } }

/* Comparison tables (home, Accounting, Accounting Seat Model, CPA firms, SMB pages) do not fit a phone, so they are hidden there */
@media (max-width: 768px) { .comparison-section { display: none; } }

/* Phones: industry card names and one-line descriptions were too small to read */
@media (max-width: 768px) {
  .industry-name { font-size: 15px; letter-spacing: .08em; margin-top: 16px; }
  .industry-sub { font-size: 14px; }
}

/* ---- Mobile menu (phones and tablets): left-aligned accordion, big tap targets, call to action pinned at the bottom ---- */
@media (max-width: 960px) {
  .nav-menu.mobile-open {
    top: var(--nav-bottom, 68px);
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    padding: 4px 20px 0;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-menu.mobile-open > li { border-bottom: 1px solid var(--border); }
  .nav-menu.mobile-open > li:last-child { border-bottom: 0; }
  .nav-menu.mobile-open .nav-link {
    height: 60px; padding: 0; font-size: 18px; font-weight: 700; color: var(--ink);
    justify-content: space-between; width: 100%; text-align: left; white-space: normal;
  }
  .nav-menu.mobile-open .nav-link svg { width: 20px; height: 20px; flex: none; transition: transform var(--t); }
  .nav-menu.mobile-open .nav-item.mega-open > .nav-link { color: var(--red); }
  .nav-menu.mobile-open .nav-item.mega-open > .nav-link svg { transform: rotate(180deg); }

  .nav-menu.mobile-open .mega-wrap,
  .nav-menu.mobile-open .nav-dropdown { padding: 0 0 12px; background: transparent; }
  .nav-menu.mobile-open .mega-grid-solutions,
  .nav-menu.mobile-open .mega-grid-services { display: block; }
  .nav-menu.mobile-open .mega-grid-solutions > div,
  .nav-menu.mobile-open .mega-grid-services > div { padding: 0; border: 0; }
  .nav-menu.mobile-open .mega-grid-solutions > div:last-child { display: none; }
  .nav-menu.mobile-open .mega-col-head {
    margin: 14px 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  }
  .nav-menu.mobile-open .mega-link,
  .nav-menu.mobile-open .nav-dropdown a {
    display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 8px 10px 12px; margin: 0;
    font-size: 16px; font-weight: 600; color: var(--ink-2); border-radius: var(--r-md);
  }
  .nav-menu.mobile-open .mega-link:active,
  .nav-menu.mobile-open .nav-dropdown a:active { background: var(--red-tint); }
  .nav-menu.mobile-open .mega-link .mega-link-text { font-size: 16px; font-weight: 600; }
  .nav-menu.mobile-open .mega-link strong ~ span,
  .nav-menu.mobile-open .mega-link br { display: none; }
  .nav-menu.mobile-open .mega-link-icon { width: 34px; height: 34px; flex: none; }

  .nav-menu.mobile-open > li:last-child {
    position: sticky; bottom: 0; margin-top: auto; background: #fff;
    padding: 12px 0 calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border);
  }
  .nav-menu.mobile-open .nav-cta-mobile { margin: 0; min-height: 52px; display: flex; align-items: center; justify-content: center; font-size: 16px; }

  /* hamburger turns into a close icon */
  .nav-toggle { padding: 12px; margin-right: -12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Card grid block: column count comes from a class so phones can collapse it (the inline style used to keep every column on a phone) */
.cg-grid.cg-cols-1 { grid-template-columns: minmax(0, 1fr); }
.cg-grid.cg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cg-grid.cg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cg-grid.cg-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .cg-grid.cg-cols-3, .cg-grid.cg-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cg-grid.cg-cols-2, .cg-grid.cg-cols-3, .cg-grid.cg-cols-4 { grid-template-columns: minmax(0, 1fr); }
  .cg-grid .service-card { padding: 22px 20px; }
}

/* About timeline on phones: a vertical list (dot on the left, text on the right) instead of a sideways row that was cut off */
@media (max-width: 700px) {
  .htl-wrap { overflow: visible; margin-top: 32px; }
  .htl-track { flex-direction: column; min-width: 0; align-items: stretch; }
  .htl-track::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; transform: none; }
  .htl-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding-bottom: 26px; }
  .htl-item:last-child { padding-bottom: 0; }
  .htl-dot { grid-column: 1; grid-row: 1; }
  .htl-above, .htl-below { grid-column: 2; grid-row: 1; min-height: 0; padding: 2px 0 0; align-items: flex-start; justify-content: flex-start; text-align: left; font-size: inherit; }
  .htl-label { font-size: 12px; }
  .htl-event { font-size: 16px; }
  .htl-detail { font-size: 14px; line-height: 1.5; }
}

/* Services tabs on phones: two equal buttons side by side instead of a pill that wrapped onto two rows */
@media (max-width: 640px) {
  .services-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; border-radius: 16px; margin-bottom: 28px; }
  .services-tab { white-space: normal; padding: 12px 8px; min-height: 52px; line-height: 1.25; text-align: center; border-radius: 12px; }
}

/* =========================================================
   OUR CUSTOMERS PAGE BLOCKS (finsmart-oc-*)
   ========================================================= */
.oc-pill { display: inline-flex; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); background: var(--red-tint); border: 1px solid rgba(229,57,53,.18); padding: 6px 14px; border-radius: var(--r-full); }
.oc-h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin: 16px 0 14px; text-wrap: balance; }
.oc-h2 em, .oc-hero__title em { font-style: normal; color: var(--red); }
.oc-lead { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 62ch; }
.oc-sec-head { max-width: 760px; margin-bottom: 44px; }

/* Hero */
.oc-hero { position: relative; min-height: 420px; display: flex; align-items: flex-start; padding: 48px 0 48px; background: radial-gradient(ellipse 50% 80% at 105% 50%, rgba(229,57,53,.06) 0%, transparent 55%), radial-gradient(ellipse 40% 60% at -5% 70%, rgba(229,57,53,.03) 0%, transparent 50%), var(--bg); overflow: hidden; }
.oc-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.oc-hero__text { position: relative; z-index: 2; }
.oc-hero__title { font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin: 22px 0 18px; }
.oc-hero__sub { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--ink-2); margin-bottom: 18px; max-width: 30ch; }
.oc-hero__lead { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 62ch; }
/* cut-out photo pinned to the hero's bottom edge so it sits on the stats bar below, like the home hero */
.oc-hero__media { position: absolute; bottom: 0; right: max(0px, calc((100% - 1280px) / 2 + 24px)); margin: 0; z-index: 1; width: min(42vw, 660px); }
.oc-hero__media img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%); mask-image: linear-gradient(to right, transparent 0, #000 12%); }
.oc-hero__card { position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,.97); border: 1px solid rgba(0,0,0,.08); border-radius: 16px; box-shadow: 0 16px 48px rgba(15,23,42,.1), 0 4px 16px rgba(15,23,42,.06); font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.oc-hero__card-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red-tint); color: var(--red); flex-shrink: 0; }

/* Family */
.oc-family { padding: 92px 0; background: var(--surface); }
.oc-family__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.oc-family__photo { position: relative; isolation: isolate; }
.oc-family__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.oc-family__photo::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 55%; height: 55%; border: 3px solid rgba(229,57,53,.25); border-radius: var(--r-xl); z-index: -1; }
.oc-family__pull { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.4; color: var(--ink-2); border-left: 4px solid var(--red); padding-left: 20px; margin: 18px 0 26px; }
.oc-family__body p { font-size: 16.5px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.oc-family__body p:last-child { margin-bottom: 0; }
.oc-family--compact { padding: 80px 0; }
.oc-family--white { background: var(--bg); }
.oc-family--compact .oc-family__grid { grid-template-columns: minmax(0, 360px) 1fr; gap: 64px; }

/* Mosaic */
.oc-mosaic { padding: 92px 0; background: var(--bg); }
.oc-mosaic__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 12px; }
.oc-mosaic__tile { margin: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-md); grid-column: span 2; grid-row: span 2; }
.oc-mosaic__tile--1, .oc-mosaic__tile--3 { grid-row: span 3; }
.oc-mosaic__tile--4 { grid-row: span 3; } /* middle column: 2 + 3 rows, so all three columns end level */
.oc-mosaic__tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.oc-mosaic__tile:hover img { transform: scale(1.05); }

/* Work-life */
.oc-life { padding: 92px 0; background: var(--surface-2); }
.oc-life__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; }
.oc-life__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.oc-life__pair img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-md); } /* whole photo visible, no cropping */
.oc-life__pair img:nth-child(2) { margin-top: 44px; }

/* Testimonial carousel optional sub-heading + intro */
.testi-subtitle { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink-2); margin: 6px 0 8px; }
.testi-intro { max-width: 70ch; font-size: 17px; line-height: 1.7; color: var(--body); }

/* CTA */
.oc-cta { background: #f5f5f5; color: var(--ink); overflow: hidden; }
.oc-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; min-height: 520px; }
.oc-cta__text { padding: 64px 0; align-self: center; position: relative; z-index: 2; }
.oc-cta__badge { display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: #fff; padding: 7px 14px; border-radius: var(--r-full); }
.oc-cta__title { font-size: clamp(34px, 4vw, 54px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin: 18px 0 14px; }
.oc-cta__body { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 46ch; }
.oc-cta__tagline { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); margin: 18px 0 26px; }
.oc-cta__btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: var(--r-full); background: var(--red); color: #fff; text-decoration: none; transition: transform .2s, background .2s; }
.oc-cta__btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.oc-cta__pic { position: relative; }
.oc-cta__pic img { position: absolute; top: 0; right: -20px; width: min(760px, 118%); max-width: none; height: auto; }

@media (max-width: 900px) {
  .oc-hero__grid, .oc-family__grid, .oc-life__grid, .oc-cta__grid { grid-template-columns: 1fr; }
  .oc-hero__grid, .oc-family__grid, .oc-life__grid { gap: 36px; }
  .oc-hero { display: block; min-height: 0; padding: 56px 0 0; }
  .oc-hero__media { position: relative; right: auto; width: 100%; max-width: 640px; margin: 8px auto 0; }
  .oc-hero__card { left: 12px; bottom: 12px; font-size: 13px; white-space: normal; }
  .oc-family, .oc-mosaic, .oc-life { padding: 64px 0; }
  .oc-family__photo::after { right: -10px; bottom: -10px; }
  .oc-family--compact { padding: 64px 0; }
  .oc-family--compact .oc-family__grid { grid-template-columns: 1fr; gap: 36px; }
  .oc-family--compact .oc-family__photo { max-width: 360px; }
  .oc-mosaic__grid { grid-template-columns: repeat(2, 1fr); }
  .oc-mosaic__tile, .oc-mosaic__tile--1, .oc-mosaic__tile--3, .oc-mosaic__tile--4 { grid-column: span 1; grid-row: span 2; }
  .oc-cta__grid { min-height: 0; }
  .oc-cta__pic { display: none; }
}
@media (max-width: 560px) {
  .oc-life__pair img { height: auto; }
  .oc-life__pair img:nth-child(2) { margin-top: 28px; }
}

/* ============================================================
   SEAT INTRO BLOCK (Start with One Accounting Seat)
   ============================================================ */
.seat-intro { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 75%); color: #fff; padding: 88px 0; }
.seat-intro__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: center; }
.seat-intro__card { margin: 0; background: #fff; border-radius: var(--r-xl); padding: 28px 32px; box-shadow: 0 24px 60px rgba(0,0,0,.18); display: flex; justify-content: center; }
.seat-intro__card img { display: block; width: 100%; max-width: 355px; height: auto; }
.seat-intro__eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 14px; }
.seat-intro__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; color: #fff; margin: 0 0 14px; text-wrap: balance; }
.seat-intro__lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); color: #fff; margin: 0 0 18px; }
.seat-intro__body p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.92); margin: 0 0 14px; max-width: 60ch; }
.seat-intro__body strong { color: #fff; }
.seat-intro__tiers { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.seat-intro__tiers li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); padding: 14px 16px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.92); }
.seat-intro__tiers strong { color: #fff; }
.seat-intro__num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--red-dark); font-family: var(--font-display); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.seat-intro__note { font-weight: 700; font-size: 16px; color: #fff; margin: 20px 0 0; }
.seat-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.seat-intro__btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: var(--r-full); background: #fff; color: var(--red-dark); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.seat-intro__btn:hover { color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.seat-intro__btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.8); }
.seat-intro__btn--ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
/* Desktop: fit the whole section in one laptop screen (about 1536 x 700) */
@media (min-width: 961px) {
  .seat-intro--full { padding: 56px 0; }
  .seat-intro--full .seat-intro__grid { gap: 56px; }
  .seat-intro--full .seat-intro__card { padding: 22px 26px; }
  .seat-intro--full .seat-intro__card img { max-width: 310px; }
  .seat-intro--full .seat-intro__eyebrow { margin-bottom: 10px; }
  .seat-intro--full .seat-intro__title { font-size: clamp(34px, 3.2vw, 46px); margin-bottom: 10px; }
  .seat-intro--full .seat-intro__lead { font-size: 21px; margin-bottom: 12px; }
  .seat-intro--full .seat-intro__body p { font-size: 16px; line-height: 1.6; margin-bottom: 0; }
  .seat-intro--full .seat-intro__tiers { margin-top: 16px; gap: 8px; }
  .seat-intro--full .seat-intro__tiers li { padding: 10px 14px; font-size: 15px; align-items: center; }
  .seat-intro--full .seat-intro__num { flex-basis: 26px; height: 26px; font-size: 13px; }
  .seat-intro--full .seat-intro__note { margin-top: 14px; }
  .seat-intro--full .seat-intro__actions { margin-top: 18px; }
  .seat-intro--full .seat-intro__btn { padding: 13px 26px; }
}
.seat-intro--band { padding: 56px 0; text-align: center; }
.seat-intro--band .seat-intro__lead { margin-bottom: 0; }
.seat-intro--band .seat-intro__body p { margin-left: auto; margin-right: auto; }
.seat-intro--band .seat-intro__actions { justify-content: center; }
@media (max-width: 900px) {
  .seat-intro { padding: 64px 0; }
  .seat-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .seat-intro__card { max-width: 420px; width: 100%; margin: 0 auto; order: 2; }
}
.seat-diagram .ts-hierarchy { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto 20px; }

/* ============================================================
   SECURITY BAND (Data Confidentiality & Security)
   ============================================================ */
.security-band { background: var(--red); color: #fff; padding: 72px 0; text-align: center; }
.security-band__inner { max-width: 1120px; }
.security-band__icon { width: 54px; height: 46px; color: #fff; margin: 0 auto 18px; display: block; }
.security-band__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); color: #fff; margin: 0 0 22px; }
.security-band__body { font-size: 18px; line-height: 2; color: #fff; margin: 0 auto; max-width: 1100px; }
@media (max-width: 640px) {
  .security-band { padding: 56px 0; }
  .security-band__body { font-size: 16px; line-height: 1.8; }
}

/* ============================================================
   CTA BANNER: LIGHT GREY (no red block directly above the red footer)
   ============================================================ */
.cta-banner { background: var(--surface); border-top: 1px solid var(--border); }
.cta-banner::before { display: none; }
.cta-banner-title { color: var(--ink); }
.cta-banner-sub { color: var(--body); }
.cta-banner .btn--white { background: var(--red); color: #fff; }
.cta-banner .btn--white:hover { background: var(--red-dark); color: #fff; }
.cta-banner .btn--ghost-white { color: var(--ink); border-color: var(--border-2); }
.cta-banner .btn--ghost-white:hover { background: #fff; border-color: var(--ink); }
.cta-banner .trust-badges { border-top-color: var(--border); }
.cta-banner .trust-badge { color: var(--body); }
.cta-banner .trust-badge svg { color: var(--red); opacity: 1; }

/* Our Story chapter 1: events collage (one large photo, two small below) */
.os-ch1-collage { display: grid; gap: 16px; max-width: 460px; margin: 0 auto; }
.os-ch1-collage img { display: block; width: 100%; border-radius: 22px; object-fit: cover; }
.os-ch1-collage__main { aspect-ratio: 3 / 4; height: auto; }
.os-ch1-collage__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.os-ch1-collage__row img { aspect-ratio: 4 / 3; height: auto; }

/* Our Customers CTA: full photo variant (photo fills the right side, fades into the grey on its left edge) */
.oc-cta--photo { position: relative; }
.oc-cta--photo .oc-cta__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; }
.oc-cta--photo .oc-cta__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.oc-cta--photo .oc-cta__bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f5f5f5 0%, rgba(245,245,245,0) 30%); }
.oc-cta--photo .oc-cta__grid { min-height: 500px; }
/* Wide screens: photo ends at the content edge (not the window edge) so it sits close to the text; its right edge fades into the grey */
@media (min-width: 1300px) {
  .oc-cta--photo .oc-cta__bg { right: calc((100% - var(--max-w)) / 2 + 32px); width: min(58%, 820px); }
  .oc-cta--photo .oc-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, #f5f5f5 0%, rgba(245,245,245,0) 10%); }
}
@media (max-width: 900px) {
  .oc-cta--photo .oc-cta__bg { position: relative; width: 100%; height: 300px; }
  .oc-cta--photo .oc-cta__bg::before { display: none; }
}

/* Careers "Beyond the Desk": three photo-collage cards (Training, Socialising, Travel) */
.bdesk { padding: 96px 0 104px; background: var(--bg); }
.bdesk--grey { background: var(--surface); }
.bdesk__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.bdesk__eyebrow { display: inline-block; padding: 6px 14px; border-radius: var(--r-full); background: var(--red-tint-2); color: var(--red); font: 800 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.bdesk__title { margin: 16px 0 14px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; line-height: 1.12; }
.bdesk__title em { font-style: normal; color: var(--red); }
.bdesk__intro { font-size: 18px; line-height: 1.65; }
.bdesk__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bdesk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,41,.06); transition: transform .25s ease, box-shadow .25s ease; }
.bdesk-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15,23,41,.12); }
.bdesk-card__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 300px; padding: 6px; }
.bdesk-card__media figure { margin: 0; overflow: hidden; border-radius: 12px; }
.bdesk-card__media figure:first-child { grid-row: 1 / span 2; }
.bdesk-card__media--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.bdesk-card__media--1 figure:first-child { grid-row: auto; }
.bdesk-card__media--2 { grid-template-rows: 1fr; }
.bdesk-card__media--2 figure:first-child { grid-row: auto; }
.bdesk-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
/* Wide: big photo across the top (shows a wide group photo edge to edge), two small photos below */
.bdesk-card__media--wide { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
.bdesk-card__media--wide figure:first-child { grid-row: auto; grid-column: 1 / span 2; }
.bdesk-card__media--wide figure:first-child img { object-position: center 35%; }
.bdesk-card:hover .bdesk-card__media figure:first-child img { transform: scale(1.04); }
.bdesk-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px 28px; flex: 1; }
.bdesk-card__title { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; line-height: 1.25; }
.bdesk-card__title svg { flex: none; width: 26px; height: 26px; color: var(--red); }
.bdesk-card__text { font-size: 16px; line-height: 1.65; }
.bdesk-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.bdesk-card__tags li { padding: 6px 12px; border-radius: var(--r-full); border: 1px solid #f3c4c2; background: #fff7f6; color: var(--red-dark); font-size: 13px; font-weight: 700; line-height: 1.2; }
.bdesk__foot { margin-top: 48px; display: flex; justify-content: center; }
.bdesk__btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: var(--r-full); background: var(--red); color: #fff; font: 800 16px/1 var(--font-display); box-shadow: var(--shadow-red); transition: background var(--t); }
.bdesk__btn:hover { background: var(--red-dark); color: #fff; }
@media (max-width: 1100px) {
  .bdesk__grid { grid-template-columns: 1fr 1fr; }
  .bdesk-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bdesk-card:last-child:nth-child(odd) .bdesk-card__media { height: 340px; }
}
@media (max-width: 700px) {
  .bdesk { padding: 64px 0 72px; }
  .bdesk__head { margin-bottom: 36px; }
  .bdesk__intro { font-size: 16px; }
  .bdesk__grid { grid-template-columns: 1fr; gap: 22px; }
  .bdesk-card__media, .bdesk-card:last-child:nth-child(odd) .bdesk-card__media { height: 240px; }
}

/* 404 page */
.nf-404 { padding-block: 110px 120px; background: radial-gradient(90% 90% at 50% 0%, var(--red-tint) 0%, var(--bg) 70%); }
.nf-404__inner { max-width: 720px; text-align: center; }
.nf-404__code { display: block; font: 900 clamp(96px, 14vw, 160px)/1 var(--font-display); color: var(--red); letter-spacing: -.03em; }
.nf-404__title { margin: 12px 0 14px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; }
.nf-404__text { font-size: 18px; line-height: 1.65; }
.nf-404__actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nf-404__links { margin-top: 36px; display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap; }
.nf-404__links a { color: var(--ink-2); font-weight: 700; border-bottom: 2px solid var(--red-tint-2); transition: color var(--t), border-color var(--t); }
.nf-404__links a:hover { color: var(--red); border-color: var(--red); }

/* ============================================================
   LEADERS PAGE (/leaders/): leaders-story, leader-profile, leaders-team blocks
   ============================================================ */
.ld-eyebrow { display: inline-block; padding: 6px 14px; border-radius: var(--r-full); background: var(--red-tint-2); color: var(--red); font: 800 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.ld-prose p { font-size: 17px; line-height: 1.85; }
.ld-prose p + p { margin-top: 16px; }
.ld-prose strong { color: var(--ink-2); font-weight: 700; }

.ld-story { padding: 96px 0; background: var(--bg); }
.ld-story--grey { background: var(--surface); }
.ld-story__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.ld-story__title { margin: 14px 0 22px; font-size: clamp(32px, 3.4vw, 44px); font-weight: 900; }
.ld-story .ld-prose p { font-size: 17px; line-height: 1.8; }
.ld-story .ld-prose p + p { margin-top: 18px; }
.ld-story__photo { position: relative; }
.ld-story__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--red); border-radius: var(--r-xl); opacity: .55; }
.ld-story__photo img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 18px 44px rgba(15,23,41,.14); }

.ld-founder { padding: 96px 0; background: var(--bg); }
.ld-founder--grey { background: var(--surface); }
.ld-founder__grid { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: start; }
.ld-founder--flip .ld-founder__grid { grid-template-columns: 1fr 420px; }
.ld-founder--flip .ld-founder__photo { order: 2; }
.ld-founder__photo { position: sticky; top: 110px; }
.ld-founder__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 18px 44px rgba(15,23,41,.14); }
.ld-founder__tag { position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 14px 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.95); box-shadow: 0 8px 22px rgba(15,23,41,.12); }
.ld-founder__tag b { display: block; font: 900 18px/1.2 var(--font-display); color: var(--ink); }
.ld-founder__tag span { font: 700 13px/1.3 var(--font-body); color: var(--red); }
.ld-founder__name { font-size: clamp(34px, 3.6vw, 48px); font-weight: 900; }
.ld-founder__role { display: inline-block; margin: 12px 0 26px; padding: 7px 16px; border-radius: var(--r-full); background: var(--red); color: #fff; font: 800 14px/1.2 var(--font-display); }
.ld-founder__sub { margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--red); font-size: 22px; font-weight: 800; }
.ld-founder__connect { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ld-founder__connect h3 { font-size: 18px; font-weight: 800; }
.ld-li-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-full); border: 1.5px solid var(--red); color: var(--red); font: 800 15px/1 var(--font-display); transition: background var(--t), color var(--t); }
.ld-li-btn svg { width: 18px; height: 18px; }
.ld-li-btn:hover { background: var(--red); color: #fff; }

.ld-team { padding: 96px 0 104px; background: var(--bg); }
.ld-team--grey { background: var(--surface); }
.ld-team__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.ld-team__head h2 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 900; }
.ld-team__head p { margin-top: 10px; font: 700 20px/1.4 var(--font-display); color: var(--red); }
.ld-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.ld-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,41,.06); }
.ld-card__photo { height: 340px; overflow: hidden; background: var(--surface); }
.ld-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ld-card__body { flex: 1; padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.ld-card h3 { font-size: 24px; font-weight: 900; }
.ld-card .ld-card__role { margin-top: -8px; font: 800 14px/1.3 var(--font-display); color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.ld-card p { font-size: 15.5px; line-height: 1.75; }
.ld-card__connect { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ld-card__connect span { font: 800 15px/1.2 var(--font-display); color: var(--ink); }
.ld-card__connect a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red-tint-2); color: var(--red); transition: background var(--t), color var(--t); }
.ld-card__connect a:hover { background: var(--red); color: #fff; }
.ld-card__connect svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .ld-story__grid { grid-template-columns: 1fr; }
  .ld-story__photo { max-width: 460px; }
  .ld-founder__grid, .ld-founder--flip .ld-founder__grid { grid-template-columns: 340px 1fr; gap: 44px; }
  .ld-founder--flip .ld-founder__photo { order: 0; }
  .ld-team__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ld-story, .ld-founder, .ld-team { padding: 64px 0; }
  .ld-story__photo::before { inset: 12px -10px -12px 10px; }
  .ld-founder__grid, .ld-founder--flip .ld-founder__grid { grid-template-columns: 1fr; }
  .ld-founder__photo { position: relative; top: 0; max-width: 420px; }
  .ld-team__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOCK: SEAT WINS (Why Finsmart 'Accounting Seat' Wins?), editorial layout
   ============================================================ */
.swins { padding: 88px 0 96px; background: var(--bg); }
.swins--grey { background: var(--surface); }
.swins__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 72px; align-items: start; }
.swins__side { position: sticky; top: 110px; }
.swins__arrow { display: block; width: 88px; height: 88px; color: var(--red); margin-bottom: 18px; }
.swins__eyebrow { display: inline-block; padding: 6px 14px; border-radius: var(--r-full); background: var(--red-tint-2); color: var(--red); font: 800 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.swins__title { margin: 14px 0 14px; font-size: clamp(36px, 3.9vw, 52px); font-weight: 900; line-height: 1.08; color: var(--ink); text-wrap: balance; }
.swins__title em { font-style: normal; color: var(--red); }
.swins__intro { font-size: 17px; line-height: 1.65; margin-bottom: 26px; }
.swins__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: var(--r-full); background: var(--red); color: #fff; font: 800 16px/1 var(--font-display); box-shadow: var(--shadow-red); transition: background var(--t), transform var(--t); }
.swins__btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.swins__models { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.swins-model { padding: 26px 28px 28px 0; }
.swins-model + .swins-model { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--border-2); }
.swins__num { display: block; font: 900 14px/1 var(--font-display); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.swins__num--red { color: var(--red); }
.swins-model__title { font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--ink); margin: 10px 0; }
.swins-model__text { font-size: 16px; line-height: 1.65; color: var(--body); }
.swins-win { margin-top: 28px; padding: 30px 34px 32px; border-left: 6px solid var(--red); border-radius: 0 18px 18px 0; background: var(--red-tint); }
.swins--grey .swins-win { background: #fff0ef; }
.swins-win__title { font-size: clamp(26px, 2.4vw, 32px); font-weight: 900; line-height: 1.15; color: var(--red); margin: 10px 0 12px; }
.swins-win__lead { font-size: 18px; font-weight: 700; line-height: 1.55; color: var(--ink); margin-bottom: 12px; }
.swins-win__text { font-size: 16px; line-height: 1.7; color: var(--body); }
@media (max-width: 960px) {
  .swins { padding: 64px 0 72px; }
  .swins__grid { grid-template-columns: 1fr; gap: 36px; }
  .swins__side { position: static; }
  .swins__arrow { width: 64px; height: 64px; }
  .swins__models { grid-template-columns: 1fr; }
  .swins-model, .swins-model + .swins-model { padding: 22px 0; border-left: 0; }
  .swins-model + .swins-model { border-top: 1px solid var(--border-2); }
  .swins-win { padding: 26px 22px; }
}
