/* =========================================================
   Tech Jackstones — Vanilla CSS
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800;900&display=swap");

/* ---------- Tokens ---------- */
:root {
  --brand-50:  #fbf2f4;
  --brand-100: #f7e3e7;
  --brand-200: #efc3cd;
  --brand-300: #e09aab;
  --brand-400: #c25b73;
  --brand-500: #831c2c;
  --brand-600: #6f1726;
  --brand-700: #5d1322;
  --brand-800: #4d111d;
  --brand-900: #3f0f18;
  --brand-950: #280a10;

  --ink-50:  #f6f7f9;
  --ink-100: #eceef2;
  --ink-200: #d5d9e0;
  --ink-300: #b0b8c5;
  --ink-400: #7d8aa0;
  --ink-500: #5b6a82;
  --ink-600: #475368;
  --ink-700: #3a4356;
  --ink-800: #333a49;
  --ink-900: #0c0f1a;
  --ink-950: #06080f;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Inter", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink-900);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); }

/* lucide icons render to <svg>; keep them inline-blockish */
[data-lucide] { display: inline-block; vertical-align: middle; }
svg { flex-shrink: 0; }

/* ---------- Layout ---------- */
.container-x {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-x { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-x { padding: 0 2rem; } }

.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* ---------- Typography ---------- */
.h-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.font-display { font-family: var(--font-display); }

.grad-text {
  background: linear-gradient(90deg, #a5354e 0%, #831c2c 60%, #c25b73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-outline,
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(131, 28, 44, 0.3);
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 15px 30px -5px rgba(131, 28, 44, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--ink-200);
  color: var(--ink-900);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink-50);
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.btn-ghost-dark {
  border: 1px solid var(--ink-200);
  color: var(--ink-900);
  background: transparent;
}
.btn-ghost-dark:hover {
  background: var(--ink-50);
}

/* ---------- Chips & cards ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(131, 28, 44, 0.3);
  background: rgba(131, 28, 44, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-600);
}

.card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.5rem;
  transition: all 0.2s ease;
}
.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* ---------- Decorative backgrounds ---------- */
.bg-mesh {
  background-image:
    radial-gradient(at 10% 0%, rgba(131, 28, 44, 0.08) 0, transparent 40%),
    radial-gradient(at 90% 10%, rgba(194, 91, 115, 0.06) 0, transparent 40%),
    radial-gradient(at 50% 100%, rgba(131, 28, 44, 0.05) 0, transparent 50%);
}
.bg-hero-image {
  background-image: url("../images/hero-bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-dots {
  background-image: radial-gradient(rgba(131, 28, 44, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--ink-100);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo-link img { height: 2.5rem; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-item { position: relative; }
.nav-item.has-mega { position: static; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--brand-600); }

.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-cta .btn-primary {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
}
.mobile-toggle:hover { background: var(--ink-50); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* ---------- Header dropdowns (simple, mega) ---------- */
.dropdown-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 0.75rem;
  z-index: 50;
}
.nav-item:hover > .dropdown-panel,
.nav-item:focus-within > .dropdown-panel {
  display: block;
}
.dropdown-panel.simple > .panel-card {
  width: 360px;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.dropdown-link {
  display: block;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
}
.dropdown-link:hover { background: var(--brand-50); }
.dropdown-link .dl-title { font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.dropdown-link:hover .dl-title { color: var(--brand-600); }
.dropdown-link .dl-desc { font-size: 0.75rem; color: var(--ink-500); margin-top: 0.125rem; }

.mega-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 0.75rem;
  z-index: 50;
}
.nav-item.has-mega.is-open > .mega-panel {
  display: block;
}
.mega-card {
  margin: 0 auto;
  max-width: 64rem;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: grid;
  grid-template-columns: 4fr 8fr;
}
.mega-cats {
  background: rgba(246, 247, 249, 0.6);
  border-right: 1px solid var(--ink-100);
  padding: 0.75rem;
}
.mega-cats-label {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}
.mega-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  text-align: left;
  margin-bottom: 0.25rem;
  transition: background 0.2s, color 0.2s;
}
.mega-cat-btn:hover { background: #fff; color: var(--brand-600); }
.mega-cat-btn.active {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(131, 28, 44, 0.3);
}
.mega-cat-btn .mc-left {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.mega-cat-btn .mc-icon {
  display: grid;
  place-items: center;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.mega-cat-btn.active .mc-icon { background: rgba(255, 255, 255, 0.15); color: #fff; }

.mega-items { padding: 1.25rem; }
.mega-item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.mega-item-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  transition: background 0.2s;
}
.mega-item-link:hover { background: var(--brand-50); }
.mega-item-link .mi-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
  transition: all 0.2s;
}
.mega-item-link:hover .mi-icon { background: var(--brand-500); color: #fff; }
.mega-item-link .mi-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-800);
  line-height: 1.35;
}
.mega-item-link:hover .mi-title { color: var(--brand-600); }

.mega-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.5rem 0.75rem;
}
.mega-header img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(131, 28, 44, 0.1);
  object-fit: cover;
  padding: 0.25rem;
}
.mega-header .mh-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-900);
}

.mega-hire-logo {
  display: grid;
  place-items: center;
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.mega-item-link:hover .mega-hire-logo { border-color: var(--brand-200); }
.mega-hire-logo img { height: 1.25rem; width: 1.25rem; object-fit: contain; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--ink-100);
  background: #fff;
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu .container-x { padding-top: 1rem; padding-bottom: 1rem; }
.mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
}
.mobile-link:hover { color: var(--brand-600); }
.mobile-menu details {
  border-bottom: 1px solid var(--ink-50);
}
.mobile-menu details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}
.mobile-menu details > summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] > summary svg { transform: rotate(180deg); }
.mobile-sub {
  padding-left: 0.75rem;
  padding-bottom: 0.75rem;
}
.mobile-sub-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--ink-600);
}
.mobile-sub-link:hover { color: var(--brand-600); }
.mobile-cta {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  border-radius: 9999px;
  background: var(--brand-500);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
}
.mobile-cta:hover { background: var(--brand-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  color: var(--ink-700);
  border-top: 1px solid var(--ink-100);
}
.site-footer .footer-top {
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .footer-brand { grid-column: span 4; }
  .footer-col   { grid-column: span 2; }
  .footer-newsletter { grid-column: span 2; }
}
.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-600);
  line-height: 1.6;
}
.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-contact a, .footer-contact .fc-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-700);
}
.footer-contact a:hover { color: var(--brand-600); }
.footer-contact svg { color: var(--brand-500); }
.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-socials a {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--ink-200);
  color: var(--ink-600);
  transition: all 0.2s;
}
.footer-socials a:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
  background: rgba(131, 28, 44, 0.05);
}
.footer-col h4, .footer-newsletter h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col ul a { color: var(--ink-600); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--brand-600); }
.footer-newsletter p { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-600); }
.footer-newsletter form { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-newsletter input {
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--ink-200);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-900);
  outline: none;
}
.footer-newsletter input:focus { border-color: var(--brand-500); }
.footer-newsletter button {
  border-radius: 9999px;
  background: var(--brand-500);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--brand-600); }
