@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/jost-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/josefin-sans-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --black: #21201f;
  --smoke: #f9f5f2;
  --ash: #999ea1;
  --line: rgba(241, 238, 232, 0.16);
  --panel: rgba(10, 10, 10, 0.72);
  --font-display: "Jost", Futura, "Century Gothic", "Trebuchet MS", sans-serif;
  --font-subtitle: "Josefin Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--black);
  color: var(--smoke);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

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

.entity-page {
  --accent: #d94526;
  --accent-rgb: 217, 69, 38;
  /* Centered content column so sections stop stretching edge-to-edge on wide
     screens. --gutter grows the side padding past the max-width threshold while
     keeping full-bleed backgrounds (which are absolutely positioned) edge-to-edge. */
  --content-max: 1200px;
  --gutter: max(clamp(20px, 5vw, 44px), (100% - var(--content-max)) / 2);
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at 78% 12%, rgba(var(--accent-rgb), 0.2), transparent 28rem),
    linear-gradient(180deg, #21201f 0%, #21201F 46%, #21201f 100%);
}

.entity-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.32) 48%, rgba(5, 5, 5, 0.9)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.72));
}

.entity-hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: safe center;
  padding: clamp(104px, 10vw, 150px) var(--gutter) clamp(44px, 7vw, 92px);
}

.entity-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden; /* contain the scaled bg image here, not on .entity-hero,
                       so a tall hero card can't be clipped (Firefox) */
}

.entity-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.95) contrast(1.08) brightness(0.48);
  transform: scale(1.04);
}

.entity-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(var(--accent-rgb), 0.24), transparent 18rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.34) 54%, rgba(5, 5, 5, 0.78)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.26), rgba(5, 5, 5, 0.92));
}

.entity-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.22em;
  font-size: clamp(0.72rem, 0.72vw, 0.86rem);
}

.entity-title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.2vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.entity-title span {
  color: var(--accent);
}

.entity-subtitle {
  max-width: 720px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: rgba(241, 238, 232, 0.82);
  font-size: clamp(1.02rem, 1.35vw, 1.34rem);
  line-height: 1.55;
  font-family: var(--font-subtitle);
  font-weight: 500;
  text-wrap: balance;
}

.entity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 42px);
}

.entity-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.68);
  padding: 0 22px;
  background: var(--accent);
  color: #21201f;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.entity-button:hover,
.entity-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(var(--accent-rgb), 0.24);
  outline: none;
}

.entity-button--ghost {
  background: rgba(5, 5, 5, 0.38);
  color: var(--smoke);
}

.entity-hero-card {
  align-self: center;
  border: 1px solid rgba(241, 238, 232, 0.16);
  background: rgba(5, 5, 5, 0.46);
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.entity-hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.08) brightness(0.78);
}

.entity-hero-card__body {
  padding: clamp(18px, 2.2vw, 30px);
  text-align: center;
}

.entity-hero-card h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--accent);
  font-size: clamp(1.7rem, 2.4vw, 2.8rem);
  line-height: 0.92;
}

.entity-hero-card p {
  margin: 12px 0 0;
  color: rgba(241, 238, 232, 0.76);
  line-height: 1.55;
  text-wrap: pretty;
}

.entity-section {
  position: relative;
  z-index: 1;
  padding: clamp(46px, 6.5vw, 90px) var(--gutter);
}

.entity-section--tight {
  padding-top: clamp(34px, 5vw, 74px);
}

.entity-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 1.4vw, 18px);
  max-width: 1100px;
  margin: 0 auto clamp(26px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(18px, 2.4vw, 30px);
}

.entity-section__head .entity-kicker {
  margin: 0;
}

.entity-section__head h2 {
  margin: 0;
  /* Headers break sentence-per-line (via <br> at sentence boundaries). Each
     sentence keeps to one line while it fits; balance evens the wrap only when
     a single sentence is too long for the line. */
  max-width: 100%;
  text-wrap: balance;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.8vw, 4.2rem);
  line-height: 0.9;
}

.entity-section__head p {
  margin: 0;
  max-width: 680px;
  color: rgba(241, 238, 232, 0.72);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
}

.feature-card,
.plan-card,
.faq-item,
.team-card,
.process-step,
.lead-card {
  border: 1px solid rgba(241, 238, 232, 0.14);
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.12), transparent 38%),
    rgba(10, 10, 10, 0.72);
}

.feature-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2.3vw, 32px);
}

.feature-card__num {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.feature-card h3,
.process-step h3,
.team-card h3,
.plan-card h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 0.98;
}

.feature-card p,
.process-step p,
.team-card p,
.plan-card p,
.faq-item p {
  margin: 12px 0 0;
  color: rgba(241, 238, 232, 0.72);
  line-height: 1.58;
}

.media-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(241, 238, 232, 0.14);
  background: rgba(5, 5, 5, 0.78);
  overflow: hidden;
}

.media-band img {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 42vw, 620px);
  object-fit: cover;
  filter: grayscale(0.28) contrast(1.08) brightness(0.72);
}

.media-band__copy {
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 72px);
}

.media-band__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--accent);
  font-size: clamp(1.8rem, 3.4vw, 3.8rem);
  line-height: 0.9;
}

.media-band__copy p {
  margin: 18px 0 0;
  color: rgba(241, 238, 232, 0.76);
  line-height: 1.62;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(241, 238, 232, 0.14);
  background: rgba(241, 238, 232, 0.14);
}

.experience-card {
  background: #21201F;
  min-height: 300px;
  display: grid;
  grid-template-rows: auto 1fr;
}

a.experience-card {
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a.experience-card:hover,
a.experience-card:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.56);
  box-shadow: 0 18px 44px rgba(var(--accent-rgb), 0.16);
  transform: translateY(-2px);
  outline: none;
}

.experience-card img {
  display: block;
  align-self: start; /* don't let the grid stretch the image (Firefox grows the
                        auto row from min-height slack otherwise -> uneven cards) */
  width: 100%;
  height: clamp(190px, 18vw, 240px); /* deterministic equal height across browsers */
  object-fit: cover;
  filter: grayscale(0.32) contrast(1.08) brightness(0.72);
}

.experience-card div {
  padding: clamp(16px, 2vw, 26px);
}

