/* Lucen — customer stories. Tokens and modules taken from lucensoftware.com. */
@font-face { font-family: 'Saans'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/Saans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Saans'; font-weight: 500; font-style: normal; font-display: swap; src: url('assets/fonts/Saans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Saans'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/Saans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Saans'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/Saans-Bold.woff2') format('woff2'); }

:root {
  --ink: #261b46;
  --indigo: #2d00ac;
  --purple: #9c53e5;
  --blue: #3b93f7;
  --light-purple: #d7baf5;
  --light-blue: #b1d4fc;
  --green: #bef5e0;
  --neutral: #726a86;
  --off-white: #f6f5f3;
  --beige: #e8e6e3;
  --white: #fff;
  --grad-lucen-soft: linear-gradient(90deg, var(--light-purple), var(--light-blue));
  --container: 1312px;
  --pad-x: 64px;
  --card-radius: 15px;
  --img-radius: 16px;
  --thumb-ratio: 359 / 210;   /* the live site's story thumbnail */
  --ease: cubic-bezier(.4,.1,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink); font-family: 'Saans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: normal; font-weight: 500; }
h1 { font-size: clamp(34px, 3.4vw, 45px); line-height: 1.16; }
h2 { font-size: clamp(27px, 2.7vw, 38px); line-height: 1.16; }
h3 { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: var(--white); }
.is-hidden { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + var(--pad-x) * 2); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: 0 0 84px; scroll-margin-top: 92px; }
.section--off-white { background: var(--off-white); }
.body-l { font-size: 19px; line-height: 1.5; }
.body-m { font-size: 18px; line-height: 1.5; }
.body-s { font-size: 14px; line-height: 1.6; }
.muted { color: var(--neutral); }

.eyebrow { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
.eyebrow--green { color: var(--green); }

/* pills and chips — neutral outline (#E8E6E3) */
.pill, .chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 1000px; background: var(--white); color: var(--ink); border: 1.5px solid var(--beige);
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; padding: 7px 14px;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease), opacity .15s var(--ease);
}
.pill { font-size: 12px; padding: 7px 20px; margin-bottom: 16px; }
.chip { cursor: pointer; font-family: inherit; }
.chip img { height: 18px; width: auto; }
.chip--static { cursor: default; }
.chip:not(.chip--static):hover { border-color: var(--neutral); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.chip.is-muted { opacity: .55; }

.rule { height: 2px; background: var(--grad-lucen-soft); border-radius: 2px; }
.underlined-heading { padding: 68px 0 32px; display: grid; gap: 26px; }
.underlined-heading__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.underlined-heading__aside { white-space: nowrap; font-size: 16px; }

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 100px; font-size: 15px; font-weight: 500; letter-spacing: .03em; padding: 11px 24px; border: 0; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease); }
.btn--white { background: var(--white); color: var(--indigo); }
.btn--white:hover { box-shadow: 0 10px 24px rgba(12,6,32,.22); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.85); padding: 9px 20px; }
.btn--ghost:hover, .btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); padding: 9px 22px; }
.btn--lg { font-size: 16px; padding: 13px 26px; }
.btn--sm { font-size: 14px; padding: 9px 18px; }
.btn:hover { transform: translateY(-1px); }
.link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.link:disabled { color: var(--neutral); cursor: default; text-decoration-color: transparent; }
.chev { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }

/* header */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 90px; border-bottom: 2px solid rgba(255,255,255,.9); transition: border-color .25s var(--ease); }
.nav.is-solid { background: var(--indigo); box-shadow: 0 8px 26px rgba(12,6,32,.22); }
.nav.is-solid .nav__inner { height: 74px; border-bottom-color: transparent; }
.nav__logo img { width: 190px; transition: width .25s var(--ease); }
.nav.is-solid .nav__logo img { width: 164px; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--white); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.nav__link:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__panel[hidden] { display: none; }
.nav__panel { display: none; background: var(--indigo); padding: 12px var(--pad-x) 28px; gap: 4px; }
.nav__panel a { color: var(--white); font-size: 17px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.nav__panel__buttons { display: flex; gap: 12px; margin-top: 18px; }
.nav__panel__buttons a { border-bottom: 0; padding: 9px 20px; }

/* hero */
.hero { position: relative; background: var(--indigo) url('assets/img/hero-bg.svg') center / cover no-repeat; color: var(--white); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(320px, 560px) 1fr; gap: 56px; align-items: center; padding-top: 176px; padding-bottom: 92px; }
.hero__copy h1 { margin-bottom: 20px; }
.hero__copy .body-l { color: rgba(255,255,255,.92); max-width: 530px; margin-bottom: 30px; }
.hero__tiles { display: grid; gap: 14px; min-width: 0; }

/* marquees */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.marquee__track { display: flex; gap: 14px; width: max-content; will-change: transform; animation: marquee-left 60s linear infinite; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none !important; } }

