/* ==========================================================================
   The Growth Maverick — styles.css
   Merged responsive build from 2a (desktop) + 2b (mobile) mockups
   ========================================================================== */

:root {
  --ink: #1A1D43;
  --navy: #1A1D43;
  --blue: #0A7B84;
  --blue-deep: #086A72;
  --purple: #0A7B84;
  --pink: #FEB831;
  --orange: #FEB831;
  --green: #0A7B84;
  --yellow: #FEB831;
  --slate: #475569;
  --slate-light: #64748B;
  --muted: #B7C4DE;
  --border: #EDF1F8;
  --border-blue: #CDE8EA;
  --bg-soft: #F4F8FF;
  --grad-brand: linear-gradient(135deg, #0A7B84, #1A1D43);
  --grad-hot: linear-gradient(90deg, #0A7B84, #12A0AB, #FEB831);
  --grad-cta-panel: linear-gradient(120deg, #1A1D43 0%, #0A7B84 60%, #12A0AB 100%);
  --radius-card: 20px;
  --shadow-card: 0 10px 24px rgba(15, 30, 61, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(10, 123, 132, .3);
}
.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
}
.btn--nav { font-size: 14px; padding: 13px 22px; }
.btn--lg { font-size: 17px; padding: 17px 32px; }
.btn--md { font-size: 15px; padding: 15px 28px; }

.btn__circle {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.btn--yellow .btn__circle { background: rgba(15, 23, 42, .14); }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Section headings ---------- */
.section-title {
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0;
}
.section-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--slate);
  font-weight: 500;
  line-height: 1.6;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1232px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
}
.brand__mark-img {
  height: 30px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.brand__name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-weight: 700;
  font-size: 15px;
  color: #334155;
  transition: color .15s ease;
}
.nav__link:hover { color: var(--blue); }

.nav__toggle {
  display: none;
  font-size: 26px;
  color: var(--ink);
  padding: 4px;
  line-height: 1;
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 30, 61, .5);
}
.mobile-menu.is-open { display: block; }
.mobile-menu__panel {
  background: #fff;
  border-radius: 0 0 24px 24px;
  padding: 18px 20px 28px;
  box-shadow: 0 26px 64px rgba(15, 30, 61, .25);
  animation: menuDrop .22s ease;
}
@keyframes menuDrop {
  from { transform: translateY(-16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mobile-menu__close { font-size: 26px; color: var(--ink); padding: 4px; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__link {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__cta { margin-top: 20px; width: 100%; font-size: 15px; padding: 16px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 20px 76px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 8%, #EBEEF6 0%, #F7FAFF 42%, #FFFFFF 78%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--border-blue);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue-deep);
  box-shadow: 0 8px 18px rgba(10, 123, 132, .12);
  white-space: nowrap;
}
.chip i { font-size: 16px; }

/* Desktop: floating column pinned left. Mobile: wrapping row. */
.hero__chips--desktop {
  position: absolute;
  top: 60px;
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero__chips--desktop .chip:nth-child(1) { transform: rotate(-4deg); }
.hero__chips--desktop .chip:nth-child(2) { transform: rotate(3deg); margin-left: 18px; }
.hero__chips--desktop .chip:nth-child(3) { transform: rotate(-3deg); }
.hero__chips--desktop .chip:nth-child(4) { transform: rotate(4deg); margin-left: 24px; }
.hero__chips--desktop .chip:nth-child(5) { transform: rotate(-2deg); }

.hero__chips--mobile {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.hero__chips--mobile .chip { font-size: 13px; padding: 7px 13px; gap: 6px; }
.hero__chips--mobile .chip i { font-size: 14px; }

.hero__content { position: relative; max-width: 720px; margin: 0 auto; }

.hero__title {
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}
.text-gradient {
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--slate);
  margin: 20px auto 0;
  max-width: 600px;
  font-weight: 500;
}

/* Video frame */
.video-frame {
  position: relative;
  margin: 34px auto 0;
  max-width: 620px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(10, 123, 132, .22);
  aspect-ratio: 16 / 9;
  border: 4px solid #fff;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(10, 123, 132, .4);
  transition: transform .15s ease;
  pointer-events: none;
}
.video-frame:hover .video-frame__play { transform: scale(1.06); }
.video-frame__play i { font-size: 38px; color: #fff; margin-left: 4px; }

.hero__cta-title {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  margin: 36px 0 6px;
}
.hero__cta-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--slate);
  margin: 0 auto 24px;
  max-width: 520px;
  font-weight: 500;
}

/* ==========================================================================
   FUNNEL
   ========================================================================== */
.funnel { background: var(--navy); padding: clamp(44px, 7vw, 80px) 20px; }
.funnel__head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 5vw, 52px); }
.funnel__head .section-title { color: #fff; }
.funnel__head .section-sub { color: var(--muted); margin: 14px auto 0; max-width: 540px; }
.highlight-yellow {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 14px;
  border-radius: 10px;
}

.funnel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.step-card__num {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.step-card__icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-card__icon i { font-size: 30px; }
.step-card h3 { font-weight: 800; font-size: 21px; margin: 0 0 8px; }
.step-card p { font-size: 15px; color: var(--slate); margin: 0; font-weight: 500; }

.step-card--1 .step-card__num { background: var(--blue); }
.step-card--1 .step-card__icon { background: #EBEEF6; }
.step-card--1 .step-card__icon i { color: var(--blue); }
.step-card--2 .step-card__num { background: var(--pink); }
.step-card--2 .step-card__icon { background: #FCEBCF; }
.step-card--2 .step-card__icon i { color: var(--pink); }
.step-card--3 .step-card__num { background: var(--navy); }
.step-card--3 .step-card__icon { background: #FCEBCF; }
.step-card--3 .step-card__icon i { color: var(--navy); }

/* ==========================================================================
   EBOOK
   ========================================================================== */
.ebook { padding: clamp(44px, 7vw, 80px) 20px; }
.ebook__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  background: var(--grad-brand);
  border-radius: 28px;
  padding: 48px;
}
.ebook__panel h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: #fff;
}
.ebook__panel p {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, .85);
  margin: 16px 0 26px;
  font-weight: 500;
}
.ebook__img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .3);
  aspect-ratio: 4 / 3;
  border: 4px solid rgba(255, 255, 255, .25);
}
.ebook__img img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners { padding: 12px 20px clamp(44px, 7vw, 80px); text-align: center; }
.partners .section-sub { margin: 12px auto clamp(24px, 4vw, 40px); max-width: 560px; }
.partners__row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.partner-card {
  width: 210px;
  height: 120px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
}
.partner-card i { font-size: 42px; }
.partner-card__logo { height: 40px; width: auto; }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder { background: var(--bg-soft); padding: clamp(44px, 7vw, 80px) 20px; }
.founder__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.founder__name {
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 6px 0 20px;
}
.founder__bio {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 22px;
  font-weight: 500;
}
.founder__bio strong { color: var(--ink); }
.founder__points { display: flex; flex-direction: column; gap: 14px; }
.founder__cta { margin-top: 26px; }
.founder__cta i { font-size: 17px; }
.founder__point { display: flex; gap: 12px; align-items: flex-start; }
.founder__point i {
  font-size: 22px;
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 1px;
}
.founder__point span {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
}
.founder__photo-wrap { position: relative; }
.founder__photo-bg {
  position: absolute;
  inset: -16px -16px -16px 24px;
  background: linear-gradient(135deg, #0A7B84, #FEB831);
  border-radius: 32px;
  transform: rotate(4deg);
}
.founder__photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(10, 123, 132, .28);
  aspect-ratio: 3 / 4;
  border: 4px solid #fff;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: clamp(44px, 7vw, 80px) 20px; }
.testimonials__head { text-align: center; max-width: 640px; margin: 0 auto clamp(26px, 4.5vw, 48px); }
.testimonials__head .section-title { margin-top: 12px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.review-card__video {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
}
.review-card__video img { width: 100%; height: 100%; object-fit: cover; }
.review-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
  pointer-events: none;
}
.review-card__video:hover .review-card__play { transform: scale(1.08); }
.review-card__play i { font-size: 22px; color: #fff; margin-left: 2px; }
.review-card__name { font-weight: 800; font-size: 15px; }
.review-card__role { font-size: 12px; color: var(--slate-light); }
.review-card__stars { color: var(--yellow); margin-top: 6px; font-size: 14px; letter-spacing: 2px; }

.quote-card {
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-card i { font-size: 28px; }
.quote-card p { font-size: 14px; line-height: 1.5; margin: 8px 0 0; font-weight: 600; }
.quote-card__who { margin-top: 16px; }
.quote-card__name { font-weight: 800; font-size: 15px; }
.quote-card__role { font-size: 12px; }

.quote-card--brand {
  background: var(--grad-brand);
  box-shadow: 0 14px 30px rgba(10, 123, 132, .28);
  color: #fff;
}
.quote-card--brand i { color: rgba(255, 255, 255, .6); }
.quote-card--brand .quote-card__role { color: rgba(255, 255, 255, .8); }
.quote-card--green { background: #E6F6F7; border: 2px solid #B9E4E7; }
.quote-card--green i { color: var(--green); }
.quote-card--green .quote-card__role { color: var(--slate); }
.quote-card--pink { background: #FFF6E1; border: 2px solid #FBE3A8; }
.quote-card--pink i { color: var(--pink); }
.quote-card--pink .quote-card__role { color: var(--slate); }
.quote-card--teal { background: #E6F6F7; border: 2px solid #B9E4E7; }
.quote-card--teal i { color: #0A7B84; }
.quote-card--teal .quote-card__role { color: var(--slate); }

.testimonials__cta { text-align: center; margin-top: clamp(24px, 4vw, 40px); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--bg-soft); padding: clamp(44px, 7vw, 80px) 20px; }
.faq .section-title { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open {
  border-color: var(--border-blue);
  box-shadow: 0 10px 24px rgba(10, 123, 132, .08);
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--ink);
}
.faq-item__q i {
  color: #94A3B8;
  font-size: 18px;
  flex: 0 0 auto;
  transition: transform .25s ease, color .2s ease;
}
.faq-item.is-open .faq-item__q i { transform: rotate(180deg); color: var(--blue); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item__a p {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--slate);
  margin: 0;
  padding: 0 24px 22px;
  font-weight: 500;
  line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { padding: clamp(44px, 7vw, 80px) 20px; }
.final-cta__panel {
  max-width: 960px;
  margin: 0 auto;
  background: var(--grad-cta-panel);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta__bubble {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.final-cta__panel h2 {
  position: relative;
  font-weight: 800;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.final-cta__panel p {
  position: relative;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(15px, 1.8vw, 18px);
  margin: 16px auto 30px;
  max-width: 520px;
  font-weight: 500;
}
.final-cta__panel .btn { position: relative; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 48px 20px; background: var(--navy); }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.footer .brand__name { color: #fff; font-size: 17px; }
/* Navy parts of the mark would disappear on the dark footer — sit it on a white chip. */
.footer .brand__mark-img {
  height: 24px;
  background: #fff;
  padding: 7px 9px;
  border-radius: 10px;
}
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: background .15s ease;
}
.footer__social a:hover { background: rgba(255, 255, 255, .18); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-title {
  margin: 0 0 2px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.footer__contact-item i { color: var(--green); font-size: 16px; flex: 0 0 auto; margin-top: 1px; }
.footer__contact-item a { color: var(--muted); transition: color .15s ease; }
.footer__contact-item a:hover { color: #fff; }

.footer__links { display: flex; gap: 28px; }
.footer__links a { font-weight: 700; color: var(--muted); transition: color .15s ease; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
}
.footer__bottom p { font-size: 12px; color: #8B9BB8; margin: 0; }
.footer__bottom p + p { margin-top: 6px; }
.footer__bottom a { color: #8B9BB8; }
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   VIDEO MODAL
   ========================================================================== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 30, 61, .8);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.is-open { display: flex; }
.video-modal__box {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.video-modal__box iframe,
.video-modal__box video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal__empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  padding: 24px;
}
.video-modal__empty i { font-size: 44px; color: var(--green); }
/* Fill the 16:9 box so the injected iframe/video doesn't collapse (left a gap) */
.video-modal__content { position: absolute; inset: 0; }
.video-modal__content iframe,
.video-modal__content video { width: 100%; height: 100%; border: 0; display: block; }

.video-modal__close {
  position: absolute;
  top: -0px;
  right: 0px;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE — TABLET & MOBILE
   ========================================================================== */
@media (max-width: 1180px) {
  .hero__chips--desktop { display: none; }
  .hero__chips--mobile { display: flex; }
}

@media (max-width: 900px) {
  .funnel__grid { grid-template-columns: 1fr; gap: 26px; max-width: 480px; }
  .step-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px 20px; }
  .step-card__icon { margin-bottom: 0; flex: 0 0 auto; width: 50px; height: 50px; }
  .step-card__icon i { font-size: 26px; }
  .step-card h3 { font-size: 18px; margin-bottom: 4px; }
  .step-card p { font-size: 14px; }

  .ebook__panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .ebook__img { order: -1; aspect-ratio: 16 / 10; }

  .founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .founder__photo-wrap { order: -1; max-width: 240px; margin: 0 auto; }
  .founder__photo-bg { inset: -12px -12px -12px 12px; border-radius: 26px; }
  .founder__text { text-align: left; }
  .founder__text .section-title,
  .founder__name { text-align: center; }

  .testimonials__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quote-card { grid-column: 1 / -1; }

  .case-grid { grid-template-columns: 1fr; max-width: 460px; }
}

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

  .hero { padding: 32px 20px 44px; }
  .hero .btn--lg,
  .testimonials__cta .btn,
  .final-cta .btn,
  .ebook .btn { width: 100%; }

  .partners__row { flex-direction: column; gap: 12px; }
  .partner-card {
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 10px;
    padding: 18px;
  }
  .partner-card i { font-size: 28px; }

  .footer__top { flex-direction: column; align-items: center; text-align: center; }
  .footer__social { justify-content: center; }
}

/* ==========================================================================
   PRICING PAGE
   ========================================================================== */
.pricing-header { padding: clamp(36px, 6vw, 60px) 20px 0; text-align: center; }
.pricing-header h1 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin: 0;
}

/* Promo banner */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 900px;
  margin: clamp(24px, 4vw, 36px) auto 0;
  background: #E6F6F7;
  border: 1px solid #B9E4E7;
  border-radius: 16px;
  padding: 18px 24px;
  text-align: left;
}
.promo-banner.is-dismissed { display: none; }
.promo-banner__msg { display: flex; align-items: center; gap: 12px; }
.promo-banner__msg i { font-size: 24px; color: var(--green); flex: 0 0 auto; }
.promo-banner__msg span { font-size: clamp(13px, 1.6vw, 15px); font-weight: 500; }
.promo-banner__close { color: var(--slate-light); font-size: 18px; flex: 0 0 auto; padding: 4px; }
.promo-banner__close:hover { color: var(--ink); }

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin: clamp(28px, 4.5vw, 40px) auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.billing-toggle__opt {
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-light);
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.billing-toggle__opt.is-active {
  font-weight: 800;
  color: var(--ink);
  border-bottom-color: var(--blue);
}
.billing-toggle__save {
  font-weight: 800;
  font-size: 13px;
  color: var(--green);
  background: #E6F6F7;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-header__lede {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink);
}
.pricing-header__sub {
  margin: 10px auto 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
}

/* Cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(32px, 5vw, 44px) 20px clamp(40px, 5vw, 56px);
  max-width: 1160px;
  margin: 0 auto;
}
.plan-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 12px 30px rgba(15, 30, 61, .06);
}
.plan-card__tier {
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.plan-card__desc {
  text-align: center;
  margin: 8px auto 0;
  max-width: 260px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate-light);
}
.plan-card__per { font-size: 17px; font-weight: 600; color: var(--slate-light); }
.plan-card__billnote {
  text-align: center;
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--slate-light);
}
.plan-card__spend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.plan-card__spend i { color: var(--blue); font-size: 16px; }
.plan-card__cap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #FEF9E7;
  border: 1px solid #FBE7A1;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #8A6D00;
  text-align: left;
}
.plan-card__cap i { color: #C79A00; font-size: 15px; flex: 0 0 auto; margin-top: 1px; }
.plan-card__included-label {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--slate-light);
}
/* Push the CTA to the bottom so all three align regardless of list length */
.plan-card__cta { margin-top: auto; }
.plan-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
}
.plan-card__title i { font-size: 22px; }
.plan-card__plus { text-align: center; font-weight: 800; font-size: 18px; margin: 2px 0; color: var(--muted); }
.plan-card__price {
  text-align: center;
  font-weight: 800;
  font-size: 38px;
  margin: 18px 0 2px;
  letter-spacing: -0.02em;
}
.plan-card__equiv {
  margin: -6px 0 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-light);
}
.plan-card--dark .plan-card__equiv { color: var(--muted); }
.plan-card__cta.is-loading { opacity: .72; pointer-events: none; }
.plan-card__strike {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-card__strike s { color: var(--blue); font-weight: 700; font-size: 16px; }
.plan-card__strike .now { font-weight: 800; font-size: 20px; }
.plan-card__strike .note { font-size: 13px; color: var(--slate-light); }
.plan-card__offer { text-align: center; margin: 14px 0 22px; }
.plan-card__offer span {
  background: #FFF6E1;
  color: var(--pink);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan-card__features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.plan-feature { display: flex; gap: 10px; align-items: flex-start; }
.plan-feature i { font-size: 19px; color: var(--green); flex: 0 0 auto; margin-top: 1px; }
.plan-feature span { font-size: 14px; color: #334155; line-height: 1.5; }
.plan-feature span strong { color: var(--ink); }
.plan-feature--sub { padding-left: 29px; font-size: 14px; color: #334155; }
.plan-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(10, 123, 132, .26);
  transition: transform .15s ease, filter .15s ease;
}
.plan-card__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
/* Outline variant for the application-only Scale tier (defined after the base
   rule so its background wins the cascade). */
.plan-card__cta--outline {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--border-blue);
  box-shadow: none;
}
.plan-card__cta--outline:hover { background: var(--bg-soft); }
.plan-card__more {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Dark featured card */
.plan-card--dark {
  position: relative;
  background: var(--navy);
  border: none;
  box-shadow: 0 20px 44px rgba(15, 30, 61, .28);
  color: #fff;
}
.plan-card--dark .plan-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.plan-card--dark .plan-card__strike s { color: #4FC9D2; }
.plan-card--dark .plan-card__strike .note { color: var(--muted); }
.plan-card--dark .plan-card__offer span { background: rgba(254, 184, 49, .18); color: #FBE3A8; }
.plan-card--dark .plan-feature i { color: #FEB831; }
.plan-card--dark .plan-feature span { color: #D6DEEC; }
.plan-card--dark .plan-feature span strong { color: #fff; }
.plan-card--dark .plan-card__more { border-top-color: rgba(255, 255, 255, .12); }
.plan-card--dark .plan-card__desc { color: #B7C4DE; }
.plan-card--dark .plan-card__per { color: #B7C4DE; }
.plan-card--dark .plan-card__billnote { color: #B7C4DE; }
.plan-card--dark .plan-card__spend { color: #fff; }
.plan-card--dark .plan-card__spend i { color: #4FC9D2; }
.plan-card--dark .plan-card__included-label { color: #9FB0CE; }

/* Every plan includes */
.plan-includes {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4px 20px 8px;
  text-align: center;
}
.plan-includes__title {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--slate-light);
  margin: 0 0 16px;
}
.plan-includes__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
}
.plan-includes__row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.plan-includes__row i { color: var(--green); font-size: 18px; }

/* Not sure which plan */
.plan-help {
  max-width: 720px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 0 20px clamp(48px, 6vw, 72px);
  text-align: center;
}
.plan-help h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.plan-help p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 auto 26px;
  max-width: 600px;
}

/* Clients band */
.clients-band { background: var(--navy); padding: clamp(44px, 6vw, 64px) 20px; }
.clients-band__inner { max-width: 1080px; margin: 0 auto; }
.clients-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.clients-band__head h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.clients-band__head p {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 460px;
  font-weight: 500;
}
.clients-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-card { background: #fff; border-radius: 18px; padding: 14px; }
.client-card__video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
}
.client-card__video img { width: 100%; height: 100%; object-fit: cover; }
.client-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
  transition: transform .15s ease;
  pointer-events: none;
}
.client-card__video:hover .client-card__play { transform: scale(1.08); }
.client-card__play i { font-size: 20px; margin-left: 2px; }
.client-card__who { display: flex; align-items: center; gap: 9px; }
.client-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}
.client-card__name { font-weight: 800; font-size: 14px; color: var(--ink); }
.client-card__role { font-size: 11px; color: var(--slate-light); }
.client-card__stars { color: var(--yellow); margin-top: 8px; font-size: 14px; letter-spacing: 2px; }

/* Checkout success toast */
.checkout-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(15, 30, 61, .35);
  transition: transform .35s ease;
  max-width: calc(100vw - 40px);
}
.checkout-toast.is-visible { transform: translateX(-50%) translateY(0); }
.checkout-toast i { font-size: 20px; color: #FEB831; flex: 0 0 auto; }

/* Pricing responsive */
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .plan-card--dark { order: -1; }
  .clients-band__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .promo-banner { align-items: flex-start; }
  .clients-band__grid { grid-template-columns: 1fr; }
  .clients-band__head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Thank-you page (/success)
   ========================================================================== */
.thanks {
  background: var(--bg-soft);
  padding: clamp(40px, 6vw, 76px) 20px clamp(56px, 7vw, 96px);
  min-height: 60vh;
}
.thanks__wrap { max-width: 680px; margin: 0 auto; }
.thanks__state { text-align: center; }
.thanks__state h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
}
.thanks__lede {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 auto 26px;
  max-width: 480px;
}
.thanks__muted { color: var(--slate-light); font-size: 14px; }

.thanks__badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(10, 123, 132, .32);
}
.thanks__badge--warn {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(252, 213, 0, .32);
}

.thanks__spinner {
  width: 34px;
  height: 34px;
  margin: 40px auto 14px;
  border: 3px solid var(--border-blue);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: thanks-spin .8s linear infinite;
}
@keyframes thanks-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .thanks__spinner { animation-duration: 2.4s; }
}

/* Order summary card */
.thanks__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  text-align: left;
  margin-bottom: 28px;
}
.thanks__card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 800;
  font-size: 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.thanks__invoice-no { font-weight: 600; font-size: 13px; color: var(--slate-light); }

.thanks__lines { list-style: none; margin: 0; padding: 0; }
.thanks__lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.thanks__lines em { font-style: normal; color: var(--slate-light); font-size: 13px; }

.thanks__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0 4px;
  font-size: 16px;
}
.thanks__total strong { font-size: 22px; letter-spacing: -0.01em; }

.thanks__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.thanks__downloads .btn { flex: 1 1 auto; justify-content: center; }

/* Next steps */
.thanks__next {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  text-align: left;
  margin-bottom: 28px;
}
.thanks__next h2 { font-size: 19px; margin: 0 0 14px; }
.thanks__next ol { margin: 0 0 14px; padding-left: 20px; }
.thanks__next li { margin-bottom: 10px; color: var(--slate); line-height: 1.5; }
.thanks__next li strong { color: var(--ink); }

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Secondary button used on this page */
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border-blue);
}
.btn--ghost:hover { background: var(--bg-soft); }

@media (max-width: 640px) {
  .thanks__downloads .btn, .thanks__actions .btn { width: 100%; }
}

/* ==========================================================================
   Standalone book-a-call band + case-studies placeholder
   ========================================================================== */
.book-cta { text-align: center; padding: clamp(26px, 4.5vw, 44px) 20px; }

.case-studies { background: var(--bg-soft); padding: clamp(44px, 7vw, 80px) 20px; text-align: center; }
.case-studies .section-sub { margin: 12px auto 0; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 32px auto 0;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.case-card__quote {
  border-radius: 12px;
  padding: 22px;
  min-height: 158px;
}
.case-card__quote p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #334155; }
.case-card__quote--blue { background: #EBEEF6; }
.case-card__quote--green { background: #E6F6F7; }
.case-card__quote--pink { background: #FFF6E1; }
.case-card__who { display: flex; align-items: center; gap: 12px; padding: 16px 8px 6px; }
.case-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border-blue);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.case-card__name { font-weight: 800; font-size: 15px; }
.case-card__role { font-size: 13px; color: var(--blue); font-weight: 600; }
.case-studies__note { margin: 28px auto 0; font-size: 14px; color: var(--slate); }
.case-studies__note a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   PORTFOLIO PAGE
   ========================================================================== */
.pf-header {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 20px clamp(24px, 3vw, 32px);
  max-width: 760px;
  margin: 0 auto;
}
.pf-header h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  line-height: 1.05;
}
.pf-header__sub {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
}
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.pf-filter {
  font-weight: 700;
  font-size: 14px;
  color: var(--slate);
  background: #fff;
  border: 2px solid var(--border-blue);
  border-radius: 999px;
  padding: 9px 20px;
  transition: all .15s ease;
}
.pf-filter:hover { border-color: var(--teal, #0A7B84); color: var(--ink); }
.pf-filter.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) 20px clamp(48px, 6vw, 72px);
}
.pf-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 30, 61, .14); }
.pf-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.pf-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.pf-card:hover .pf-card__thumb img { transform: scale(1.04); }
.pf-card__type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 5px 11px;
  border-radius: 999px;
}
.pf-card__view {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all .18s ease;
}
.pf-card:hover .pf-card__view { opacity: 1; transform: translateY(0); }
.pf-card__body { padding: 18px 18px 20px; }
.pf-card__name { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.pf-card__blurb { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.pf-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.pf-card__tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: #E6F6F7;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Lightbox */
.pf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 20, 45, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: clamp(12px, 4vw, 40px);
  overflow: auto;
}
.pf-modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.pf-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  margin: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  animation: pfPop .2s ease;
}
@keyframes pfPop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.pf-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.pf-modal__close:hover { background: #fff; }
.pf-modal__head { padding: 28px 28px 20px; border-bottom: 1px solid var(--border); }
.pf-modal__type {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.pf-modal__title { margin: 12px 0 0; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.pf-modal__desc { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 62ch; }
.pf-modal__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pf-modal__gallery { display: flex; flex-direction: column; gap: 16px; padding: 24px 28px; background: var(--bg-soft); }
.pf-modal__gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(15, 30, 61, .08);
}
.pf-modal__foot {
  position: sticky;
  bottom: 0;
  padding: 18px 28px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-radius: 0 0 20px 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
  .pf-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* Portfolio — header attribution note + lightbox meta */
.pf-header__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-light);
}
.pf-header__note i { color: var(--green); font-size: 16px; }

.pf-modal__meta { padding: 22px 28px 4px; }
.pf-meta__platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  background: #E6F6F7;
  padding: 7px 14px;
  border-radius: 999px;
}
.pf-meta__platform i { color: var(--green); font-size: 16px; }
.pf-meta__label {
  margin: 20px 0 10px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.pf-meta__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pf-meta__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #334155;
}
.pf-meta__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

/* Portfolio lightbox — tech stack chips */
.pf-meta__stack { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-meta__stackchip {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  padding: 6px 14px;
  border-radius: 8px;
}

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
/* Index grid cards (also reused in the landing "Case studies" section) */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) 20px clamp(48px, 6vw, 72px);
}
.cs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 26px 26px 22px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 30, 61, .14); }
.cs-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cs-card__chip {
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: var(--navy); padding: 5px 11px; border-radius: 999px;
}
.cs-card__client { font-size: 13px; font-weight: 700; color: var(--slate-light); }
.cs-card__headline { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cs-card__bignum { font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: var(--green); line-height: 1; }
.cs-card__bignum-l { font-size: 13px; font-weight: 700; color: var(--slate); }
.cs-card__hook { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.cs-card__stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.cs-card__stat { font-size: 12.5px; color: var(--slate-light); }
.cs-card__stat b { color: var(--ink); font-weight: 800; }
.cs-card__read { margin-top: auto; font-size: 14px; font-weight: 800; color: var(--green); display: inline-flex; align-items: center; gap: 7px; }
.cs-card:hover .cs-card__read i { transform: translateX(3px); }
.cs-card__read i { transition: transform .15s ease; }

/* Full case study page */
.cs { background: #fff; padding: clamp(24px, 4vw, 44px) 20px clamp(48px, 6vw, 80px); }
.cs__wrap { max-width: 760px; margin: 0 auto; }
.cs__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 24px; }
.cs__kicker { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green); margin: 0; }
.cs__title { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; margin: 12px 0 0; }
.cs__subtitle { font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--slate); margin: 16px 0 0; }

.cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 0; }
.cs-metric { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 22px 16px; text-align: center; }
.cs-metric__v { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--green); line-height: 1.1; }
.cs-metric__l { font-size: 12.5px; color: var(--slate); margin-top: 6px; line-height: 1.4; }

.cs-glance { margin: 28px 0 0; border: 1px solid var(--border); border-radius: 16px; padding: 8px 22px; }
.cs-glance__label { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-light); margin: 14px 0 6px; }
.cs-glance__row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border); }
.cs-glance__row dt { font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--slate-light); margin: 0; }
.cs-glance__row dd { font-size: 14.5px; color: var(--ink); margin: 0; }

.cs-body { margin-top: 12px; }
.cs-sec__h { font-size: clamp(21px, 3vw, 27px); font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 4px; padding-top: 22px; border-top: 2px solid var(--border); }
.cs-sec__sub { font-size: 16px; font-weight: 800; margin: 22px 0 6px; color: var(--ink); }
.cs-sec__p { font-size: 16px; line-height: 1.65; color: #334155; margin: 10px 0 0; }
.cs-sec__list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cs-sec__list li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.55; color: #334155; }
.cs-sec__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }

.cs-table__wrap { overflow-x: auto; margin: 16px 0 0; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cs-table thead th { background: var(--navy); color: #fff; text-align: left; font-weight: 800; padding: 12px 16px; }
.cs-table thead th:first-child { border-radius: 10px 0 0 0; }
.cs-table thead th:last-child { border-radius: 0 10px 0 0; }
.cs-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink); }
.cs-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.cs-table tbody td:not(:first-child) { font-weight: 700; }

.cs__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; padding-top: 28px; border-top: 2px solid var(--border); }

@media (max-width: 720px) {
  .cs-grid { grid-template-columns: 1fr; max-width: 460px; }
  .cs-glance__row { grid-template-columns: 1fr; gap: 2px; }
  .cs__cta .btn { width: 100%; }
}

/* Landing "Case studies" section — 3-up featured cards */
.cs-grid--home { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 32px auto 0; padding: 0; }
.case-studies__all { text-align: center; margin-top: 32px; }
@media (max-width: 900px) { .cs-grid--home { grid-template-columns: 1fr; max-width: 460px; } }

.cs-card { text-align: left; }

/* Portfolio project pages */
.pfp-meta { margin: 30px 0 0; padding: 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 18px; }
.pfp-meta .pf-meta__label:first-of-type { margin-top: 18px; }
.pfp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pf-gallery { display: flex; flex-direction: column; gap: 16px; margin: 32px 0 0; }
.pf-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(15, 30, 61, .08);
}