.experience-card h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: uppercase;
  font-size: clamp(1.28rem, 1.7vw, 2rem);
  line-height: 0.98;
}

.experience-card p {
  margin: 12px 0 0;
  color: rgba(241, 238, 232, 0.7);
  line-height: 1.52;
}

.media-carousel {
  position: relative;
  display: grid;
  gap: 16px;
}

.media-carousel__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 32%);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border: 1px solid rgba(241, 238, 232, 0.14);
  background: rgba(241, 238, 232, 0.14);
}

.media-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.media-carousel .experience-card {
  scroll-snap-align: start;
  border: 0;
  border-right: 1px solid rgba(241, 238, 232, 0.14);
}

.media-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.media-carousel__button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(241, 238, 232, 0.22);
  background: rgba(5, 5, 5, 0.52);
  color: var(--smoke);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.media-carousel__button:hover,
.media-carousel__button:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.7);
  color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: stretch;
  margin-top: clamp(10px, 1.6vw, 22px);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: start;
  padding: clamp(28px, 2.7vw, 42px) clamp(22px, 2.2vw, 32px) clamp(26px, 2.4vw, 34px);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.5);
}

/* Featured / most-popular tier: lifted, accent-bordered, glowing */
.plan-card--featured {
  border-color: rgba(var(--accent-rgb), 0.85);
  background:
    linear-gradient(165deg, rgba(var(--accent-rgb), 0.22), rgba(10, 10, 10, 0.94) 60%);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.52);
  transform: translateY(-14px);
  z-index: 2;
}

.plan-card--featured:hover {
  transform: translateY(-18px);
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -52%);
  padding: 7px 18px;
  background: var(--accent);
  color: #21201f;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  white-space: nowrap;
}

.plan-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-card__head h3 {
  margin: 0;
}

.plan-card__offer {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 0.6rem;
  white-space: nowrap;
}

.plan-card__price {
  margin-top: 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 3.6vw, 4rem);
  line-height: 0.9;
}

.plan-card__price span {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(241, 238, 232, 0.58);
}

.plan-card__sub {
  margin: 12px 0 0 !important;
  min-height: 2.7em;
  color: rgba(241, 238, 232, 0.72) !important;
  font-size: 0.96rem;
  line-height: 1.5;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  flex: 1 1 auto;
  align-content: start;
  margin: clamp(18px, 2vw, 24px) 0 0;
  padding: clamp(18px, 2vw, 24px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  color: rgba(241, 238, 232, 0.82);
  line-height: 1.45;
  font-size: 0.95rem;
}

.plan-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.42em;
  background: var(--accent);
  transform: rotate(45deg);
}

.plan-card .entity-button {
  margin-top: clamp(22px, 2.4vw, 30px);
  width: 100%;
}