.hero__tiles .marquee:hover .marquee__track, .hero__tiles .marquee:focus-within .marquee__track { animation-play-state: paused; }
.tile { position: relative; display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease); width: 238px; aspect-ratio: var(--thumb-ratio); border-radius: var(--img-radius); overflow: hidden; flex: none; background: rgba(255,255,255,.08); }
.tile img.tile__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12,6,32,.35); }
.tile:hover img.tile__photo { transform: scale(1.05); }
.badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; background: var(--white); border-radius: 10px; padding: 9px 14px; box-shadow: 0 6px 18px rgba(38,27,70,.18); }
.badge img { height: 22px; width: auto; object-fit: contain; }
.badge--dark { background: var(--ink); }
.badge--name { font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink); }

/* logo band — light band from the experimental brand page */
.logo-band { background: linear-gradient(90deg, #eee8fa, #e6eefc); color: var(--ink); padding: 34px 0 40px; display: grid; gap: 26px; }
.logo-band__title { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; line-height: 1.6; text-align: center; max-width: 1100px; margin: 0 auto; }
.logo-band__marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.logo-band__marquee .marquee__track { gap: 104px; align-items: center; }
.logo-band__marquee img { opacity: .82; max-width: 150px; object-fit: contain; }

/* cards */
.card { background: var(--white); border-radius: var(--card-radius); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 20px; height: 100%; border: 1px solid transparent; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(38,27,70,.13); border-color: var(--beige); }
.card__media { position: relative; display: block; border-radius: var(--img-radius); overflow: hidden; background: var(--off-white); aspect-ratio: var(--thumb-ratio); }
.card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card__media > img { transform: scale(1.04); }
.card__media .badge { left: 14px; bottom: 14px; padding: 10px 15px; border-radius: 12px; }
.card--featured .card__media .badge { padding: 12px 18px; }
.card__body { display: grid; gap: 14px; align-content: start; flex: 1 1 auto; }
.card__title { font-weight: 500; }
.card__title a:hover { color: var(--indigo); }
.card__impact-block { display: grid; gap: 2px; }
.card__impact-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--neutral); }
.card__impact { font-size: 15px; font-weight: 500; line-height: 1.4; }
.card__summary { font-size: 14px; line-height: 1.6; color: var(--neutral); }
.card__footer { display: grid; gap: 14px; padding-top: 4px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; }
.byline img { height: 26px; width: auto; }
.card__link { font-size: 14px; font-weight: 500; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.card__link span { display: inline-block; transition: transform .18s var(--ease); }
.card:hover .card__link span { transform: translateX(4px); }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* featured carousel */
/* no clipping, so card shadows are never cut; cards outside the view fade out instead */
.carousel { overflow: visible; }
.carousel__track { display: flex; gap: 20px; transition: transform .45s var(--ease); }
.carousel__track > * { flex: 0 0 calc((100% - 40px) / 3); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), opacity .35s var(--ease), visibility 0s; }
.carousel__track > [aria-hidden="true"] { opacity: 0; visibility: hidden; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), opacity .35s var(--ease), visibility 0s .35s; }
.carousel__arrows { display: flex; gap: 12px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--beige); background: var(--white); cursor: pointer; position: relative; transition: background .15s var(--ease), border-color .15s var(--ease), opacity .15s var(--ease); }
.arrow:hover:not(:disabled) { border-color: var(--neutral); }
.arrow::after { content: ''; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); }
.arrow[data-carousel="prev"]::after { transform: translateX(2px) rotate(135deg); }
.arrow[data-carousel="next"]::after { transform: translateX(-2px) rotate(-45deg); }
.arrow:disabled { opacity: .4; cursor: default; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.quote__media { position: relative; border-radius: var(--img-radius); overflow: hidden; aspect-ratio: var(--thumb-ratio); background: var(--ink); }
.quote__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.quote__media:hover img { transform: scale(1.04); }
.quote__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.94); border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(38,27,70,.25); transition: transform .18s var(--ease); }
.quote__play:hover { transform: scale(1.06); }
.quote__play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 16px solid var(--indigo); border-top: 10px solid transparent; border-bottom: 10px solid transparent; transform: translateX(3px); }
.quote__text { font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: normal; }
.quote__author { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--beige); display: grid; place-items: center; font-size: 15px; font-weight: 500; flex: none; }
.quote__name { font-size: 16px; font-weight: 500; letter-spacing: normal; }
.quote__role { font-size: 13.5px; color: var(--neutral); }

