/* ============================================================
   DESISLE V3 — Quiet premium
   ------------------------------------------------------------
   Canvas   #FAFAF8   warm white
   Surface  #FFFFFF   cards
   Ink      #121210   text
   Muted    #6B6A63   secondary text
   Line     #E9E7E1   hairline borders
   Accent   #f91b4e   pink-red, used sparingly
   Type     General Sans (everything) + Instrument Serif italic
            for single accent words
   ============================================================ */

:root {
  --canvas: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #121210;
  --muted: #6B6A63;
  --line: #E9E7E1;
  --accent: #f91b4e;
  --brand-purple: #f91b4e;
  --brand-pink: #e6117c;
  --brand-orange: #ff4826;
  --brand-red: #f91b4e;

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(18, 18, 16, 0.04), 0 8px 24px rgba(18, 18, 16, 0.05);
  --shadow-hover: 0 2px 4px rgba(18, 18, 16, 0.05), 0 16px 40px rgba(18, 18, 16, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --section: clamp(88px, 12vw, 150px);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container--narrow {
  max-width: 760px;
}

/* ---------- Reveal state (JS-gated so no-JS shows everything) ---------- */
html.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

html.motion-ui-ready .motion-uplift {
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

html.motion-ui-ready .motion-media {
  will-change: transform;
}

html.motion-ui-ready .btn,
html.motion-ui-ready .nav__link {
  will-change: transform;
}

html.motion-ui-ready .faq__a {
  overflow: hidden;
}

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.h2--plain-46,
.textblock__title--plain-46 {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.h2--center {
  text-align: center;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.label--center {
  display: flex;
  justify-content: center;
}

.lede {
  max-width: 620px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  box-shadow: 0 10px 24px rgba(18, 18, 16, 0.18);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__logo sup {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

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

/* ---------- Hero ---------- */
.hero {
  padding: clamp(140px, 20vh, 200px) 0 clamp(56px, 8vw, 88px);
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 28px;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2FB876;
}

.hero__title {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.032em;
  margin-bottom: 24px;
}

.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(56px, 8vw, 88px);
}

.hero__proof {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof__value {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.proof__label {
  font-size: 13px;
  color: var(--muted);
  max-width: 180px;
}

.proof__divider {
  width: 1px;
  background: var(--line);
}

.hero__review-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 500;
}

.hero__review-proof strong {
  color: var(--ink);
  font-size: 1.2em;
  font-weight: 600;
}

@media (max-width: 640px) {
  .proof__divider {
    display: none;
  }
}

/* ---------- Clients ---------- */
.clients {
  padding: 50px 0 var(--section);
}

.clients__label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.clients__group {
  display: flex;
  align-items: center;
  flex: none;
}

.clients__group span {
  font-size: 17px;
  font-weight: 500;
  color: #A9A8A0;
  padding: 0 clamp(24px, 3vw, 44px);
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .clients__group[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Problem ---------- */
.problem {
  padding: 0 0 var(--section);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.quote-card__text {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.quote-card__who {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.quote-card__fix {
  font-size: 15px;
  color: var(--muted);
}

.quote-card .btn {
  margin: 20px 0 26px;
}

.quote-card .compare-card__name {
  margin-top: 22px;
}

/* ---------- Pressure point tabs ---------- */
.pressure {
  color: #F4F3EF;
  padding: clamp(80px, 10vw, 132px) 0;
}

.pressure__head {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.pressure__label {
  color: #F4F3EF;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.pressure__label::before {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(249, 27, 78, 0.16);
}

.pressure__title {
  max-width: 760px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.pressure__lede {
  max-width: 430px;
  color: var(--dark-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.pressure__tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(58px, 7vw, 86px);
  border-bottom: 1px solid var(--dark-line);
  overflow: visible;
}

.pressure__tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: rgba(244, 243, 239, 0.48);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 0 12px 18px 12px;
  text-align: center;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: normal;
}

.pressure__tab:first-child {
  padding-left: 12px;
}

.pressure__tab.is-active {
  color: #fff;
  border-color: var(--accent);
}

.pressure__panels {
  margin-top: 32px;
}

.pressure__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.82fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: 390px;
  background: #171A16;
  border: 1px solid var(--dark-line);
  border-radius: 24px;
  padding: clamp(36px, 4vw, 56px);
}

.pressure__panel[hidden] {
  display: none;
}

.pressure__copy {
  max-width: 720px;
}

.pressure__role {
  color: #f91b4e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.pressure__statement {
  color: #fff;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.pressure__summary {
  max-width: 620px;
  color: var(--dark-muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  margin: -24px 0 clamp(28px, 4vw, 42px);
}

.pressure__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pressure__list-card {
  background: #0D0F0D;
  border-radius: 16px;
  padding: clamp(22px, 2.6vw, 32px);
}

.pressure__list-card h4 {
  color: #8C9B8F;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pressure__list-card li {
  position: relative;
  color: #F4F3EF;
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid rgba(244, 243, 239, 0.13);
}

.pressure__list-card li:last-child {
  border-bottom: 0;
}

.pressure__list-card li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f91b4e;
}

.pressure__list-card--need li::before {
  background: #2FB876;
}

body:not(.is-theme-dark) .pressure__label,
body:not(.is-theme-dark) .pressure__title,
body:not(.is-theme-dark) .pressure__tab.is-active {
  color: var(--ink);
}

body:not(.is-theme-dark) .pressure__lede,
body:not(.is-theme-dark) .pressure__tab {
  color: var(--muted);
}

body:not(.is-theme-dark) .pressure__tabs {
  border-color: var(--line);
}

@media (max-width: 720px) {
  .problem__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .pressure__head,
  .pressure__panel,
  .pressure__lists {
    grid-template-columns: 1fr;
  }

  .pressure__panel {
    min-height: 0;
  }

  .pressure__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 0;
  }

  .pressure__tab {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 560px) {
  .pressure__tabs {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services ---------- */
.services {
  padding: 0 0 var(--section);
}

.services-listing {
  padding-top: clamp(24px, 4vw, 48px);
}

.services-listing + .collab--trial {
  padding-top: 0;
}

.services-group {
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.services-group + .services-group {
  margin-top: clamp(48px, 7vw, 88px);
}

.services-group__header {
  display: block;
}

.services-group__label {
  margin-bottom: 8px;
}

.services-group__label span {
  color: var(--accent);
}

.services-group__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
}

.services__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-group__grid {
  margin-top: clamp(24px, 3.6vw, 40px);
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 32px);
  padding-bottom: 56px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.service-card__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 15px;
  color: var(--muted);
}

.service-card__arrow {
  position: absolute;
  left: clamp(24px, 2.6vw, 32px);
  bottom: 22px;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-card__arrow {
  transform: translateX(5px);
}

.services--rows .h2 {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.service-rows {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: center;
  min-height: 142px;
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3vw, 38px) clamp(16px, 2vw, 28px);
  margin: 0 calc(-1 * clamp(16px, 2vw, 28px));
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service-row:hover {
  background: rgba(249, 27, 78, 0.08);
  border-color: rgba(249, 27, 78, 0.18);
}

.service-row__num {
  align-self: start;
  padding-top: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.service-row__body {
  display: grid;
  gap: 10px;
}

.service-row__name {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.service-row__desc {
  max-width: 1120px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
}

.service-row__arrow {
  justify-self: end;
  color: var(--ink);
  font-size: 24px;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.service-row:hover .service-row__arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

.service-row:hover .service-row__name {
  color: var(--accent);
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 44px minmax(0, 1fr) 32px;
    gap: 14px;
    min-height: 0;
  }

  .service-row__name {
    font-size: clamp(24px, 8vw, 34px);
  }
}

/* ---------- Work ---------- */
.work {
  padding: 0 0 var(--section);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}

.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case__thumb {
  aspect-ratio: 16 / 9;
  transition: transform 0.6s var(--ease);
}

/* Placeholder art — swap with real product screens */
.case__thumb--clair {
  background: linear-gradient(135deg, #E8F6EF 0%, #CBEADC 55%, #A9DCC5 100%);
}

.case__thumb--bluepen {
  background: linear-gradient(135deg, #FDF1E3 0%, #F8DFC0 55%, #EFC69A 100%);
}

.case__thumb--sprint {
  background: linear-gradient(135deg, #FDE8EE 0%, #FAC6D3 55%, #F97896 100%);
}

.case__thumb--itsm {
  background: linear-gradient(135deg, #FCEBE6 0%, #F8D8CE 55%, #F0BCAC 100%);
}

.case__body {
  padding: clamp(22px, 2.6vw, 32px);
}

.case__metric {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(249, 27, 78, 0.07);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.case__name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.case__desc {
  font-size: 15px;
  color: var(--muted);
}

.work__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 800px) {
  .work__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Compare ---------- */
.compare {
  padding: 0 0 var(--section);
}

.compare__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
  align-items: stretch;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 32px);
}

.compare-card--us {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.compare-card__name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.compare-card__list li {
  font-size: 15px;
  padding: 9px 0 9px 28px;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.compare-card__list li:last-child {
  border-bottom: none;
}

.compare-card--us .compare-card__list li {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}

.compare-card__list li::before {
  position: absolute;
  left: 0;
  font-weight: 600;
}

.compare-card__list li.is-con::before {
  content: "✕";
  color: #C4C3BB;
}

.compare-card__list li.is-pro::before {
  content: "✓";
  color: #2FB876;
}

@media (max-width: 860px) {
  .compare__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gap close sticky section ---------- */
.gap-close {
  padding: 0 0 var(--section);
}

.gap-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.gap-close__sticky {
  position: sticky;
  top: clamp(96px, 12vh, 132px);
}

.gap-close__sticky .label {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.gap-close__sticky h2 {
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.gap-close__sticky p:not(.label) {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}

.gap-close__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  margin-top: clamp(28px, 4vw, 42px);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}

.gap-close__link span {
  font-size: 13px;
  transition: transform 0.25s var(--ease);
}

.gap-close__link:hover span {
  transform: translate(2px, -2px);
}

.gap-close__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(32px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}

.gap-close__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.gap-close__item:last-child {
  border-bottom: 1px solid var(--line);
}

.gap-close__num {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.gap-close__item h3 {
  max-width: 640px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.gap-close__item p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .gap-close__grid {
    grid-template-columns: 1fr;
  }

  .gap-close__sticky {
    position: static;
  }

  .gap-close__sticky h2 {
    max-width: 780px;
  }

  .gap-close__sticky p:not(.label) {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .gap-close__item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.compare--panel .compare__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.compare__panel-head .label {
  margin-bottom: 0;
}

.compare__kicker {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.compare--panel .compare__grid {
  margin-top: 0;
  padding: clamp(24px, 3vw, 32px);
}

/* ---------- Process ---------- */
.process {
  padding: 0 0 var(--section);
}

.process + .collab--trial {
  padding-top: 0;
}

.process__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
  counter-reset: step;
}

.process__row--steps {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
}

.process__trial {
  display: block;
  margin-top: clamp(36px, 5vw, 56px);
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.step--featured {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: #fff;
  padding: clamp(22px, 2.6vw, 32px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step--featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.step__trial-sub {
  font-size: 13px;
  font-weight: 600;
  color: #f91b4e;
  margin-bottom: 12px;
}

.step__trial-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}

.step__num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.step__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 14px;
  color: var(--muted);
}

.step--featured .step__num,
.step--featured .step__desc {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 960px) {
  .process__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process__row--steps {
    grid-template-columns: 1fr;
  }
  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 4px 16px;
    padding: 20px 0;
  }
  .step__num {
    grid-row: 1 / 3;
    margin: 0;
  }
  .step__desc {
    grid-column: 2;
  }
  .step--featured {
    display: block;
  }
  .step--featured .step__desc {
    grid-column: auto;
  }
}

/* ---------- Testimonial ---------- */
.testimonial {
  padding: 0 0 var(--section);
}

.testimonial__card {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.testimonial__source {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 0 0 var(--section);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.price--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.price--model {
  min-height: 220px;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price--model .price__for {
  color: rgba(255, 255, 255, 0.76);
}

.price--model .service-card__arrow {
  color: #fff;
}

.price__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.price__amount {
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.price__amount span {
  font-size: 0.45em;
  color: var(--muted);
}

.price__for {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.price__list {
  flex: 1;
  margin-bottom: 26px;
}

.price__list li {
  font-size: 14px;
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ink);
}

.price__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing__note {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.pricing__note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: 0 0 var(--section);
}

.faq__list {
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px clamp(20px, 3vw, 32px);
}

.faq__group + .faq__group {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}

.faq__group-title {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 18px 0 2px;
  text-transform: uppercase;
}

.faq__item {
  border-bottom: 1px solid var(--line);
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  will-change: auto;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__q {
  font-size: 17px;
  font-weight: 500;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: none !important;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex: none;
  transition: transform 0.3s var(--ease);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__a {
  font-size: 15px;
  color: var(--muted);
  padding-bottom: 20px;
  max-width: 640px;
}

body.is-theme-dark .faq__list {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

body.is-theme-dark .faq__item {
  border-color: var(--line);
}

body.is-theme-dark .faq__q {
  color: var(--ink);
}

body.is-theme-dark .faq__a,
body.is-theme-dark .faq__icon {
  color: var(--muted);
}

body.is-theme-dark .faq__item[open] .faq__icon {
  color: var(--accent);
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 var(--section);
}

.cta__panel {
  background:
    radial-gradient(circle at 52% 12%, rgba(249, 27, 78, 0.22) 0%, rgba(249, 27, 78, 0.08) 24%, transparent 48%),
    linear-gradient(90deg, #111110 0%, #151515 48%, #111110 100%);
  color: #fff;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 92px) clamp(28px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  text-align: left;
}

.cta__title {
  max-width: 720px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.cta__sub {
  max-width: 660px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.cta__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.cta__label span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.cta__side {
  align-self: center;
}

.cta__days {
  margin-bottom: 26px;
}

.cta__days li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.cta__days li:first-child {
  border-top: 0;
}

.cta__days span {
  color: #f91b4e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cta__button {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  font-weight: 700;
}

.cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta__button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.cta__button--ghost:hover {
  border-color: #fff;
}

.cta__button--icon {
  width: 54px;
  height: 54px;
  padding: 0;
  font-size: 18px;
}

.cta__panel--services {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.cta__panel--services .cta__title,
.cta__panel--services .cta__sub {
  margin-left: auto;
  margin-right: auto;
}

.cta__panel--services .cta__actions {
  justify-content: center;
}

.cta__panel--center {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  justify-items: center;
  text-align: center;
}

.cta__panel--center .cta__title,
.cta__panel--center .cta__sub {
  margin-left: auto;
  margin-right: auto;
}

.cta__panel--center .cta__sub {
  margin-bottom: 28px;
}

.cta__panel--center .cta__actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  margin: clamp(8px, 1vw, 12px);
  border: 1px solid rgba(244, 243, 239, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 82%, rgba(249, 27, 78, 0.24) 0%, rgba(249, 27, 78, 0.08) 22%, transparent 48%),
    radial-gradient(circle at 16% 92%, rgba(230, 17, 124, 0.14) 0%, transparent 34%),
    radial-gradient(circle at 84% 92%, rgba(255, 72, 38, 0.12) 0%, transparent 34%),
    linear-gradient(180deg, #0B0809 0%, #10090B 48%, #14080C 100%);
  color: #F4F3EF;
  padding: 0 0 24px;
  font-weight: 400;
}

.footer__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 6% 26%, rgba(249, 27, 78, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 15% 78%, rgba(230, 17, 124, 0.48) 0 1px, transparent 1.8px),
    radial-gradient(circle at 26% 42%, rgba(255, 72, 38, 0.38) 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 92%, rgba(249, 27, 78, 0.42) 0 1px, transparent 1.8px),
    radial-gradient(circle at 49% 64%, rgba(249, 27, 78, 0.5) 0 1px, transparent 1.8px),
    radial-gradient(circle at 63% 38%, rgba(230, 17, 124, 0.34) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 72%, rgba(255, 72, 38, 0.44) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 25%, rgba(249, 27, 78, 0.38) 0 1px, transparent 1.8px),
    radial-gradient(circle at 97% 58%, rgba(249, 27, 78, 0.42) 0 1px, transparent 1.8px);
  opacity: 0.46;
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% -10%;
  height: 45%;
  background:
    radial-gradient(circle at 22% 70%, rgba(249, 27, 78, 0.2) 0%, transparent 34%),
    radial-gradient(circle at 70% 60%, rgba(230, 17, 124, 0.16) 0%, transparent 36%),
    radial-gradient(circle at 52% 100%, rgba(255, 72, 38, 0.12) 0%, transparent 42%);
  filter: blur(28px);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer__dimension {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(330px, 47vh, 470px);
  padding: clamp(82px, 10vw, 136px) 0 clamp(70px, 8vw, 104px);
  text-align: center;
}

.footer__dimension-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(244, 243, 239, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__dimension-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-pink);
  box-shadow:
    0 0 0 6px rgba(230, 17, 124, 0.12),
    0 0 26px rgba(249, 27, 78, 0.55);
}

.footer__dimension-title {
  max-width: 980px;
  color: #fff !important;
  font-size: clamp(34px, 3.6vw, 48px) !important;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 16px;
  white-space: normal;
}

.footer__dimension-copy {
  max-width: 410px;
  color: rgba(244, 243, 239, 0.58);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 30px;
}

.footer__dimension-points {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 2vw, 24px);
  max-width: 1080px;
  margin: 0 auto 30px;
  text-align: center;
}

.footer__dimension-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 243, 239, 0.68);
  font-size: 14px;
  line-height: 1.45;
  white-space: nowrap;
}

.footer__dimension-points li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #C7F8D8;
  box-shadow: 0 0 0 6px rgba(199, 248, 216, 0.09), 0 0 22px rgba(199, 248, 216, 0.35);
}

.footer__dimension-points strong {
  color: #F4F3EF;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__dimension-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__dimension-btn {
  min-height: 42px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 400;
  background: #F4F3EF;
  color: #080809;
  border-color: #F4F3EF;
  box-shadow: none;
}

.footer__dimension-btn--ghost {
  background: transparent;
  color: #F4F3EF;
  border-color: rgba(244, 243, 239, 0.18);
}

.footer-products {
  position: relative;
  max-width: 1100px;
  margin: calc(-1 * clamp(30px, 4vw, 48px)) auto clamp(70px, 8vw, 104px);
  padding: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid rgba(244, 243, 239, 0.14);
  border-bottom: 1px solid rgba(244, 243, 239, 0.14);
}

.footer-products__head {
  margin-bottom: 18px;
  text-align: center;
}

.footer-products__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(244, 243, 239, 0.62);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-products__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #C7F8D8;
  box-shadow: 0 0 0 6px rgba(199, 248, 216, 0.06);
}

.footer-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(24px, 4vw, 64px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-product {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0;
  background: transparent;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-product:hover {
  background: transparent;
  opacity: 0.86;
  transform: translateY(-1px);
}

.footer-product__logo {
  display: block;
  width: 100%;
  max-width: 180px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.footer-product:hover .footer-product__logo {
  opacity: 0.88;
  transform: translateY(-1px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.9fr) repeat(3, minmax(128px, 0.8fr));
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto clamp(74px, 9vw, 118px);
}

.footer__logo {
  display: inline-block;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 14px;
}

.footer__logo--image {
  line-height: 0;
}

.footer__img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 38px;
  object-fit: contain;
}

.footer__logo sup {
  font-size: 9px;
  color: rgba(244, 243, 239, 0.58);
}

.footer__tag {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(244, 243, 239, 0.52);
  max-width: 220px;
}

.footer__label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #F4F3EF;
  margin-bottom: 15px;
}

.footer__link {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(244, 243, 239, 0.48);
  padding: 4px 0;
  width: fit-content;
  transition: color 0.25s var(--ease);
}

.footer__link:hover {
  color: #F4F3EF;
}

.footer__time {
  font-size: 15px;
  margin-bottom: 6px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 0;
  padding-top: 0;
  font-size: 12px;
  font-weight: 400;
  color: rgba(244, 243, 239, 0.46);
}

.footer__socials {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(244, 243, 239, 0.58);
  transition: color 0.25s var(--ease);
}

.footer__social:hover {
  color: #F4F3EF;
}

.footer__social svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.wa-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 460;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: #25D366;
  color: #06120A;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.wa-float__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #128C3B;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.wa-float__icon svg {
  display: block;
  width: 24px;
  height: 28px;
  fill: currentColor;
  transform: translateY(1px);
}

.wa-float__text {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .footer {
    margin: 8px;
    border-radius: 16px;
  }

  .footer__dimension {
    min-height: 360px;
    padding: 76px 0 64px;
  }

  .footer-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer__dimension {
    align-items: center;
    text-align: center;
    min-height: auto;
  }

  .footer__dimension-title {
    font-size: 38px !important;
    white-space: normal;
  }

  .footer__dimension-points {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .footer__dimension-points li {
    white-space: normal;
  }

  .footer__dimension-actions {
    justify-content: center;
  }

  .footer-products {
    margin-top: -28px;
    padding: 16px;
  }

  .footer-products__grid {
    grid-template-columns: 1fr;
  }

  .footer-product {
    min-height: 68px;
    padding: 10px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 7px 12px 7px 7px;
    font-size: 13px;
  }

  .wa-float__icon {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
}

/* ============================================================
   V4 ADDITIONS — motion layer on the quiet system
   Two tones only: canvas and ink. The page travels between them.
   ============================================================ */

:root {
  --dark-bg: #111110;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-muted: rgba(244, 243, 239, 0.55);
}

body {
  transition: none; /* GSAP owns background/color morph */
  overflow-x: hidden;
}

/* ---------- Custom cursor (blend-adaptive) ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}

.cursor.is-hover {
  width: 44px;
  height: 44px;
}

.cursor.is-label {
  width: 76px;
  height: 76px;
}

.cursor__label {
  font-size: 12px;
  font-weight: 500;
  color: #000;
  opacity: 0;
}

.cursor.is-label .cursor__label {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ---------- Hero background: blobs + dot grid ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.blob--indigo {
  width: 480px;
  height: 480px;
  background: rgba(249, 27, 78, 0.14);
  top: -140px;
  right: -80px;
}

.blob--peach {
  width: 420px;
  height: 420px;
  background: rgba(240, 172, 140, 0.16);
  bottom: -160px;
  left: -100px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 18, 16, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 42%, #000 0%, transparent 100%);
  mask-image: radial-gradient(60% 55% at 50% 42%, #000 0%, transparent 100%);
  will-change: transform;
}

/* ---------- Line-mask reveals for split headings ---------- */
[data-split] .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

[data-split] .line__inner {
  display: block;
}

html.motion-ok [data-split] .line__inner {
  transform: translateY(110%);
}

/* ---------- Statement (dark band) ---------- */
.statement {
  position: relative;
  padding: var(--section) 0;
  overflow: hidden;
}

.statement__star {
  position: absolute;
  top: 50%;
  right: clamp(-40px, 2vw, 80px);
  transform: translateY(-50%);
  font-size: clamp(200px, 30vw, 420px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  will-change: transform;
  user-select: none;
}

.statement__text {
  max-width: 900px;
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.statement__text .word {
  opacity: 0.22;
}

html:not(.motion-ok) .statement__text .word {
  opacity: 1;
}

/* ---------- Dark band overrides ---------- */
[data-theme="dark"] .label {
  color: #F4F3EF;
}

[data-theme="dark"] .lede {
  color: var(--dark-muted);
}

.problem {
  padding-top: 0;
}

[data-theme="dark"] .quote-card {
  background: #1B1B19;
  border-color: var(--dark-line);
}

[data-theme="dark"] .quote-card__text {
  color: #F4F3EF;
}

[data-theme="dark"] .quote-card__fix {
  color: var(--dark-muted);
}

[data-theme="dark"] .quote-card .compare-card__name {
  color: #F4F3EF;
}

[data-theme="dark"] .quote-card .compare-card__list li {
  color: var(--dark-muted);
  border-color: var(--dark-line);
}

[data-theme="dark"] .quote-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .h2 {
  color: #F4F3EF;
}

/* ---------- Case thumbs: inner zoom ---------- */
.case__thumb {
  overflow: hidden;
  position: relative;
}

.case__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 18, 16, 0.16) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.case:hover .case__thumb::after {
  opacity: 1;
}

.case:hover .case__thumb {
  transform: none;
}

.case:hover .case__thumb--clair,
.case:hover .case__thumb--bluepen,
.case:hover .case__thumb--sprint,
.case:hover .case__thumb--itsm {
  transform: scale(1.03);
}

/* ---------- Service cards: tint sweep on hover ---------- */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(249, 27, 78, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

/* Keep content cards flat on hover across the site. */
.quote-card:hover,
.service-card:hover,
.case:hover,
.compare-card:hover,
.step:hover,
.step--featured:hover,
.price:hover,
.post-card:hover,
.res-card:hover,
.tcard:hover,
.collab__item:hover,
.chip:hover,
.dcard:hover,
.hcase:hover,
.motion-uplift:hover {
  transform: none !important;
  box-shadow: none !important;
}

.case:hover .case__thumb--clair,
.case:hover .case__thumb--bluepen,
.case:hover .case__thumb--sprint,
.case:hover .case__thumb--itsm,
.hcase:hover .hcase__cover,
.dcard:hover,
.service-card:hover .service-card__arrow {
  transform: none !important;
}

/* ---------- CTA panel glow ---------- */
.cta__panel {
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  width: 620px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 27, 78, 0.32) 0%, rgba(249, 27, 78, 0.12) 36%, transparent 68%);
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(42px);
  will-change: transform;
  pointer-events: none;
}

.cta__panel > *:not(.cta__glow) {
  position: relative;
}

@media (max-width: 860px) {
  .cta__panel {
    grid-template-columns: 1fr;
  }

  .cta__days li {
    grid-template-columns: 76px 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .blob,
  .cta__glow,
  .statement__star,
  .footer__canvas {
    display: none;
  }
}

/* ---------- V4 premortem fixes ---------- */

/* Cursor label: blend mode would hide text, switch to solid when labelled */
.cursor.is-label {
  mix-blend-mode: normal;
  background: var(--ink);
}

.cursor.is-label .cursor__label {
  color: #fff;
}

/* Nav adapts while over the dark band */
.nav.is-dark .nav__logo {
  color: #F4F3EF;
}

.nav.is-dark .nav__logo sup {
  color: rgba(244, 243, 239, 0.72);
}

.nav.is-dark .nav__link {
  color: rgba(244, 243, 239, 0.72);
}

.nav.is-dark .nav__link:hover {
  color: #fff;
}

.nav.is-dark .btn--dark {
  background: #F4F3EF;
  color: #111110;
  border-color: #F4F3EF;
  box-shadow: none;
}

body.is-theme-dark .work__more > .btn--ghost {
  color: #F4F3EF;
  border-color: rgba(244, 243, 239, 0.7);
}

body.is-theme-dark .work__more > .btn--ghost:hover {
  border-color: #F4F3EF;
}

body.is-theme-dark .hero__review-proof strong {
  color: #F4F3EF;
}

.nav.is-dark.is-scrolled {
  background: rgba(17, 17, 16, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-page .nav.is-dark {
  background: rgba(17, 17, 16, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-page .nav:not(.is-dark).is-scrolled {
  background: rgba(250, 250, 248, 0.9);
  box-shadow: 0 1px 0 var(--line);
}

.case-page .nav:not(.is-dark).is-scrolled .nav__logo {
  color: var(--ink);
}

.case-page .nav:not(.is-dark).is-scrolled .nav__logo sup,
.case-page .nav:not(.is-dark).is-scrolled .nav__link {
  color: var(--muted);
}

/* Persona label contrast on dark surface */
[data-theme="dark"] .quote-card__who {
  color: #f91b4e;
}

/* Problem grid spacing after heading (lede moved to statement) */
.problem__grid {
  margin-top: clamp(32px, 4vw, 52px);
}

/* ============================================================
   PHP SITE ADDITIONS — inner pages, horizontal work, admin-free
   ============================================================ */

.gtm-frame { display: none; visibility: hidden; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(140px, 18vh, 190px) 0 clamp(40px, 6vw, 72px);
}

.page-hero--tall {
  min-height: 70vh;
}

.page-hero__lede {
  margin-bottom: 24px;
}

.page-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background: #111110;
  color: #F4F3EF;
  padding: clamp(122px, 16vh, 168px) 0 clamp(54px, 7vw, 92px);
}

.about-hero .h1 {
  color: #F4F3EF;
  max-width: 760px;
}

.about-hero .page-hero__lede {
  color: rgba(244, 243, 239, 0.78);
  max-width: 680px;
}

.about-founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  padding-left: 0;
  padding-right: 0;
}

.about-founder__copy {
  position: relative;
  z-index: 1;
}

.about-founder .statement__text {
  max-width: 720px;
  font-size: clamp(24px, 3vw, 40px);
}

.about-founder__media {
  margin: 0;
  transform: rotate(1.5deg);
  height: 60vh;
  min-height: 420px;
  max-height: 680px;
}

.about-founder__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(18, 18, 16, 0.16);
}

@media (max-width: 960px) {
  .about-founder__grid {
    grid-template-columns: 1fr;
  }

  .about-founder__media {
    max-width: 680px;
    height: min(60vh, 520px);
    transform: none;
  }
}

@media (max-width: 620px) {
  .about-hero {
    padding-top: 112px;
  }

  .about-founder__grid {
    gap: 32px;
  }

  .about-founder__img {
    border-radius: var(--radius);
  }
}

.h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.h1--article {
  font-size: clamp(30px, 4.4vw, 52px);
}

.h1--center {
  text-align: center;
}

.crumb {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}

.crumb:hover {
  text-decoration-color: currentColor;
}

.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listing {
  padding: 0 0 var(--section);
}

.resource-detail-hero {
  padding-top: clamp(140px, 18vh, 190px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.resource-detail-hero__title {
  max-width: 920px;
}

.resource-detail-hero__lede {
  max-width: 720px;
}

.resource-quick {
  padding: 0 0 clamp(44px, 6vw, 72px);
  background: rgba(0, 0, 0, 0);
}

.resource-quick__label {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
}

.resource-quick__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.resource-quick__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(18, 18, 18, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
}

.resource-quick__link {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  font-size: clamp(14px, 1.4vw, 17px);
  min-height: 50px;
  padding: 0 20px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.resource-quick__link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Article / prose ---------- */
.article {
  padding: clamp(16px, 3vw, 40px) 0 var(--section);
}

.resource-quick + .article {
  padding-top: 0;
}

.prose {
  font-size: 17px;
  line-height: 1.75;
  color: #2E2D28;
}

.prose h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 40px 0 14px;
  scroll-margin-top: 96px;
}

.prose h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 30px 0 10px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px 20px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .resource-inline-field {
  width: clamp(120px, 18vw, 210px);
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  display: inline-block;
  font: inherit;
  font-size: 0.95em;
  line-height: 1.2;
  margin: 0 5px;
  padding: 2px 4px 4px;
  vertical-align: baseline;
}

.prose li .resource-inline-field {
  margin-left: 0;
}

.prose .resource-inline-field::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.prose .resource-inline-field:focus {
  border-color: #f91b4e;
  outline: 2px solid rgba(249, 27, 78, 0.16);
  outline-offset: 2px;
}

.prose .resource-table-field {
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  display: block;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  min-height: 34px;
  padding: 7px 8px;
}

.prose .resource-table-field::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.prose .resource-table-field:focus {
  background: #fff;
  border-color: #f91b4e;
  outline: 2px solid rgba(249, 27, 78, 0.16);
  outline-offset: 0;
}

.prose img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--muted);
}

.prose h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 8px;
}

.prose pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  color: #f7f3ec;
  margin: 20px 0;
}

.prose code {
  font-size: 0.92em;
  background: rgba(10, 10, 10, 0.06);
  padding: 2px 5px;
  border-radius: 5px;
}

.prose pre code {
  background: transparent;
  padding: 0;
}

.prose .table-scroll {
  overflow-x: visible;
  margin: 24px 0;
}

.prose table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.prose th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.prose .resource-task-list {
  list-style: none;
  margin-left: 0;
}

.prose .resource-task-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.resource-task-bullet {
  width: 14px;
  height: 14px;
  border: 1px solid var(--muted);
  border-radius: 3px;
  margin-top: 7px;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.resource-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
}

.resource-overview {
  padding-top: 0;
  padding-bottom: clamp(44px, 6vw, 72px);
}

.resource-overview__head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.resource-overview__head em {
  color: #f91b4e;
  font-family: inherit;
  font-style: normal;
}

.resource-audit {
  padding: var(--section) 0;
  background: linear-gradient(180deg, #fbfaf8 0%, #f6f4f0 100%);
}

.resource-planner {
  padding: 0 0 clamp(44px, 6vw, 72px);
  background: rgba(0, 0, 0, 0);
}

.resource-planner__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.resource-planner__lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.resource-planner__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: start;
}

.resource-planner__form {
  display: grid;
  gap: 14px;
}

.resource-planner__fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
}

.resource-planner__fieldset legend {
  color: var(--ink);
  float: left;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  width: 100%;
}

.resource-planner__fields {
  clear: both;
  display: grid;
  gap: 16px;
}

.resource-planner__field {
  display: grid;
  gap: 8px;
}

.resource-planner__label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.resource-planner input[type="text"],
.resource-planner input[type="number"],
.resource-planner textarea,
.resource-planner select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
}

.resource-planner textarea {
  min-height: 116px;
  resize: vertical;
}

.resource-planner select {
  min-height: 48px;
  background: #fff;
}

.resource-planner input[type="text"]:focus,
.resource-planner input[type="number"]:focus,
.resource-planner textarea:focus,
.resource-planner select:focus,
.resource-planner__options input:focus-visible + span,
.resource-planner__checks input:focus-visible + span {
  border-color: #f91b4e;
  outline: 2px solid rgba(249, 27, 78, 0.18);
  outline-offset: 2px;
}

.resource-planner__options,
.resource-planner__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-planner__options label,
.resource-planner__checks label {
  cursor: pointer;
}

.resource-planner__options input,
.resource-planner__checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.resource-planner__options span,
.resource-planner__checks span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  min-height: 42px;
  padding: 0 14px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.resource-planner__options input:checked + span,
.resource-planner__checks input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.resource-planner__brief {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.resource-planner__eyebrow {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.resource-planner__output {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.resource-planner__output article {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.resource-planner__output article:first-child {
  border-top: 0;
  padding-top: 0;
}

.resource-planner__output h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.resource-planner__output p,
.resource-planner__empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.resource-template__stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.resource-template__stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.4vw, 24px);
}

.resource-template__step {
  color: #f91b4e;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.resource-template__stage h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.resource-template__stage label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.resource-template__stage label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.resource-template__stage textarea {
  min-height: 84px;
}

.resource-template__table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow-x: visible;
}

.resource-template__table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.resource-template__table th,
.resource-template__table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.resource-template__table th {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: normal;
}

.resource-template__table td {
  min-width: 0;
}

.resource-template__table tr:last-child th,
.resource-template__table tr:last-child td {
  border-bottom: 0;
}

.resource-template__table th:last-child,
.resource-template__table td:last-child {
  border-right: 0;
}

.resource-template__table input {
  min-width: 0;
  padding: 11px 12px;
}

.resource-template__score {
  align-items: center;
  background: rgba(249, 27, 78, 0.1);
  border-radius: 6px;
  color: #f91b4e;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
}

.resource-audit__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.resource-audit__lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.resource-audit__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.resource-audit__score {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.resource-audit__score-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.resource-audit__score strong {
  color: var(--ink);
  display: block;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.resource-audit__score p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.resource-audit__meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8df;
  margin: 18px 0;
}

.resource-audit__meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #f91b4e;
  transition: width 0.25s var(--ease);
}

.resource-audit__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.resource-audit__stats span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  padding: 10px;
  text-align: center;
}

.resource-audit__stats strong {
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.resource-audit__form {
  display: grid;
  gap: 10px;
}

.resource-audit__group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.resource-audit__group summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  padding: 18px 20px;
}

.resource-audit__group summary::-webkit-details-marker {
  display: none;
}

.resource-audit__group summary span {
  color: var(--ink);
  font-weight: 600;
}

.resource-audit__group summary small {
  color: var(--muted);
  white-space: nowrap;
}

.resource-audit__items {
  border-top: 1px solid var(--line);
}

.resource-audit__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
  padding: 22px 20px;
}

.resource-audit__item + .resource-audit__item {
  border-top: 1px solid var(--line);
}

.resource-audit__item h3 {
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.resource-audit__item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.resource-audit__inputs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.resource-audit__radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.resource-audit__radios label {
  cursor: pointer;
}

.resource-audit__radios input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.resource-audit__radios span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.resource-audit__radios input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.resource-audit textarea {
  width: 100%;
  min-height: 54px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
}

.resource-audit textarea:focus,
.resource-audit__radios input:focus-visible + span,
.resource-tab:focus-visible {
  border-color: #f91b4e;
  outline: 2px solid rgba(249, 27, 78, 0.18);
  outline-offset: 2px;
}

.resource-audit__results {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-top: 16px;
  padding: clamp(22px, 3vw, 34px);
}

.resource-audit__results h3 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.resource-audit__print-summary {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.resource-audit__result-list {
  display: grid;
  gap: 10px;
}

.resource-audit__result-list article {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.resource-audit__result-list h4 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.resource-audit__result-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 4px;
}

.service-product-strategy .ps-pains,
.service-product-strategy .ps-role-brief,
.service-product-strategy .deliverables,
.service-product-strategy .fit,
.service-product-strategy .ps-process,
.service-product-strategy .ps-trial {
  padding: 0 0 var(--section);
}

.ps-pains__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.ps-pains__list blockquote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  min-height: clamp(98px, 11vw, 132px);
  padding: clamp(24px, 3vw, 32px);
}

.ps-trial .lede {
  max-width: 720px;
}

.ps-trial .lede + .lede {
  margin-top: 10px;
}

.service-product-strategy .ps-process .process-showcase__grid {
  margin-top: clamp(36px, 5vw, 52px);
}

.service-product-strategy .ps-process .process-showcase__step {
  min-height: clamp(210px, 18vw, 250px);
}

.service-product-strategy .ps-process .process-showcase__trial {
  margin-top: clamp(24px, 4vw, 42px);
}

.service-product-strategy .ps-process .process-showcase__trial .sprocess__desc {
  max-width: 760px;
}

.service-product-strategy .compare-card--us {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.service-product-strategy .compare-card--us .compare-card__list li {
  border-color: var(--line);
  color: var(--muted);
}

.ps-receipts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.ps-cta .cta__side {
  justify-content: center;
}

/* ---------- Blog cards ---------- */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.post-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  padding-bottom: 56px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.post-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.post-card__name {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.post-card__desc {
  font-size: 15px;
  color: var(--muted);
}

.post-card .service-card__arrow {
  left: clamp(24px, 2.6vw, 34px);
}

@media (max-width: 760px) {
  .blog__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Resources ---------- */
.res {
  padding: 0 0 var(--section);
}

.res__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.res__grid--full {
  grid-template-columns: repeat(3, 1fr);
}

.res__grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.resource-browser {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.resource-browser__title {
  margin-bottom: 14px;
}

.resource-browser__lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 680px;
}

.resource-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.resource-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  min-height: 44px;
  padding: 0 18px;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.resource-tab:hover,
.resource-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.resource-card {
  min-height: 270px;
}

.resource-card.is-filtered-out {
  display: none;
}

.resource-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.resource-card__chip {
  border: 1px solid rgba(249, 27, 78, 0.22);
  border-radius: 999px;
  background: rgba(249, 27, 78, 0.1);
  color: #f91b4e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 7px 12px;
  white-space: nowrap;
}

.resource-card__type {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}

.resource-empty {
  color: var(--muted);
  margin-top: 24px;
}

.res-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  padding-bottom: 54px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.res-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.res-card__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.res-card__desc {
  font-size: 14px;
  color: var(--muted);
}

.res-card .service-card__arrow {
  left: clamp(22px, 2.4vw, 30px);
}

.res--trust .h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.res-card--trust {
  min-height: 190px;
  padding-bottom: clamp(22px, 2.4vw, 30px);
}

.trust-card__value {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.trust-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 860px) {
  .res__grid,
  .res__grid--full,
  .res__grid--four {
    grid-template-columns: 1fr;
  }

  .resource-tabs {
    gap: 8px;
  }

  .resource-tab {
    min-height: 40px;
    padding: 0 14px;
  }

  .resource-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-card__type {
    text-align: left;
  }

  .resource-audit__head,
  .resource-planner__head,
  .resource-planner__layout,
  .resource-audit__layout,
  .resource-audit__item {
    grid-template-columns: 1fr;
  }

  .resource-audit__score,
  .resource-planner__brief {
    position: static;
  }

  .resource-audit__radios {
    grid-template-columns: 1fr;
  }

  .ps-receipts__grid {
    grid-template-columns: 1fr;
  }

  .ps-pains__list,
  .ps-process .process-showcase__grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .preloader,
  .cursor,
  .nav,
  .footer,
  .wa-float,
  .page-hero,
  .resource-overview,
  .article,
  .listing:not(.resource-overview),
  .resource-audit__head {
    display: none !important;
  }

  .resource-audit {
    background: #fff;
    padding: 0;
  }

  .resource-audit__layout,
  .resource-audit__form {
    display: block;
  }

  .resource-audit__score {
    position: static;
    box-shadow: none;
    margin-bottom: 18px;
  }

  .resource-audit__item,
  .resource-audit__group {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ---------- Industry chips ---------- */
.industries {
  padding: 0 0 var(--section);
}

.industries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 40px);
}

.chip {
  font-size: 15px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Horizontal work section (v2 style, dark band) ---------- */
.hwork {
  position: relative;
  z-index: 1;
  padding: var(--section) 0;
  overflow: hidden;
}

.hwork__pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px);
}

.hwork__track {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 0 clamp(20px, 4vw, 40px);
  will-change: transform;
}

.hcase {
  flex: none;
  width: min(64vw, 560px);
  background: #1B1B19;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}

.hcase:hover {
  transform: translateY(-4px);
}

.hcase__cover {
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 2vw, 28px);
  transform: none !important;
}

.hcase__stat {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hcase__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(18px, 2vw, 28px) 22px;
}

.hcase__name {
  font-size: 19px;
  font-weight: 600;
  color: #F4F3EF;
}

.hcase__meta {
  font-size: 13px;
  color: var(--dark-muted);
  text-align: right;
}

.hcase--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--dark-line);
  background: #1B1B19;
}

body:not(.is-theme-dark) .hcase--cta {
  border-color: var(--line);
  background: var(--surface);
}

.hcase__cta-text {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  color: #F4F3EF;
}

.hcase__cta-arrow {
  align-self: flex-end;
  font-size: 26px;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}

.hcase--cta:hover .hcase__cta-arrow {
  transform: translateX(8px);
}

@media (max-width: 899px) {
  .hwork__track {
    flex-direction: column;
  }
  .hcase {
    width: 100%;
  }
}

/* ---------- Cover gradient library (admin picks a class) ---------- */
.g1 .hcase__cover, .g1 .case__thumb { background: linear-gradient(135deg, #E8F6EF 0%, #A9DCC5 60%, #4C9E7C 100%); }
.g2 .hcase__cover, .g2 .case__thumb { background: linear-gradient(135deg, #FDF1E3 0%, #EFC69A 60%, #C98B4B 100%); }
.g3 .hcase__cover, .g3 .case__thumb { background: linear-gradient(135deg, #FDE8EE 0%, #F97896 60%, #f91b4e 100%); }
.g4 .hcase__cover, .g4 .case__thumb { background: linear-gradient(135deg, #FCEBE6 0%, #F0BCAC 60%, #D97757 100%); }
.g5 .hcase__cover, .g5 .case__thumb { background: linear-gradient(135deg, #FDE8EE 0%, #FAC6D3 60%, #f91b4e 100%); }
.g6 .hcase__cover, .g6 .case__thumb { background: linear-gradient(135deg, #FDE8EE 0%, #FAC6D3 60%, #f91b4e 100%); }

/* ---------- Case study hero ---------- */
.page-hero--case {
  background: var(--canvas);
  color: var(--ink);
}

.case-page .page-hero--case .h1 {
  color: var(--ink);
  max-width: 920px;
}

.case-page .page-hero--case .label,
.case-page .page-hero--case .crumb {
  color: var(--ink) !important;
}

.case-page .page-hero--case .crumb {
  text-decoration-color: var(--line);
}

.case-hero__metric {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(249, 27, 78, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.case-hero__facts {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 860px;
}

.fact-mini {
  font-size: 15px;
  color: var(--ink);
}

.fact-mini span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ---------- Contact ---------- */
.contact-trial {
  min-height: 100vh;
  padding: clamp(120px, 15vh, 168px) 0 clamp(64px, 8vw, 96px);
  background:
    linear-gradient(90deg, rgba(249, 27, 78, 0.035), transparent 42%),
    var(--canvas);
}

.contact-trial__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

.contact-trial__copy {
  padding-top: clamp(12px, 2vw, 28px);
}

.contact-trial__title {
  max-width: 560px;
  font-size: clamp(52px, 6.4vw, 86px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.contact-trial__lede {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.contact-trial__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  max-width: 620px;
  margin-bottom: clamp(28px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.contact-trial__point {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.contact-trial__point span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-trial__note {
  max-width: 620px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 28px);
}

.contact-trial__note h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.contact-trial__note p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact__form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 42px);
  box-shadow: var(--shadow);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.contact-form .field {
  margin-bottom: 18px;
}

.contact-form__grid .field {
  margin-bottom: 0;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.contact-form .btn {
  margin-top: 2px;
}

.contact-form__fineprint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 16px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
}

.form-error {
  color: #C0392B;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact__aside .footer__label {
  margin-top: 22px;
}

.contact__aside .footer__label:first-child {
  margin-top: 0;
}

.contact__line {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

@media (max-width: 820px) {
  .contact-trial {
    padding-top: 112px;
  }

  .contact-trial__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact-trial__points,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-trial__title {
    max-width: 700px;
  }
}

/* ---------- Nav active state ---------- */
.nav__link.is-active {
  color: var(--ink);
}

.nav.is-dark .nav__link.is-active {
  color: #fff;
}

/* ---------- About: 3-col quote grid ---------- */
.problem__grid--three {
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(28px, 4vw, 44px);
}

[data-theme="light"] .problem__grid--three .quote-card {
  background: var(--surface);
  border-color: var(--line);
}

@media (max-width: 900px) {
  .problem__grid--three {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICE DETAIL PAGE — dark hero, deliverables slider,
   SVG process line, fit cards
   ============================================================ */

/* Page starts dark before JS morphs anything */
body.theme-start-dark {
  background: var(--dark-bg);
  color: #F4F3EF;
}

/* ---------- Service hero ---------- */
.shero {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 20vh, 210px) 0 clamp(48px, 6vw, 88px);
  margin-bottom: clamp(64px, 8vw, 120px);
}

.shero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shero .container {
  position: relative;
}

.blob--dark1 {
  background: rgba(249, 27, 78, 0.22);
  top: -120px;
  right: -60px;
}

.blob--violet {
  width: 420px;
  height: 420px;
  background: rgba(154, 106, 219, 0.16);
  bottom: -140px;
  left: -80px;
}

.shero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 243, 239, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(65% 60% at 50% 35%, #000 0%, transparent 100%);
  mask-image: radial-gradient(65% 60% at 50% 35%, #000 0%, transparent 100%);
  will-change: transform;
}

.shero__star {
  position: absolute;
  top: 8%;
  right: clamp(-60px, 1vw, 60px);
  font-size: clamp(160px, 22vw, 340px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.14;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.shero__title {
  font-size: clamp(38px, 5.8vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 900px;
}

.shero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.shero__sub {
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--dark-muted);
  margin-bottom: 34px;
}

.shero__actions {
  justify-content: flex-start;
  margin-bottom: 0;
}

.shero__review-proof {
  justify-content: flex-start;
  margin: 10px 0 40px;
  color: var(--dark-muted);
}

.shero__review-proof strong {
  color: #F4F3EF;
}

.shero .label {
  color: var(--dark-muted);
}

.btn--ghost-dark {
  color: #F4F3EF;
  border-color: var(--dark-line);
}

.btn--ghost-dark:hover {
  border-color: #F4F3EF;
}

.shero__strip {
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--dark-line);
  padding: clamp(24px, 3vw, 40px) 0;
}

.shero__strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.proof--dark {
  align-items: flex-start;
  text-align: left;
}

.proof--dark .proof__label {
  color: var(--dark-muted);
}

/* ---------- Statement on light ---------- */
.statement--light .statement__text .word {
  opacity: 0.16;
}

.statement__star--light {
  opacity: 0.09;
}

/* ---------- Deliverables split grid ---------- */
.deliverables {
  padding: var(--section) 0;
}

.deliverables__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.deliverables__intro {
  position: sticky;
  top: clamp(92px, 10vw, 132px);
}

.deliverables__title {
  max-width: 620px;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.deliverables__lede {
  max-width: 560px;
  margin-top: clamp(22px, 3vw, 32px);
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.deliverables__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.deliverable-card {
  min-height: clamp(210px, 22vw, 245px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
}

.deliverable-card__num {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.deliverable-card__name {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.deliverable-card__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

[data-theme="dark"].deliverables {
  background: transparent;
  color: #F4F3EF;
}

[data-theme="dark"].deliverables .deliverables__title,
[data-theme="dark"].deliverables .deliverable-card__name {
  color: #F4F3EF;
}

[data-theme="dark"].deliverables .deliverables__lede,
[data-theme="dark"].deliverables .deliverable-card__desc {
  color: var(--dark-muted);
}

[data-theme="dark"].deliverables .deliverables__cards {
  border-color: var(--dark-line);
}

[data-theme="dark"].deliverables .deliverable-card {
  border-color: var(--dark-line);
}

body:not(.is-theme-dark) [data-theme="dark"].deliverables,
body:not(.is-theme-dark) [data-theme="dark"].deliverables .deliverables__title,
body:not(.is-theme-dark) [data-theme="dark"].deliverables .deliverable-card__name,
body:not(.is-theme-dark) [data-theme="dark"].deliverables .label {
  color: var(--ink);
}

body:not(.is-theme-dark) [data-theme="dark"].deliverables .deliverables__lede,
body:not(.is-theme-dark) [data-theme="dark"].deliverables .deliverable-card__desc {
  color: var(--muted);
}

body:not(.is-theme-dark) [data-theme="dark"].deliverables .deliverables__cards,
body:not(.is-theme-dark) [data-theme="dark"].deliverables .deliverable-card {
  border-color: var(--line);
}

/* ---------- Deliverable cards (horizontal slider) ---------- */
.dcard {
  flex: none;
  width: min(58vw, 440px);
  background: #1B1B19;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.dcard:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 27, 78, 0.55);
}

.dcard__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 3.6vw, 48px);
  color: var(--accent);
  margin-bottom: auto;
  padding-bottom: 40px;
}

.dcard__name {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #F4F3EF;
  margin-bottom: 10px;
}

.dcard__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-muted);
}

.dcard--cta {
  width: min(58vw, 440px);
  min-height: 300px;
}

.hwork__hint {
  padding: 0 clamp(20px, 4vw, 40px);
  font-size: 13px;
  color: var(--dark-muted);
}

/* ---------- Fit section ---------- */
.fit {
  padding: var(--section) 0;
}

.compare__grid--two {
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(28px, 4vw, 44px);
}

.fit__note {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .compare__grid--two {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process with drawn SVG line ---------- */
.sprocess {
  padding: 0 0 var(--section);
}

.sprocess__wrap {
  position: relative;
  margin-top: clamp(36px, 5vw, 56px);
  padding-left: clamp(28px, 4vw, 48px);
}

.sprocess__line {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 2px;
  height: calc(100% - 12px);
  color: var(--accent);
  overflow: visible;
}

.sprocess__list {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}

.sprocess__step {
  position: relative;
  max-width: 560px;
}

.sprocess__step-link {
  display: block;
  color: inherit;
}

.sprocess__dot {
  position: absolute;
  left: calc(-1 * clamp(28px, 4vw, 48px) + 2px);
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--accent);
}

.sprocess__when {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.sprocess__name {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.sprocess__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.sprocess--showcase .h2 {
  max-width: 820px;
}

.process-showcase__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.process-showcase__step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.process-showcase__step .sprocess__when {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.process-showcase__step .sprocess__name {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.process-showcase__step .sprocess__desc {
  font-size: 14px;
  line-height: 1.6;
}

.process-showcase__trial {
  display: block;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--dark-bg);
  color: #F4F3EF;
}

.process-showcase__trial .sprocess__when {
  color: var(--accent);
}

.process-showcase__trial .sprocess__desc {
  max-width: 760px;
  color: rgba(244, 243, 239, 0.72);
}

/* ---------- Deliverables mobile fallback ---------- */
@media (max-width: 899px) {
  .dcard,
  .dcard--cta {
    width: 100%;
    min-height: 0;
  }
  .dcard__num {
    padding-bottom: 20px;
  }
  .hwork__hint {
    display: none;
  }
}

@media (max-width: 960px) {
  .deliverables__grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 56px);
  }

  .deliverables__intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .deliverables__cards {
    grid-template-columns: 1fr;
  }

  .deliverable-card {
    min-height: 190px;
  }
}

@media (max-width: 980px) {
  .process-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .process-showcase__grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- No-motion fallback: sections paint their own theme ---------- */
html.no-motion [data-theme="light"] {
  background: var(--canvas);
  color: var(--ink);
}

html.no-motion [data-theme="dark"] {
  background: var(--dark-bg);
  color: #F4F3EF;
}

/* ---------- Testimonials slider ---------- */
.tsec {
  padding: 0 0 var(--section);
}

.tslider__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.tslider__nav {
  display: flex;
  gap: 8px;
}

.tslider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.tslider__btn:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.tslider {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
  cursor: grab;
}

.tslider::-webkit-scrollbar {
  display: none;
}

.tslider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.tcard {
  flex: none;
  width: min(78vw, 460px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  will-change: auto;
}

.tcard:hover {
  transform: none !important;
  box-shadow: none !important;
}

.tcard__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 0.6;
  color: var(--accent);
}

.tcard__quote {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.tcard__source {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}

/* ---------- Collaboration section (dark) ---------- */
.collab {
  padding: var(--section) 0;
}

.collab__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
}

.collab__grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.collab__item {
  background: #161614;
  padding: clamp(24px, 3vw, 40px);
}

.collab__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.collab__name {
  font-size: 19px;
  font-weight: 600;
  color: #F4F3EF;
  margin-bottom: 8px;
}

.collab__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--dark-muted);
}

.collab--trial .lede {
  margin-bottom: 0;
}

.collab--trial .collab__grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  background: var(--dark-line);
  border-color: var(--dark-line);
}

.collab--trial .collab__item {
  display: flex;
  flex-direction: column;
  min-height: clamp(198px, 18vw, 230px);
  height: 100%;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  will-change: auto;
}

.collab--trial .collab__item:hover {
  transform: none !important;
  box-shadow: none !important;
}

.collab__kicker {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  line-height: 1;
  margin-bottom: 16px;
}

.collab--trial .collab__num {
  font-family: var(--font);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-product-strategy .collab--trial .collab__item:last-child {
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  overflow: hidden;
}

[data-theme="dark"] .collab .h2,
[data-theme="dark"] .collab .label {
  color: inherit;
}

@media (max-width: 860px) {
  .collab__grid {
    grid-template-columns: 1fr;
  }

  .collab__grid--four {
    grid-template-columns: 1fr;
  }

  .collab--trial .collab__item {
    min-height: 0;
  }
}

/* ---------- Engagement models ---------- */
.engage {
  padding: 0 0 var(--section);
}

.engage__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

@media (max-width: 820px) {
  .engage__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Related services ---------- */
.related {
  padding: 0 0 var(--section);
}

.related .services__grid {
  margin-top: clamp(28px, 4vw, 44px);
}

/* ============================================================
   BUILDER SECTIONS + GLOBAL CONTROLS
   ============================================================ */

/* ---------- Preloader (v2 counter, adapted) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--dark-bg);
  color: #F4F3EF;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 48px);
}

.preloader__count {
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.preloader__count em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.preloader__word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

html.no-motion .preloader,
html.preload-done .preloader {
  display: none;
}

/* ---------- Logo swap for dark sections ---------- */
.nav__img {
  display: block;
  height: 26px;
  width: auto;
}

.nav__img--light {
  display: none;
}

.nav.is-dark .nav__img--dark {
  display: none;
}

.nav.is-dark .nav__img--light {
  display: block;
}

/* ---------- Section spacing defaults ---------- */
.bstats {
  padding: clamp(48px, 7vw, 88px) 0;
}

.bstats__grid {
  display: flex;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.bstats .proof {
  align-items: flex-start;
  text-align: left;
}

.bgrid {
  padding: var(--section) 0;
}

.problem__grid--spaced {
  margin-top: clamp(28px, 4vw, 44px);
}

.quote-card--light {
  background: var(--surface);
  border-color: var(--line);
}

.quote-card--light .quote-card__text {
  color: var(--ink);
}

.quote-card--light .quote-card__fix {
  color: var(--muted);
}

.role-brief {
  padding: 0 0 var(--section);
}

.role-brief__head {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
}

.role-brief__lede {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}

.role-brief__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}

.role-card {
  min-height: clamp(300px, 28vw, 410px);
  display: flex;
  flex-direction: column;
}

.role-card__num {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: clamp(48px, 8vw, 96px);
}

.role-card .quote-card__who {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.role-card .quote-card__text {
  max-width: 360px;
}

.role-card .quote-card__fix {
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.clients--section {
  padding: clamp(32px, 5vw, 56px) 0;
}

[data-theme="dark"].clients--section .clients__group span {
  color: rgba(244, 243, 239, 0.4);
}

.tsec--section,
.testimonial--section,
.faq--section,
.article--section {
  padding: var(--section) 0;
}

.sprocess--section {
  padding: var(--section) 0;
}

.textblock {
  padding: var(--section) 0;
}

.textblock + .textblock {
  padding-top: 0;
}

.textblock__label span {
  color: var(--accent);
  margin-right: 8px;
}

.textblock__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.textblock__kicker {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  line-height: 1;
  margin-bottom: 14px;
}

.textblock__title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.textblock__text {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}

.textblock--dark {
  color: #F4F3EF;
}

.textblock--dark .textblock__title {
  color: #F4F3EF;
}

.textblock--dark .textblock__kicker,
.textblock--dark .textblock__text {
  color: rgba(244, 243, 239, 0.72);
}

body:not(.is-theme-dark) .textblock--dark,
body:not(.is-theme-dark) .textblock--dark .textblock__title {
  color: var(--ink);
}

body:not(.is-theme-dark) .textblock--dark .textblock__kicker,
body:not(.is-theme-dark) .textblock--dark .textblock__text {
  color: var(--muted);
}

.textblock--problem {
  color: var(--ink);
}

body.is-theme-dark .textblock--problem .textblock__title {
  color: #F4F3EF;
}

.textblock--problem .textblock__grid {
  display: block;
}

.textblock--problem .textblock__text {
  margin-top: clamp(24px, 3vw, 36px);
}

.service-ux-research .textblock,
.service-ux-research .bgrid,
.service-ux-research .brows,
.service-ux-research .sprocess--section,
.service-ux-research .collab,
.service-ux-research .res,
.service-ux-research .compare,
.service-ui-ux-design .textblock,
.service-ui-ux-design .bgrid,
.service-ui-ux-design .brows,
.service-ui-ux-design .sprocess--section,
.service-ui-ux-design .collab,
.service-ui-ux-design .res,
.service-ui-ux-design .compare,
.service-ux-consulting .textblock,
.service-ux-consulting .bgrid,
.service-ux-consulting .brows,
.service-ux-consulting .sprocess--section,
.service-ux-consulting .collab,
.service-ux-consulting .res,
.service-ux-consulting .compare,
.service-design-pods .textblock,
.service-design-pods .bgrid,
.service-design-pods .brows,
.service-design-pods .sprocess--section,
.service-design-pods .collab,
.service-design-pods .res,
.service-design-pods .compare,
.service-saas-product-design .textblock,
.service-saas-product-design .bgrid,
.service-saas-product-design .brows,
.service-saas-product-design .sprocess--section,
.service-saas-product-design .collab,
.service-saas-product-design .res,
.service-saas-product-design .compare,
.service-product-redesign .textblock,
.service-product-redesign .bgrid,
.service-product-redesign .brows,
.service-product-redesign .sprocess--section,
.service-product-redesign .collab,
.service-product-redesign .res,
.service-product-redesign .compare,
.service-ux-audits .textblock,
.service-ux-audits .bgrid,
.service-ux-audits .brows,
.service-ux-audits .sprocess--section,
.service-ux-audits .collab,
.service-ux-audits .res,
.service-ux-audits .compare,
.service-design-systems .textblock,
.service-design-systems .bgrid,
.service-design-systems .brows,
.service-design-systems .sprocess--section,
.service-design-systems .collab,
.service-design-systems .res,
.service-design-systems .compare,
.service-mobile-app-design .textblock,
.service-mobile-app-design .bgrid,
.service-mobile-app-design .brows,
.service-mobile-app-design .sprocess--section,
.service-mobile-app-design .collab,
.service-mobile-app-design .res,
.service-mobile-app-design .compare,
.service-mvp-design .textblock,
.service-mvp-design .bgrid,
.service-mvp-design .brows,
.service-mvp-design .sprocess--section,
.service-mvp-design .collab,
.service-mvp-design .res,
.service-mvp-design .compare,
.service-web-app-design-build .textblock,
.service-web-app-design-build .bgrid,
.service-web-app-design-build .brows,
.service-web-app-design-build .sprocess--section,
.service-web-app-design-build .collab,
.service-web-app-design-build .res,
.service-web-app-design-build .compare,
.service-product-development .textblock,
.service-product-development .bgrid,
.service-product-development .brows,
.service-product-development .sprocess--section,
.service-product-development .collab,
.service-product-development .res,
.service-product-development .compare,
.service-product-strategy .textblock,
.service-product-strategy .bgrid,
.service-product-strategy .brows,
.service-product-strategy .sprocess--section,
.service-product-strategy .collab,
.service-product-strategy .res,
.service-product-strategy .compare,
.service-ai-product-ux .textblock,
.service-ai-product-ux .bgrid,
.service-ai-product-ux .brows,
.service-ai-product-ux .sprocess--section,
.service-ai-product-ux .collab,
.service-ai-product-ux .res,
.service-ai-product-ux .compare {
  padding: 0 0 var(--section);
}

.service-ux-research .textblock--problem,
.service-ui-ux-design .textblock--problem,
.service-ux-consulting .textblock--problem,
.service-design-pods .textblock--problem,
.service-saas-product-design .textblock--problem,
.service-product-redesign .textblock--problem,
.service-ux-audits .textblock--problem,
.service-design-systems .textblock--problem,
.service-mobile-app-design .textblock--problem,
.service-mvp-design .textblock--problem,
.service-web-app-design-build .textblock--problem,
.service-product-development .textblock--problem,
.service-product-strategy .textblock--problem,
.service-ai-product-ux .textblock--problem {
  padding: 0 0 var(--section);
}

.service-ux-research .compare__grid,
.service-ui-ux-design .compare__grid,
.service-ux-consulting .compare__grid,
.service-design-pods .compare__grid,
.service-saas-product-design .compare__grid,
.service-product-redesign .compare__grid,
.service-ux-audits .compare__grid,
.service-design-systems .compare__grid,
.service-mobile-app-design .compare__grid,
.service-mvp-design .compare__grid,
.service-web-app-design-build .compare__grid,
.service-product-development .compare__grid,
.service-product-strategy .compare__grid,
.service-ai-product-ux .compare__grid {
  margin-top: 0;
}

.service-ux-research .compare__kicker,
.service-ux-research .collab__kicker,
.service-ux-research .textblock__kicker,
.service-ui-ux-design .compare__kicker,
.service-ui-ux-design .collab__kicker,
.service-ui-ux-design .textblock__kicker,
.service-ux-consulting .compare__kicker,
.service-ux-consulting .collab__kicker,
.service-ux-consulting .textblock__kicker,
.service-design-pods .compare__kicker,
.service-design-pods .collab__kicker,
.service-design-pods .textblock__kicker,
.service-saas-product-design .compare__kicker,
.service-saas-product-design .collab__kicker,
.service-saas-product-design .textblock__kicker,
.service-product-redesign .compare__kicker,
.service-product-redesign .collab__kicker,
.service-product-redesign .textblock__kicker,
.service-ux-audits .compare__kicker,
.service-ux-audits .collab__kicker,
.service-ux-audits .textblock__kicker,
.service-design-systems .compare__kicker,
.service-design-systems .collab__kicker,
.service-design-systems .textblock__kicker,
.service-mobile-app-design .compare__kicker,
.service-mobile-app-design .collab__kicker,
.service-mobile-app-design .textblock__kicker,
.service-mvp-design .compare__kicker,
.service-mvp-design .collab__kicker,
.service-mvp-design .textblock__kicker,
.service-web-app-design-build .compare__kicker,
.service-web-app-design-build .collab__kicker,
.service-web-app-design-build .textblock__kicker,
.service-product-development .compare__kicker,
.service-product-development .collab__kicker,
.service-product-development .textblock__kicker,
.service-product-strategy .compare__kicker,
.service-product-strategy .collab__kicker,
.service-product-strategy .textblock__kicker,
.service-ai-product-ux .compare__kicker,
.service-ai-product-ux .collab__kicker,
.service-ai-product-ux .textblock__kicker {
  font-family: inherit;
  font-style: normal;
}

.service-saas-product-design .deliverable-card,
.service-ux-consulting .deliverable-card,
.service-design-pods .deliverable-card {
  justify-content: flex-start;
}

.service-saas-product-design .deliverable-card__num,
.service-ux-consulting .deliverable-card__num,
.service-design-pods .deliverable-card__num {
  display: block;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.service-saas-product-design .deliverable-card__name,
.service-saas-product-design .process-showcase__step .sprocess__name,
.service-ux-consulting .deliverable-card__name,
.service-ux-consulting .process-showcase__step .sprocess__name,
.service-design-pods .deliverable-card__name,
.service-design-pods .process-showcase__step .sprocess__name {
  max-width: 280px;
}

.service-saas-product-design .process-showcase__step .sprocess__when,
.service-ux-consulting .process-showcase__step .sprocess__when,
.service-design-pods .process-showcase__step .sprocess__when {
  display: block;
  margin-bottom: clamp(18px, 2.6vw, 32px);
}

.service-product-redesign .fit .compare-card {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.service-product-redesign .fit .compare-card__name {
  color: var(--ink);
}

.service-product-redesign .fit .compare-card__list li {
  color: var(--muted);
  border-color: var(--line);
}

body.is-theme-dark .service-product-redesign .fit > .container > .label,
body.is-theme-dark .service-product-redesign .fit > .container > .h2 {
  color: #F4F3EF !important;
}

body:not(.is-theme-dark) .service-product-redesign .fit > .container > .label,
body:not(.is-theme-dark) .service-product-redesign .fit > .container > .h2 {
  color: var(--ink) !important;
}

@media (max-width: 860px) {
  .role-brief__head,
  .role-brief__grid {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: 260px;
  }

  .role-card__num {
    margin-bottom: 44px;
  }

  .textblock__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.htl {
  padding: var(--section) 0;
}

/* ---------- Expanding rows (v2 what-we-do, rebuilt on the quiet system) ---------- */
.brows {
  padding: var(--section) 0;
}

.brows .container {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.services-listing .services-group--brows.brows {
  padding: clamp(28px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--line);
}

.services-group--brows + .container .services-group {
  margin-top: clamp(48px, 7vw, 88px);
}

.brows__list {
  border-top: 1px solid var(--line);
}

[data-theme="dark"] .brows__list {
  border-color: var(--dark-line);
}

.brow {
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(20px, 4vw, 40px);
  transition: background 0.35s var(--ease);
}

[data-theme="dark"] .brow {
  border-color: var(--dark-line);
}

.brow:hover {
  background: rgba(18, 18, 16, 0.03);
}

[data-theme="dark"] .brow:hover {
  background: rgba(255, 255, 255, 0.04);
}

.brow__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 34px) 0;
}

.brow__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.brow__name {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: transform 0.35s var(--ease);
}

.brow:hover .brow__name {
  transform: translateX(12px);
}

.brow__plus {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.brow:hover .brow__plus {
  transform: rotate(45deg);
  color: var(--accent);
}

.brow__desc {
  max-width: 1160px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  padding-left: 130px;
  transition: max-height 0.45s var(--ease), padding-bottom 0.45s var(--ease);
}

[data-theme="dark"] .brow__desc {
  color: var(--dark-muted);
}

.brow:hover .brow__desc,
.brow:focus-within .brow__desc {
  max-height: 120px;
  padding-bottom: clamp(20px, 2.4vw, 30px);
}

@media (max-width: 720px) {
  .brow__inner {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
  }
  .brow__desc {
    padding-left: 0;
    max-height: none;
    padding-bottom: 20px;
  }
}

/* ---------- Table section ---------- */
.btable {
  padding: var(--section) 0;
}

.btable__wrap {
  margin-top: clamp(24px, 3vw, 40px);
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

[data-theme="dark"] .btable__wrap {
  border-color: var(--dark-line);
  background: #1B1B19;
}

.btable__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.btable__table th,
.btable__table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.btable__table td:first-child,
.btable__table th:first-child {
  padding-left: clamp(20px, 2.6vw, 32px);
}

.btable__table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--canvas);
}

.btable__table tr:last-child td {
  border-bottom: none;
}

[data-theme="dark"] .btable__table th {
  background: #161614;
  color: var(--dark-muted);
  border-color: var(--dark-line);
}

[data-theme="dark"] .btable__table td {
  border-color: var(--dark-line);
  color: #F4F3EF;
}

/* ---------- Builder page rhythm ---------- */
body.builder-page .shero {
  margin-bottom: 0;
  padding-bottom: var(--section);
}

body.builder-page .textblock,
body.builder-page .statement,
body.builder-page .btable,
body.builder-page .compare,
body.builder-page .collab,
body.builder-page .deliverables--section,
body.builder-page .brows,
body.builder-page .htl,
body.builder-page .sprocess--section,
body.builder-page .bgrid,
body.builder-page .res--trust,
body.builder-page .faq--section {
  padding: 0 0 var(--section);
}

body.builder-page .footer {
  margin-top: 0;
}

body.builder-page .shero + .textblock {
  padding-top: 30px;
}

body.page-what-agencies-charge .shero + .textblock {
  padding-top: 30px;
}

body.page-ux-teardown .shero + .statement {
  padding-top: 30px;
}

body.page-our-process .shero + .process {
  padding-top: 30px;
}

body.page-design-agency-vs-freelancer-vs-in-house .shero + .statement {
  padding-top: 30px;
}

body.page-careers .shero {
  margin-bottom: 0;
  padding-bottom: clamp(56px, 6vw, 82px);
}

body.page-careers .deliverables--section,
body.page-careers .textblock {
  padding: clamp(66px, 7vw, 96px) 0;
}

body.page-careers .shero + .deliverables--section {
  padding-top: clamp(48px, 6vw, 76px);
}

body.page-careers .textblock {
  border-top: 1px solid var(--line);
}

body.page-careers .footer {
  margin-top: clamp(18px, 3vw, 36px);
}

@media (min-width: 769px) {
  body.builder-page .btable__wrap {
    overflow-x: visible;
  }

  body.builder-page .btable__table {
    table-layout: fixed;
  }

  body.builder-page .btable__table th,
  body.builder-page .btable__table td {
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: top;
  }
}

/* ---------- Horizontal timeline ---------- */
.htl__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(36px, 5vw, 56px);
  position: relative;
}

.htl__row::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), color-mix(in srgb, var(--accent) 20%, transparent));
}

.htl__step {
  position: relative;
  padding-top: 28px;
}

.htl__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--accent);
}

[data-theme="dark"] .htl__dot {
  background: var(--dark-bg);
}

.htl__when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.htl__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.htl__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

[data-theme="dark"] .htl__desc {
  color: var(--dark-muted);
}

@media (max-width: 720px) {
  .htl__row {
    grid-template-columns: 1fr;
  }
  .htl__row::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--accent), color-mix(in srgb, var(--accent) 20%, transparent));
  }
  .htl__step {
    padding: 0 0 0 32px;
  }
}

/* ---------- Light hero variant ---------- */
.shero--light .shero__sub {
  color: var(--muted);
}

.shero--light .shero__grid {
  background-image: radial-gradient(rgba(18, 18, 16, 0.13) 1px, transparent 1px);
}

.shero--light .label {
  color: var(--muted);
}

/* ---------- Dark overrides for shared components ---------- */
[data-theme="dark"] .h2,
[data-theme="dark"] .htl__name,
[data-theme="dark"] .brow__name {
  color: inherit;
}

[data-theme="dark"] .label {
  color: #F4F3EF;
}

[data-theme="dark"] .sprocess__desc {
  color: var(--dark-muted);
}

body:not(.is-theme-dark) .collab .label,
body:not(.is-theme-dark) .hwork .label,
body:not(.is-theme-dark) .hwork .hcase__cta-text {
  color: var(--ink);
}

body:not(.is-theme-dark) .proof--dark .proof__label {
  color: var(--ink);
}

body:not(.is-theme-dark) .shero__sub {
  color: var(--ink);
}

body:not(.is-theme-dark) .shero .label,
body:not(.is-theme-dark) .shero .crumb {
  color: var(--ink);
}

body:not(.is-theme-dark) .shero .btn--ghost-dark {
  color: var(--ink);
  border-color: var(--line);
}

body:not(.is-theme-dark) .shero .btn--ghost-dark:hover {
  border-color: var(--ink);
}

body:not(.is-theme-dark) .shero__review-proof {
  color: var(--muted);
}

body:not(.is-theme-dark) .shero__review-proof strong {
  color: var(--ink);
}

.sprocess__dot--dark {
  background: var(--dark-bg);
}

.prose--dark {
  color: rgba(244, 243, 239, 0.85);
}

.prose--dark h2,
.prose--dark h3 {
  color: #F4F3EF;
}

.faq__list--dark {
  background: #1B1B19;
  border-color: var(--dark-line);
}

.faq__list--dark .faq__item {
  border-color: var(--dark-line);
}

.faq__list--dark .faq__a {
  color: var(--dark-muted);
}

/* ---------- Compare grid column count ---------- */
.compare__grid[data-cols="2"] {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .compare__grid[data-cols="2"] {
    grid-template-columns: 1fr;
  }
}

/* ---------- Migrated media + glossary + testimonial grid ---------- */
.post-card__img {
  width: calc(100% + 2 * clamp(24px, 2.6vw, 34px));
  margin: calc(-1 * clamp(24px, 2.6vw, 34px)) calc(-1 * clamp(24px, 2.6vw, 34px)) 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

.article__img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: clamp(24px, 3vw, 40px);
  display: block;
}

.glossary__group {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.glossary__letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 6px;
}

.glossary__list .faq__item {
  border-bottom: 1px solid var(--line);
}

.glossary-hero__title {
  max-width: 980px;
}

.glossary-hero__lede {
  max-width: 760px;
}

.glossary-hero__badges {
  max-width: 780px;
}

.glossary-categories,
.glossary-use {
  padding-bottom: clamp(56px, 7vw, 92px);
}

.glossary-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.glossary-category {
  min-height: 210px;
}

.glossary-category--static {
  cursor: default;
}

.glossary-category--static:hover {
  box-shadow: none;
  transform: none;
}

.glossary-section {
  padding: clamp(48px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.glossary-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.glossary-section__head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.glossary-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.glossary-term-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  display: grid;
  grid-template-rows: auto minmax(118px, auto) minmax(72px, auto) auto;
  min-height: 405px;
  padding: clamp(20px, 2.4vw, 28px);
}

.glossary-term-card h3 {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.glossary-term-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.glossary-term-card > span {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 20px;
  padding-top: 16px;
}

.glossary-term-card__chips,
.glossary-related__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: 18px;
}

.glossary-term-card__chips small,
.glossary-related__chips a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 10px;
}

.glossary-use__note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: clamp(24px, 4vw, 40px);
  max-width: 820px;
}

body.is-theme-dark .glossary-section[data-theme="light"] .label,
body.is-theme-dark .glossary-section[data-theme="light"] .h2 {
  color: var(--ink) !important;
}

body.is-theme-dark .glossary-use[data-theme="dark"] .label,
body.is-theme-dark .glossary-use[data-theme="dark"] .h2 {
  color: #F4F3EF !important;
}

body:not(.is-theme-dark) .glossary-use[data-theme="dark"] .label,
body:not(.is-theme-dark) .glossary-use[data-theme="dark"] .h2 {
  color: var(--ink) !important;
}

body.is-theme-dark .glossary-use[data-theme="dark"] .glossary-use__note {
  color: rgba(244, 243, 239, 0.72);
}

body:not(.is-theme-dark) .glossary-use[data-theme="dark"] .glossary-use__note {
  color: var(--muted);
}

.glossary-definition {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 3vw, 36px);
}

.glossary-definition p:last-child {
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.glossary-related {
  margin-top: clamp(28px, 4vw, 44px);
}

.glossary-related__chips a {
  color: var(--ink);
  font-size: 14px;
}

.glossary-related__chips a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

@media (max-width: 980px) {
  .glossary-term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .glossary-categories__grid,
  .glossary-term-grid {
    grid-template-columns: 1fr;
  }
}

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tgrid .tcard {
  width: auto;
}

.senja-showcase {
  padding: 0 0 clamp(72px, 8vw, 112px);
}

.senja-showcase__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(760px, 92vh, 1120px);
  border: 1px solid rgba(18, 18, 16, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(249, 27, 78, 0.16), transparent 32%),
    radial-gradient(circle at 96% 10%, rgba(199, 248, 216, 0.32), transparent 28%),
    radial-gradient(circle at 52% 100%, rgba(18, 18, 16, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 243, 239, 0.78)),
    var(--surface);
  box-shadow: 0 34px 110px rgba(18, 18, 16, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.senja-showcase__frame::before {
  content: "";
  position: absolute;
  inset: 42px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 18, 16, 0.12), transparent);
  pointer-events: none;
  z-index: 2;
}

.senja-showcase__note {
  position: absolute;
  top: 0;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  color: rgba(18, 18, 16, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.senja-showcase__note span + span {
  position: relative;
  padding-left: 14px;
}

.senja-showcase__note span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.senja-showcase__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.senja-showcase__bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 18, 16, 0.22);
}

.senja-showcase__bar span:first-child {
  background: var(--accent);
}

.senja-showcase__widget {
  position: relative;
  z-index: 1;
  display: block;
  flex: 1;
  width: 100%;
  height: calc(100% - 42px);
  min-height: clamp(718px, calc(92vh - 42px), 1078px);
  border: 0;
  background: transparent;
  overflow: hidden;
}

@media (max-width: 620px) {
  .senja-showcase__note {
    display: none;
  }

  .senja-showcase__frame {
    border-radius: 18px;
    min-height: 820px;
  }

  .senja-showcase__widget {
    min-height: 778px;
  }
}

/* ---------- Media sections ---------- */
.bimg,
.bvideo,
.bgallery,
.blogos {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bimg__fig {
  margin: 0;
}

.bimg__img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.bimg__cap {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

[data-theme="dark"] .bimg__cap {
  color: var(--dark-muted);
}

.bvideo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.bvideo__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bvideo__native {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  background: #000;
}

.bgallery__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(3, 1fr);
}

.bgallery__grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.bgallery__grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }

.bgallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

@media (max-width: 720px) {
  .bgallery__grid,
  .bgallery__grid[data-cols="2"],
  .bgallery__grid[data-cols="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blogos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(24px, 3vw, 40px);
}

[data-theme="dark"] .blogos__grid {
  background: var(--dark-line);
  border-color: var(--dark-line);
}

.blogos__item {
  background: var(--surface);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

[data-theme="dark"] .blogos__item {
  background: #1B1B19;
}

.blogos__img {
  max-height: 34px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.blogos__item:hover .blogos__img {
  filter: grayscale(0);
  opacity: 1;
}

.blogos__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

[data-theme="dark"] .blogos__name {
  color: var(--dark-muted);
}

.blogos__marquee {
  margin-top: clamp(24px, 3vw, 40px);
}

.blogos__cell {
  display: inline-flex;
  align-items: center;
}

/* ---------- Entity statement (GEO) ---------- */
.entity {
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.entity__text {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Pricing entry offer ---------- */
.entryoffer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 16px;
}

.entryoffer__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.entryoffer__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.entryoffer__desc strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .entryoffer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Title consistency override ---------- */
h1,
h2,
.h1,
.h2,
.hero__title,
.pressure__title,
.shero__title,
.contact-trial__title,
.cta__title,
.statement__text,
.services-group__title,
.deliverables__title,
.textblock__title,
.testimonial__quote,
.res-card__value,
.hcase__cta-text {
  font-family: var(--font) !important;
  font-size: 46px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.hero__title {
  font-family: var(--font) !important;
  font-size: clamp(40px, 6.4vw, 76px) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.05 !important;
  letter-spacing: -0.032em !important;
}

h1 em,
h2 em,
.h1 em,
.h2 em,
.hero__title em,
.shero__title em,
.cta__title em,
.statement__text em,
.res--trust .h2 em,
.textblock__title em,
.contact-trial__title em {
  font-family: var(--font) !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

.hero__title em {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
}

/* ---------- Theme contrast contract ---------- */
body.is-theme-dark .label,
body.is-theme-dark .h2,
body.is-theme-dark .textblock__title,
body.is-theme-dark .statement__text {
  color: #F4F3EF !important;
}

body:not(.is-theme-dark) .label,
body:not(.is-theme-dark) .h2,
body:not(.is-theme-dark) .textblock__title,
body:not(.is-theme-dark) .statement__text {
  color: var(--ink) !important;
}

body.is-theme-dark .lede,
body.is-theme-dark .role-brief__lede,
body.is-theme-dark .textblock__text,
body.is-theme-dark .cta__sub {
  color: rgba(244, 243, 239, 0.72) !important;
}

body:not(.is-theme-dark) .lede,
body:not(.is-theme-dark) .role-brief__lede,
body:not(.is-theme-dark) .textblock__text {
  color: var(--muted) !important;
}

[data-theme="dark"] .btn--ghost,
body.is-theme-dark .hero__actions .btn--ghost,
body.is-theme-dark .cta__actions .btn--ghost {
  color: #F4F3EF;
  border-color: rgba(244, 243, 239, 0.46);
}

[data-theme="dark"] .btn--ghost:hover,
body.is-theme-dark .hero__actions .btn--ghost:hover,
body.is-theme-dark .cta__actions .btn--ghost:hover {
  border-color: #F4F3EF;
}

.tsec[data-theme="light"],
.cta[data-theme="light"] {
  background: var(--canvas);
  color: var(--ink);
}

/* ---------- About page light sections stay light while the nav theme changes ---------- */
.about-beliefs .quote-card {
  color: var(--ink);
}

.about-beliefs .quote-card__text {
  color: var(--ink) !important;
}

.about-beliefs .quote-card__fix {
  color: var(--muted);
}

.about-track .chip {
  color: var(--ink) !important;
}

.about-team__head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.about-team .h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.about-team__copy {
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}

.about-team__copy p + p {
  margin-top: 14px;
}

.about-team__copy strong {
  color: var(--ink);
  font-weight: 500;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-team__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.about-team__card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 27, 78, 0.28);
  box-shadow: var(--shadow-hover);
}

.about-team__photo-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background: #F4F3EF;
}

.about-team__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}

.about-team__card:hover .about-team__photo {
  transform: scale(1.03);
}

.about-team__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px 6px;
}

.about-team__name {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-team__role {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

body.about-page {
  --about-section-y: clamp(72px, 9vw, 112px);
}

body.about-page .about-hero {
  padding-top: clamp(122px, 16vh, 168px);
  padding-bottom: var(--about-section-y);
}

body.about-page .statement,
body.about-page .listing,
body.about-page .collab,
body.about-page .res,
body.about-page .cta {
  padding-top: var(--about-section-y);
  padding-bottom: var(--about-section-y);
}

@media (max-width: 900px) {
  .about-team__head,
  .about-team__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 620px) and (max-width: 900px) {
  .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.pricing-page {
  --pricing-section-y: clamp(76px, 8vw, 108px);
  --pricing-content-gap: clamp(28px, 4vw, 44px);
}

body.pricing-page main > section {
  padding-top: var(--pricing-section-y);
  padding-bottom: var(--pricing-section-y);
}

body.pricing-page .page-hero {
  padding-top: clamp(132px, 16vh, 172px);
  padding-bottom: var(--pricing-section-y);
}

.pricing-page .pricing__grid,
.pricing-page .collab__grid,
.pricing-page .compare__grid,
.pricing-page .faq__list {
  margin-top: var(--pricing-content-gap);
}

.pricing-page .pricing__note {
  margin-top: var(--pricing-content-gap);
}

.pricing-pods {
  color: #F4F3EF;
}

.pricing-pods .label,
.pricing-pods .h2 {
  color: #F4F3EF !important;
}

.pricing-pods .price {
  background: #1B1B19;
  border-color: rgba(244, 243, 239, 0.16);
  color: #F4F3EF;
}

.pricing-pods .price--featured {
  border-color: rgba(244, 243, 239, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}

.pricing-pods .price__name,
.pricing-pods .price__amount,
.pricing-pods .price__list li {
  color: #F4F3EF;
}

.pricing-pods .price__amount span,
.pricing-pods .price__for {
  color: rgba(244, 243, 239, 0.72) !important;
}

.pricing-pods .pricing__note {
  color: var(--ink) !important;
}

.pricing-pods .price__badge {
  background: #F4F3EF;
  color: #111110;
}

.pricing-pods .btn--dark {
  background: #F4F3EF;
  color: #111110;
}

.pricing-pods .btn--ghost {
  color: #F4F3EF;
  border-color: rgba(244, 243, 239, 0.56);
}

.pricing-pods .btn--ghost:hover {
  border-color: #F4F3EF;
}

.pricing-fixed .compare__grid,
.pricing-includes .compare__grid {
  margin-top: var(--pricing-content-gap);
}

.pricing-includes .compare-card--us .compare-card__name,
.pricing-fixed .compare-card--us .compare-card__name {
  color: #F4F3EF;
}

@media (max-width: 860px) {
  .pricing-fixed .compare__grid,
  .pricing-includes .compare__grid {
    grid-template-columns: 1fr;
  }
}

body.work-page {
  --work-section-y: clamp(76px, 8vw, 108px);
}

body.work-page main > section {
  padding-top: var(--work-section-y);
  padding-bottom: var(--work-section-y);
}

body.work-page .page-hero {
  padding-top: clamp(132px, 16vh, 172px);
  padding-bottom: var(--work-section-y);
}

body.work-page .work-hero__cta {
  border-color: #fff;
}

.work-page .work__grid,
.work-page .process__row,
.work-page .res__grid {
  margin-top: clamp(28px, 4vw, 44px);
}

.work-listing {
  color: #F4F3EF;
}

.work-listing .label,
.work-listing .h2 {
  color: #F4F3EF !important;
}

.work-listing .case {
  background: #1B1B19;
  border-color: rgba(244, 243, 239, 0.14);
}

.work-listing .case__name {
  color: #F4F3EF;
}

.work-listing .case__desc {
  color: rgba(244, 243, 239, 0.72);
}

.work-listing .pricing__note {
  color: var(--ink) !important;
}

.work-listing .case__metric {
  color: #F4F3EF;
  background: rgba(249, 27, 78, 0.32);
}

.work-structure .step {
  background: transparent !important;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  will-change: auto;
}

.work-structure .step:hover {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}