.footer-bottom {
  border-top: 1px solid var(--ink-100);
}
.footer-bottom-row {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-500);
}
@media (min-width: 768px) { .footer-bottom-row { flex-direction: row; } }
.footer-bottom-row a:hover { color: var(--brand-600); }
.footer-bottom-row .fb-links { display: flex; gap: 1.25rem; align-items: center; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: #fff; color: var(--ink-900); }
.hero .container-x { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .hero .container-x { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
.hero-row {
  display: none;
  align-items: stretch;
  gap: 1rem;
}
@media (min-width: 1024px) { .hero-row { display: flex; } }
.hero-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) { .hero-mobile { display: none; } }

.pillar-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--brand-500);
  background: var(--brand-500);
  width: 100%;
  min-height: 220px;
  flex-shrink: 0;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.pillar-card:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  box-shadow: 0 25px 50px -12px rgba(131, 28, 44, 0.3);
}
@media (min-width: 1024px) {
  .pillar-card { width: 92px; min-height: 680px; }
}
@media (min-width: 1280px) { .pillar-card { width: 104px; } }
.pillar-card .p-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1.25rem;
  color: #fff;
}
.pillar-card .p-label {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: 3.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-align: center;
}
@media (min-width: 1024px) {
  .pillar-card .p-label {
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(-50%, -50%) rotate(180deg);
    writing-mode: vertical-rl;
    white-space: nowrap;
    font-size: 15px;
  }
}
.pillar-card .p-plus {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  transition: all 0.2s;
}
.pillar-card:hover .p-plus { background: #fff; border-color: #fff; color: var(--brand-500); }

.big-card {
  position: relative;
  flex: 1;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  overflow: hidden;
  background: #fff;
  min-height: 560px;
  box-shadow: 0 20px 25px -5px rgba(131, 28, 44, 0.05);
}
@media (min-width: 1024px) { .big-card { min-height: 680px; } }
.big-card .bc-bg {
  position: absolute;
  inset: 0;
}
.big-card .bc-bg.bg-hero-image { opacity: 0.9; }
.big-card .bc-bg.bg-mesh { opacity: 0.8; }
.big-card .bc-bg.bg-dots { opacity: 0.4; }
.big-card .bc-illust {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 480px;
  opacity: 0.7;
  mix-blend-mode: multiply;
  pointer-events: none;
  display: none;
}
@media (min-width: 768px) { .big-card .bc-illust { display: block; } }
@media (min-width: 1024px) { .big-card .bc-illust { width: 560px; } }
@media (min-width: 1280px) { .big-card .bc-illust { width: 620px; } }
.big-card .bc-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
}
@media (min-width: 768px) { .big-card .bc-fade { background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7), transparent); } }
.big-card .bc-content {
  position: relative;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (min-width: 768px) { .big-card .bc-content { padding: 3rem; } }
.big-card .bc-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.big-card .bc-eyebrow svg { color: var(--brand-500); }
.big-card h1 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  line-height: 1.08;
  max-width: 48rem;
  color: var(--ink-900);
}
@media (min-width: 768px) { .big-card h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .big-card h1 { font-size: 3.25rem; } }
.big-card .bc-desc {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--ink-600);
  max-width: 42rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .big-card .bc-desc { font-size: 1.125rem; } }
