/* ==========================================================================
   MellowMinds: site styles
   Vanilla CSS, mobile-first. Designed for 360px → 1440px with no horizontal scroll.

   Contents
   1. Design tokens
   2. Base & typography
   3. Layout primitives
   4. Buttons & links
   5. Header, navigation, mobile CTA bar
   6. Hero & illustrative UI cards
   7. Cards, grids, lists
   8. Section-specific components
   9. Placeholders (client proof, team, embeds)
   10. FAQ, CTA band, footer
   11. Forms
   12. Toast, utilities, motion
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Neutrals */
  --cream: #faf7f2;
  --sand: #f2ece2;
  --sand-2: #e9e1d4;
  --white: #ffffff;
  --line: #e4dccf;
  --line-strong: #d3c8b6;

  /* Text */
  --ink: #17292a;
  --ink-2: #45575a;
  --ink-3: #5c6d6f;

  /* Brand: deep calm teal */
  --brand: #1d4b46;
  --brand-strong: #133632;
  --brand-tint: #e2ebe8;

  /* Industry accents */
  --well: #3c6f5c;          /* text-safe sage */
  --well-tint: #e3eee7;
  --well-soft: #b9d3c3;
  --event: #a94e2b;         /* text-safe apricot */
  --event-tint: #fbe8dc;
  --event-soft: #f2c2a6;
  --lilac-soft: #ddd7f0;

  /* Feedback */
  --error: #b3261e;
  --error-tint: #fbe9e7;

  /* Shape & depth */
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(23, 41, 42, .05), 0 4px 14px -6px rgba(23, 41, 42, .08);
  --shadow: 0 18px 40px -18px rgba(23, 41, 42, .28), 0 2px 6px rgba(23, 41, 42, .05);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 64px;
  --gap: clamp(16px, 2.2vw, 24px);
  --focus: #c25a2f;
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* 2. Base & typography --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* safety net only; layouts are built not to overflow */
}

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 100;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--event-soft); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
  flex-shrink: 0;
}
.eyebrow--well { color: var(--well); }
.eyebrow--event { color: var(--event); }
.eyebrow--light { color: #f6c7a8; }

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* 3. Layout primitives --------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--sand { background: var(--sand); }
.section--brand { background: var(--brand); color: #eef3f1; }
.section--brand .lead { color: rgba(238, 243, 241, .82); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }

.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--form { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split .sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
}

.grid { display: grid; gap: var(--gap); }
.grid > * { min-width: 0; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) { .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Centred wrapping grid for odd counts (e.g. 5 items → 3 + 2, centred) */
.grid-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.grid-center > * { flex: 0 1 100%; min-width: 0; }
@media (min-width: 600px) {
  .grid-center > * { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (min-width: 980px) {
  .grid-center > * { flex-basis: calc((100% - var(--gap) * 2) / 3); }
}

.center { text-align: center; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }

/* 4. Buttons & links ----------------------------------------------------- */
:is(.btn-primary, .btn-secondary, .btn-light, .btn-outline-light) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  overflow-wrap: anywhere;
}
:is(.btn-primary, .btn-secondary, .btn-light, .btn-outline-light):hover { transform: translateY(-1px); }
:is(.btn-primary, .btn-secondary, .btn-light, .btn-outline-light):active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(29, 75, 70, .65);
}
.btn-primary:hover { background: var(--brand-strong); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: rgba(29, 75, 70, .28);
}
.btn-secondary:hover { background: var(--brand-tint); border-color: var(--brand); }

.btn-light { background: var(--cream); color: var(--brand); }
.btn-light:hover { background: #fff; color: var(--brand-strong); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .9375rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 479.98px) {
  .cta-row > * { flex: 1 1 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

/* 5. Header, navigation, mobile CTA bar ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .9);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(23, 41, 42, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 500; }

.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile & tablet navigation (< 1024px) */
@media (max-width: 1023.98px) {
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(23, 41, 42, .35);
  }
  .js .site-nav.is-open { display: block; animation: navIn .22s ease; }
  .js .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
  }
  .js .nav-list a[aria-current="page"] { color: var(--brand); font-weight: 700; }
  .nav-cta { width: 100%; margin-top: 20px; }

  /* Without JavaScript: show links as a wrapping row under the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav { order: 3; width: 100%; }
  html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  html:not(.js) .nav-list a { display: inline-block; padding: 6px 0; }
  html:not(.js) .nav-toggle,
  html:not(.js) .nav-cta { display: none; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Desktop navigation (≥ 1024px) */
@media (min-width: 1024px) {
  .site-nav { display: flex; align-items: center; margin-right: 8px; }
  .nav-list { display: flex; gap: 2px; }
  .nav-list a {
    display: inline-flex;
    padding: .55rem .9rem;
    border-radius: 999px;
    font-size: .975rem;
    transition: background-color .2s ease, color .2s ease;
  }
  .nav-list a:hover { background: var(--sand); }
  .nav-list a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); font-weight: 600; }
  .nav-toggle, .nav-cta { display: none; }
}

/* Sticky "Book a consultation" bar: phones only, keeps the CTA above the fold */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 242, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: transform .3s ease;
}
.mobile-cta .btn-primary { width: 100%; }
.mobile-cta.is-hidden,
.nav-open .mobile-cta { transform: translateY(110%); }

@media (max-width: 719.98px) {
  body { padding-bottom: 76px; }
}
@media (min-width: 720px) {
  .mobile-cta { display: none; }
}

/* 6. Hero & illustrative UI cards ---------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(28px, 6vw, 88px) clamp(56px, 8vw, 104px);
  overflow: clip;
  background:
    radial-gradient(48% 55% at 92% 8%, rgba(242, 194, 166, .38), transparent 70%),
    radial-gradient(42% 50% at 4% 0%, rgba(185, 211, 195, .45), transparent 70%);
}
.hero--well {
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(185, 211, 195, .6), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(221, 215, 240, .55), transparent 70%);
}
.hero--event {
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(242, 194, 166, .55), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(221, 215, 240, .5), transparent 70%);
}
.hero--compact { padding-bottom: clamp(48px, 6vw, 80px); }

.hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 36em; }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink-2);
  font-size: .9375rem;
}
.trust-list li { display: inline-flex; align-items: center; gap: .45rem; }
.trust-list .icon { width: 18px; height: 18px; color: var(--well); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
}
.chips .icon { width: 16px; height: 16px; }
.chips-label {
  display: block;
  margin-top: 24px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.chips-label + .chips { margin-top: 10px; }

/* Illustration stage */
.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  isolation: isolate;
  padding-block: 8px;
}
.orb {
  position: absolute;
  inset: 4% 6%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #f6d5c0 0, transparent 60%),
    radial-gradient(circle at 72% 58%, #c9dfd1 0, transparent 62%),
    radial-gradient(circle at 46% 88%, var(--lilac-soft) 0, transparent 60%);
  filter: blur(26px);
  animation: breathe 9s ease-in-out infinite;
}
.orb--well {
  background:
    radial-gradient(circle at 30% 30%, #cfe3d6 0, transparent 60%),
    radial-gradient(circle at 70% 65%, var(--lilac-soft) 0, transparent 60%);
}
.orb--event {
  background:
    radial-gradient(circle at 30% 30%, #f7d2bb 0, transparent 60%),
    radial-gradient(circle at 70% 65%, var(--lilac-soft) 0, transparent 60%);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ui-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.ui-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .9rem;
  font-weight: 600;
}
.ui-avatar {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--well-tint);
  color: var(--well);
}
.ui-avatar .icon { width: 16px; height: 16px; }
.ui-avatar--event { background: var(--event-tint); color: var(--event); }
.ui-avatar--brand { background: var(--brand-tint); color: var(--brand); }
.ui-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-2);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ui-chat { width: min(100%, 380px); }
.bubble {
  max-width: 86%;
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .9375rem;
  line-height: 1.45;
}
.bubble--in { background: var(--sand); border-bottom-left-radius: 6px; }
.bubble--out { margin-left: auto; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.bubble--typing { display: flex; gap: 4px; width: max-content; padding: 13px 14px; }
.bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  animation: typing 1.2s infinite ease-in-out;
}
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.ui-mini {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(100%, 290px);
  padding: 14px 16px;
  font-size: .875rem;
}
.ui-mini strong { display: block; font-size: .875rem; }
.ui-mini p { margin: 2px 0 0; color: var(--ink-2); line-height: 1.4; }

@media (min-width: 560px) {
  .hero-art { display: block; padding-block: 72px; }
  .hero-art .ui-chat { margin-inline: auto; }
  .ui-mini { position: absolute; animation: float 7s ease-in-out infinite; }
  .ui-mini--a { top: 0; right: 0; }
  .ui-mini--b { bottom: 0; left: 0; animation-delay: -3.5s; }
}

/* Journey / path card used in industry & services heroes */
.ui-journey { width: min(100%, 420px); margin-inline: auto; padding: 22px; }
.journey {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.journey::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--well-soft), var(--event-soft));
}
.journey li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.journey__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--well-soft);
  color: var(--well);
  flex-shrink: 0;
}
.journey--event .journey__icon { border-color: var(--event-soft); color: var(--event); }
.journey--brand .journey__icon { border-color: var(--brand-tint); color: var(--brand); }
.journey__icon .icon { width: 17px; height: 17px; }
.journey strong { display: block; font-size: .95rem; line-height: 1.3; }
.journey span.journey__text { display: block; color: var(--ink-2); font-size: .875rem; line-height: 1.4; }