/* filters */
.filters { background: var(--white); border: 1px solid var(--beige); border-radius: 20px; padding: 18px 26px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'product meta' 'industry industry'; gap: 12px 24px; align-items: center; margin-bottom: 36px; }
.filters__row--product { grid-area: product; }
.filters__row--industry { grid-area: industry; }
.filters__row { display: flex; align-items: flex-start; gap: 10px; }
.filters__label { width: 84px; flex: none; font-size: 14px; font-weight: 500; color: var(--neutral); letter-spacing: .02em; padding-top: 6px; }
.filters__chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filters__meta { grid-area: meta; display: flex; align-items: center; justify-content: flex-end; gap: 20px; white-space: nowrap; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.grid__empty { text-align: center; color: var(--neutral); padding: 48px 0 8px; }

/* CTA */
.cta { background: var(--indigo) url('assets/img/clarity-platform-bg.png') center / cover no-repeat; color: var(--white); padding: 96px 0; text-align: center; }
.cta__inner { display: grid; justify-items: center; gap: 20px; }
.cta h2 { max-width: 520px; }
.cta .body-l { max-width: 540px; color: rgba(255,255,255,.92); }
.cta__buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* footer */
.footer { background: var(--indigo); color: var(--white); padding: 96px 0 56px; }
.footer__inner { display: grid; grid-template-columns: 1.15fr 1.3fr .62fr .58fr; gap: 48px; }
.footer__logo { width: 140px; margin-bottom: 26px; }
.footer__buttons { display: flex; gap: 14px; margin-bottom: 92px; }
.footer__social { display: flex; gap: 20px; }
.footer__social a { opacity: .9; transition: opacity .15s var(--ease); }
.footer__social a:hover { opacity: 1; }
.footer__head { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,.95); margin-bottom: 22px; }
.footer__head--second { margin-top: 36px; }
.footer__sub { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.footer__subcols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__subcols--beta { margin-top: 26px; }
.footer li a { font-size: 14px; line-height: 2.1; color: rgba(255,255,255,.92); }
.footer li a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__sub .badge { position: static; display: inline-flex; background: transparent; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; padding: 1px 7px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; box-shadow: none; color: var(--white); vertical-align: middle; }
.footer__legal { margin-top: 84px; text-align: center; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.88); display: grid; gap: 8px; }
.footer__tm { max-width: 740px; margin: 0 auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --pad-x: 40px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 150px; gap: 44px; }
  .hero__tiles { margin-right: calc(var(--pad-x) * -1); }
  .underlined-heading__aside { white-space: normal; max-width: 380px; }
  .carousel__track > * { flex: 0 0 calc((100% - 20px) / 2); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
  .footer__buttons { margin-bottom: 40px; }
}
@media (max-width: 860px) {
  .underlined-heading__row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --pad-x: 20px; }
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__panel:not([hidden]) { display: grid; }
  .nav__inner, .nav.is-solid .nav__inner { height: 68px; }
  .nav__logo img, .nav.is-solid .nav__logo img { width: 150px; }
  .hero__inner { padding-top: 104px; padding-bottom: 60px; gap: 34px; }
  .hero__tiles { margin-left: calc(var(--pad-x) * -1); }
  .tile { width: 200px; }
  .section { padding-bottom: 56px; }
  .underlined-heading { padding: 44px 0 22px; gap: 18px; }
  .card { padding: 18px 16px 22px; gap: 16px; }
  .carousel__track > * { flex: 0 0 100%; }
  .grid, .quotes { grid-template-columns: 1fr; }
  .quotes { gap: 32px; }
  .filters { padding: 14px 16px; border-radius: 16px; gap: 10px; }
  .filters__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters__row::-webkit-scrollbar { display: none; }
  .filters__label { width: auto; min-width: 62px; }
  .filters__chips { flex-wrap: nowrap; }
  .filters__meta { margin-left: 0; width: auto; }
  .chip { white-space: nowrap; }
  .logo-band { padding: 26px 0 30px; gap: 20px; }
  .logo-band__title { font-size: 12px; letter-spacing: .1em; }
  .logo-band__marquee .marquee__track { gap: 56px; }
  .logo-band__marquee img { max-height: 34px; }
  .cta { padding: 64px 0; }
  .footer { padding: 64px 0 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__legal { margin-top: 48px; }
}