.big-card .bc-bullets {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 42rem;
}
.big-card .bc-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .big-card .bc-bullets li { font-size: 1rem; } }
.big-card .bc-bullets .check {
  margin-top: 0.125rem;
  display: grid;
  place-items: center;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--brand-500);
  color: var(--brand-500);
}
.big-card .bc-cta { margin-top: 2rem; }
.big-card .bc-controls {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.big-card .bc-progress {
  flex: 1;
  height: 3px;
  border-radius: 9999px;
  background: var(--ink-100);
  overflow: hidden;
}
.big-card .bc-progress > span {
  display: block;
  height: 100%;
  background: var(--brand-500);
  transition: width 0.5s ease;
}
.big-card .bc-arrow {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--ink-200);
  color: var(--ink-700);
  transition: all 0.2s;
}
.big-card .bc-arrow:hover { border-color: var(--brand-500); color: var(--brand-600); }
.big-card .bc-spacer { flex: 1; }
.hero-mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ---------- Sections heading row ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-head.row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-head h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; } }
.section-head p { color: var(--ink-600); max-width: 28rem; }

.section-head-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .section-head-grid { grid-template-columns: repeat(12, 1fr); }
  .section-head-grid > .sh-left { grid-column: span 7; }
  .section-head-grid > .sh-right { grid-column: span 5; }
}
.section-head-grid h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .section-head-grid h2 { font-size: 3rem; } }
.section-head-grid p { color: var(--ink-600); }
.section-head-center {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}
.section-head-center h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .section-head-center h2 { font-size: 3rem; } }
.section-head-center > p { margin-top: 1rem; color: var(--ink-600); }

/* ---------- Services grid ---------- */
.services-section { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.icon-bubble {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.service-card .tag {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-400);
}
.service-card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-900);
}
.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-600);
  flex: 1;
}
.service-card .explore {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-600);
  transition: gap 0.2s;
}
.service-card:hover .explore { gap: 0.5rem; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: all 0.2s;
}
.why-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.why-card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ink-900);
}
.why-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

/* ---------- Industries grid (home) ---------- */
.industries-section { background: rgba(246, 247, 249, 0.6); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: all 0.2s;
}
.industry-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08); }
.industry-card .bg-img {
  pointer-events: none;
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 7rem;
  height: 7rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.industry-card:hover .bg-img { opacity: 0.8; }
.industry-card .ic-icon {
  position: relative;
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
  transition: all 0.2s;
}
.industry-card:hover .ic-icon { background: var(--brand-500); color: #fff; }
.industry-card h3 {
  position: relative;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
}
.industry-card .ic-desc {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-500);
}
.industry-card .ic-explore {
  position: relative;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-600);
  opacity: 0;
  transition: opacity 0.2s;
}
.industry-card:hover .ic-explore { opacity: 1; }
.industries-cta { margin-top: 2.5rem; text-align: center; }

