@font-face {
  font-family: 'Chillax';
  src: url('Chillax_Complete/Fonts/WEB/fonts/Chillax-Variable.woff2') format('woff2'),
       url('Chillax_Complete/Fonts/WEB/fonts/Chillax-Variable.woff') format('woff'),
       url('Chillax_Complete/Fonts/TTF/Chillax-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbfaf7;
  --fg: #0e1230;
  --mut: #5a5f86;
  --line: #dde2f5;
  --acc: #1c33a6;
  --soft: #e3e8ff;
  --sky: #8ea2ff;
  --pop: #ffc93c;
  --sans: 'Chillax', system-ui, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  /* Big headline: the home "Who is Neha?" and the About title share this size and weight */
  --hero-size: clamp(39px, 7.1vw, 108px);
  --hero-weight: 500;
  /* Page width: content stays this wide on big screens; the rest becomes margin */
  --content-max: 1100px;
  --page-pad: clamp(20px, 5vw, 64px);
}

html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow-x: hidden;
  transition: background .6s, color .6s;
}

:root[data-mode="dark"] {
  --bg: #0d0f1c;
  --fg: #f2f3fb;
  --mut: #9aa0c2;
  --line: #2a2e4a;
  --acc: #7c92ff;
  --soft: #1c2040;
  --sky: #4a5be0;
  --pop: #ffd93d;
}

:root[data-mode="dark"] .glass {
  background: linear-gradient(135deg, rgba(32,36,64,.7), rgba(32,36,64,.3));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08), 0 16px 40px rgba(0,0,0,.45);
}

:root[data-mode="dark"] .top small,
:root[data-mode="dark"] .top h3 {
  color: var(--fg);
}

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

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(255,255,255,.2));
  backdrop-filter: blur(16px) saturate(1.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 1px #fff, inset 0 -10px 24px rgba(28,51,166,.06), 0 16px 40px rgba(28,51,166,.12);
}

nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--page-pad);
  max-width: calc(var(--content-max) + 2 * var(--page-pad));
  margin-left: auto;
  margin-right: auto;
}

.lg {
  display: block;
  transition: transform .5s cubic-bezier(.3,1.5,.4,1);
}

.lg:hover {
  transform: scale(1.06);
}

.lg img {
  width: 40px;
  height: auto;
  display: block;
}

:root[data-mode="dark"] .lg img {
  filter: brightness(1.7) saturate(1.15);
}

.navr {
  display: flex;
  align-items: center;
  gap: 28px;
}

.dc {
  font: 500 13px var(--sans);
  color: #b8860b;
  padding: 9px 18px;
  border: 0;
  cursor: pointer;
  background: rgba(255,201,60,.16);
  border-radius: 99px;
  transition: transform .15s, background .15s;
}

.dc:hover {
  transform: translateY(-2px);
  background: rgba(255,201,60,.3);
}

.dc .w {
  display: inline-block;
}

:root[data-mode="dark"] .dc {
  color: var(--pop);
  background: rgba(255,217,61,.1);
}

:root[data-mode="dark"] .dc:hover {
  background: rgba(255,217,61,.2);
}

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

.links a {
  position: relative;
  font: 500 15px var(--sans);
  padding: 6px 0;
  transition: color .25s;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.3,1.2,.4,1);
}

.links a:hover::after,
.links a.on::after {
  transform: none;
}

.links a.on {
  color: var(--acc);
}

main {
  min-height: 100vh;
  padding: 110px var(--page-pad) 30px;
  position: relative;
  z-index: 2;
  max-width: calc(var(--content-max) + 2 * var(--page-pad));
  margin-left: auto;
  margin-right: auto;
}

.cur {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 150;
  /* The leaf tip (33.15px, 4.25px inside the 34px box) sits exactly on the pointer,
     so whatever the leaf touches is what gets hovered and clicked. */
  margin: -4.25px 0 0 -33.15px;
  transform-origin: 33.15px 4.25px;
  transform: rotate(20deg) scaleX(-1);
  transition: transform .25s cubic-bezier(.3,1.5,.4,1), opacity .3s;
  opacity: 0;
}

.cur svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 6px rgba(150,110,0,.3));
}