.plan-card__note {
  margin: 12px 0 0 !important;
  text-align: center;
  color: rgba(241, 238, 232, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ---- Purchase CTAs: elevated, less-generic buttons inside plan cards ---- */
.plan-card .entity-button {
  min-height: 58px;
  border: 0;
  /* fallback for browsers without color-mix() */
  background: var(--accent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent), #fff 16%),
    var(--accent) 52%,
    color-mix(in srgb, var(--accent), #000 12%)
  );
  letter-spacing: 0.14em;
  box-shadow:
    0 8px 20px rgba(var(--accent-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.plan-card .entity-button span[aria-hidden] {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card .entity-button:hover,
.plan-card .entity-button:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 16px 34px rgba(var(--accent-rgb), 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.plan-card .entity-button:hover span[aria-hidden],
.plan-card .entity-button:focus-visible span[aria-hidden] {
  transform: translateX(5px);
}

.plan-card .entity-button:active {
  transform: translateY(-1px);
}

/* Featured tier CTA - the hero button: a stronger static glow, no animation. */
.plan-card--featured .entity-button {
  box-shadow:
    0 12px 30px rgba(var(--accent-rgb), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.plan-card--featured .entity-button:hover,
.plan-card--featured .entity-button:focus-visible {
  box-shadow:
    0 18px 38px rgba(var(--accent-rgb), 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

/* "50% off military" sub-label set inside purchase buttons as a second line -
   small bold orange text, matching the nav "Shop 60% off" tag color. */
.entity-button--mil {
  flex-wrap: wrap;
  align-content: center;
  row-gap: 3px;
}
.entity-button--mil .mil-badge {
  flex-basis: 100%;
  text-align: center;
  color: #d94526;
  font-size: 0.6rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Don't let the arrow-slide hover (span[aria-hidden]) shift the sub-label. */
.plan-card .entity-button--mil:hover span[aria-hidden].mil-badge,
.plan-card .entity-button--mil:focus-visible span[aria-hidden].mil-badge { transform: none; }

.lead-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  padding: clamp(20px, 4vw, 58px);
}

.lead-card img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.4));
}

.lead-card h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 3.8rem);
  line-height: 0.9;
}

.lead-card p,
.lead-card li {
  color: rgba(241, 238, 232, 0.76);
  line-height: 1.58;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
}

.process-grid,
.team-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Portrait/role cards read best centered under the photo. */
.team-card {
  text-align: center;
}

/* Four-item FAQ/feature grids: 2x2 on desktop so the 4th card isn't orphaned
   in the 3-column default (tablet/mobile keep the shared stacked layout). */
@media (min-width: 981px) {
  .faq-grid--2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* A three-card team row centers within the section instead of leaving an
     empty 4th column in the default 4-column grid. Keyed off the card count
     via :has() so it needs no extra HTML class (works on cached markup too). */
  .team-grid--3,
  .team-grid:has(> .team-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin-inline: auto;
  }
}

.process-step,
.team-card,
.faq-item {
  padding: clamp(18px, 2.4vw, 34px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 18px;
  filter: grayscale(0.28) contrast(1.04) brightness(0.82);
}

.team-card .role {
  margin-top: 6px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.faq-item h3 {
  margin: 0;
  color: var(--smoke);
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  line-height: 1.3;
}

.final-cta {
  text-align: center;
  border-top: 1px solid rgba(241, 238, 232, 0.12);
}

.final-cta h2 {
  margin: 0 auto;
  max-width: 940px;
  text-wrap: balance;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 0.9;
}

.final-cta p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(241, 238, 232, 0.76);
  font-size: clamp(1rem, 1.26vw, 1.22rem);
  line-height: 1.58;
}

/* ---- Light bands: opt-in light-gray sections to break up the dark theme.
   Keeps each page's --accent for colored bits (Forge overrides it locally
   since its accent is off-white and would vanish on light). ---- */
.entity-section--light {
  --line: rgba(12, 10, 6, 0.16);
  background: #e9e6df;
  color: #16140f;
}

.entity-section--light .entity-section__head {
  border-bottom-color: rgba(12, 10, 6, 0.16);
}

.entity-section--light .entity-section__head h2 {
  color: #14120d;
}

.entity-section--light .entity-section__head p {
  color: rgba(22, 20, 15, 0.7);
}

.entity-section--light .feature-card,
.entity-section--light .experience-card,
.entity-section--light .lead-card,
.entity-section--light .media-band {
  background: #F9F5F2;
  border-color: rgba(12, 10, 6, 0.12);
}

.entity-section--light .feature-card h3,
.entity-section--light .experience-card h3 {
  color: #14120d;
}

.entity-section--light .feature-card p,
.entity-section--light .experience-card p,
.entity-section--light .lead-card p,
.entity-section--light .lead-card li,
.entity-section--light .media-band__copy p {
  color: rgba(22, 20, 15, 0.72);
}

.entity-section--light .feature-card__num {
  color: var(--accent);
}

.entity-section--light .media-carousel__button {
  border-color: rgba(12, 10, 6, 0.3);
  color: #14120d;
}

.entity-section--light .media-carousel__button:hover {
  background: #14120d;
  color: #ffffff;
}

/* Light-mode coverage for the recurring mid/lower-page card components, so a
   light band can sit anywhere in a page's rhythm - not just the feature/lead/
   media sections up top. Same treatment as feature-card: white card, ink text. */
.entity-section--light .team-card,
.entity-section--light .faq-item,
.entity-section--light .process-step {
  background: #F9F5F2;
  border-color: rgba(12, 10, 6, 0.12);
}
.entity-section--light .team-card h3,
.entity-section--light .faq-item h3,
.entity-section--light .process-step h3 {
  color: #14120d;
}
.entity-section--light .team-card p,
.entity-section--light .faq-item p,
.entity-section--light .process-step p {
  color: rgba(22, 20, 15, 0.72);
}

/* Centered "statement" bands (risk-reversal line, effort stat) hard-code white
   text; flip them to ink when the band sits on light. Accent eyebrows stay. */
.entity-section--light .risk-band__line,
.entity-section--light .effort-band__stat {
  color: #14120d;
}

@media (max-width: 980px) {
  .entity-hero,
  .entity-section__head,
  .media-band,
  .lead-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .entity-hero {
    min-height: auto;
  }

  .entity-title {
    max-width: 100%;
  }

  .feature-grid,
  .experience-grid,
  .plans,
  .process-grid,
  .team-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Pricing tiers read better stacked than 2-up on tablet. */
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .plan-card,
  .plan-card:hover,
  .plan-card--featured,
  .plan-card--featured:hover {
    transform: none;
  }

  .media-carousel__viewport {
    grid-auto-columns: minmax(280px, 48%);
  }
}

@media (max-width: 620px) {
  .entity-hero {
    padding: 88px 16px 42px;
  }

  .entity-section {
    padding: 46px 16px;
  }

  .entity-title {
    font-size: clamp(2.2rem, 13vw, 4.6rem);
    overflow-wrap: break-word;
  }

  .entity-actions {
    display: grid;
  }

  .entity-button {
    width: 100%;
  }

  .feature-grid,
  .experience-grid,
  .plans,
  .process-grid,
  .team-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .media-carousel__viewport {
    grid-auto-columns: minmax(260px, 86%);
  }

  .media-carousel__controls {
    justify-content: stretch;
  }

  .media-carousel__button {
    width: 100%;
  }

  .entity-hero-card img,
  .media-band img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .lead-card {
    padding: 18px;
  }

  /* Pillar pages: center all content on mobile for a clean single-column flow.
     (Section heads, pricing, and the ecosystem widget are already centered.) */
  body.is-flat .entity-hero,
  body.is-flat .entity-hero-card__body,
  body.is-flat .feature-card,
  body.is-flat .experience-card div,
  body.is-flat .lead-card,
  body.is-flat .fit-card,
  body.is-flat .supports__item,
  body.is-flat .transform-row,
  body.is-flat .timeline__step,
  body.is-flat .faq-item {
    text-align: center;
  }
  body.is-flat .entity-subtitle,
  body.is-flat .feature-card__list,
  body.is-flat .fit-card__list,
  body.is-flat .entity-hero__logo {
    margin-inline: auto;
  }
}

/* ---- Instagram embeds (bottom-of-page social band) ---------------------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
  justify-items: center;
  width: 100%;
}

.ig-grid .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 540px !important;
  /* Fallback height so posts stay visible even if Instagram's auto-resize
     message is missed; embed.js grows the iframe past this when it fires. */
  min-height: 680px;
  margin: 0 auto !important;
}

.ig-actions {
  margin-top: clamp(22px, 2.8vw, 38px);
  justify-content: center;
}

.ig-note {
  max-width: 560px;
  margin: clamp(18px, 2.4vw, 30px) auto 0;
  text-align: center;
  color: rgba(241, 238, 232, 0.62);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .ig-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

/* ---- Mentality: course + 1:1 inquiry ---- */
.mentality-offer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
  margin-top: clamp(10px, 1.6vw, 22px);
}
.inquiry-form { display: grid; gap: 12px; margin-top: clamp(16px, 2vw, 22px); }
.inquiry-form__row { display: grid; gap: 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(241,238,232,0.6); }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(241,238,232,0.16);
  color: var(--smoke, #f9f5f2); padding: 10px 12px; font: inherit; border-radius: 2px;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; border-color: rgba(var(--accent-rgb), 0.7); }
.inquiry-form .entity-button { margin-top: 4px; width: 100%; }
@media (max-width: 760px) { .mentality-offer { grid-template-columns: 1fr; } }

/* "Includes Forge" tag for qualifying tiers */
.plan-card__forge {
  align-self: flex-start;
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.6rem; font-weight: 900;
}

/* Entry offer - a single low-commitment first step, presented as a full-width
   actionable banner (not a footnote) above the tier grid. */
.entry-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 44px);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.12), rgba(10, 10, 10, 0.9) 68%);
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 40px);
  margin-bottom: clamp(18px, 2vw, 28px);
}
.entry-offer__body { display: grid; gap: 8px; }
.entry-offer__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; color: var(--accent);
}
.entry-offer__title {
  margin: 0; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.04; color: var(--smoke);
}
.entry-offer__desc {
  margin: 0; color: rgba(241, 238, 232, 0.7); font-size: 0.95rem; line-height: 1.5; max-width: 560px;
}
.entry-offer__action { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; }
.entry-offer__price { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--accent); }
.entry-offer__price span { font-size: 0.42em; letter-spacing: 0.08em; opacity: 0.85; }
.entry-offer .entity-button { margin-top: 0; width: auto; white-space: nowrap; }
@media (max-width: 699px) {
  .entry-offer { flex-direction: column; align-items: flex-start; }
  .entry-offer__action { align-items: stretch; width: 100%; }
  .entry-offer .entity-button { width: 100%; }
}

