:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --line: rgba(15, 15, 15, 0.12);
  --line-strong: rgba(15, 15, 15, 0.24);
  --text: #0f0f10;
  --text-muted: rgba(15, 15, 15, 0.6);
  --text-dim: rgba(15, 15, 15, 0.38);
  --accent: #6fe89a;
  --accent-soft: rgba(111, 232, 154, 0.16);
  --accent-2: #3b5bfc;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 24px 0;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.nav.is-stuck {
  padding: 16px 0;
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.nav__group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__group--right {
  gap: 12px;
  display: none;
}
.nav__logo { flex: 0 0 auto; }

.nav__links {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--accent);
  outline: none;
}
.nav__chevron {
  font-size: 11px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.nav__dropdown { position: relative; }
.nav__dropdown:hover .nav__chevron,
.nav__dropdown:focus-within .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 320px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(15, 15, 16, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 110;
}
.nav__dropdown:hover .nav__dropdown-panel,
.nav__dropdown:focus-within .nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.2s ease;
}
.nav__sub:hover { background: #f6f7fb; }
.nav__sub-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav__sub-title {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .nav__group .nav__burger { display: none !important; }
  .nav__links { display: inline-flex; }
  .nav__group--right { display: flex; }
  .nav__inner {
    justify-content: center;
    gap: 56px;
  }
  .nav__logo { transform: translateX(5%); }
  .nav__cta {
    --cta-base-y: -50%;
    position: absolute;
    right: 32px;
    top: 50%;
  }
}

/* ---------- Hamburger button ---------- */
.nav__burger {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.nav__burger:hover {
  color: var(--accent);
}
.nav__burger-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 14px;
}
.nav__burger-bar {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.25s ease;
  transform-origin: center;
}
.nav__burger-bar:nth-child(1) { top: 0; }
.nav__burger-bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger-bar:nth-child(3) { bottom: 0; }

.nav__burger-label {
  display: none;
}
/* Open state: morph 3 bars into an X — keep dark on white nav so the X is visible */
body.menu-open .nav__burger {
  color: var(--text);
}
body.menu-open .nav__burger-bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
body.menu-open .nav__burger-bar:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}
body.menu-open .nav__burger-bar:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.nav__logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  display: block;
  height: 54px;
  width: auto;
  transition: height 0.4s var(--ease-out);
}
.nav.is-stuck .nav__logo img {
  height: 42px;
}
.nav__cta {
  justify-self: end;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  position: relative;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out);
}
.nav.is-stuck .logo-mark {
  width: 26px;
  height: 26px;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--bg);
  border-radius: 3px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  transform: translateY(var(--cta-base-y, 0%));
  transition: all 0.3s var(--ease-out);
}
.nav__cta:hover {
  transform: translateY(calc(var(--cta-base-y, 0%) - 2px));
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(111, 232, 154, 0.45);
}
.nav__cta .arrow { transition: transform 0.3s var(--ease-out); }
.nav__cta:hover .arrow { transform: translateX(4px); }
@media (max-width: 760px) {
  .nav__burger { padding: 8px; }
  .nav__inner { padding: 0 20px; gap: 12px; }
  .nav__logo img { height: 30px; }
  .nav.is-stuck .nav__logo img { height: 26px; }
  .nav__cta { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  /* Keep the "Let's talk" label visible — show text, not just the arrow */
  .nav__cta { padding: 8px 12px; font-size: 11px; gap: 6px; }
  .nav__cta .arrow { font-size: 13px; }
}

/* ============================================================
   FULL-SCREEN MENU OVERLAY
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90; /* below nav (100) so the burger sits on top */
  background: var(--text);
  color: var(--bg);
  pointer-events: none;
  opacity: 0;
  clip-path: circle(0% at calc(32px + 50px) 40px);
  transition: clip-path 0.7s var(--ease-out), opacity 0.3s ease;
}
body.menu-open .menu {
  pointer-events: auto;
  opacity: 1;
  clip-path: circle(160% at calc(32px + 50px) 40px);
}
.menu__grid {
  width: 100%;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 32px 32px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
}

/* LEFT — navigation + contact (anchored to bottom of the column) */
.menu__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
}
.menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.menu__item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.menu__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.menu__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 4px 36px 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 80px);
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
    color 0.25s ease, padding-left 0.3s var(--ease-out);
}
.menu__item a:hover {
  color: var(--accent);
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  padding-left: 8px;
}
.menu__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease;
}
.menu__item a:hover .menu__dot { background: var(--accent); }

body.menu-open .menu__item a { opacity: 1; transform: translateY(0); }
body.menu-open .menu__item:nth-child(1) a { transition-delay: 0.18s; }
body.menu-open .menu__item:nth-child(2) a { transition-delay: 0.24s; }
body.menu-open .menu__item:nth-child(3) a { transition-delay: 0.30s; }
body.menu-open .menu__item:nth-child(4) a { transition-delay: 0.36s; }
body.menu-open .menu__item:nth-child(5) a { transition-delay: 0.42s; }

.menu__contact {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: 0.5s;
}
body.menu-open .menu__contact { opacity: 1; transform: translateY(0); }
.menu__contact-label {
  margin: 0 0 8px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}
.menu__contact-email {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.menu__contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* RIGHT — 2x2 solutions grid (fills column height) */
.menu__solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.menu-solution {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 32px;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
    background 0.4s var(--ease-out), color 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
  overflow: hidden;
  min-height: 0;
}
body.menu-open .menu-solution { opacity: 1; transform: translateY(0); }
body.menu-open .menu-solution:nth-child(1) { transition-delay: 0.32s; }
body.menu-open .menu-solution:nth-child(2) { transition-delay: 0.38s; }
body.menu-open .menu-solution:nth-child(3) { transition-delay: 0.44s; }
body.menu-open .menu-solution:nth-child(4) { transition-delay: 0.50s; }

.menu-solution::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.menu-solution:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--bg);
}
.menu-solution:hover::before { width: 100%; }

.menu-solution__label {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.4s ease;
}
.menu-solution:hover .menu-solution__label {
  color: var(--accent);
}
.menu-solution__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: inherit;
}

/* Mobile-only "Solutions" accordion injected into the main menu list.
   Hidden on desktop, where the 2x2 grid is used instead. Note: this li is
   intentionally NOT a .menu__item, so it escapes the .menu__item a styling. */
.menu__accordion { display: none; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.menu__accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 4px 36px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 80px);
  letter-spacing: -0.025em;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
    color 0.25s ease, padding-left 0.3s var(--ease-out);
}
body.menu-open .menu__accordion-trigger { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.menu__accordion.is-open .menu__accordion-trigger { color: var(--accent); }
.menu__accordion-trigger:hover {
  color: var(--accent);
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  padding-left: 8px;
}
.menu__accordion.is-open .menu__dot { background: var(--accent); }
.menu__accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.menu__subitem {
  display: block;
  padding: 16px 0 16px 8px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease, padding-left 0.3s var(--ease-out);
}
.menu__subitem:last-child { padding-bottom: 28px; }
.menu__subitem:hover {
  color: var(--accent);
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  padding-left: 16px;
}

@media (max-width: 900px) {
  .menu__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 100px 20px 28px;
    gap: 28px;
    overflow-y: auto;
  }
  .menu__left { justify-content: flex-start; }
  /* Solutions move into the main list as a tap-to-expand item */
  .menu__solutions { display: none; }
  .menu__accordion { display: block; }
}

/* lock body scroll when menu is open */
body.menu-open { overflow: hidden; }

/* Make sections position:relative so content stacks above the thread */
section,
.marquee,
.footer {
  position: relative;
  z-index: 2;
}