.cur.big {
  transform: rotate(28deg) scaleX(-1) scale(1.35);
}


@media (hover: none) {
  .cur { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
}

/* loader */
.ld {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .9s cubic-bezier(.7,0,.2,1);
}

.ld.done {
  transform: translateY(-100%);
}

.tiles {
  position: relative;
  width: min(240px, 50vw);
  aspect-ratio: 4/5;
}

.tile {
  position: absolute;
  inset: 0;
  border-radius: 28px 100px 28px 28px;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .5s cubic-bezier(.7,0,.2,1);
}

.tile.on {
  clip-path: inset(0);
}

.tile::before {
  content: "";
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 14%;
  top: 16%;
  background: rgba(255,255,255,.3);
}

.pc {
  position: absolute;
  left: clamp(16px, 4vw, 44px);
  bottom: clamp(12px, 3vw, 36px);
  font-size: clamp(64px, 13vw, 170px);
  font-weight: 300;
  letter-spacing: -.05em;
  color: var(--acc);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* page transition */
.liq {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  background: var(--acc);
  z-index: 100;
  transform: translateY(calc(100% + 110px));
  pointer-events: none;
}

.liq .wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -89px;
  height: 90px;
  /* The wave is a mask filled with --acc, so it always matches the block (light and dark) */
  background: var(--acc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 90' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 55C25 15 75 15 100 55S175 95 200 55V90H0Z'/%3E%3C/svg%3E") repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 90' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 55C25 15 75 15 100 55S175 95 200 55V90H0Z'/%3E%3C/svg%3E") repeat-x;
  -webkit-mask-size: 220px 90px;
  mask-size: 220px 90px;
  animation: wv 1.1s linear infinite;
}

@keyframes wv {
  to {
    -webkit-mask-position-x: 220px;
    mask-position-x: 220px;
  }
}

/* A page reached through the wipe stays hidden, under the blue block, until the block starts to leave */
html.arriving {
  background: var(--acc);
}

html.arriving body {
  visibility: hidden;
}

html.arriving .liq {
  visibility: visible;
  transform: translateY(0);
}

/* The loading screen only plays on the first visit to the home page */
html.no-loader .ld {
  display: none;
}

.liq.in {
  transition: transform .8s cubic-bezier(.6,0,.2,1);
  transform: translateY(0);
}

.liq.out {
  transition: transform 1s cubic-bezier(.6,0,.2,1);
  transform: translateY(-135%);
}

.rv, .aiw {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1);
}

.rv.show {
  opacity: 1;
  transform: none;
}

.aiw {
  opacity: 1;
  transform: none;
}

.aiw .w {
  display: inline-block;
  opacity: 0;
  filter: blur(9px);
  transform: translateY(10px);
  transition: opacity .7s, filter .7s, transform .7s;
}

.aiw.show .w {
  opacity: 1;
  filter: none;
  transform: none;
}

/* hero */
.aura {
  position: fixed;
  left: 0;
  top: 0;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  opacity: .7;
  filter: blur(24px);
  background: radial-gradient(circle at 50% 50%, rgba(255,201,60,.32), rgba(255,201,60,0) 62%);
}

#beads {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bgfx {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 36% at 18% 24%, rgba(142,162,255,.07), transparent 70%),
    radial-gradient(34% 30% at 82% 72%, rgba(255,201,60,.09), transparent 70%),
    radial-gradient(44% 40% at 62% 18%, rgba(205,214,250,.20), transparent 70%);
  animation: drift 70s ease-in-out infinite alternate;
}

:root[data-mode="dark"] .bgfx {
  background:
    radial-gradient(40% 36% at 18% 24%, rgba(124,146,255,.14), transparent 70%),
    radial-gradient(34% 30% at 82% 72%, rgba(255,217,61,.06), transparent 70%),
    radial-gradient(44% 40% at 62% 18%, rgba(60,68,110,.4), transparent 70%);
}

@keyframes drift {
  to { transform: translate3d(4%, 3%, 0) rotate(4deg) scale(1.06); }
}

/* About page title: same size and weight as the home headline */
h2.pg.pg--hero {
  font-size: var(--hero-size);
  font-weight: var(--hero-weight);
  letter-spacing: -.05em;
}