/* ---------- Process section ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(5, 1fr); } }
.process-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: linear-gradient(to bottom, #fff, rgba(246, 247, 249, 0.6));
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.process-card:hover { border-color: var(--brand-500); }
.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.process-card .step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(131, 28, 44, 0.4);
}
.process-card .step-icon {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.process-card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
}
.process-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }
.process-card .step-line {
  display: none;
  position: absolute;
  top: 50%;
  right: -0.75rem;
  width: 1.5rem;
  height: 1px;
  background: var(--ink-200);
}
@media (min-width: 1024px) { .process-card .step-line { display: block; } }

/* ---------- Tech stack (marquee) ---------- */
.tech-section { background: rgba(246, 247, 249, 0.6); }
.marquee-row { overflow: hidden; }
.marquee-row .marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 3rem;
  padding: 0.75rem 0;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-300);
  transition: color 0.2s;
}
@media (min-width: 768px) { .marquee-track span { font-size: 1.5rem; } }
.marquee-track span:hover { color: var(--brand-500); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.tech-rows { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Case studies (home) ---------- */
.cases-section { background: rgba(246, 247, 249, 0.6); }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: transform 0.3s;
}
.case-card.accent-fintech { background: linear-gradient(to bottom right, var(--brand-500), #e11d48); }
.case-card.accent-health  { background: linear-gradient(to bottom right, #10b981, #06b6d4); }
.case-card.accent-retail  { background: linear-gradient(to bottom right, #f59e0b, var(--brand-600)); }
.case-card.accent-logi    { background: linear-gradient(to bottom right, #6366f1, #9333ea); }
.case-card.accent-edu     { background: linear-gradient(to bottom right, #d946ef, #ec4899); }
.case-card.accent-mfg     { background: linear-gradient(to bottom right, #0ea5e9, #14b8a6); }
.case-card .case-illust {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 11rem;
  width: auto;
  opacity: 0.9;
  pointer-events: none;
  transition: transform 0.3s;
}
@media (min-width: 768px) { .case-card .case-illust { height: 13rem; } }
.case-card:hover .case-illust { transform: scale(1.05); }
.case-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.case-card-top .tag {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.case-card-body { position: relative; }
.case-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 768px) { .case-card-body h3 { font-size: 1.875rem; } }
.case-card-body .impact {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}
@media (min-width: 768px) { .case-card-body .impact { font-size: 1rem; } }
.case-card .glow {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  height: 12rem;
  width: 12rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(40px);
  pointer-events: none;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); }
.testimonial-card .quote-mark {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  height: 1.75rem;
  width: 1.75rem;
  background: #fff;
  color: var(--brand-500);
}
.testimonial-card .stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
}
.testimonial-card .stars svg { fill: currentColor; }
.testimonial-card blockquote {
  margin: 1rem 0 0 0;
  color: var(--ink-700);
  line-height: 1.6;
}
.testimonial-card .person {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-100);
}
.testimonial-card .person img {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
  outline: 2px solid rgba(131, 28, 44, 0.2);
  outline-offset: 1px;
}
.testimonial-card .person .pname {
  font-weight: 600;
  color: var(--ink-900);
}
.testimonial-card .person .ptitle {
  font-size: 0.75rem;
  color: var(--ink-500);
}

/* ---------- Partners strip ---------- */
.partners-strip {
  background: #fff;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.partners-strip .container-x { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.partners-strip .label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
}
.partners-strip .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 1rem;
}
.partners-strip .row span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-400);
  transition: color 0.2s;
}
.partners-strip .row span:hover { color: var(--brand-500); }

/* ---------- FAQ ---------- */
.faq-section { background: rgba(246, 247, 249, 0.6); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .faq-left { grid-column: span 4; }
  .faq-list { grid-column: span 8; }
}
.faq-left h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .faq-left h2 { font-size: 3rem; } }
.faq-left p { margin-top: 1rem; color: var(--ink-600); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.25rem;
  transition: all 0.2s;
}
.faq-item.open {
  border-color: var(--brand-500);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}
.faq-trigger .q {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
}
.faq-toggle {
  display: grid;
  place-items: center;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
  flex-shrink: 0;
}
.faq-answer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-600);
  line-height: 1.6;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item .icon-plus { display: inline-flex; }
.faq-item .icon-minus { display: none; }
.faq-item.open .icon-plus { display: none; }
.faq-item.open .icon-minus { display: inline-flex; }

/* ---------- CTA section ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 2.5rem;
  box-shadow: 0 20px 25px -5px rgba(131, 28, 44, 0.05);
}
@media (min-width: 768px) { .cta-card { padding: 4rem; } }
.cta-card .cta-mesh, .cta-card .cta-img {
  position: absolute; inset: 0; pointer-events: none;
}
.cta-card .cta-mesh { opacity: 0.8; }
.cta-card .cta-img { object-fit: cover; height: 100%; width: 100%; opacity: 0.9; }
.cta-card .cta-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cta-card .cta-row { grid-template-columns: repeat(12, 1fr); }
  .cta-card .cta-left { grid-column: span 7; }
  .cta-card .cta-right { grid-column: span 5; align-items: flex-end; }
}
.cta-card h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .cta-card h2 { font-size: 3rem; } }
.cta-card .cta-left p {
  margin-top: 1rem;
  color: var(--ink-600);
  max-width: 42rem;
}
.cta-card .cta-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-card .cta-right .small {
  font-size: 0.75rem;
  color: var(--ink-500);
  max-width: 20rem;
}
@media (min-width: 1024px) { .cta-card .cta-right .small { text-align: right; } }

/* ---------- Stats section (about) ---------- */
.stats-section .stats-card {
  margin-top: -4rem;
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
  box-shadow: 0 25px 50px -12px rgba(131, 28, 44, 0.05);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .stats-section .stats-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .stats-section .stats-card { grid-template-columns: repeat(4, 1fr); } }
.stat-row { display: flex; align-items: center; gap: 1rem; }
.stat-row .icon-bubble { height: 3rem; width: 3rem; }
.stat-row .stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
}
@media (min-width: 768px) { .stat-row .stat-value { font-size: 2.25rem; } }
.stat-row .stat-label { font-size: 0.875rem; color: var(--ink-500); }

/* ---------- PageHero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-100);
}
.page-hero .bg-hero-image, .page-hero .bg-mesh, .page-hero .bg-dots {
  position: absolute; inset: 0;
}
.page-hero .bg-hero-image { opacity: 0.9; }
.page-hero .bg-mesh { opacity: 0.8; }
.page-hero .bg-dots { opacity: 0.4; }
.page-hero .container-x {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) { .page-hero .container-x { padding-top: 7rem; padding-bottom: 7rem; } }
.page-hero .ph-inner { max-width: 48rem; }
.page-hero h1 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 2.25rem;
  line-height: 1.05;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p { margin-top: 1.25rem; font-size: 1.125rem; color: var(--ink-600); }
.page-hero .ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- About / values / timeline ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); }
  .about-grid > .ag-left, .about-grid > .ag-right { grid-column: span 6; }
}
.about-grid h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .about-grid h2 { font-size: 3rem; } }
.about-grid .ag-left p { margin-top: 1rem; color: var(--ink-600); line-height: 1.7; }
.about-promise {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
  padding: 2rem;
  min-height: 420px;
  box-shadow: 0 20px 25px -5px rgba(131, 28, 44, 0.05);
}
.about-promise .bg-mesh, .about-promise .bg-dots {
  position: absolute; inset: 0; pointer-events: none;
}
.about-promise .bg-mesh { opacity: 1; }
.about-promise .bg-dots { opacity: 0.5; }
.about-promise > .relative { position: relative; }
.about-promise h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
@media (min-width: 768px) { .about-promise h3 { font-size: 1.875rem; } }
.about-promise ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.about-promise li { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-promise .check {
  margin-top: 0.25rem;
  display: grid;
  place-items: center;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.15);
  color: var(--brand-600);
  font-size: 0.75rem;
  font-weight: 700;
}

.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: all 0.2s;
}
.value-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.value-card h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
}
.value-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

.timeline-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .timeline-grid { grid-template-columns: repeat(2, 1fr); } }
.timeline-card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.timeline-card:hover { border-color: var(--brand-500); }
.timeline-card.shifted { transform: translateY(0); }
@media (min-width: 768px) { .timeline-card.shifted { transform: translateY(2.5rem); } }
.timeline-card .year {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-500);
}
.timeline-card h3 {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
}
.timeline-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

/* ---------- Service / industry detail ---------- */
.detail-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-100);
}
.detail-hero .bg-mesh, .detail-hero .bg-dots, .detail-hero .bg-hero-image {
  position: absolute; inset: 0;
}
.detail-hero .bg-mesh { opacity: 1; }
.detail-hero .bg-hero-image { opacity: 0.9; }
.detail-hero .bg-dots { opacity: 0.5; }
.detail-hero > .container-x {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) { .detail-hero > .container-x { padding-top: 7rem; padding-bottom: 7rem; } }
.detail-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-500);
}
.detail-hero .breadcrumbs a:hover { color: var(--brand-600); }
.detail-hero .breadcrumbs .crumb-current { color: var(--ink-700); }
.detail-hero .chip-row { margin-top: 1.25rem; }
.detail-hero h1 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 2.25rem;
  line-height: 1.05;
}
@media (min-width: 768px) { .detail-hero h1 { font-size: 3.75rem; } }
.detail-hero .tagline { margin-top: 1.25rem; font-size: 1.125rem; color: var(--ink-600); }