.mission-card {
  width: min(100%, 440px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
}
.mission-card blockquote { margin: 0; }
.mission-card blockquote p {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.3;
  color: var(--ink);
}

.call-card { width: min(100%, 460px); margin-inline: auto; padding: clamp(22px, 3.5vw, 32px); }
.call-card h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.6rem); }
.call-card .note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--well-tint);
  color: var(--ink);
  font-size: .9375rem;
}

/* 7. Cards, grids, lists ------------------------------------------------- */
.card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-s);
}
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.card--flat { box-shadow: none; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  flex-shrink: 0;
}
.icon-badge--well { background: var(--well-tint); color: var(--well); }
.icon-badge--event { background: var(--event-tint); color: var(--event); }
.icon-badge--sm { width: 38px; height: 38px; border-radius: 11px; }
.icon-badge--sm .icon { width: 19px; height: 19px; }
.icon-badge--lg { width: 60px; height: 60px; border-radius: 18px; background: var(--white); }
.icon-badge--lg .icon { width: 28px; height: 28px; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li { display: flex; align-items: flex-start; gap: .65rem; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--well); }
.checklist--event .icon { color: var(--event); }
.checklist--brand .icon { color: var(--brand); }

/* Industry cards (home) */
.industry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.industry-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}
.industry-card--well { background: var(--well-tint); }
.industry-card--event { background: var(--event-tint); }
.industry-card--well .icon-badge { color: var(--well); }
.industry-card--event .icon-badge { color: var(--event); }
.industry-card h3 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.2rem); margin: 4px 0 0; }
.industry-card__for {
  margin: 10px 0 0;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.industry-card--well .industry-card__for { color: var(--well); }
.industry-card--event .industry-card__for { color: var(--event); }
.industry-card > p:not(.industry-card__for) { color: var(--ink-2); }
.industry-card .checklist { margin: 6px 0 22px; }
.industry-card .text-link { margin-top: auto; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
.steps > * { min-width: 0; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  position: relative;
  height: 100%;
  padding: clamp(22px, 2.6vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.section--sand .step { box-shadow: var(--shadow-s); }

/* Cards on the dark brand section */
.section--brand .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.section--brand .card h3 { color: #fff; }
.section--brand .card p { color: rgba(238, 243, 241, .8); }
.section--brand .icon-badge { background: rgba(255, 255, 255, .1); color: #f6c7a8; }
.section--brand :focus-visible { outline-color: #f6c7a8; }

/* Pain points list (industry pages) */
.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 760px) { .pain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  min-width: 0;
}
.pain-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--event); }
.pain-list--well .icon { color: var(--well); }

/* 8. Section-specific components ----------------------------------------- */

/* Tabs (business-type tailoring) */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tablist[hidden] { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 46px;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab .icon { width: 18px; height: 18px; }
.tab:hover { border-color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.tabpanels { display: grid; gap: 16px; }
.tabpanel {
  padding: clamp(22px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.tabpanel[hidden] { display: none; }
.tabpanel__grid { display: grid; gap: 24px; }
.tabpanel__grid > * { min-width: 0; }
@media (min-width: 880px) {
  .tabpanel__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
}
.tabpanel h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.tabpanel__intro { color: var(--ink-2); }
.first-step {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--sand);
}
.first-step__label {
  display: block;
  margin-bottom: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.first-step p { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.2rem; line-height: 1.35; margin-bottom: 14px; }

/* Event lifecycle */
.lifecycle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
.lifecycle > * { min-width: 0; }
@media (min-width: 900px) { .lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.phase {
  height: 100%;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.phase__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--event-tint);
  color: var(--event);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.phase__label .icon { width: 16px; height: 16px; }
.phase h3 { margin: 14px 0 16px; }
.phase .checklist { font-size: 1rem; color: var(--ink-2); }

/* Service detail blocks */
.service {
  display: grid;
  gap: 24px;
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service > * { min-width: 0; }
@media (min-width: 920px) {
  .service { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
}
.service__stage {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 12px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--event);
}
.service__stage .step__num { width: 34px; height: 34px; margin: 0; font-size: .95rem; }
.service h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.service__for {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--well-soft);
  background: var(--white);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink-2);
  font-size: 1rem;
}
.service__for strong { color: var(--ink); }
.service__cols { display: grid; gap: 20px; }
.service__cols > * { min-width: 0; }
@media (min-width: 620px) { .service__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service__cols h3 {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.service__cols .card { padding: 22px; }
.service__cols .checklist { font-size: 1rem; color: var(--ink-2); }

/* Jump links (services overview) */
.jump-grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .jump-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .jump-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jump {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.jump:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.jump__stage { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--event); }
.jump strong { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.jump span:last-child { color: var(--ink-2); font-size: .95rem; }

/* Tool-type cards with per-industry examples (services) */
.tool-card .examples {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.examples li {
  padding: 10px 12px;
  border-radius: var(--radius-s);
  font-size: .9375rem;
  color: var(--ink);
}
.examples li b {
  display: block;
  margin-bottom: 2px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.examples .ex-well { background: var(--well-tint); }
.examples .ex-well b { color: var(--well); }
.examples .ex-event { background: var(--event-tint); }
.examples .ex-event b { color: var(--event); }

/* Principles / values numbered */
.value-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--event-soft);
  margin-bottom: 8px;
}

/* 9. Placeholders --------------------------------------------------------- */
/* Visible slots for real client proof. Never replace with invented content. */
.proof-slot {
  padding: clamp(22px, 3vw, 34px);
  border: 2px dashed var(--event);
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, rgba(251, 232, 220, .75) 0 12px, rgba(255, 255, 255, .75) 12px 24px);
  text-align: center;
  color: var(--ink);
}
.proof-slot__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.proof-slot__hint {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: .9375rem;
}
.proof-slot--inline { padding-block: 18px; }
.proof-strip { padding-block: 0 clamp(40px, 5vw, 64px); }

.ph-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 28px 22px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}
.ph-card__avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink-3);
}
.ph-card__avatar .icon { width: 34px; height: 34px; }
.ph-card .proof-slot__tag { background: var(--ink-2); font-size: .8125rem; }
.ph-card p { color: var(--ink-2); font-size: .9375rem; margin: 0; }

.embed-slot {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: clamp(28px, 5vw, 56px) 20px;
  border: 2px dashed var(--brand);
  border-radius: var(--radius-l);
  background: var(--white);
  text-align: center;
}
.embed-slot__inner { max-width: 520px; }
.embed-slot .icon-badge { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 20px; }
.embed-slot .icon-badge .icon { width: 30px; height: 30px; }
.embed-slot h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.embed-slot p { color: var(--ink-2); }
.embed-slot code {
  font-family: var(--font-mono);
  font-size: .875em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--sand);
  overflow-wrap: anywhere;
}
.embed-slot .cta-row { justify-content: center; }

/* 10. FAQ, CTA band, footer ---------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-s); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 22px;
  height: 22px;
  padding: 2px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  transition: transform .25s ease;
}
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__body { padding: 0 22px 22px; color: var(--ink-2); }

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px);
  border-radius: var(--radius-l);
  background: var(--brand);
  color: #eef3f1;
  text-align: center;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(242, 194, 166, .45), transparent 65%);
}
.cta-band::after {
  width: 460px;
  height: 460px;
  left: -200px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(185, 211, 195, .4), transparent 65%);
}
.cta-band h2 { max-width: 22ch; margin-inline: auto; color: #fff; }
.cta-band p { max-width: 50ch; margin-inline: auto; color: rgba(238, 243, 241, .86); font-size: 1.125rem; }
.cta-band .cta-row { justify-content: center; }
.cta-band :focus-visible { outline-color: #f6c7a8; }

.site-footer {
  padding-block: clamp(48px, 6vw, 72px) 28px;
  background: var(--ink);
  color: #c4cfce;
  font-size: .975rem;
}
.site-footer a { color: #eef3f1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #f6c7a8; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid > * { min-width: 0; }
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; } }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer-tagline { max-width: 34ch; }
.footer-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8fa3a1;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { overflow-wrap: anywhere; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem;
  color: #8fa3a1;
}
.footer-bottom p { margin: 0; }

/* 11. Forms ---------------------------------------------------------------- */
.form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.form h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 0; }
.form-intro { color: var(--ink-2); margin-top: -8px; }
.form-row { display: grid; gap: 20px; }
.form-row > * { min-width: 0; }
@media (min-width: 620px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label,
.field > legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.field > legend { margin-bottom: 8px; }
.req { color: var(--event); }
.optional { font-weight: 400; color: var(--ink-3); }

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.input:hover { border-color: #b9ac96; }
.input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(29, 75, 70, .16); }
textarea.input { min-height: 140px; resize: vertical; }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2317292a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field.has-error .input { border-color: var(--error); background: var(--error-tint); }
.field__error { min-height: 0; color: var(--error); font-size: .875rem; font-weight: 500; }
.field__error:empty { display: none; }
.field__hint { color: var(--ink-3); font-size: .875rem; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.choice span:hover { border-color: var(--brand); }
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--ink-2); }
.consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.consent label { font-weight: 400; }

.form-status { padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status--success { background: var(--well-tint); color: var(--ink); border: 1px solid var(--well-soft); }
.form-status--info { background: var(--event-tint); color: var(--ink); border: 1px solid var(--event-soft); }
.form-status--error { background: var(--error-tint); color: var(--error); border: 1px solid #f1bdb7; }

.form .btn-primary { justify-self: start; }
@media (max-width: 479.98px) { .form .btn-primary { justify-self: stretch; } }
.form-small { font-size: .875rem; color: var(--ink-3); margin: 0; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card strong { display: block; }
.contact-card a { overflow-wrap: anywhere; font-weight: 600; }

.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: next; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps .step__num { width: 36px; height: 36px; margin: 0; font-size: 1rem; flex-shrink: 0; }
.next-steps p { margin: 2px 0 0; color: var(--ink-2); }

.stack { display: grid; gap: 24px; }
.stack > * { min-width: 0; }

/* 12. Toast, utilities, motion ------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 120;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: .9375rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 720px) { .toast { bottom: 32px; } }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .nav-toggle, .toast { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 13. Cross-industry additions ------------------------------------------- */
.section-head--flush { margin-bottom: 0; }
.mt-s { margin-top: 16px; }

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge .icon { width: 15px; height: 15px; }
.badge--well { color: var(--well); }
.badge--event { color: var(--event); }

.mini-list { margin-top: 4px; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.mini-list .icon { width: 18px; height: 18px; }

.card--accent { background: var(--brand-tint); border-color: transparent; box-shadow: none; }

.also-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 20px clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.also-help__label { margin: 0; font-weight: 600; }
.also-help .chips { margin: 0; flex: 1 1 320px; }
.chips--links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: inherit;
  text-decoration: none;
}
.chips--links li { transition: border-color .2s ease, background-color .2s ease; }
.chips--links li:hover { border-color: var(--brand); background: var(--brand-tint); }

/* 14. Clients & case studies --------------------------------------------- */
.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
.client-list > * { min-width: 0; }
@media (min-width: 640px) { .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.client {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.client--event { border-left-color: var(--event); }
.client--well { border-left-color: var(--well); }

.client__industry {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.client--event .client__industry { color: var(--event); }
.client--well .client__industry { color: var(--well); }
.client__industry .icon { width: 15px; height: 15px; }

.client__name {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}
.client__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  font-size: .9375rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.client__link .icon { width: 15px; height: 15px; }

/* Home "Trusted by" strip */
.client-strip {
  display: grid;
  gap: 14px;
  align-items: center;
}
.client-strip > * { min-width: 0; }
@media (min-width: 900px) {
  .client-strip { grid-template-columns: auto minmax(0, 1fr); gap: 28px; }
}
.client-strip__label {
  margin: 0;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Case study (industry pages) */
.case {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}
.case > * { min-width: 0; }
@media (min-width: 860px) {
  .case { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
.case__client {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.case__client.client--event { border-left-color: var(--event); }
.case__client.client--well { border-left-color: var(--well); }
.case .proof-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; }

.industry-card__client { margin: 0; font-size: .95rem; color: var(--ink-2); }
.industry-card__client strong { color: var(--ink); }