.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hey {
  font-size: clamp(17px, 1.9vw, 24px);
  font-weight: 500;
  color: var(--acc);
  margin: 0 0 6px;
}

.cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--acc);
}

.cue svg {
  width: 30px;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  50% { transform: translateY(7px); }
}

.swap {
  display: inline-block;
  color: var(--fg);
  border-bottom: 3px solid var(--pop);
  transition: opacity .4s;
}

.pr {
  font-size: var(--hero-size);
  font-weight: var(--hero-weight);
  letter-spacing: -.05em;
  line-height: .98;
  color: var(--acc);
  min-height: 1em;
}

.wd {
  display: inline-block;
  white-space: nowrap;
}

.ltr {
  display: inline-block;
  transition: transform .15s ease-out;
  will-change: transform;
  white-space: pre;
}

.caret {
  display: inline-block;
  width: .06em;
  height: .82em;
  background: var(--acc);
  vertical-align: -.06em;
  margin-left: .04em;
  animation: bk 1s steps(2) infinite;
}

@keyframes bk {
  50% { opacity: 0; }
}

.ans {
  min-height: 3.7em;
  margin-top: 26px;
  color: var(--fg);
  font-size: clamp(19px, 2.3vw, 32px);
  line-height: 1.22;
  letter-spacing: -.02em;
  max-width: calc(50vw + min(380px, 28vw) - clamp(16px, 4vw, 44px));
}

@media (max-width: 900px) {
  .ans { max-width: 100%; }
}

.unit {
  width: 100%;
}

.tk {
  animation: tk .5s both;
}

@keyframes tk {
  from { opacity: 0; filter: blur(7px); }
}

.think i {
  display: block;
  height: 20px;
  border-radius: 12px;
  margin: 14px 0;
  background: linear-gradient(90deg, var(--soft), #fff, var(--soft));
  background-size: 200% 100%;
  animation: sh 1.2s linear infinite;
}

.think i:nth-child(1) { width: 88%; }
.think i:nth-child(2) { width: 66%; }
.think i:nth-child(3) { width: 40%; }

@keyframes sh {
  to { background-position: -200% 0; }
}

.sug {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ── Standard button: used everywhere (hero suggestions, footer, About, case studies, dialog) ── */
.btn,
.sug button,
.sug a {
  display: inline-block;
  font: 500 14px var(--sans);
  color: var(--acc);
  padding: 9px 16px;
  border-radius: 99px;
  cursor: pointer;
  background: rgba(28,51,166,.08);
  border: 0;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}

.btn:hover,
.sug button:hover,
.sug a:hover {
  background: var(--acc);
  color: #fff;
  transform: translateY(-2px);
}

:root[data-mode="dark"] .btn,
:root[data-mode="dark"] .sug button,
:root[data-mode="dark"] .sug a {
  color: var(--acc);
  background: rgba(124,146,255,.14);
}

:root[data-mode="dark"] .btn:hover,
:root[data-mode="dark"] .sug button:hover,
:root[data-mode="dark"] .sug a:hover {
  background: var(--acc);
  color: #0d0f1c;
}

h2.pg {
  font-size: clamp(32px, 7vw, 84px);
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0 0 28px;
  line-height: 1;
}

/* work */
/* ── Work list: one wide card per row, image on top, text below ── */
.wgrid {
  display: flex;
  flex-direction: column;
  gap: clamp(88px, 11vw, 160px);
}

.wcard {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Image frame: same height, background, padding and radius on every card */
.wcard-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(280px, 40vw, 480px);
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: 24px;
  overflow: hidden;
  background: var(--soft);
}

.wcard-img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.3, 1, .4, 1);
}

/* Frame with no image yet */
.wcard-img:not(:has(img))::after {
  content: "Preview coming soon";
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

/* Labelled placeholder frame (About page, case study images) */
.wcard-img[data-label]::after {
  content: attr(data-label);
}

/* The only hover effect: a slow, small image zoom on cards you can open */
a.wcard:hover .wcard-img img,
.wcard[data-pw]:hover .wcard-img img {
  transform: scale(1.02);
}

a.wcard:focus-visible .wcard-img {
  outline: 2px solid var(--acc);
  outline-offset: 4px;
}

/* ── Text below the image ── */
.wcard-body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
}