.detail-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .detail-overview { grid-template-columns: repeat(12, 1fr); }
  .detail-overview > .do-left { grid-column: span 7; }
  .detail-overview > .do-right { grid-column: span 5; }
}
.detail-overview h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  color: var(--ink-900);
}
@media (min-width: 768px) { .detail-overview h2 { font-size: 2.25rem; } }
.detail-overview .do-left p { margin-top: 1rem; color: var(--ink-600); }
.detail-overview .do-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.detail-overview .do-list-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.detail-overview .do-list-item svg { color: var(--brand-600); flex-shrink: 0; margin-top: 0.125rem; }
.detail-overview .do-list-item p { font-size: 0.875rem; color: var(--ink-700); margin: 0; }
.detail-aside {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: rgba(246, 247, 249, 0.6);
  padding: 1.75rem;
}
.detail-aside h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}
.detail-aside ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.detail-aside li { display: flex; align-items: flex-start; gap: 0.75rem; }
.detail-aside .check {
  margin-top: 0.25rem;
  display: grid;
  place-items: center;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.15);
  color: var(--brand-600);
  font-size: 0.6875rem;
  font-weight: 700;
}
.detail-aside li span:last-child { font-size: 0.875rem; color: var(--ink-700); }
.detail-aside-link {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-600);
}
.detail-aside-link:hover { color: var(--brand-700); }
.outcome-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ink-100);
  padding-bottom: 1rem;
}
.outcome-row:last-child { border-bottom: 0; padding-bottom: 0; }
.outcome-row .metric {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-600);
}
.outcome-row .label { font-size: 0.875rem; color: var(--ink-700); text-align: right; }