/* Element logo mark in an entity hero (each MCHN part shows its own logo) */
.entity-hero__logo {
  display: block;
  height: clamp(52px, 6.4vw, 84px);
  width: auto;
  margin: 0 0 clamp(14px, 1.8vw, 22px);
}

/* Logo tiles - present a transparent element logo centred on a dark panel,
   replacing the photo treatment inside an experience-card. */
.experience-card__logo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: clamp(18px, 3vw, 38px);
  background: radial-gradient(circle at 50% 42%, rgba(241, 238, 232, 0.07), transparent 72%), #0b0b0b;
}
.experience-card__logo img {
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 92px;
  object-fit: contain;
  aspect-ratio: auto;
  filter: none;
}

/* ============================================================
   Mobile card carousels (phones only, .swipe-cards pages)
   Card systems become horizontal swipe rows so the page stops
   growing vertically out of control. Dots injected by
   assets/entity-carousel.js. Desktop/tablet unaffected.
   ============================================================ */
@media (max-width: 620px) {
  /* Guard: a carousel must never make the page itself scroll or shift horizontally
     (iOS Safari can let an inner x-scroller leak to the page otherwise). */
  body.swipe-cards { overflow-x: hidden; }

  .swipe-cards .feature-grid,
  .swipe-cards .plans,
  .swipe-cards .experience-grid,
  .swipe-cards .team-grid,
  .swipe-cards .timeline,
  .swipe-cards .process-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scrollbar-width: none;
  }
  .swipe-cards .feature-grid::-webkit-scrollbar,
  .swipe-cards .plans::-webkit-scrollbar,
  .swipe-cards .experience-grid::-webkit-scrollbar,
  .swipe-cards .team-grid::-webkit-scrollbar,
  .swipe-cards .timeline::-webkit-scrollbar,
  .swipe-cards .process-grid::-webkit-scrollbar { display: none; }

  .swipe-cards .feature-grid > *,
  .swipe-cards .plans > *,
  .swipe-cards .experience-grid > *,
  .swipe-cards .team-grid > *,
  .swipe-cards .timeline > *,
  .swipe-cards .process-grid > * {
    flex: 0 0 86%;
    scroll-snap-align: center;
    min-width: 0;
    min-height: 0;
  }

  /* Leading/trailing spacers so the FIRST and LAST cards snap to the viewport
     centre (not flush against the section edge). Width = half the leftover after a
     centred 86% card, minus the 14px row gap. Result: every card is centred with a
     symmetric peek of its neighbours. */
  .swipe-cards .feature-grid::before, .swipe-cards .feature-grid::after,
  .swipe-cards .plans::before, .swipe-cards .plans::after,
  .swipe-cards .experience-grid::before, .swipe-cards .experience-grid::after,
  .swipe-cards .team-grid::before, .swipe-cards .team-grid::after,
  .swipe-cards .timeline::before, .swipe-cards .timeline::after,
  .swipe-cards .process-grid::before, .swipe-cards .process-grid::after {
    content: "";
    flex: 0 0 calc(7% - 14px);
    min-width: 0;
  }

  /* Opt-out: .no-swipe keeps a grid as a stacked vertical list instead of a
     horizontal swipe row (entity-carousel.js also skips it, so no dots). */
  .swipe-cards .feature-grid.no-swipe {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .swipe-cards .feature-grid.no-swipe > * {
    flex: initial;
    scroll-snap-align: none;
  }
  /* No-swipe grids are vertical lists, not carousels — drop the centring spacers
     (they'd otherwise become stray empty grid cells). */
  .swipe-cards .feature-grid.no-swipe::before,
  .swipe-cards .feature-grid.no-swipe::after { content: none; }

  /* Pagination dots (injected after each carousel) */
  .swipe-cards .card-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
  }
  .swipe-cards .card-dots button {
    width: 8px; height: 8px; padding: 0;
    border: 0; border-radius: 50%;
    background: rgba(241, 238, 232, 0.32);
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
  }
  .swipe-cards .card-dots button[aria-current="true"] {
    background: var(--accent);
    transform: scale(1.35);
  }
  /* On light sections the dots sit on a pale background - use ink. */
  .swipe-cards .entity-section--light .card-dots button { background: rgba(22, 20, 15, 0.22); }
  .swipe-cards .entity-section--light .card-dots button[aria-current="true"] { background: var(--accent); }
}

@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  .swipe-cards .card-dots button { transition: none; }
}

/* ============================================================
   Scroll reveal - premium staggered unveil, applied site-wide by
   site-nav.js (setupReveal). The hidden state only engages when JS
   opts in via html.reveal-on AND the user allows motion, so no-JS
   and reduced-motion users always see fully visible content. */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-on .reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.68s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  html.reveal-on .reveal-item.is-in {
    opacity: 1;
    transform: none;
  }
}