/* Text takes half the image width */
.wcard-info {
  flex: 0 0 75%;
  max-width: 75%;
}

.wcard-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.wnum,
.wpre {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

.wnum {
  font-variant-numeric: tabular-nums;
}

.wtitle {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--fg);
}

.wdesc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mut);
}

.wstatus {
  flex: 1;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--acc);
  white-space: nowrap;
}

/* Coming-soon card isn't clickable; the password card is */
div.wcard { cursor: default; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .wcard-img {
    height: clamp(220px, 62vw, 340px);
  }
  .wcard-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .wcard-info {
    flex: none;
    max-width: 100%;
  }
  .wstatus {
    flex: none;
    text-align: left;
  }
}

.shake {
  animation: shake .45s;
}

@keyframes shake {
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* case + about */
.back {
  color: var(--mut);
  font-size: 15px;
  display: inline-block;
  margin-bottom: 30px;
}

.back:hover {
  color: var(--acc);
}

/* Case study pages: the subheading sits close under the title */
h2.pg:has(+ .lead) {
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 0 30px;
}

.cs .shape {
  height: clamp(220px, 28vw, 360px);
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 30px 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.meta small {
  display: block;
  color: var(--mut);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.sec {
  max-width: 720px;
  margin: 56px 0;
}

.sec h3 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0 0 10px;
  color: var(--acc);
}

.sec p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mut);
  margin: 0;
}

.demo {
  border-radius: 34px;
  padding: 24px;
  max-width: 720px;
}

.tog {
  display: inline-flex;
  background: rgba(255,255,255,.6);
  border-radius: 99px;
  padding: 4px;
  position: relative;
  margin-bottom: 18px;
}

.tog button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  color: var(--fg);
  font: 500 14px var(--sans);
  padding: 9px 18px;
  cursor: pointer;
  transition: color .3s;
}

.tog i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--acc);
  border-radius: 99px;
  transition: transform .45s cubic-bezier(.3,1.4,.4,1);
}

.tog.ag i {
  transform: translateX(100%);
}

.tog.ag button:last-of-type,
.tog:not(.ag) button:first-of-type {
  color: #fff;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}

.bub {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 22px;
  font-size: 15px;
  line-height: 1.4;
  animation: pop .45s cubic-bezier(.2,.9,.3,1.3) both;
}

.me {
  align-self: flex-end;
  background: var(--acc);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.bb {
  align-self: flex-start;
  background: rgba(255,255,255,.85);
  border-bottom-left-radius: 6px;
}

.act {
  align-self: flex-start;
  width: 80%;
  background: rgba(255,255,255,.7);
  border-radius: 20px;
  padding: 12px 14px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: pop .45s both;
}

.act b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pop);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}

@keyframes pop {
  from { opacity: 0; transform: scale(.8) translateY(10px); }
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 680px;
}

.list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 19px;
  display: flex;
  justify-content: space-between;
}

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

/* ── About ── */
.abt-top {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 8px;
}

.abt-ph {
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 24px;
  color: var(--mut);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  max-width: 340px;
}

.abt-ph::after {
  content: attr(data-label);
}

.abt-ph--portrait { aspect-ratio: 4 / 5; }

.abt-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.abt-copy p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mut);
}

.abt-copy p:first-child {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--fg);
}

.abt-sec {
  margin-top: clamp(88px, 12vw, 160px);
}

/* Matches the gap you see between the intro text and Experience */
.abt-sec + .abt-sec {
  margin-top: clamp(96px, 15vw, 220px);
}

.abt-h {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--acc);
}

.abt-jobs {
  max-width: 880px;
}

.job {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

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

.job-date {
  padding-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

.job h4 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.job p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mut);
}

@media (max-width: 820px) {
  .abt-top {
    grid-template-columns: 1fr;
  }
  .abt-top .abt-ph--portrait {
    max-width: 280px;
  }
}