/* Industry detail hero illustration */
.detail-hero .detail-illust {
  pointer-events: none;
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 420px;
  opacity: 0.7;
  mix-blend-mode: multiply;
  display: none;
}
@media (min-width: 768px) { .detail-hero .detail-illust { display: block; } }
@media (min-width: 1024px) { .detail-hero .detail-illust { width: 520px; } }
.detail-hero .detail-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
}

.related-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.5rem;
  transition: all 0.2s;
}
.related-card:hover { border-color: var(--brand-500); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); }
.related-card .bg-img {
  pointer-events: none;
  position: absolute;
  right: -0.75rem;
  bottom: -0.75rem;
  width: 6rem;
  height: 6rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.related-card:hover .bg-img { opacity: 0.8; }
.related-card .ic {
  position: relative;
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
  transition: all 0.2s;
}
.related-card:hover .ic { background: var(--brand-500); color: #fff; }
.related-card h3 {
  position: relative;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
}
.related-card:hover h3 { color: var(--brand-600); }
.related-card .rc-desc {
  position: relative;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--ink-600);
}
.related-card .rc-cta {
  position: relative;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-600);
}

/* ---------- Industries scroll list ---------- */
.iscroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .iscroll { grid-template-columns: repeat(12, 1fr); }
  .iscroll > .iscroll-aside { grid-column: span 4; }
  .iscroll > .iscroll-list { grid-column: span 8; }
}
.iscroll-sticky { position: relative; }
@media (min-width: 1024px) { .iscroll-sticky { position: sticky; top: 6rem; } }
.iscroll-aside h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  color: var(--ink-900);
  line-height: 1.15;
}
@media (min-width: 768px) { .iscroll-aside h2 { font-size: 1.875rem; } }
.iscroll-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid var(--ink-100);
}
.iscroll-nav-btn {
  position: relative;
  margin-left: -1px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-left: 2px solid transparent;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  text-align: left;
  color: var(--ink-500);
  transition: all 0.2s;
}
.iscroll-nav-btn:hover { color: var(--ink-900); border-left-color: var(--ink-300); }
.iscroll-nav-btn.active { color: var(--brand-600); border-left-color: var(--brand-500); }
.iscroll-nav-btn .ic {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.5rem;
  background: var(--ink-50);
  color: var(--ink-500);
  flex-shrink: 0;
  transition: all 0.2s;
}
.iscroll-nav-btn.active .ic { background: var(--brand-500); color: #fff; }
.iscroll-nav-btn .label { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; transition: font-size 0.2s; }
.iscroll-nav-btn.active .label { font-size: 1rem; }
@media (min-width: 768px) {
  .iscroll-nav-btn.active .label { font-size: 1.125rem; }
}

.iscroll-list { display: flex; flex-direction: column; gap: 1.5rem; }
.iscroll-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 7rem;
}
@media (min-width: 768px) { .iscroll-panel { padding: 2.5rem; } }
.iscroll-panel .bg-img {
  pointer-events: none;
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 11rem;
  height: 11rem;
  opacity: 0.4;
}
.iscroll-panel .header-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.iscroll-panel .ic {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.iscroll-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink-900);
}
@media (min-width: 768px) { .iscroll-panel h3 { font-size: 1.875rem; } }
.iscroll-panel .tagline { font-size: 0.875rem; color: var(--brand-600); font-weight: 500; }
.iscroll-panel .desc { position: relative; margin-top: 1.25rem; color: var(--ink-600); }
.iscroll-panel .caps {
  position: relative;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
}
@media (min-width: 640px) { .iscroll-panel .caps { grid-template-columns: 1fr 1fr; } }
.iscroll-panel .caps .row { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-700); }
.iscroll-panel .caps .row svg { color: var(--brand-600); flex-shrink: 0; margin-top: 0.125rem; }
.iscroll-panel .outcomes {
  position: relative;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--ink-100);
  padding-top: 1.25rem;
}
.iscroll-panel .outcomes .o-metric {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-600);
}
@media (min-width: 768px) { .iscroll-panel .outcomes .o-metric { font-size: 1.5rem; } }
.iscroll-panel .outcomes .o-label { font-size: 0.75rem; color: var(--ink-500); margin-top: 0.125rem; }
.iscroll-panel .panel-cta {
  position: relative;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-600);
  transition: gap 0.2s;
}
.iscroll-panel .panel-cta:hover { gap: 0.625rem; }