/* Hero entrance - the pillar/entity hero sits above the fold, so instead of the
   scroll-reveal it animates in on load (staggered), echoing the home hero.
   CSS-driven (no JS, no flash); hero elements are excluded from setupReveal. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes entity-hero-in {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes entity-hero-card-in {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
  .entity-hero__logo,
  .entity-hero .entity-kicker,
  .entity-hero .entity-title,
  .entity-hero .entity-subtitle,
  .entity-hero .entity-actions,
  .entity-hero .entity-cta-note {
    animation: entity-hero-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .entity-hero__logo { animation-delay: 0.06s; }
  .entity-hero .entity-kicker { animation-delay: 0.16s; }
  .entity-hero .entity-title { animation-delay: 0.26s; }
  .entity-hero .entity-subtitle { animation-delay: 0.38s; }
  .entity-hero .entity-actions { animation-delay: 0.5s; }
  .entity-hero .entity-cta-note { animation-delay: 0.6s; }
  .entity-hero-card {
    animation: entity-hero-card-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: 0.44s;
  }
}

/* ==========================================================================
   Quad-core ecosystem widget ("Where X fits inside MCHN")
   Shared across all four pillar pages. Built for dark sections.
   Per-cell accent is set inline via --node; the current page is .is-current
   and sits top-left. Forge's node is a warm white so it reads distinct from
   Strength's red instead of as its sibling.
   ========================================================================== */
.qcore { margin: clamp(28px,4vw,52px) auto 0; width: min(1080px, 94vw); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px,1.4vw,18px); }
@media (max-width: 768px) { .qcore { grid-template-columns: 1fr 1fr; width: min(560px, 92vw); } }
.qcore__cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; text-decoration: none; aspect-ratio: 1; padding: clamp(14px,2.4vw,24px); transition: transform 220ms cubic-bezier(0.2,0.8,0.2,1), opacity 220ms ease; opacity: 0.62; }
/* Two-class specificity so the dim survives the scroll-reveal's .is-in opacity. */
.qcore__cell:not(.is-current) { opacity: 0.62; }
.qcore__cell:hover { transform: translateY(-4px); opacity: 1; }
/* Glow lights up only the pillar you're currently viewing. */
.qcore__cell.is-current { opacity: 1; background: radial-gradient(62% 62% at 50% 44%, color-mix(in srgb, var(--node, #d94526) 18%, transparent), transparent 72%); }
/* Borderless "you are here" cue: short accent bar under the current pillar. */
.qcore__cell.is-current .qcore__name::after { content: ""; display: block; width: 26px; height: 2px; margin: 8px auto 0; border-radius: 2px; background: var(--node, var(--smoke)); }
.qcore__cell img { height: clamp(34px,5vw,50px); width: auto; }
.qcore__name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(0.95rem,1.4vw,1.2rem); color: var(--node, var(--smoke)); }
.qcore__role { font-family: var(--font-subtitle); font-size: 0.78rem; color: rgba(241,238,232,0.66); }
.qcore__verb { display: block; color: rgba(241,238,232,0.82); font-size: 0.84rem; margin-bottom: 2px; }

/* ===== Four-pillars overview (dark) - shared by About + pillar "how it fits" =====
   Mobile: circular logo badge on the left, copy on the right.
   Desktop (>=900px): 4-column row with vertical dividers + bottom-aligned CTAs. */
.fourp { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: clamp(28px, 4vw, 50px) auto 0; }
.fourp__col { display: grid; grid-template-columns: auto 1fr; align-items: center; padding: clamp(26px, 6vw, 40px) 0; }
.fourp__col:first-child { padding-top: 0; }
.fourp__col:not(:first-child) { border-top: 1px solid rgba(241, 238, 232, 0.14); }
.fourp__badge { display: grid; place-items: center; box-sizing: border-box; flex: none; width: clamp(86px, 23vw, 110px); height: clamp(86px, 23vw, 110px); border-radius: 50%; border: 1px solid rgba(241, 238, 232, 0.2); margin: 0 clamp(16px, 4.5vw, 24px) 0 0; }
.fourp__logo { width: 52%; height: 52%; object-fit: contain; }
.fourp__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border-left: 1px solid rgba(241, 238, 232, 0.16); padding-left: clamp(16px, 4.6vw, 26px); }
/* Current pillar ("you are here"): tint the badge ring + a soft color pulse. */
.fourp__col.is-current .fourp__badge { border-color: color-mix(in srgb, var(--node) 70%, transparent); animation: fourp-pulse 2.4s ease-in-out infinite; }
@keyframes fourp-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--node) 42%, transparent); }
  70% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--node) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--node) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .fourp__col.is-current .fourp__badge { animation: none; } }
.fourp__kicker { margin: 0 0 6px; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.62rem; color: var(--node); }
.fourp__name { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.85rem, 8vw, 2.1rem); line-height: 0.92; color: var(--node); }
.fourp__line { margin: 13px 0 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; color: var(--smoke); font-size: clamp(1rem, 3.6vw, 1.16rem); line-height: 1.12; }
.fourp__desc { margin: 14px 0 0; font-family: var(--font-subtitle); color: rgba(241, 238, 232, 0.7); font-size: clamp(0.9rem, 3.4vw, 0.96rem); line-height: 1.55; }
.fourp__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(16px, 4vw, 24px); color: var(--node); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.84rem; text-decoration: none; }
.fourp__cta span[aria-hidden] { display: inline-block; font-family: var(--font-body); font-weight: 600; transition: transform 180ms ease; }
.fourp__cta:hover span[aria-hidden], .fourp__cta:focus-visible span[aria-hidden] { transform: translateX(4px); }
.fourp__cta:hover, .fourp__cta:focus-visible { outline: none; }
@media (min-width: 900px) {
  .fourp { grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1140px; }
  .fourp__col { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(20px, 2vw, 34px); border-left: 1px solid rgba(241, 238, 232, 0.14); border-top: 0; }
  .fourp__col:not(:first-child) { border-top: 0; padding-top: 0; }
  .fourp__col:first-child { border-left: 0; padding-top: 0; }
  /* Thicker divider to the right of the current ("you are here") pillar, listed first. */
  .fourp__col.is-current + .fourp__col { border-left-width: 2px; border-left-color: rgba(241, 238, 232, 0.32); }
  .fourp__badge { margin: 0 0 clamp(18px, 2.2vw, 28px); }
  .fourp__body { flex: 1 1 auto; width: 100%; align-items: center; text-align: center; border-left: 0; padding-left: 0; }
  .fourp__name { font-size: clamp(1.55rem, 2.2vw, 2rem); }
  /* Reserve a uniform two-line slot so a wrapping tagline (e.g. Vitality's
     "Align your systems.") doesn't push its desc/CTA out of line with the
     other cards in the 4-up strip. */
  .fourp__line { font-size: clamp(1rem, 1.2vw, 1.16rem); min-height: 2.24em; }
  .fourp__desc { font-size: clamp(0.9rem, 0.98vw, 0.96rem); }
  .fourp__cta { margin-top: auto; padding-top: clamp(20px, 2.2vw, 30px); }
}