/* ============================================================
   SOLUTION PAGES — shared + per-page sections
   ============================================================ */

/* Shared page hero (variants per page) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
  text-align: left;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero__title {
  margin: 24px 0 28px;
  max-width: 1100px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
}
.page-hero__title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.page-hero__copy {
  margin: 0;
  max-width: 720px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text-muted);
}

/* Fractional hero — light gradient + accent halo */
.page-hero--fractional {
  background:
    radial-gradient(circle at 90% 0%, rgba(59, 91, 252, 0.08), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(111, 232, 154, 0.07), transparent 50%),
    #ffffff;
}

/* HubSpot hero — split with badge */
.page-hero--hubspot {
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 72, 0, 0.06), transparent 55%),
    #ffffff;
  min-height: 70vh;
}
.page-hero__inner--split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}
.page-hero__badge {
  margin: 0;
  position: relative;
  display: flex;
  justify-content: center;
}
.page-hero__halo {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255, 72, 0, 0.22), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: halo-pulse 4.5s ease-in-out infinite;
}
.page-hero__badge img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  animation: badge-float 5.5s ease-in-out infinite;
}

/* Development hero — dotted grid + caret */
.page-hero--dev {
  background: #0f0f10;
  color: #ffffff;
  min-height: 70vh;
}
.page-hero--dev .page-hero__title { color: #ffffff; }
.page-hero--dev .page-hero__copy { color: rgba(255, 255, 255, 0.78); }
.page-hero--dev .section-head__label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.page-hero__caret {
  margin: 32px 0 0;
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
  font-size: 16px;
  color: var(--accent);
}
.caret-prefix {
  color: rgba(255, 255, 255, 0.4);
  margin-right: 12px;
}
.caret-cursor {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  animation: caret-blink 1s steps(2, start) infinite;
}
@keyframes caret-blink {
  to { visibility: hidden; }
}

/* Integration hero — dotted network bg with floating nodes */
.page-hero--integration {
  background: #fafafa;
  min-height: 75vh;
  position: relative;
}
.page-hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.page-hero__nodes {
  position: relative;
  margin-top: 64px;
  height: 220px;
  width: 100%;
  max-width: 720px;
}
.node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(15, 15, 15, 0.06);
  animation: node-float 4s ease-in-out infinite;
}
.node--a { top: 0; left: 0; }
.node--b { top: 0; right: 0; animation-delay: -1s; }
.node--c { bottom: 0; left: 8%; animation-delay: -2s; }
.node--d { bottom: 0; right: 8%; animation-delay: -3s; }
.node--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  font-weight: 700;
  padding: 14px 22px;
  font-size: 15px;
  animation: none;
}
@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   FRACTIONAL — tiers + outcomes
   ============================================================ */