@media (max-width: 520px) {
  .job {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ── Case study: Citations ── */
.cs-hero {
  margin-top: 0;
  margin-bottom: 14px;
}

/* Problem / Solution / Result strip above the hero */
.cs-sum {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.cs-sum small {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
}

.cs-sum p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
}

/* Image placeholder notes: say which image goes here */
.wcard-img.ph::after {
  content: none;
}

.ph-note {
  max-width: 34ch;
  padding: 0 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mut);
}

.ph-note b {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
}

.ph-note i {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  opacity: .8;
  word-break: break-word;
}

/* Before / after pair */
.cs-ba {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.cs-ba .cs-shot {
  margin-top: 0;
}

.cs-cap {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

/* Section = title on the left, content on the right (same grid as the About intro) */
.cs-sec {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(72px, 9vw, 128px);
}

.cs-side {
  align-self: start;
  position: sticky;
  top: 100px;
}

.cs-side h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--acc);
}

.cs-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

.cs-body p {
  margin: 0 0 18px;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mut);
}

.cs-body .cs-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--fg);
}

/* Lead-in lines such as "Key insights from customer research included:" */
.cs-body .cs-intro {
  margin: 40px 0 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
}

.cs-body .cs-intro:first-child {
  margin-top: 0;
}

.cs-body h4 {
  margin: 48px 0 14px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--fg);
}

.cs-body h4:first-child {
  margin-top: 0;
}

.cs-body .list {
  margin: 0 0 8px;
}

.cs-body .list li {
  display: block;
  font-size: 16px;
}

.cs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cs-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.cs-card {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--soft);
  font-size: 16px;
  line-height: 1.45;
  color: var(--fg);
}

.cs-card small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
}

.cs-body .cs-quote {
  margin: 40px 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 40ch;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--fg);
}

.cs-shot {
  height: auto;
  aspect-ratio: 16 / 10;
  margin: 28px 0 0;
  padding: 0;
}

.cs-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 8px;
}

.cs-feat .cs-shot {
  margin-top: 0;
}

.cs-feat h5 {
  margin: 20px 0 8px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.cs-feat h5 span {
  margin-right: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--mut);
  vertical-align: middle;
}

.cs-body .cs-feat p {
  margin: 0;
}

.cs-gap {
  margin-top: 64px;
}

.cs-end {
  margin: clamp(72px, 9vw, 128px) 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mut);
}

/* On this page the closing line leads straight into the footer: no rule between them */
body:has(.cs-end) footer {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 820px) {
  .cs-sec {
    grid-template-columns: 1fr;
  }
  .cs-side {
    position: static;
  }
  .cs-cards,
  .cs-feats,
  .cs-ba,
  .cs-sum,
  .cs-two,
  .cs-two--wide,
  .cs-three {
    grid-template-columns: 1fr;
  }
  .cs-three .cs-cap--2 {
    grid-column: auto;
  }
}

/* ── Case study: Deep Research additions ── */
.cs-status {
  margin: -12px 0 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
}

.cs-body strong {
  font-weight: 500;
  color: var(--fg);
}

/* Real screenshots in the soft frame */
.cs-fig {
  margin: 0;
}

.cs-body > .cs-fig {
  margin-top: 28px;
}

.cs-fig .cs-shot {
  margin: 0;
}

.cs-shot--img {
  aspect-ratio: auto;
  height: auto;
  padding: clamp(12px, 1.6vw, 24px);
}

.cs-shot--img img {
  width: auto;
  max-width: 100%;
  max-height: none;
}

.cs-fill img {
  width: 100%;
}

.cs-shot--strip {
  aspect-ratio: 21 / 6;
}

.cs-two,
.cs-three {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  align-items: start;
}

.cs-two { grid-template-columns: repeat(2, 1fr); }
.cs-two--wide { grid-template-columns: 2.4264fr 1fr; }
.cs-three { grid-template-columns: repeat(3, 1fr); }
.cs-three .cs-cap--2 { grid-column: span 2; }

.cs-body > .cs-cap {
  margin: 12px 0 0;
}

/* Numbered contribution list */
.cs-num {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.cs-body .cs-num li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.cs-num li:last-child {
  border-bottom: 1px solid var(--line);
}

.cs-num .n {
  padding-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--mut);
}