/* custom thumbnail: blurred story photo + product gradient + logo lockup + stat (Figma option A) */
.card__media--lockup { background: var(--ink); }
.lockup { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--white); overflow: hidden; }
.lockup__bg { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: blur(9px); transform: scale(1.04); }
.lockup__tint { position: absolute; inset: 0; opacity: .42; }
.lockup__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,5,38,.12) 0%, rgba(13,5,38,.18) 45%, rgba(13,5,38,.5) 100%); }
.lockup--timeline .lockup__tint { background: linear-gradient(225deg, #F98613, #9C53E5); }
.lockup--track .lockup__tint { background: linear-gradient(225deg, #9C53E5, #2D00AC); }
.lockup--plan .lockup__tint { background: linear-gradient(225deg, #3B93F7, #2D00AC); }
.lockup--flowchart .lockup__tint { background: linear-gradient(225deg, #92D4BB, #3B93F7); }
.lockup__top, .lockup__stat { position: relative; }
.lockup__top { display: flex; align-items: center; gap: 13px; min-width: 0; }
.lockup__logo { height: 40px; width: auto; max-width: 52%; object-fit: contain; flex: 0 1 auto; }
.lockup__name { font-size: 16px; font-weight: 500; }
.lockup__divider { width: 1.5px; height: 27px; background: rgba(255,255,255,.5); flex: none; margin: 0 1px; }
.lockup__wordmark { height: 24px; width: auto; flex: none; }
.lockup__stat { display: grid; gap: 5px; }
.lockup__stat__value { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.lockup__stat__label { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.94); max-width: 240px; }
.card--featured .lockup__stat__value { font-size: 50px; }
@media (max-width: 760px) { .lockup__stat__value { font-size: 42px; } }

/* version panel (review tool, not part of the design) */
.page-switch { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 100px; background: rgba(12,6,32,.78); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(12,6,32,.3); }
.page-switch span { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); padding: 0 8px 0 10px; }
.page-switch a { min-width: 34px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); padding: 7px 12px; border-radius: 100px; }
.page-switch a:hover { background: rgba(255,255,255,.12); }
body[data-thumbs="photo"] .page-switch [data-switch="photo"], body[data-thumbs="lockup"] .page-switch [data-switch="lockup"],
body[data-thumbs="A"] .page-switch [data-switch="A"], body[data-thumbs="B"] .page-switch [data-switch="B"],
body[data-thumbs="C"] .page-switch [data-switch="C"] { background: var(--white); color: var(--indigo); }

/* coded story thumbnails — fixed 728×426 design, scaled whole to the slot (never reflows) */
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 728 / 426; overflow: hidden; border-radius: calc(24px * var(--s, .5)); }
.thumb__canvas { position: absolute; left: 0; top: 0; width: 728px; height: 426px; transform: scale(var(--s, .5)); transform-origin: 0 0;
  background: #f6f5f3; border-radius: 24px; overflow: hidden; color: #261b46; letter-spacing: 0; font-family: 'Saans', system-ui, sans-serif; }
.thumb__canvas--white { background: #fff; }
.thumb--A::after, .thumb--B::after { content: ''; position: absolute; inset: 0; border: 1px solid #726a86; border-radius: inherit; pointer-events: none; }
.thumb__abs { position: absolute; }
.thumb img { max-width: none; }
.thumb__logo, .thumb__wm { display: block; object-fit: contain; }
.thumb__photo { display: block; object-fit: cover; border-radius: 10px; }
.thumb__stat { font-weight: 500; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.thumb__label { font-weight: 400; }
.thumb__stat--a { font-size: 111.8px; }
.thumb__label--a { font-size: 22px; line-height: 31px; }
.thumb__strip { background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.thumb__statrow { display: flex; align-items: center; gap: 21.2px; }
.thumb__stat--b { font-size: 80px; line-height: 111.8px; }
.thumb__label--b { font-size: 22px; line-height: 31px; max-width: 205px; }
.thumb__fade-rule { position: absolute; left: 0; top: calc(286.3px * var(--s, .5)); width: calc(466px * var(--s, .5)); height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,0)); pointer-events: none; }
.thumb__band { display: flex; align-items: center; justify-content: center; gap: 33px; padding: 0 40px 9px; }
.thumb__stat--c { font-size: 76px; }
.thumb__label--c { font-size: 24px; line-height: 30px; white-space: nowrap; }
.thumb__frame { position: absolute; left: calc(306.8px * var(--s, .5)); top: calc(158px * var(--s, .5)); width: calc(383px * var(--s, .5)); height: calc(236px * var(--s, .5));
  border: 1px solid #726a86; border-radius: calc(10px * var(--s, .5)); pointer-events: none; }
.thumb__divider { position: absolute; left: calc(var(--x) * 1px * var(--s, .5)); top: calc(120.8px * var(--s, .5)); width: 1px; height: calc(66.9px * var(--s, .5)); background: #261b46; }
.thumb__name { font-weight: 500; line-height: 1.12; letter-spacing: -.01em; white-space: nowrap; }
.thumb__name--stack { white-space: normal; }
.card__media--thumb { background: none; aspect-ratio: auto; border-radius: 0; overflow: visible; }
.tile--thumb { background: none; aspect-ratio: auto; }

/* ---------- responsive pass ---------- */
@media (max-width: 1100px) {                     /* the full nav needs ~1080px; hamburger below that */
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__panel:not([hidden]) { display: grid; }
}
@media (max-width: 1023px) {
  .filters { grid-template-columns: 1fr; grid-template-areas: 'meta' 'product' 'industry'; gap: 14px; padding: 18px 22px; }
  .filters__meta { justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--beige); }
  .filters__row { align-items: flex-start; }
  .filters__label { padding-top: 7px; }
}
@media (max-width: 1180px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px 32px; }
  .footer__logo { margin-bottom: 0; }
  .footer__buttons { margin-bottom: 0; }
  .footer__social { justify-self: end; }
}
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .carousel__track > * { flex: 0 0 calc((100% - 20px) / 2); }
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .card { padding: 14px 14px 18px; gap: 14px; }
  .card__title { font-size: 19px; }
  .filters { padding: 14px 16px; }
  .filters__row { flex-direction: column; gap: 8px; }
  .filters__label { width: auto; padding-top: 0; }
  /* chips scroll sideways in one line, with a soft edge so it reads as scrollable */
  .filters__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 16px); margin-right: -16px; padding: 2px 16px 4px 0;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .filters__chips::-webkit-scrollbar { display: none; }
  .footer__brand { grid-template-columns: 1fr; justify-items: start; }
  .footer__social { justify-self: start; }
}
@media (max-width: 600px) {
  .grid, .quotes { grid-template-columns: 1fr; }
  .carousel__track > * { flex: 0 0 100%; }
  .card { padding: 16px 16px 22px; }
  .card__title { font-size: 21px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__col--products { grid-column: 1 / -1; }
  .page-switch span { display: none; }
}