/* ============================================================
   Flat pillar pages (body.is-flat) - Forge's borderless language
   applied to the pillar pages. Strips card/box chrome and segments
   with whitespace, hairline rules, and type instead. Section-aware
   so de-boxed content keeps contrast on both dark and light bands.
   Only affects pages that carry the .is-flat body class.
   ============================================================ */

/* 1. Box removal: every card-like component loses fill, frame, shadow. */
body.is-flat .entity-hero-card,
body.is-flat .feature-card,
body.is-flat .plan-card,
body.is-flat .faq-item,
body.is-flat .team-card,
body.is-flat .process-step,
body.is-flat .lead-card,
body.is-flat .entry-offer,
body.is-flat .timeline__step,
body.is-flat .transform-row,
body.is-flat .supports__item,
body.is-flat .fit-card,
body.is-flat .stat,
body.is-flat .layer-card,
body.is-flat .membership-card,
body.is-flat .experience-grid,
body.is-flat .experience-card,
body.is-flat .media-band {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  min-height: 0;
}

/* Kill the hover lifts/shadows that went with the boxes. */
body.is-flat .feature-card:hover,
body.is-flat .plan-card:hover,
body.is-flat .team-card:hover,
body.is-flat .process-step:hover,
body.is-flat .faq-item:hover,
body.is-flat .timeline__step:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

/* Hero media: align the caption now that the glass frame is gone. */
body.is-flat .entity-hero-card__body { padding: clamp(14px,1.8vw,20px) 0 0; }

/* 2. Section-aware contrast: de-boxed card text always reads on its band.
      Targets only neutral text (headings/body); accent sub-elements
      (badges, eyebrows, prices, problem-x, timeline__when, fit labels) are
      left untouched so they keep the page accent on either band. */
:root { --flat-cards: .feature-card,.experience-card,.plan-card,.team-card,.process-step,.lead-card,.entry-offer,.timeline__step,.media-band; }
/* Dark bands -> light text. */
body.is-flat .entity-section:not(.entity-section--light) :is(.feature-card,.experience-card,.plan-card,.team-card,.process-step,.lead-card,.entry-offer,.timeline__step,.media-band,.faq-item) :is(h2,h3,h4),
body.is-flat .entity-section:not(.entity-section--light) .plan-card__price,
body.is-flat .entity-section:not(.entity-section--light) .supports__a,
body.is-flat .entity-section:not(.entity-section--light) .transform-row__after { color: var(--smoke) !important; }
body.is-flat .entity-section:not(.entity-section--light) :is(.feature-card,.experience-card,.plan-card,.team-card,.process-step,.lead-card,.entry-offer,.timeline__step,.media-band,.faq-item) :is(p,li):not(.timeline__when):not(.fit-card__label),
body.is-flat .entity-section:not(.entity-section--light) .fit-card__list li,
body.is-flat .entity-section:not(.entity-section--light) .transform-row__before,
body.is-flat .entity-section:not(.entity-section--light) .supports__b { color: rgba(241,238,232,0.74) !important; }
/* Light bands -> ink text. */
body.is-flat .entity-section--light :is(.feature-card,.experience-card,.plan-card,.team-card,.process-step,.lead-card,.entry-offer,.timeline__step,.media-band,.faq-item) :is(h2,h3,h4),
body.is-flat .entity-section--light .plan-card__price,
body.is-flat .entity-section--light .supports__a,
body.is-flat .entity-section--light .transform-row__after { color: #14120d !important; }
body.is-flat .entity-section--light :is(.feature-card,.experience-card,.plan-card,.team-card,.process-step,.lead-card,.entry-offer,.timeline__step,.media-band,.faq-item) :is(p,li):not(.timeline__when):not(.fit-card__label),
body.is-flat .entity-section--light .fit-card__list li,
body.is-flat .entity-section--light .transform-row__before,
body.is-flat .entity-section--light .supports__b { color: rgba(22,20,15,0.72) !important; }
/* Muted price-cadence sub-label + standalone fine-print follow the band. */
body.is-flat .entity-section:not(.entity-section--light) .plan-card__price span,
body.is-flat .entity-section:not(.entity-section--light) .plan-card__note { color: rgba(241,238,232,0.55) !important; }
body.is-flat .entity-section--light .plan-card__price span,
body.is-flat .entity-section--light .plan-card__note { color: rgba(22,20,15,0.55) !important; }

/* 3. FAQ -> hairline-divided list. */
body.is-flat .faq-item { transition: none; }
body.is-flat .entity-section--light .faq-item { border-top: 1px solid rgba(12,10,6,0.14) !important; }
body.is-flat .entity-section:not(.entity-section--light) .faq-item { border-top: 1px solid rgba(241,238,232,0.14) !important; }

/* 4. Pricing: borderless 3-up split by faint vertical hairlines (desktop). */
body.is-flat .plan-card--featured,
body.is-flat .plan-card--featured:hover { transform: none; }
@media (min-width: 981px) {
  body.is-flat .plans { column-gap: 0; }
  body.is-flat .plan-card { padding-inline: clamp(20px, 2.6vw, 40px); }
  body.is-flat .entity-section--light .plan-card + .plan-card { border-left: 1px solid rgba(12,10,6,0.14) !important; }
  body.is-flat .entity-section:not(.entity-section--light) .plan-card + .plan-card { border-left: 1px solid rgba(241,238,232,0.16) !important; }
}

/* Smooth-scroll in-page anchor jumps (e.g. hero CTAs -> pricing). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Hero "scroll to learn more" cue (pillar pages). */
.hero-scroll-cue {
  position: absolute; left: 50%; top: calc(100svh - clamp(86px, 12vh, 110px)); transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 9px;
  background: none; border: 0; cursor: pointer; padding: 6px 10px; z-index: 4;
  color: rgba(241, 238, 232, 0.7);
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; font-size: 0.62rem;
  transition: color 200ms ease;
}
.hero-scroll-cue:hover, .hero-scroll-cue:focus-visible { color: var(--smoke); outline: none; }
.hero-scroll-cue__ring { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, currentColor, transparent 45%); border-radius: 50%; transition: border-color 0.18s ease, background 0.18s ease; }
.hero-scroll-cue:hover .hero-scroll-cue__ring, .hero-scroll-cue:focus-visible .hero-scroll-cue__ring { border-color: currentColor; background: rgba(249, 245, 242, 0.06); }
.hero-scroll-cue svg { width: 22px; height: 22px; animation: hero-cue-bounce 1.9s ease-in-out infinite; }
@keyframes hero-cue-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue svg { animation: none; } }
@media (max-width: 760px) { .hero-scroll-cue { display: none; } }