.cs-num h5 {
  margin: 0 0 6px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.cs-num p {
  margin: 0;
}

/* Key decisions */
.cs-dec + .cs-dec {
  margin-top: clamp(72px, 9vw, 112px);
}

.cs-body .cs-dh {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--fg);
}

.cs-dh span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--acc);
}

.cs-body .cs-new {
  margin-top: 32px;
}

/* These come after the grid definitions above so they win on small screens */
@media (max-width: 820px) {
  .cs-two,
  .cs-two--wide,
  .cs-three {
    grid-template-columns: 1fr;
  }
  .cs-three .cs-cap--2 {
    grid-column: auto;
  }
}

/* ── Case study: Future of Alexa additions ── */
.cs-sec[id] {
  scroll-margin-top: 90px;
}

.cs-jump {
  margin: 4px 0 0;
}

.cs-cards--1 {
  grid-template-columns: 1fr;
}

.cs-card--title strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Wide flow diagrams stacked one under another */
.cs-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.cs-stack .cs-shot {
  aspect-ratio: 21 / 5;
}

/* Pairs of stills, each pair with its own caption */
.cs-stills {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  margin-top: 40px;
}

.cs-pair .cs-two {
  margin-top: 0;
}

/* ── Case study images: standalone, no frame and no background ──
   Only these keep their blue frame: the home page cards, the same image in the
   header of each case study (.cs-hero), and the About bento. */
.cs-shot--img {
  background: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  display: block;
  height: auto;
  aspect-ratio: auto;
}

.cs-shot--img img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  border-radius: 2px;
}

/* Placeholders only mark where an image goes: outline, no fill */
.wcard-img.ph {
  background: none;
  border: 1px dashed rgba(28, 51, 166, .28);
  border-radius: 2px;
}

:root[data-mode="dark"] .wcard-img.ph {
  border-color: rgba(124, 146, 255, .35);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 140px);
  padding: 12px 22px;
  border-radius: 99px;
  font-weight: 500;
  z-index: 90;
  transition: transform .5s cubic-bezier(.3,1.5,.4,1);
}

.toast.show {
  transform: translate(-50%, 0);
}

footer {
  margin: 60px auto 0;
  max-width: calc(var(--content-max) + 2 * var(--page-pad));
  padding: 44px var(--page-pad) 34px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
}

footer h4 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}

footer .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer small {
  display: block;
  margin-top: 26px;
  color: var(--mut);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .aiw .w {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ── Bento gallery (Beyond the screens) ── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.bento-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: default;
}

/* Span modifiers */
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

/* Background fill: image or placeholder */
.bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* An <img> used as the tile background */
img.bento-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder pattern */
.bento-ph {
  background-color: var(--soft);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(28,51,166,.05) 18px,
      rgba(28,51,166,.05) 19px
    );
}

:root[data-mode="dark"] .bento-ph {
  background-color: var(--soft);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(124,146,255,.07) 18px,
      rgba(124,146,255,.07) 19px
    );
}

/* Label overlay at the bottom. Only tiles that contain a .bento-label show it on hover;
   every other tile stays completely still. */
.bento-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(14,18,48,.55) 0%, transparent 60%);
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
}

.bento-tile:hover .bento-label {
  opacity: 1;
}

.bento-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  border-radius: 99px;
  padding: 3px 10px;
  margin-bottom: 6px;
  width: fit-content;
}

.bento-label p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
}

@media (max-width: 520px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .bento-wide,
  .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ── Password dialog ─────────────────────────────────────── */
.pw-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(251, 250, 247, 0.42);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s ease, backdrop-filter 0.9s ease, -webkit-backdrop-filter 0.9s ease, visibility 0s linear 0.9s;
}

:root[data-mode="dark"] .pw-overlay {
  background: rgba(13, 15, 28, 0.46);
}

/* Locked page: the scrim is up from the first frame. The page is there behind it, too blurred to read. */
.pw-overlay.show,
html.pw-lock .pw-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  backdrop-filter: blur(44px) saturate(1.1);
  -webkit-backdrop-filter: blur(44px) saturate(1.1);
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