/* ---------- Industries page bottom stat block ---------- */
.iv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .iv-grid { grid-template-columns: repeat(3, 1fr); } }
.iv-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.75rem;
}
.iv-card .num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--brand-600); }
.iv-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

/* ---------- Services list page (services.html) ---------- */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .svc-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-detail-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-detail-card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  padding: 1.75rem;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.svc-detail-card:hover {
  border-color: var(--brand-500);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}
.svc-detail-card .icon-bubble { height: 3rem; width: 3rem; }
.svc-detail-card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}
.svc-detail-card > p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }
.svc-detail-card ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.svc-detail-card li { display: flex; align-items: flex-start; gap: 0.5rem; }
.svc-detail-card .check {
  margin-top: 0.25rem;
  display: grid;
  place-items: center;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.15);
  color: var(--brand-600);
  font-size: 0.625rem;
  font-weight: 700;
}

/* ---------- AI / Cloud / Enterprise pillar grid ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
.pillar-tile {
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  padding: 2rem;
  background: linear-gradient(to bottom, #fff, rgba(246, 247, 249, 0.4));
  transition: box-shadow 0.2s;
}
.pillar-tile.flat { background: #fff; }
.pillar-tile:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); }
.pillar-tile-head { display: flex; align-items: center; gap: 0.75rem; }
.pillar-tile-head .icon-bubble { height: 3rem; width: 3rem; }
.pillar-tile h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-900);
}
.pillar-tile > p { margin-top: 1rem; color: var(--ink-600); }
.pillar-tile ul {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
@media (min-width: 640px) { .pillar-tile ul { grid-template-columns: 1fr 1fr; } }
.pillar-tile li { display: flex; align-items: flex-start; gap: 0.5rem; }
.pillar-tile .check {
  margin-top: 0.25rem;
  display: grid;
  place-items: center;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.15);
  color: var(--brand-600);
  font-size: 0.625rem;
  font-weight: 700;
}

/* ---------- AI use cases grid ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .usecase-grid { grid-template-columns: repeat(3, 1fr); } }
.usecase-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.usecase-card:hover { border-color: var(--brand-500); }
.usecase-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.usecase-card-head .impact {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-600);
}
.usecase-card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-900);
}
.usecase-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

/* ---------- Cloud capabilities ---------- */
.caps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .caps-grid { grid-template-columns: repeat(4, 1fr); } }
.caps-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.caps-card:hover { border-color: var(--brand-500); }
.caps-card h3 { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.caps-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

/* ---------- Enterprise: trust block ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.trust-card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.25rem;
  transition: all 0.2s;
}
.trust-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.trust-card svg { color: var(--brand-600); }
.trust-card .label { margin-top: 0.75rem; font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }

/* ---------- Our work ---------- */
.work-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.work-filter {
  border-radius: 9999px;
  border: 1px solid var(--ink-200);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  background: transparent;
  transition: all 0.2s;
}
.work-filter:hover { border-color: var(--brand-500); color: var(--brand-600); }
.work-filter.active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.work-card .pills { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.work-card .pill {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); }
  .contact-grid > .cg-left { grid-column: span 5; display: flex; flex-direction: column; gap: 1.5rem; }
  .contact-grid > .cg-right { grid-column: span 7; }
}
.contact-info-card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
}
.contact-info-card .row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-info-card .row.start { align-items: flex-start; }
.contact-info-card .ic {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.contact-info-card .h { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.contact-info-card a { font-size: 0.875rem; color: var(--ink-600); }
.contact-info-card a:hover { color: var(--brand-600); }
.contact-why {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(131, 28, 44, 0.05);
}
.contact-why .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-600);
  font-weight: 600;
}
.contact-why ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.contact-why li { display: flex; align-items: flex-start; gap: 0.5rem; }
.contact-why .check {
  margin-top: 0.25rem;
  display: grid;
  place-items: center;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.15);
  color: var(--brand-600);
  font-size: 0.625rem;
  font-weight: 700;
}

.contact-form {
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.cf-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .cf-grid { grid-template-columns: 1fr 1fr; } }
.cf-field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink-800); }
.cf-field input,
.cf-field select,
.cf-field textarea,
.contact-form textarea {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--ink-200);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  outline: none;
  background: #fff;
  font-family: inherit;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus,