/* ============================================================
   Tier / billing toggle widget (.bt) - one clean option shown
   at a time, no boxes, text-only CTA. Shared by Forge (monochrome,
   overridden inline) and the pillar pricing sections (accent).
   ============================================================ */
.bt { margin: clamp(20px,3vw,40px) auto 0; max-width: 540px; display: flex; flex-direction: column; align-items: center; gap: clamp(16px,2.2vw,26px); }
.bt__toggle { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; background: rgba(20,18,13,0.07); border-radius: 999px; padding: 4px; }
.bt__toggle button { border: 0; cursor: pointer; background: transparent; color: rgba(22,20,15,0.6); font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(0.62rem,0.9vw,0.7rem); padding: 8px clamp(13px,1.8vw,20px); border-radius: 999px; transition: background 180ms ease, color 180ms ease; }
.bt__toggle button[aria-pressed="true"] { background: var(--accent); color: #21201f; }
.bt__card { width: 100%; text-align: center; }
[data-bt-plan]:not(.is-active) { display: none; }
.bt__offer { margin: 0; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.64rem; color: var(--accent-ink, var(--accent)); }
.bt__name { margin: 6px 0 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.3rem,2.4vw,1.8rem); line-height: 1.04; color: #14120d; }
.bt__forge { display: inline-block; margin: 8px 0 0; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.56rem; color: var(--accent-ink, var(--accent)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: 4px 8px; }
.bt__price { font-family: var(--font-display); font-weight: 800; color: #14120d; font-size: clamp(2.3rem,5.4vw,3.3rem); line-height: 1; margin: 12px 0 0; }
.bt__price span { font-size: 0.3em; color: rgba(22,20,15,0.5); letter-spacing: 0.04em; }
.bt__price-note { margin: 7px 0 0; color: rgba(22,20,15,0.74); font-size: 0.82rem; letter-spacing: 0.01em; }
.bt__sub { margin: 12px auto 0; max-width: 46ch; color: rgba(22,20,15,0.72); font-size: 0.92rem; line-height: 1.5; }
.bt__list { list-style: none; margin: 18px auto 0; padding: 0; max-width: 46ch; display: grid; gap: 9px; text-align: center; }
.bt__list li { color: rgba(22,20,15,0.74); font-size: 0.9rem; line-height: 1.45; }
.bt__list li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; vertical-align: 0.06em; background: var(--accent-ink, var(--accent)); border-radius: 2px; }
.bt__note { margin: 14px 0 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.6rem; color: rgba(22,20,15,0.74); }

/* Text-only CTAs inside the pricing widget + its 4th-option entry offer. */
.bt__card .entity-button,
#plans .entry-offer .entity-button {
  min-height: 0; width: auto; padding: 0 0 5px; gap: 9px;
  border: 0; border-radius: 0;
  background: none; box-shadow: none; color: #14120d;
  transition: opacity 200ms ease;
}
.bt__card .entity-button { margin-top: clamp(14px,1.8vw,20px); }
/* Pillar pricing CTAs take the pillar's accent (Forge keeps its monochrome). */
body.is-flat .bt__card .entity-button,
body.is-flat #plans .entry-offer .entity-button { color: var(--accent-ink, var(--accent)); }

/* Pillar hero CTAs: text-only, no box, in the pillar's accent on the dark hero. */
body.is-flat .entity-hero .entity-button {
  min-height: 0 !important; width: auto !important; padding: 0 0 5px !important; gap: 9px;
  border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; color: var(--accent);
  transition: opacity 200ms ease;
}
body.is-flat .entity-hero .entity-button:hover,
body.is-flat .entity-hero .entity-button:focus-visible { transform: none !important; box-shadow: none !important; background: none !important; opacity: 0.66; outline: none; }
body.is-flat .entity-hero .entity-button span[aria-hidden] { transition: transform 200ms ease; }
body.is-flat .entity-hero .entity-button:hover span[aria-hidden] { transform: translateX(5px); }
.bt__card .entity-button:hover, .bt__card .entity-button:focus-visible,
#plans .entry-offer .entity-button:hover, #plans .entry-offer .entity-button:focus-visible {
  transform: none; box-shadow: none; background: none; opacity: 0.66; outline: none;
}
.bt__card .entity-button span[aria-hidden],
#plans .entry-offer .entity-button span[aria-hidden] { transition: transform 200ms ease; }
.bt__card .entity-button:hover span[aria-hidden],
#plans .entry-offer .entity-button:hover span[aria-hidden] { transform: translateX(5px); }

/* The 4th option (entry offer) sits below the widget, centered + borderless,
   separated by a small centered line divider (a pseudo-element so the flat
   layer's `border: 0` doesn't strip it). */