/* Browsers that cannot blur: a nearly solid scrim, so the page stays unreadable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pw-overlay.show,
  html.pw-lock .pw-overlay {
    background: rgba(251, 250, 247, 0.97);
  }

  :root[data-mode="dark"] .pw-overlay.show,
  :root[data-mode="dark"].pw-lock .pw-overlay {
    background: rgba(13, 15, 28, 0.97);
  }
}

html.pw-lock {
  overflow: hidden;
}

html.pw-lock main,
html.pw-lock footer {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.pw-dialog {
  position: relative;
  width: min(480px, 100%);
  padding: 48px 44px 44px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  box-shadow: 0 24px 64px rgba(14, 18, 48, 0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.4, 1);
}

.pw-overlay.show .pw-dialog {
  transform: none;
}

.pw-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
}

.pw-title {
  margin: 0 0 4px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--acc);
}

.pw-sub {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mut);
}

.pw-field-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pw-input {
  flex: 1;
  font: 500 16px var(--sans);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 13px 22px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.pw-input::placeholder {
  color: var(--mut);
  opacity: 0.7;
}

.pw-input:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(28, 51, 166, 0.12);
}

:root[data-mode="dark"] .pw-dialog {
  background: var(--bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

:root[data-mode="dark"] .pw-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--fg);
}
:root[data-mode="dark"] .pw-input:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(124, 146, 255, 0.15);
}

.pw-submit {
  flex: none;
  width: 50px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 50%;
}

.pw-error {
  margin: 4px 0 0;
  min-height: 1.4em;
  font-size: 13px;
  font-weight: 500;
  color: #c0392b;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

:root[data-mode="dark"] .pw-error {
  color: #ff7675;
}

.pw-error:empty {
  opacity: 0;
}

.pw-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(90, 95, 134, 0.1);
  color: var(--mut);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}

.pw-close:hover {
  background: rgba(90, 95, 134, 0.2);
  color: var(--fg);
}



.pw-input.shake {
  animation: shake 0.45s;
}

/* Tall screenshots get a narrower placeholder frame */
.cs-shot--portrait {
  aspect-ratio: 4 / 5;
  max-width: 420px;
}

/* Future of Alexa: breathing room after images, captions and cards, and before the first sub-section */
.cs-flow .cs-body :is(.cs-fig, .cs-two, .cs-three, .cs-stack, .cs-cap, .cs-cards) + :is(p:not(.cs-intro), .cs-cards) {
  margin-top: 24px;
}

.cs-flow .cs-body > :not(.cs-dec) + .cs-dec {
  margin-top: clamp(48px, 6vw, 72px);
}

/* Future of Alexa: vision film stills as a storyboard (one column per caption) */
.cs-sec--wide {
  grid-template-columns: 1fr;
  gap: 28px;
}

.cs-sec--wide .cs-side {
  position: static;
}

.cs-moments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.cs-moment .cs-cap {
  min-height: 3em;
  margin: 0 0 12px;
  line-height: 1.5;
}

.cs-moment-stills {
  display: grid;
  gap: 12px;
}

.cs-moment .cs-fig .cs-shot {
  aspect-ratio: 16 / 9;
  margin: 0;
}

.cs-moment .cs-fig .cs-shot--img {
  aspect-ratio: auto;
}