.contact-form textarea:focus { border-color: var(--brand-500); }
.contact-form .cf-block { margin-top: 1rem; }
.contact-form .cf-block label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink-800); }
.contact-form .cf-block textarea { padding: 0.75rem 1rem; }
.contact-form .cf-foot {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.contact-form .cf-foot p { font-size: 0.75rem; color: var(--ink-500); max-width: 28rem; }

.contact-success {
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 2.5rem;
  text-align: center;
}
.contact-success .ic {
  margin: 0 auto;
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.contact-success h2 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink-900);
}
.contact-success p { margin-top: 0.5rem; color: var(--ink-600); }

/* ---------- Support ---------- */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .support-grid { grid-template-columns: repeat(3, 1fr); } }
.support-card {
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.support-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); }
.support-card h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}
.support-card > p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }
.support-card ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.support-card li { display: flex; align-items: flex-start; gap: 0.5rem; }
.support-card .check {
  margin-top: 0.25rem;
  display: grid;
  place-items: center;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.15);
  color: var(--brand-600);
  font-size: 0.625rem;
  font-weight: 700;
}
.support-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .support-help-grid { grid-template-columns: repeat(12, 1fr); }
  .support-help-grid .left { grid-column: span 7; }
  .support-help-grid .right { grid-column: span 5; }
}
.support-help-card {
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}
.support-help-card .row { display: flex; align-items: center; gap: 0.75rem; }
.support-help-card .ic {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.support-help-card .h { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.support-help-card .sub { font-size: 0.75rem; color: var(--ink-500); }
.support-help-card .links { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-700); }
.support-help-card .links a:hover { color: var(--brand-600); }

/* ---------- Privacy / Terms / Cookies legal pages ---------- */
.legal-section { background: rgba(246, 247, 249, 0.6); }
.legal-content {
  max-width: 64rem;
  margin: 0 auto;
}
.legal-content > .updated { font-size: 0.875rem; color: var(--ink-500); }
.legal-content .legal-blocks { margin-top: 2rem; display: flex; flex-direction: column; gap: 2.5rem; }
.legal-content .legal-blocks h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}
@media (min-width: 768px) { .legal-content .legal-blocks h3 { font-size: 1.5rem; } }
.legal-content .legal-blocks .body {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ink-600);
  line-height: 1.7;
}
.legal-content .legal-foot {
  margin-top: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.5rem;
}
.legal-content .legal-foot h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.legal-content .legal-foot p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }
.legal-content .legal-foot a { color: var(--brand-600); }
.legal-content .legal-foot a:hover { text-decoration: underline; }

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }
.principle-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: all 0.2s;
}
.principle-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.principle-card h3 { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.principle-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }

.cookies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .cookies-grid { grid-template-columns: repeat(2, 1fr); } }
.cookie-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: all 0.2s;
}
.cookie-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.cookie-card .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cookie-card .badge {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid;
}
.cookie-card .badge.required {
  border-color: rgba(131, 28, 44, 0.3);
  background: rgba(131, 28, 44, 0.1);
  color: var(--brand-600);
}
.cookie-card .badge.optin {
  border-color: var(--ink-200);
  background: var(--ink-50);
  color: var(--ink-700);
}
.cookie-card h3 { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.cookie-card > p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-600); }
.cookie-card .examples { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-card .ex {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  border: 1px solid var(--ink-100);
  background: var(--ink-50);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: var(--ink-700);
}

/* ---------- Highlights (terms/privacy) 4-up ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .highlight-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sitemap ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sitemap-grid { grid-template-columns: repeat(3, 1fr); } }
.sitemap-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 1.5rem;
  transition: all 0.2s;
}
.sitemap-card:hover { border-color: var(--brand-500); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.sitemap-card h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sitemap-card ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
}
.sitemap-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-700);
  transition: color 0.2s;
}
.sitemap-card a:hover { color: var(--brand-600); }
.sitemap-card a svg {
  color: var(--brand-500);
  opacity: 0;
  margin-left: -1.25rem;
  transition: all 0.2s;
}
.sitemap-card a:hover svg { opacity: 1; margin-left: 0; }

/* ---------- 404 ---------- */
.notfound-section {
  position: relative;
  background: #fff;
  color: var(--ink-900);
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.notfound-section .bg-mesh { position: absolute; inset: 0; }
.notfound-section .container-x { position: relative; text-align: center; max-width: 42rem; }
.notfound-section h1 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 3rem;
}
@media (min-width: 768px) { .notfound-section h1 { font-size: 4.5rem; } }
.notfound-section p { margin-top: 1rem; color: var(--ink-600); }
.notfound-section .home-btn { margin-top: 1.75rem; display: inline-flex; }

/* ---------- Misc utility ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Overrides for icon sizing within bubbles */
.icon-bubble svg { width: 1.25rem; height: 1.25rem; }
.icon-bubble.lg svg { width: 1.25rem; height: 1.25rem; }

/* The chip variant used when icon is followed by text */
.chip svg { width: 0.875rem; height: 0.875rem; }