.tiers {
  position: relative;
  padding: 140px 0;
  z-index: auto;
  background: transparent;
}
.tiers__bg {
  position: absolute;
  inset: 0;
  background: #fafafa;
  z-index: 0;
}
.tiers > .container { position: relative; z-index: 2; }
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.tier {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.tier:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.06);
}
.tier--featured {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.tier--featured .tier__copy,
.tier--featured .tier__list { color: rgba(255, 255, 255, 0.78); }
.tier__label {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier--featured .tier__label { color: var(--accent); }
.tier__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.tier__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.tier__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}
.tier--featured .tier__list { border-top-color: rgba(255, 255, 255, 0.15); }
.tier__list li::before {
  content: "→ ";
  color: var(--accent);
  margin-right: 6px;
  font-weight: 700;
}

.outcomes {
  padding: 140px 0;
}
.outcomes .section-head__title {
  max-width: none;
}
.outcomes__list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.outcome {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.outcome__num {
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.4;
}
.outcome p {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text);
}
.outcome strong { font-weight: 700; }

/* ============================================================
   HUBSPOT — hubs + process
   ============================================================ */
.hubs { padding: 140px 0; }
.hubs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.hub {
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.hub:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.06);
}
.hub--featured {
  background: linear-gradient(135deg, #ff4800, #ff7a3e);
  border-color: transparent;
  color: #ffffff;
}
.hub--wide {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
}
.hub--wide .hub__copy { max-width: 680px; }
.hub--featured .hub__copy { color: rgba(255, 255, 255, 0.9); }

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.hub__icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 4px;
}
.hub--featured .hub__icon { color: #ffffff; }
.hub__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hub__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.process {
  position: relative;
  padding: 140px 0;
  z-index: auto;
  background: transparent;
}
.process__bg {
  position: absolute;
  inset: 0;
  background: #fafafa;
  z-index: 0;
}
.process > .container { position: relative; z-index: 2; }
.process__steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: process;
}
.process__step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process__num {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.process__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.process__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ============================================================
   DEVELOPMENT — builds + stack + philosophy
   ============================================================ */
.builds { padding: 140px 0; }
.builds .section-head:not(.section-head--centered) .section-head__title {
  max-width: none;
}
.builds__statement {
  max-width: 840px;
  margin: 44px auto 0;
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
}
.builds__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.build {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.build:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.06);
}
.build__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.build__num {
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}
.build__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.build__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.stack {
  position: relative;
  padding: 140px 0;
  z-index: auto;
  background: transparent;
}
.stack__bg {
  position: absolute;
  inset: 0;
  background: #0f0f10;
  z-index: 0;
}
.stack > .container { position: relative; z-index: 2; }
.stack .section-head__title { color: #ffffff; }
.stack .section-head__label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
.stack__intro {
  max-width: 640px;
  margin: 16px auto 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.stack__tags {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.stack__tags li {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.stack__tags li:hover {
  background: rgba(111, 232, 154, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.philosophy { padding: 140px 0; }
.philosophy__list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.philosophy__item {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}
.philosophy__item h3 {
  margin: 0 0 12px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.philosophy__item p {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ============================================================
   INTEGRATION — before/after + patterns + unified
   ============================================================ */
.ba { padding: 140px 0; }
.ba__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.ba__card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
}
.ba__card--before {
  background: #fafafa;
  border-color: var(--line);
}
.ba__card--before .ba__title { color: var(--text-dim); }
.ba__card--after {
  background: linear-gradient(135deg, #ffffff, #f5fff8);
  border-color: var(--accent);
}
.ba__label {
  margin: 0 0 16px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ba__card--after .ba__label { color: var(--accent); }
.ba__title {
  margin: 0 0 20px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ba__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ba__list li {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}
.ba__card--before .ba__list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-weight: 700;
}
.ba__card--after .ba__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.patterns {
  position: relative;
  padding: 140px 0;
  z-index: auto;
  background: transparent;
}
.patterns__bg {
  position: absolute;
  inset: 0;
  background: #fafafa;
  z-index: 0;
}
.patterns > .container { position: relative; z-index: 2; }
.patterns__note {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--text);
}
.patterns__note em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1em;
  color: var(--accent);
}
.patterns__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pattern {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.pattern:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.06);
}
.pattern__viz {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pattern__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.pattern__viz--bridge .pattern__line {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 0 12px;
  position: relative;
}
.pattern__viz--bridge .pattern__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: line-pulse 2s ease-in-out infinite;
}
.pattern__viz--hub { gap: 0; }
.pattern__viz--hub .pattern__node--center {
  position: absolute;
  background: var(--accent);
  color: var(--text);
  z-index: 2;
}
.pattern__viz--hub .pattern__node--n,
.pattern__viz--hub .pattern__node--e,
.pattern__viz--hub .pattern__node--s,
.pattern__viz--hub .pattern__node--w {
  position: absolute;
  width: 24px;
  height: 24px;
  font-size: 10px;
}
.pattern__viz--hub .pattern__node--n { top: 0; }
.pattern__viz--hub .pattern__node--s { bottom: 0; }
.pattern__viz--hub .pattern__node--e { right: 30%; }
.pattern__viz--hub .pattern__node--w { left: 30%; }

.pattern__viz--event { position: relative; }
.pattern__pulse {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: event-pulse 2s ease-out infinite;
  opacity: 0;
}
.pattern__pulse--two { animation-delay: 0.4s; }
.pattern__pulse--three { animation-delay: 0.8s; }
@keyframes event-pulse {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes line-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.pattern__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pattern__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.unified { padding: 140px 0; }
.unified .section-head__title {
  max-width: none;
}
.unified__list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.unified__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.unified__item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.06);
}
.unified__num {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.unified__item h3 {
  margin: 0 0 8px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.unified__item p {
  margin: 0;
  max-width: 740px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Solution-page responsive */
@media (max-width: 900px) {
  .page-hero { min-height: 50vh; padding: 80px 0; }
  .page-hero__inner--split { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__badge img { max-width: 240px; }
  .page-hero__nodes { display: none; }

  .tiers__grid,
  .hubs__grid,
  .patterns__grid { grid-template-columns: 1fr; }
  .builds__grid,
  .philosophy__list,
  .unified__list,
  .ba__split { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }

  .outcome,
  .unified__item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  .process__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   STORY PAGE — long-form reading template
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 110;
  transition: width 0.05s linear;
}

.story-page { background: transparent; }
.story-page__head {
  padding: 80px 0 0;
}
.story-page__head-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.story-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 40px;
  transition: all 0.25s ease;
}
.story-page__back:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.story-page__back .arrow { transition: transform 0.25s var(--ease-out); }
.story-page__back:hover .arrow { transform: translateX(-3px); }

.story-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.story-page__cat { color: var(--accent); }
.story-page__sep { opacity: 0.5; }

.story-page__title {
  margin: 0 0 24px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
}
.story-page__title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.05em;
  color: var(--accent);
}

.story-page__deck {
  margin: 0 0 32px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--text-muted);
}

.story-page__byline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-family: "Poppins", "Inter", sans-serif;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.story-page__byline-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.story-page__byline-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Cover image */
.story-page__cover {
  margin: 56px 0 0;
  padding: 0;
}
.story-page__cover-placeholder {
  width: 100%;
  height: clamp(280px, 50vw, 540px);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #1a1a2e 0%, #2a3eff 60%, #6fe89a 130%);
}
.story-page__cover img {
  width: 100%;
  height: clamp(280px, 50vw, 540px);
  object-fit: cover;
  display: block;
}
.story-page__cover-art {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 50vw, 540px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.story-page__cover-art--inside {
  background:
    radial-gradient(circle at 80% 18%, rgba(111, 232, 154, 0.28), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(120deg, #ff4800 0%, #2a3eff 72%, #0f0f10 130%);
}
.story-page__cover-art--1 {
  background:
    radial-gradient(circle at 78% 18%, rgba(111, 232, 154, 0.3), transparent 55%),
    radial-gradient(circle at 12% 92%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(135deg, #1a1a2e 0%, #2a3eff 65%, #6fe89a 135%);
}
.story-page__cover-art--2 {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(111, 232, 154, 0.18), transparent 50%),
    linear-gradient(135deg, #064e3b 0%, #0f766e 55%, #6fe89a 135%);
}
.story-page__cover-art--3 {
  background:
    radial-gradient(circle at 75% 20%, rgba(111, 232, 154, 0.2), transparent 55%),
    linear-gradient(135deg, #0f0f10 0%, #2a3eff 130%);
}
.story-page__cover-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.story-page__cover-art .story-page__cover-logo {
  height: clamp(20px, 2.4vw, 26px);
  width: auto;
}
.story-page__cover-title {
  margin: 0;
  max-width: 92%;
  color: #ffffff;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.story-page__cover-title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.08em;
  color: var(--accent);
}

/* LONG-FORM BODY */
.story-page__body {
  max-width: 720px !important;
  padding: 80px 32px 60px;
  font-family: "Poppins", "Inter", sans-serif;
}
.story-page__body p {
  margin: 0 0 24px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: var(--text);
}
.story-page__lead {
  font-size: clamp(20px, 1.8vw, 24px) !important;
  line-height: 1.55 !important;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px !important;
}
.story-page__body em {
  font-style: italic;
}
.story-page__body strong {
  font-weight: 700;
}
.story-page__body a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}
.story-page__body a:hover { color: var(--accent); }

.story-page__body h2 {
  margin: 56px 0 20px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}
.story-page__body h3 {
  margin: 40px 0 16px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.story-page__body ul,
.story-page__body ol {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.story-page__body ul li,
.story-page__body ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--text);
}
.story-page__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.story-page__body ol {
  counter-reset: olist;
}
.story-page__body ol li {
  counter-increment: olist;
}
.story-page__body ol li::before {
  content: counter(olist) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 17px;
}

/* Pull quote */
.story-page__pullquote {
  margin: 56px -32px;
  padding: 48px 40px;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  background: transparent;
}
.story-page__pullquote p {
  margin: 0 !important;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em;
  color: var(--text);
  text-align: center;
}

/* Inline figure */
.story-page__figure {
  margin: 48px -32px;
}
.story-page__figure-placeholder {
  width: 100%;
  height: clamp(220px, 38vw, 380px);
  background: linear-gradient(135deg, #6fe89a, #3b5bfc);
  border-radius: var(--radius);
}
.story-page__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.story-page__figure figcaption {
  margin-top: 12px;
  padding: 0 32px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.story-page__signoff {
  margin: 48px 0 0 !important;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 22px !important;
  color: var(--text-muted) !important;
}
.story-page__credit {
  margin: 48px 0 0 !important;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15px !important;
  color: var(--text-muted) !important;
}
.story-page__credit strong {
  color: var(--text);
  font-weight: 700;
}

/* AUTHOR CARD */
.story-page__author {
  max-width: 820px !important;
  padding: 60px 32px;
}
.story-page__author-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px;
  background: #fafafa;
  border-radius: var(--radius-lg);
}
.story-page__author-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}
.story-page__author-meta { display: flex; flex-direction: column; gap: 8px; }
.story-page__author-name {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.story-page__author-bio {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.story-page__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.story-page__share--top { margin: 28px 0; }
.story-page__share--bottom { margin-top: 28px; }
.story-page__share-label {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.55;
  margin-right: 4px;
}
.story-page__share a,
.story-page__share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.2s ease;
}
.story-page__share a:hover,
.story-page__share button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0f;
  transform: translateY(-2px);
}
.story-page__share svg {
  width: 17px;
  height: 17px;
  display: block;
}
.story-page__share .is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0f;
}

/* RELATED STORIES */
.related {
  padding: 80px 0 140px;
  border-top: 1px solid var(--line);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .story-page__head { padding-top: 56px; }
  .story-page__cover { margin-top: 40px; }
  .story-page__body { padding: 56px 24px 40px; }
  .story-page__pullquote { margin: 40px -24px; padding: 36px 24px; }
  .story-page__figure { margin: 36px -24px; }
  .story-page__author-card { grid-template-columns: 1fr; padding: 28px; }
  .story-page__author-photo { width: 64px; height: 64px; }
  .related__grid { grid-template-columns: 1fr; }
  .related { padding: 60px 0 90px; }
}

/* ============================================================
   STORIES PAGE — editorial magazine layout
   ============================================================ */
.stories-header {
  padding: 120px 0 60px;
  text-align: center;
  background: transparent;
}
.stories-header .section-head__label { margin: 0 auto 28px; }
.stories-header__title {
  margin: 0 auto 24px;
  max-width: 1100px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
}
.stories-header__title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stories-header__copy {
  margin: 0 auto;
  max-width: 640px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
}

/* Featured story — large, full-bleed image left, copy right */
.featured-story {
  margin: 40px auto 80px;
  max-width: var(--container);
  padding: 0 32px;
}
.featured-story__link {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.featured-story__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(15, 15, 15, 0.1);
}
.featured-story__image {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
}
.featured-story__cover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.featured-story__logo {
  height: 22px;
  width: auto;
}
.featured-story__title--cover {
  color: #ffffff;
  max-width: 92%;
}
.featured-story__image--1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(135deg, #1a1a2e 0%, #2a3eff 60%, #6fe89a 130%);
}
.featured-story__image--inside {
  background:
    radial-gradient(circle at 80% 18%, rgba(111, 232, 154, 0.28), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(120deg, #ff4800 0%, #2a3eff 72%, #0f0f10 130%);
}
.featured-story__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.featured-story__body {
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.featured-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.featured-story__cat { color: var(--accent); }
.featured-story__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.featured-story__title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.08em;
  color: var(--accent);
}
.featured-story__excerpt {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: var(--text-muted);
}
.featured-story__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.featured-story__cta .arrow { transition: transform 0.3s var(--ease-out); }
.featured-story__link:hover .featured-story__cta .arrow { transform: translateX(4px); }

/* Filter pills */
.stories-filter-bar { padding: 48px 0 0; }
.featured-story.is-hidden { display: none; }
.stories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.filter-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-pill:hover {
  border-color: var(--text);
}
.filter-pill.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Stories list — 12-col asymmetric grid */
.stories-list { padding: 60px 0 140px; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(0, auto);
}
.story-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.story-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.08);
}
.story-tile.is-hidden { display: none; }

/* Tile sizing */
.story-tile--lg { grid-column: span 8; }
.story-tile--md { grid-column: span 4; }
.story-tile--sm { grid-column: span 4; }

/* Image variant */
.story-tile--image .story-tile__image {
  min-height: 220px;
  position: relative;
}
.story-tile__image--a {
  background: linear-gradient(135deg, #ff4800, #ff8a3e);
}
.story-tile__image--b {
  background: linear-gradient(135deg, #0f0f10, #2a3eff);
}
.story-tile__image--c {
  background: linear-gradient(135deg, #6fe89a, #3b5bfc);
}
.story-tile--lg.story-tile--image .story-tile__image {
  min-height: 320px;
}

/* Body */
.story-tile__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.story-tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.story-tile__cat { color: var(--accent); }
.story-tile__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}
.story-tile--lg .story-tile__title {
  font-size: clamp(24px, 2.2vw, 30px);
}
.story-tile__excerpt {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Text-only variant — flex fill, no image */
.story-tile--text .story-tile__body {
  padding: 36px 32px;
}
.story-tile--sm.story-tile--text .story-tile__title {
  font-size: clamp(18px, 1.5vw, 22px);
}

/* Quote variant — typographic, no image */
.story-tile--quote {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  justify-content: center;
}
.story-tile--quote .story-tile__body {
  padding: 36px 32px;
  gap: 16px;
}
.story-tile__quote-mark {
  font-family: "Instrument Serif", serif;
  font-size: 64px;
  line-height: 0.6;
  color: var(--accent);
  font-style: italic;
}
.story-tile__title--quote {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--bg);
}
.story-tile__title--quote em {
  color: var(--accent);
}
.story-tile__attrib {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Dark variant — large text-only with dark bg */
.story-tile--dark {
  background: #0f0f10;
  color: #ffffff;
  border-color: #0f0f10;
}
.story-tile--dark .story-tile__title { color: #ffffff; }
.story-tile--dark .story-tile__excerpt { color: rgba(255, 255, 255, 0.7); }
.story-tile--dark .story-tile__meta { color: rgba(255, 255, 255, 0.5); }
.story-tile--dark .story-tile__cat { color: var(--accent); }
.story-tile--dark .story-tile__body {
  padding: 48px 40px;
  gap: 16px;
}
.story-tile--dark .story-tile__title {
  font-size: clamp(26px, 2.4vw, 36px);
}

/* Empty state */
/* Editorial index — full-width row list */
.stories-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(15, 15, 16, 0.12);
}
.story-row {
  border-bottom: 1px solid rgba(15, 15, 16, 0.12);
  position: relative;
}
.story-row.is-hidden { display: none; }
.story-row__link {
  display: grid;
  grid-template-columns: 140px 1fr 220px 56px;
  gap: 32px;
  align-items: center;
  padding: 24px 28px;
  margin: 0 -28px;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.story-row:hover .story-row__link {
  background-color: #f6f6f6;
}
.story-row__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 96px;
  border-radius: 6px;
  background: #e6e6e6;
  background-size: cover;
  background-position: center;
}
.story-row__thumb svg {
  width: 38px;
  height: 38px;
  color: #fff;
  opacity: 0.92;
}
.story-row__thumb--1 { background-image: linear-gradient(135deg, #ff4800, #ff8a3e); }
.story-row__thumb--2 { background-image: linear-gradient(135deg, #ff4800 0%, #ffb88a 100%); }
.story-row__thumb--3 { background-image: linear-gradient(135deg, #0f0f10, #2a3eff); }
.story-row__thumb--4 { background-image: linear-gradient(135deg, #6fe89a, #3b5bfc); }
.story-row__thumb--5 { background-image: linear-gradient(135deg, #1a1a2e, #ff4800); }
.story-row__thumb--6 { background-image: linear-gradient(135deg, #2a3eff, #6fe89a); }
.story-row__thumb--7 { background-image: linear-gradient(135deg, #6fe89a, #3b5bfc); }
.story-row__thumb--8 { background-image: linear-gradient(135deg, #1a1a2e 0%, #2a3eff 60%, #6fe89a 130%); }
.story-row__thumb--9 { background-image: linear-gradient(135deg, #0f0f10, #6fe89a); }
.story-row__main { min-width: 0; }
.story-row__title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #0f0f10;
}
.story-row__title em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}
.story-row__deck {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15, 15, 16, 0.6);
  margin: 0;
  max-width: 62ch;
}
.story-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  white-space: nowrap;
}
.story-row__cat {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 15, 16, 0.5);
}
.story-row__read {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(15, 15, 16, 0.5);
  letter-spacing: 0.04em;
}
.story-row__arrow {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  color: rgba(15, 15, 16, 0.3);
  justify-self: end;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}
.story-row:hover .story-row__arrow {
  transform: translateX(6px);
  color: #6fe89a;
}

.stories-empty {
  display: none;
  margin: 64px auto 0;
  max-width: 480px;
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 16px;
  color: var(--text-muted);
}
.stories-empty.is-visible { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .featured-story__link { grid-template-columns: 1fr; }
  .featured-story__image { min-height: 280px; }
  .featured-story__body { padding: 40px 32px; }
  .story-row__link {
    grid-template-columns: 110px 1fr 160px 40px;
    gap: 24px;
    padding: 20px 20px;
    margin: 0 -20px;
  }
  .story-row__thumb { width: 110px; height: 76px; }
}
@media (max-width: 720px) {
  .stories-header { padding: 90px 0 40px; }
  .featured-story { margin: 24px auto 56px; }
  .featured-story__image { min-height: 220px; }
  .featured-story__body { padding: 32px 24px; }
  .stories-list { padding: 40px 0 90px; }
  .story-row__link {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 16px;
    padding: 18px 16px;
    margin: 0 -16px;
  }
  .story-row__thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 88px;
    height: 88px;
    align-self: start;
  }
  .story-row__main {
    grid-column: 2;
    grid-row: 1;
  }
  .story-row__title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .story-row__deck {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .story-row__meta {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
  }
  .story-row__cat { font-size: 10px; }
  .story-row__arrow { display: none; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* About hero (video-backed, full section) */
.about-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  background: #0a0a0b;
  color: #ffffff;
}
.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}
.about-hero__inner {
  position: relative;
  z-index: 2;
}
.about-hero .section-head__label {
  margin: 0 auto 28px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.about-hero__title {
  margin: 0 auto 32px;
  max-width: 1100px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(36px, 5.4vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
}
.about-hero__title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.about-hero__copy {
  margin: 0 auto;
  max-width: 720px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 760px) {
  .about-hero { min-height: 50vh; padding: 80px 0 60px; }
  .about-hero__title { font-size: clamp(28px, 7vw, 56px); }
}

/* Our Story section */
.story {
  padding: 120px 0;
  background: transparent;
}
.story .section-head {
  margin-bottom: 56px;
  text-align: center;
}
.story .section-head__label {
  margin: 0 auto 24px;
}
.story__bio {
  /* spans the section — uses container width, not a narrow column */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story__bio p {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text);
}
.story__bio em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.015em;
  color: var(--accent);
}
.story__cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

@media (max-width: 760px) {
  .story { padding: 80px 0; }
  .story__bio p { font-size: clamp(16px, 1.6vw, 19px); }
  .story__cta { margin-top: 32px; }
}

/* Founder section (legacy from earlier template) */
.founder {
  padding: 100px 0;
}
.founder__layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 80px;
  align-items: center;
}
.founder__photo {
  margin: 0;
  position: relative;
}
.founder__photo::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.founder__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 16px 48px rgba(15, 15, 15, 0.12);
}
.founder__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.founder__content .section-head__label {
  margin-bottom: 16px;
}
.founder__name {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.founder__role {
  margin: 0 0 12px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.founder__bio p {
  margin: 0 0 16px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  letter-spacing: -0.012em;
  color: var(--text);
}
.founder__bio p:last-child { margin-bottom: 0; }
.founder__cta { margin-top: 16px; }

/* Principles section */
.principles {
  padding: 140px 0;
  background: transparent;
}
.principles .section-head {
  text-align: center;
  margin-bottom: 56px;
}
.principles .section-head__label {
  margin: 0 auto 24px;
}
.principles .section-head__title {
  margin: 0 auto;
}
.principles__body {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.principles__lead,
.principles__close {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--text);
  text-align: center;
}
.principles__lead em,
.principles__close em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.015em;
  color: var(--accent);
}
.principles__pillars {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principles__pillars li {
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  padding: 28px 8px;
}
.principles__pillars li + li {
  border-left: 1px solid var(--line);
}
.principles__pillars em {
  display: inline-block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 1.18em;
  margin-right: 8px;
  letter-spacing: -0.02em;
}

/* Stats section */
.stats {
  position: relative;
  z-index: auto;
  padding: 140px 0;
  background: transparent;
}
.stats__bg {
  position: absolute;
  inset: 0;
  background: #fafafa;
  z-index: 0;
  pointer-events: none;
}
.stats > .container { position: relative; z-index: 2; }
.stats .section-head__title {
  font-size: clamp(34px, 5vw, 64px);
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .stats .section-head__title {
    white-space: normal;
    font-size: clamp(30px, 8vw, 40px);
  }
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.stat {
  padding: 48px 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 15, 15, 0.06);
}
.stat__number {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}
/* Logo colors, left → right: blue, periwinkle, green */
.stats__grid .stat:nth-child(1) .stat__number { color: #3b5bfc; }
.stats__grid .stat:nth-child(2) .stat__number { color: #7f8fff; }
.stats__grid .stat:nth-child(3) .stat__number { color: #6fe89a; }
.stat__label {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Beliefs section */
.beliefs {
  padding: 140px 0;
}
.beliefs .section-head {
  text-align: center;
  margin-bottom: 56px;
}
.beliefs .section-head__label {
  margin: 0 auto 24px;
}
.beliefs .section-head__title {
  margin: 0 auto;
  max-width: none; /* span the full container */
}
.beliefs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.belief {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.belief:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.06);
  transform: translateY(-3px);
}
.belief__num {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.belief__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.belief__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}
.belief__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text-muted);
}
.belief__copy em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.015em;
  color: var(--accent);
}

/* The 5th card — centered across both columns, slightly featured */
.belief--centered {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 580px;
  text-align: center;
  align-items: center;
}
.belief--centered .belief__body {
  align-items: center;
}
.belief__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--accent-soft);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
  overflow: hidden;
}
.belief__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .about-hero { padding: 120px 0 70px; }
  .founder__layout { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .founder__photo img { max-width: 280px; margin: 0 auto; }
  .founder__photo::before { inset: 12px -12px -12px 12px; }
  .founder__content { align-items: center; }

  .principles { padding: 90px 0; }
  .principles__pillars { grid-template-columns: repeat(3, 1fr); }

  .stats { padding: 90px 0; }
  .stats__grid { grid-template-columns: 1fr; }

  .beliefs { padding: 90px 0; }
  .beliefs__list { grid-template-columns: 1fr; }
  .belief { padding: 32px; }
}
@media (max-width: 480px) {
  .principles__pillars { grid-template-columns: 1fr; }
  .principles__pillars li + li { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  background: #0a0a0b;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero__inner .hero__copy {
  margin-left: auto;
  margin-right: auto;
}
.hero__inner .hero__title { margin-bottom: 28px; }

/* Understated scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: rgba(255, 255, 255, 0.7);
  animation: hero-scroll-pulse 2.4s var(--ease) infinite;
}
@keyframes hero-scroll-pulse {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}
@media (max-width: 480px) {
  .hero__scroll { bottom: 24px; font-size: 10px; }
  .hero__scroll-line { height: 32px; }
}

/* Hero text colors when video background is active */
.hero--video .hero__eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}
.hero--video .hero__title { color: #ffffff; }
.hero--video .hero__title em,
.hero--video .hero__title .line--accent { color: var(--accent); }
.hero--video .hero__copy { color: rgba(255, 255, 255, 0.78); }
.hero--video .btn--primary {
  background: #ffffff;
  color: var(--text);
}
.hero--video .btn--primary:hover {
  background: var(--accent);
  color: #ffffff;
}
.hero--video .btn--primary .btn__circle {
  background: var(--text);
  color: #ffffff;
}
.hero--video .btn--primary:hover .btn__circle {
  background: #ffffff;
  color: var(--accent);
}
.hero--video .btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero--video .btn--ghost:hover {
  background: #ffffff;
  color: var(--text);
  border-color: #ffffff;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
}
.hero__title em {
  display: inline-block;
  white-space: nowrap; /* keep "best" / "next" together as single words */
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 700; /* synthesized bold (Instrument Serif ships only at 400) */
  font-size: 1.18em;
  letter-spacing: -0.025em;
  color: #6fe89a; /* logo green for both highlight words */
}
.hero__title .line {
  display: block;
  padding-bottom: 0.12em; /* room for descenders (g, y, p) */
}
.hero__title .line + .line { margin-top: 0.05em; }
.hero__title .line__inner {
  display: inline-block;
  white-space: nowrap;
}
/* Each word is an unbreakable unit so narrow viewports only wrap at spaces */
.hero__title .word {
  display: inline-block;
  white-space: nowrap;
}
/* Per-character typewriter reveal across the entire headline */
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em);
  transition: opacity 0.12s linear, transform 0.22s var(--ease-out);
}
body.is-loaded .hero__title .char {
  opacity: 1;
  transform: translateY(0);
}

.hero__copy {
  max-width: 540px;
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 40px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
  position: relative;
}
.btn--primary {
  background: var(--text);
  color: var(--bg);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 32px rgba(111, 232, 154, 0.45);
}
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--large { padding: 18px 28px; font-size: 15px; }
.btn__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.btn--primary:hover .btn__circle { background: #fff; color: var(--accent); }
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* CTA button — the line "meets" here */
.btn--cta { z-index: 3; }
.btn__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}
.btn--cta.is-arrived .btn__pulse {
  animation: arrive 1.6s var(--ease-out) infinite;
}
.btn--cta.is-arrived {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 40px rgba(111, 232, 154, 0.5);
}
.btn--cta.is-arrived .btn__circle {
  background: #fff;
  color: var(--accent);
}
@keyframes arrive {
  0% { opacity: 0.9; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ---------------- Client marquee ---------------- */
.clients {
  padding: 80px 0 !important;
  overflow: hidden;
  isolation: isolate; /* contain z-indices so ::before stays inside */
}
/* Solid white wash that fully hides the thread within this section.
   The rails continue from above the section, vanish behind it, and reappear
   the moment the section ends. */
.clients::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: -1;
  pointer-events: none;
}
.clients__label {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 40px;
}
.clients__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.clients__track {
  display: inline-flex;
  gap: 72px;
  align-items: center;
  width: max-content;
  animation: clients-scroll 60s linear infinite;
  /* Hold paused at frame 0 (USGA centered) until the user starts scrolling */
  animation-play-state: paused;
}
body.has-scrolled .clients__track {
  animation-play-state: running;
}
.clients:hover .clients__track {
  animation-play-state: paused;
}
body.has-scrolled .clients:hover .clients__track {
  animation-play-state: paused;
}
.clients__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 160px; /* uniform slot — accommodates very wide AND very square logos */
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.clients__item img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.clients__item:hover {
  transform: translateY(-2px);
}
@keyframes clients-scroll {
  /* USGA is at index 5 in the track; each slot is 160px + 72px gap = 232px,
     so USGA's center sits at 5 * 232 + 80 = 1240px from track origin. */
  from { transform: translateX(calc(50vw - 1240px)); }
  to { transform: translateX(calc(50vw - 1240px - 50%)); }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
}
@media (max-width: 760px) {
  .clients { padding: 56px 0 !important; }
  .clients__label { margin-bottom: 24px; }
  /* Tighter spacing on mobile + start the marquee on USGA rather than centering it */
  .clients__track { gap: 24px; animation-duration: 50s; animation-name: clients-scroll-mobile; }
  .clients__item { height: 40px; width: 96px; }
  .clients__item img { max-height: 40px; }
}
@keyframes clients-scroll-mobile {
  /* Mobile slot = 96px width + 24px gap = 120px pitch. USGA is index 5, so its
     left edge sits at 5 * 120 = 600px. Start it just inside the left mask. */
  from { transform: translateX(calc(36px - 600px)); }
  to { transform: translateX(calc(36px - 600px - 50%)); }
}

/* ---------------- Sections ---------------- */
section { padding: 140px 0; }

.section-head { margin-bottom: 80px; }
.section-head__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.section-head__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  max-width: none;
}
/* Section titles are fully upright bold — the green serif accent is reserved
   for hero and CTA titles only. */
.section-head__title em {
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.muted {
  color: var(--text-dim);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ---------------- Reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------------- Overview / The Studio ---------------- */
.overview {
  background: transparent;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  padding-top: 90px;
}
/* Centered headline split into two visual blocks */
.overview .section-head {
  margin-bottom: 80px;
}
.overview .section-head__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(28px, 3.8vw, 58px);
  font-weight: 800;
  max-width: 1100px;
  margin: 0 auto;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
}
.overview__body {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.overview__para,
.overview__para--lead,
.overview__para--final {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(19.5px, 2.15vw, 25.7px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.overview__para em,
.overview__para em.em-blue {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.overview__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 24px;
  text-align: center;
}

.overview__statement {
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 32px 0 8px;
  color: var(--text);
}

.overview__pillars {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.overview__pillars li {
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  padding: 28px 8px;
  position: relative;
}
.overview__pillars li + li {
  border-left: 1px solid var(--line);
}
.overview__pillars li em {
  display: inline-block;
  font-family: "Poppins", "Inter", sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1em;
  margin-right: 8px;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .overview__body { gap: 28px; }
  .overview__pillars li { padding: 22px 8px; }
}
@media (max-width: 480px) {
  .overview__pillars { grid-template-columns: 1fr; }
  .overview__pillars li + li {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

/* ---------------- Solutions ---------------- */
.solutions {
  position: relative;
  z-index: auto; /* don't create a stacking context — let the bg sit below the thread */
  background: transparent;
}
.solutions__bg {
  position: absolute;
  inset: 0;
  background: #fafafa; /* very light white-grey */
  z-index: 0; /* below the thread (z-index 1) */
  pointer-events: none;
}
.solutions > .container {
  position: relative;
  z-index: 2; /* above the thread so cards + text stay readable */
}
.solutions__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solution {
  position: relative;
  padding: 44px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.solution:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.08);
  transform: translateY(-4px);
}
.solution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.solution:hover::before {
  width: 100%;
}

.solution__top {
  position: relative;
  z-index: 2;
}
.solution__label {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.solution__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text-dim);
  margin: 0;
  transition: color 0.4s var(--ease-out);
}
.solution:hover .solution__title {
  color: var(--text);
}

.solution__bottom {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.solution:hover .solution__bottom {
  opacity: 1;
  transform: translateY(0);
}
.solution__tagline {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text);
  margin: 0 0 12px;
}
.solution__desc {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.solution__cta {
  display: inline-flex;
}

/* On touch / no-hover devices, always show the bottom — there's no hover */
@media (hover: none) {
  .solution__bottom {
    opacity: 1;
    transform: none;
  }
  .solution__title {
    color: var(--text);
  }
}

@media (max-width: 760px) {
  .solutions__grid { grid-template-columns: 1fr; gap: 16px; }
  .solution { padding: 36px 28px; min-height: auto; }
  .solution__title {
    font-size: clamp(36px, 9vw, 52px);
    color: var(--text-dim);
    margin-bottom: 28px;
  }
  /* Always show card content on mobile — hover doesn't apply on touch */
  .solution__bottom {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- Value (legacy, kept for backwards compatibility) ---------------- */
.value {
  background: transparent;
}
.value__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    var(--accent-soft),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px rgba(15, 15, 15, 0.06);
}
.value-card:hover::before { opacity: 1; }
.value-card__num {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: auto;
  letter-spacing: 0.05em;
}
.value-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 24px 0 12px;
}
.value-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 1024px) { .value__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value__grid { grid-template-columns: 1fr; } }

/* ---------------- CEO Quote ---------------- */
.ceo {
  background: transparent;
}
.ceo__layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  align-items: center;
}
.ceo__image {
  margin: 0;
  position: relative;
}
.ceo__image::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.ceo__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 16px 48px rgba(15, 15, 15, 0.12);
}
.ceo__content {
  position: relative;
  padding-left: 32px;
  border-left: 3px solid var(--accent);
}
.ceo__quote {
  margin: 0 0 32px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text);
}
.ceo__quote p { margin: 0; }
.ceo__quote p + p { margin-top: 24px; }
.ceo__quote em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: 0.005em;
  color: var(--accent);
}
.ceo__attribution {
  margin: 0;
}
.ceo__name {
  margin: 0 0 4px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ceo__role {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .ceo .section-head,
  .ceo .section-head__label {
    margin-left: auto;
    margin-right: auto;
  }
  .ceo .section-head { text-align: center; }
  .ceo__layout {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
    text-align: center;
  }
  .ceo__image {
    max-width: 320px;
    width: 100%;
  }
  .ceo__content {
    padding-left: 0;
    border-left: none;
    align-items: center;
  }
  .ceo__quote { text-align: center; }
  .ceo__attribution { text-align: center; }
  .ceo__quote em { display: block; margin-top: 4px; }
}
@media (max-width: 480px) {
  .ceo__image::before { inset: 12px -12px -12px 12px; }
}

/* ---------------- Work ---------------- */
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project { display: flex; flex-direction: column; gap: 18px; cursor: pointer; }
.project__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.project__visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s var(--ease-out);
}
.project:hover .project__visual { transform: scale(1.06); }
.project__visual--1 { background: linear-gradient(135deg, #ffe9c2, #ffb59a); }
.project__visual--2 { background: linear-gradient(135deg, #e6e9ff, #b6c4ff); }
.project__visual--3 { background: linear-gradient(135deg, #f0e6ff, #d6b8ff); }

.orb {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), #c0301c);
  filter: blur(2px);
  animation: float 6s var(--ease) infinite;
}
.orb--small {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, #ffd23a, #b8830f);
  position: absolute;
  top: 20%;
  right: 18%;
  animation-delay: -2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 15, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 15, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.grid-pattern::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  filter: blur(40px);
  opacity: 0.5;
}

.ring {
  width: 70%;
  aspect-ratio: 1;
  border: 2px solid rgba(15, 15, 15, 0.12);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 14s linear infinite;
}
.ring::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}
.ring--two {
  width: 45%;
  border-color: rgba(15, 15, 15, 0.18);
  animation-direction: reverse;
  animation-duration: 9s;
}
.ring--two::before { background: var(--accent-2); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.project__hover {
  position: absolute;
  bottom: 18px; right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.project__hover .arrow { transition: transform 0.3s var(--ease-out); }
.project:hover .project__hover { opacity: 1; transform: translateY(0); }
.project:hover .project__hover .arrow { transform: translateX(3px); }
.project__meta h3 {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.project__meta p { margin: 0; font-size: 14px; color: var(--text-muted); }

@media (max-width: 1024px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------------- HubSpot Partner Recognition ---------------- */
.recognition {
  background: transparent;
  position: relative;
  overflow: hidden;
}
.recognition__bg {
  display: none;
}
.recognition .container { position: relative; z-index: 1; }

.recognition__layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  grid-template-areas:
    "eyebrow badge"
    "title   badge"
    "rating  badge"
    "copy    badge";
  gap: 0 64px;
  align-items: center;
}
.recognition__eyebrow { grid-area: eyebrow; justify-self: start; align-self: end; margin-bottom: 24px; }
.recognition__title   { grid-area: title;   align-self: center; }
.recognition__rating  { grid-area: rating;  align-self: center; margin-top: 28px; }
.recognition__copy    { grid-area: copy;    align-self: start; margin-top: 28px; }
.recognition__badge   { grid-area: badge; }
.recognition .section-head__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.recognition__brand {
  /* inherits everything — same weight, size, family as the rest */
  font-size: 1em;
  font-weight: 800;
  letter-spacing: inherit;
  line-height: inherit;
}
.recognition__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.recognition__rating {
  display: inline-flex;
  gap: 6px;
  color: #f5b842;
  font-size: 22px;
  letter-spacing: 0.05em;
}
.recognition__copy {
  margin: 0;
  max-width: 600px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.012em;
  color: var(--text);
  font-weight: 400;
}
.recognition__copy strong {
  font-weight: 700;
  color: var(--text);
}

.recognition__badge {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recognition__halo {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255, 72, 0, 0.22), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: halo-pulse 4.5s ease-in-out infinite;
}
.recognition__badge img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  animation: badge-float 5.5s ease-in-out infinite;
  transition: transform 0.5s var(--ease-out);
}
.recognition__badge:hover img {
  transform: scale(1.035);
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .recognition__badge img,
  .recognition__halo { animation: none; }
}

@media (max-width: 900px) {
  .recognition__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "badge"
      "title"
      "rating"
      "copy";
    gap: 0;
    text-align: center;
  }
  .recognition__eyebrow {
    justify-self: center;
    margin-bottom: 32px;
  }
  .recognition__badge {
    justify-self: center;
    margin-bottom: 32px;
  }
  .recognition__badge img { max-width: 260px; }
  .recognition__title { margin-bottom: 0; }
  .recognition__rating {
    margin-top: 24px;
    justify-self: center;
  }
  .recognition__copy {
    margin: 24px auto 0;
  }
}

/* ---------------- Awards (legacy) ---------------- */
.awards__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.award {
  display: grid;
  grid-template-columns: 100px 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  position: relative;
  transition: padding 0.4s var(--ease-out);
}
.award::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.award:hover { padding-left: 16px; padding-right: 16px; }
.award:hover::before { opacity: 1; }
.award > * { position: relative; z-index: 1; }
.award__year {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.award__title { color: var(--text); }
.award__org { color: var(--text-muted); font-size: 16px; font-weight: 400; }
.award__arrow {
  font-size: 22px;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease-out), color 0.3s ease;
}
.award:hover .award__arrow { color: var(--accent); transform: translate(4px, -4px); }
@media (max-width: 640px) {
  .award { grid-template-columns: 60px 1fr auto; font-size: 17px; gap: 12px; }
  .award__org { display: none; }
}

/* ---------------- Testimonials ---------------- */
.testimonials {
  position: relative;
  z-index: auto; /* let the bg sit below the thread */
  background: transparent;
}
.testimonials__bg {
  position: absolute;
  inset: 0;
  background: #fafafa;
  z-index: 0;
  pointer-events: none;
}
.testimonials > .container {
  position: relative;
  z-index: 2;
}
.testimonials__display {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
  will-change: opacity, transform;
}
.testimonials__photo {
  margin: 0;
  position: relative;
}
.testimonials__photo img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%; /* circular */
  display: block;
}
.testimonials__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonials__rating {
  display: inline-flex;
  gap: 4px;
  color: #f5b842;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.testimonials__quote {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text);
  font-weight: 400;
}
.testimonials__brand {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  align-self: flex-start;
}
.testimonials__attrib {
  margin-top: 8px;
}
.testimonials__name {
  margin: 0 0 4px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.testimonials__role {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* Navigation row: just two centered arrows */
.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.t-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}
.t-arrow:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: translateY(-2px);
}
.t-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.testimonials__thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.testimonials__thumbs li { display: contents; }
.t-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.45;
  transition: all 0.4s var(--ease-out);
}
.t-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.t-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  width: 96px;
  height: 96px;
}
.t-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 900px) {
  .testimonials .section-head { text-align: center; }
  .testimonials .section-head__label {
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials__display {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    text-align: center;
  }
  .testimonials__photo img { max-width: 280px; }
  .testimonials__content { align-items: center; }
  .testimonials__rating { justify-content: center; }
  .testimonials__brand { align-self: center; }
  .testimonials__nav { gap: 12px; }
  .t-thumb { width: 56px; height: 56px; }
  .t-thumb.is-active { width: 72px; height: 72px; }
  .t-arrow { width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  .testimonials__thumbs { gap: 8px; }
  .t-thumb { width: 44px; height: 44px; }
  .t-thumb.is-active { width: 56px; height: 56px; }
}

/* ---------------- Words (legacy) ---------------- */
.words {
  background: transparent;
}
.words__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.quote:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 15, 15, 0.06);
}
.quote blockquote {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 400;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote figcaption strong { color: var(--text); font-weight: 600; }
@media (max-width: 1024px) { .words__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .words__grid { grid-template-columns: 1fr; } }

/* ---------------- Stories ---------------- */
.stories {
  background: transparent;
}
.section-head--centered {
  text-align: center;
}
.section-head--centered .section-head__label,
.section-head--centered .section-head__title {
  margin-left: auto;
  margin-right: auto;
}
.stories__subtitle {
  margin: 16px auto 0;
  max-width: 100%;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 720px) {
  .stories__subtitle { max-width: 480px; }
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stories__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.stories__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}
.stories__cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(111, 232, 154, 0.45);
}
.stories__cta .arrow { transition: transform 0.3s var(--ease-out); }
.stories__cta:hover .arrow { transform: translateX(4px); }
.story-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(15, 15, 15, 0.08);
}
.story-card__image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}
/* Gradient covers — each story gets a distinct colourway */
.story-card__image--1 {
  background:
    radial-gradient(circle at 78% 18%, rgba(111, 232, 154, 0.3), transparent 55%),
    radial-gradient(circle at 12% 92%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(135deg, #1a1a2e 0%, #2a3eff 65%, #6fe89a 135%);
}
.story-card__image--2 {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(111, 232, 154, 0.18), transparent 50%),
    linear-gradient(135deg, #064e3b 0%, #0f766e 55%, #6fe89a 135%);
}
.story-card__image--3 {
  background: linear-gradient(135deg, #0f0f10, #2a3eff);
}
.story-card__image--inside {
  background:
    radial-gradient(circle at 80% 18%, rgba(111, 232, 154, 0.28), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(120deg, #ff4800 0%, #2a3eff 72%, #0f0f10 130%);
}
.story-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.story-card__logo {
  height: 20px;
  width: auto;
}
.story-card__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.story-card__label {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.story-card__title {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .stories__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stories__grid { grid-template-columns: 1fr; }
}

/* ---------------- CTA + signoff (dark closing section) ---------------- */
.cta {
  position: relative;
  z-index: auto; /* let bg sit below the thread */
  text-align: center;
  padding: 160px 0 100px;
  overflow: hidden;
  color: #ffffff;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background: #151515;
  z-index: 0; /* below the thread (z-index: 1) */
  pointer-events: none;
}
.cta > .container {
  position: relative;
  z-index: 2; /* above the thread for readable content */
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cta__eyebrow {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.cta__title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(32px, 5.2vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
}
.cta__title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* Signoff (logo + copyright) sits below the button, also on the dark bg */
.cta__signoff {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta__logo {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  /* The logo PNG has more empty space on the right side of its canvas;
     a small rightward shift brings the wordmark to true visual center. */
  transform: translateX(5%);
}
.cta__copy {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.cta__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.cta__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.cta__social-link svg {
  width: 20px;
  height: 20px;
}
.cta__social-link:hover {
  color: #0f0f10;
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* CTA button on dark bg — invert: white pill with dark text, hover to accent */
.cta .btn--cta {
  background: #ffffff;
  color: #0f0f10;
  border-color: #ffffff;
}
.cta .btn--cta:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .cta { padding: 110px 16px 70px; }
  .cta__signoff { margin-top: 70px; }
}

@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* ============================================================
   RESPONSIVE — mobile + tablet polish
   ============================================================ */
@media (max-width: 1024px) {
  section { padding: 110px 0; }
  .section-head { margin-bottom: 64px; }
}

@media (max-width: 760px) {
  /* Tighter container padding */
  .container { padding: 0 20px; }

  /* Section spacing */
  section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .section-head__label { padding: 6px 12px; font-size: 11px; }

  /* Hero — shorter on mobile so it doesn't dominate the viewport */
  .hero { min-height: 65vh; padding: 40px 0 60px; }
  .hero__title { font-size: clamp(24px, 7.5vw, 64px); margin-bottom: 24px; }
  .hero__title em { font-size: 1.12em; }
  /* Allow hero lines to wrap on smaller screens — the desktop nowrap would
     otherwise push long lines (e.g. "Modernizing golf's future.") off-screen. */
  .hero__title .line__inner { white-space: normal; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero { min-height: 55vh; }

  /* Buttons */
  .btn { padding: 12px 18px; font-size: 13px; }
  .btn--primary { padding-left: 16px; }
  .btn--large { padding: 14px 22px; font-size: 14px; }
  .btn--large.btn--primary { padding-left: 18px; }
  .btn__circle { width: 28px; height: 28px; }

  /* Cards & content padding */
  .value-card { padding: 28px 24px; min-height: 240px; }
  .value-card h3 { font-size: 20px; }
  .quote { padding: 24px; }
  .quote blockquote { font-size: 19px; }

  /* Project cards */
  .project__media { aspect-ratio: 4/4.5; }
  .project__meta h3 { font-size: 21px; }

  /* Awards rows */
  .award { padding: 24px 0; }

  /* CTA */
  .cta { padding: 140px 0 160px; }
  .cta__title { font-size: clamp(40px, 11vw, 80px); }

  /* Footer */
  .footer { padding: 80px 0 60px; }
  .footer__copy { margin-top: 24px; padding-top: 24px; }

  /* Menu overlay — bigger numbered links scale with viewport */
  .menu__inner { padding: 110px 20px 40px; gap: 32px; }
  .menu__item a { font-size: clamp(40px, 12vw, 80px); }
  .menu__item a::before { font-size: 11px; top: 12px; }
}

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

  /* Hero */
  .hero__title { font-size: clamp(40px, 14vw, 64px); }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Section heads */
  .section-head__title { font-size: clamp(32px, 9vw, 48px); }

  /* Awards: hide org column, simpler layout */
  .award { font-size: 16px; gap: 10px; }

  /* Quotes */
  .quote blockquote { font-size: 17px; }

  /* CTA */
  .cta { padding: 100px 0 120px; }
  .cta__title { font-size: clamp(36px, 11vw, 56px); }

  /* Footer */
  .footer { padding: 60px 16px 40px; }
  .footer__inner { gap: 20px; }

  /* Menu overlay — minor */
  .menu__grid { padding: 90px 16px 28px; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero--contact {
  min-height: 44vh;
  padding: 110px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}
.page-hero--contact .page-hero__title {
  font-size: clamp(44px, 7vw, 96px);
  margin: 20px 0 24px;
}
.page-hero--contact .page-hero__title em {
  color: var(--accent, #6fe89a);
}

.contact-section {
  padding: 40px 0 120px;
  background: #ffffff;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 120px;
}
.contact-info__label {
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 15, 16, 0.45);
}
.contact-info__value {
  display: block;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #0f0f10;
  text-decoration: none;
  transition: color 0.25s ease;
}
.contact-info__value--sm {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(15, 15, 16, 0.7);
}
a.contact-info__value:hover { color: #2a3eff; }

.contact-meet__title {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f0f10;
}
.contact-meet__deck {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(15, 15, 16, 0.65);
  max-width: 56ch;
}
.contact-meet__notice {
  margin: 0 0 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent, #6fe89a);
  background: #f7faf7;
  border-radius: 0 6px 6px 0;
  max-width: 64ch;
}
.contact-meet__notice-label {
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 15, 16, 0.55);
}
.contact-meet__notice-text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 15, 16, 0.75);
}
.meetings-iframe-container {
  width: 100%;
  min-height: 720px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 15, 16, 0.08);
}
.meetings-iframe-container iframe {
  width: 100% !important;
  min-height: 720px;
  border: 0;
  display: block;
}

.cta--minimal { padding: 56px 0; }
.cta--minimal .cta__signoff { margin-top: 0; }

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-info {
    position: static;
    gap: 24px;
  }
  .meetings-iframe-container,
  .meetings-iframe-container iframe { min-height: 640px; }
}
@media (max-width: 720px) {
  .page-hero--contact { min-height: 36vh; padding: 90px 0 40px; }
  .contact-section { padding: 24px 0 80px; }
}

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