.cs-moment .ph-note {
  padding: 0 8px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .cs-moments {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-moment .cs-cap {
    min-height: 3em;
  }
}

@media (max-width: 520px) {
  .cs-moments {
    grid-template-columns: 1fr;
  }
  .cs-moment .cs-cap {
    min-height: 0;
  }
  .cs-moment-stills {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Click an image marked data-zoom to see it full size */
/* Hero artwork: the image fills the frame (home cards and the top of each case study) */
.wcard-img--art {
  height: auto;
  aspect-ratio: 2200 / 960;
  padding: 0;
}

.wcard-img--art img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* Row of small captions under one wide image (OOBE key screens) */
.cs-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}

.cs-labels .cs-cap {
  margin: 0;
}

/* Phone screenshots: narrow frames, and a number list next to one */
.cs-shot--phone {
  aspect-ratio: 183 / 385;
  max-width: 200px;
}

.cs-split {
  display: grid;
  grid-template-columns: minmax(150px, 200px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.cs-split .cs-num {
  margin: 0;
}

.cs-two--phones {
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 24px;
  margin-top: 28px;
}

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

@media (max-width: 520px) {
  .cs-two--phones {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Before / after layout diagram (drawn in CSS) */
.dg {
  display: flex;
  gap: 10px;
  align-items: stretch;
  aspect-ratio: 16 / 10;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
}

.dg-pane {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border-radius: 10px;
  background: var(--soft);
}

.dg-chat { flex: 3; }
.dg-small { flex: .9; background: rgba(28, 51, 166, .10); }
.dg-side { background: rgba(28, 51, 166, .10); }

.dg-pane i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: rgba(14, 18, 48, .16);
}

.dg-pane em {
  display: block;
  width: 46%;
  height: 11px;
  margin-bottom: 4px;
  border-radius: 99px;
  background: rgba(28, 51, 166, .38);
}

.dg-grip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 14px;
  align-items: center;
}

.dg-grip b {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(28, 51, 166, .5);
}

.cs-dg .cs-fig {
  margin: 0;
}

/* Videos: add <figure class="cs-fig cs-video"><video ...></video></figure> */
.cs-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: var(--fg);
}


/* Scannable rows: a small label on the left, one short statement on the right */
.cs-body .list.cs-rows li {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  align-items: baseline;
}

.cs-body .cs-rows .rk {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
}

@media (max-width: 640px) {
  .cs-body .list.cs-rows li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Short description under each supporting feature in Scope */
.cs-body .cs-moment-text {
  margin: 16px 0 0;
  max-width: none;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mut);
}

/* A quote that opens a section does not need a divider above it */
.cs-body .cs-dec > .cs-quote:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* the line after the Scope screens gets some air */
.cs-body .cs-moments + p {
  margin-top: 32px;
}

/* A list that sits directly under an intro line does not need a divider above its first row */
.cs-body .list.cs-flush li:first-child {
  padding-top: 0;
  border-top: 0;
}

/* A closing note in the accent blue, so it stands out */
.cs-body .cs-note {
  color: var(--acc);
  font-weight: 500;
}

/* A customer quote under a finding */
.cs-body .cs-cite {
  display: block;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--mut);
}

/* A small label above a group of images */
.cs-body .cs-sublabel {
  margin: 36px 0 -8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
}

/* images stacked one under another get a little space between them */
.cs-body .cs-dec > .cs-fig + .cs-fig {
  margin-top: 16px;
}

.cs-body .list li.no-line-bottom { 
  border-bottom: 0; 
}

.cs-body .list li.no-line { 
  border-top: 0; 
}

video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Image viewer (click an image to open it) ─────────────── */
img[data-lb] {
  cursor: zoom-in;
}

html.lb-open {
  overflow: hidden;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(8, 10, 28, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .25s;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.lb.show {
  opacity: 1;
}

.lb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.lb-img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 2px;
  transform-origin: center center;
  will-change: transform;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font: 500 22px/1 var(--sans);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, .28);
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 18px;
}

.lb-nav {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  font-size: 30px;
  padding-bottom: 4px;
}

.lb-prev {
  left: 18px;
}

.lb-next {
  right: 18px;
}

.lb.single .lb-nav {
  display: none;
}

.lb-bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  transform: translateX(-50%);
}

.lb-bar .lb-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  font-size: 22px;
}

.lb-bar .lb-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.lb-lvl {
  min-width: 54px;
  text-align: center;
  font: 500 13px var(--sans);
  color: rgba(255, 255, 255, .85);
}

.lb-cap {
  position: absolute;
  left: 24px;
  bottom: 30px;
  max-width: min(44ch, 30vw);
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 720px) {
  .lb-cap {
    display: none;
  }

  .lb-nav {
    top: auto;
    bottom: 26px;
    margin-top: 0;
  }
}

/* ── Light protection for images and videos ──────────────────
   Stops casual saving only (dragging, long-press save). It cannot stop screenshots or screen recording. */
img,
video {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

@media print {
  img,
  video,
  canvas,
  .bento-tile,
  .cs-shot,
  .lb {
    display: none !important;
  }
}