#plans .entry-offer { position: relative; flex-direction: column; align-items: center; text-align: center; gap: clamp(12px,1.8vw,18px); margin-top: clamp(30px,4vw,54px); padding-top: clamp(28px,3.6vw,42px); max-width: 620px; margin-inline: auto; }
#plans .entry-offer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 88px; height: 3px; border-radius: 3px; background: rgba(20,18,13,0.24); }
#plans .entry-offer__price { color: var(--accent-ink, var(--accent)); }

/* One-at-a-time switch animation. */
@keyframes bt-plan-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bt__card.is-active { animation: bt-plan-in 360ms cubic-bezier(0.2,0.8,0.2,1); }
@media (prefers-reduced-motion: reduce) { .bt__card.is-active { animation: none; } }

/* ---- Unified animated CTA arrow (matches the Forge pricing CTA) -----------
   Every CTA arrow gets a slow, constant forward nudge that pauses (held
   forward) on hover/focus. Listed variants match the per-component arrow
   rules above and, being later in source, supersede their hover-only nudge.
   Reduced-motion users get a static arrow. */
@keyframes cta-arrow-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.entity-button span[aria-hidden],
.bt__card .entity-button span[aria-hidden],
#plans .entry-offer .entity-button span[aria-hidden],
body.is-flat .entity-hero .entity-button span[aria-hidden] {
  display: inline-block;
  font-family: var(--font-body);
  animation: cta-arrow-nudge 2.6s ease-in-out infinite;
  transition: none;
}
.entity-button:hover span[aria-hidden],
.entity-button:focus-visible span[aria-hidden],
.bt__card .entity-button:hover span[aria-hidden],
.bt__card .entity-button:focus-visible span[aria-hidden],
#plans .entry-offer .entity-button:hover span[aria-hidden],
#plans .entry-offer .entity-button:focus-visible span[aria-hidden],
body.is-flat .entity-hero .entity-button:hover span[aria-hidden],
body.is-flat .entity-hero .entity-button:focus-visible span[aria-hidden] {
  animation-play-state: paused;
  transform: translateX(6px);
}
@media (prefers-reduced-motion: reduce) {
  .entity-button span[aria-hidden] { animation: none; transform: none; }
}

/* ============================================================
   Merch strip - pre-footer product band (pillar pages + About).
   Cards are placeholders now; a Storefront-API script will later
   populate [data-merch-grid] from the "Featured" Shopify collection.
   ============================================================ */
.merch-strip { position: relative; z-index: 1; background: #1a1918; border-top: 1px solid rgba(241, 238, 232, 0.08); padding: clamp(20px, 2.4vw, 34px) var(--gutter, clamp(20px, 5vw, 48px)); }
/* TEMP — hide placeholder merch sitewide (delete this line + bump ?v= to restore) */
.merch-strip { display: none !important; }
.merch-strip__inner { max-width: 1160px; margin: 0 auto; }
.merch-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(14px, 1.6vw, 22px); }
.merch-strip__eyebrow { margin: 0; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.68rem; color: var(--accent, #d94526); }
.merch-strip__title { margin: 5px 0 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1; color: var(--smoke); }
.merch-strip__all { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--smoke); border-bottom: 1px solid rgba(241, 238, 232, 0.35); padding-bottom: 3px; white-space: nowrap; transition: border-color 160ms ease; }
.merch-strip__all:hover, .merch-strip__all:focus-visible { border-bottom-color: var(--smoke); outline: none; }
.merch-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.merch-card { display: block; color: inherit; }
.merch-card__img { position: relative; aspect-ratio: 1 / 1; background: #ece8e1; border-radius: 6px; border: 1px solid rgba(20, 18, 13, 0.06); overflow: hidden; display: grid; place-items: center; }
.merch-card__img img:not(.merch-card__ph) { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 320ms ease; }
.merch-card:hover .merch-card__img img:not(.merch-card__ph) { transform: scale(1.04); }
.merch-card__ph { width: 42%; opacity: 0.2; }
.merch-card__name { margin: 9px 0 0; font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; color: var(--smoke); transition: color 160ms ease; }
.merch-card:hover .merch-card__name { color: var(--accent, #d94526); }
.merch-card__price { margin: 3px 0 0; font-family: var(--font-body); font-size: 0.88rem; color: rgba(241, 238, 232, 0.55); }
@media (max-width: 720px) {
  .merch-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
}

/* ---- In-page jump nav (scroll-spy), ported from the About page's .about-jump.
   Fixed vertical section index on the right; --jump-ink flips dark/light per band
   behind it (toggled by site-nav.js setupEntityJump). Active dot = pillar --accent. ---- */
.entity-jump {
  position: fixed; right: clamp(14px, 2vw, 32px); top: 50%; transform: translateY(-50%);
  z-index: 16; display: flex; flex-direction: column; align-items: flex-end; gap: clamp(11px, 1.5vh, 17px);
  --jump-ink: 241, 238, 232;
}
.entity-jump.on-light { --jump-ink: 20, 18, 13; }
.entity-jump a {
  display: inline-flex; align-items: center; gap: 11px; line-height: 1;
  color: rgba(var(--jump-ink), 0.5); font-family: var(--font-body); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(0.58rem, 0.72vw, 0.7rem);
  text-decoration: none; white-space: nowrap; transition: color 200ms ease;
  text-shadow: 0 1px 7px rgba(8, 8, 8, 0.28);
}
.entity-jump.on-light a { text-shadow: 0 1px 7px rgba(249, 245, 242, 0.4); }
.entity-jump__dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none; order: 2;
  background: rgba(var(--jump-ink), 0.32); transition: background 200ms ease, transform 200ms ease;
}
.entity-jump a:hover, .entity-jump a:focus-visible, .entity-jump a.is-active { color: rgba(var(--jump-ink), 1); outline: none; }
.entity-jump a.is-active .entity-jump__dot { background: var(--accent); transform: scale(1.5); }
#overview, #problem, #approach, #benefits, #system, #ecosystem, #plans, #faq { scroll-margin-top: clamp(70px, 9vh, 92px); }
@media (max-width: 860px) {
  .entity-jump { right: 10px; gap: 14px; }
  .entity-jump__label { display: none; }   /* dots-only on small screens (matches About) */
}
@media (prefers-reduced-motion: reduce) { .entity-jump a { transition: none; } }
