/* Wins and After hours, in the sales template's ("Simran") style: framed, tilted photo
   windows with hard shadows, plus an Instagram-style profile and film tickets.
   Uses the site's tokens (--paper, --ink, --accent, --display, --sans). */

/* ---------- framed photo windows ---------- */
.xw-window { margin: 0; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 9px 9px 0 var(--ink); transition: transform .4s var(--spring); }
.xw-window img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tilt-l { transform: rotate(-1.8deg); } .tilt-r { transform: rotate(1.6deg); }

/* ---------- wins grid ---------- */
.xw-grid { list-style: none; margin: 34px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 38px); }
.xw { grid-column: span 2; min-width: 0; }
.xw:nth-child(1), .xw:nth-child(2) { grid-column: span 3; }
.xw > a { display: block; color: inherit; text-decoration: none; }
.xw .xw-window { aspect-ratio: 16 / 10; }
.xw:nth-child(1) .xw-window, .xw:nth-child(2) .xw-window { aspect-ratio: 16 / 10; }
.xw > a:hover .xw-window, .xw > a:focus-visible .xw-window { transform: rotate(0) translate(-3px, -3px); box-shadow: 12px 12px 0 var(--accent); }
.xw h3 { font: 400 clamp(22px, 2.2vw, 30px)/1.02 var(--display); text-transform: uppercase; margin: 18px 0 6px; }
.xw p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- after hours: framed containers, three per row ---------- */
.xa-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 54px; }
.xa-head:first-of-type { margin-top: 18px; }
.xa-follow { font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.xa-follow:hover { color: var(--accent); }
.xa-intro { font-size: 15px; color: var(--muted); margin: 6px 0 0; max-width: 46em; }
.xa-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); align-items: start; }
.xa { min-width: 0; }
.xa:nth-child(2) { margin-top: 40px; }
.xa h3 { font: 400 clamp(22px, 2vw, 28px)/1.05 var(--display); text-transform: uppercase; margin: 20px 0 6px; }
.xa p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }
.xa .xa-note { margin-top: 10px; color: var(--ink); font-size: 14px; border-left: 3px solid var(--accent); padding-left: 12px; }
.xa .xa-note b { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* one Instagram feed post inside a framed window */
.igp { display: flex; flex-direction: column; background: #fff; color: #000; text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.igp:hover, .igp:focus-visible { transform: rotate(0) translate(-3px, -3px); box-shadow: 12px 12px 0 var(--accent); }
.igp-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.xw-window .igp-av { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; padding: 2px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.igp-who { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; min-width: 0; }
.igp-who small { font-size: 11px; color: #737373; }
.igp-more { margin-left: auto; width: 20px; height: 20px; fill: #000; }
.igp-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.igp-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.igp:hover .igp-media img { transform: scale(1.03); }
.igp-reel { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 1px 2px rgba(21,23,28,.6)); }
.igp-actions { display: flex; gap: 14px; padding: 10px 12px 4px; }
.igp-actions i { width: 24px; height: 24px; display: block; }
.igp-actions svg { width: 100%; height: 100%; fill: none; stroke: #000; stroke-width: 1.8; stroke-linejoin: round; }
.igp-actions .igp-save { margin-left: auto; }
.igp-likes { padding: 2px 12px; font-size: 13px; font-weight: 600; }
.igp-cap { padding: 2px 12px; font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.igp-date { padding: 4px 12px 12px; font-size: 11px; color: #737373; text-transform: uppercase; letter-spacing: .02em; }

/* film frames and the last row */
.film { aspect-ratio: 4 / 5; }
.xa-last { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); margin-top: 56px; align-items: start; }
.xa-fb { aspect-ratio: 4 / 5; }
.xa-fb img { object-position: 50% 30%; }
.xa-watch { min-width: 0; padding-top: 8px; }
.tk-more-h { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.tk-more { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-more li { font-size: 13px; font-weight: 600; padding: 6px 12px; border: var(--line) solid var(--ink); border-radius: 999px; background: var(--white); }

@media (max-width: 860px) {
  .xw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .xw, .xw:nth-child(1), .xw:nth-child(2) { grid-column: span 2; }
  .xw:nth-child(n+3) { grid-column: span 1; }
  .xw:nth-child(n+3) h3 { font-size: 19px; }
  .xw:nth-child(n+3) p { font-size: 13px; }
  .xw-window { border-width: 3px; border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); }
  .xa-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .xa:nth-child(2) { margin-top: 0; }
  .xa-last { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .xw-window, .igp-media img { transition: none; } }
.xa-last .xa:nth-child(2) { margin-top: 40px; }
.about-photo img { object-fit: cover; object-position: 50% 30%; }
/* light trims: long text opens on click */
.td-clip { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.td-pts li:nth-child(n+3) { display: none; }
.td-more { margin: 10px 0 0; font: 700 13px/1 var(--sans); background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink); border-bottom: 2px solid var(--accent); }
.td-more:hover { color: #000; border-bottom-width: 3px; }
.td-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* work cards: two-line summary, the full story is on the case page */
.card-s { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ---------- phones: shorter hero, swipe rows instead of long stacks ---------- */
@media (max-width: 820px) {
  .kh .kw-card, .kh .kw-tabs { display: none; }
  .kh { min-height: 0 !important; height: auto !important; }
  .kh .kh-photo, .kh .hero-scrim { height: 58svh; }
  .kh .hero-in { min-height: 0; padding-top: 40svh; padding-bottom: 28px; }
  .sec { padding-top: 56px !important; padding-bottom: 56px !important; }
  .sec-h { font-size: clamp(40px, 12vw, 60px) !important; }
  .sec-room { display: none; }
  .cards, .nums, .why-list, .steps, .xw-grid, .xa-grid, .edus, .wm-grid {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px !important;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none;
  }
  .cards::-webkit-scrollbar, .nums::-webkit-scrollbar, .why-list::-webkit-scrollbar, .steps::-webkit-scrollbar, .xw-grid::-webkit-scrollbar, .xa-grid::-webkit-scrollbar, .edus::-webkit-scrollbar, .wm-grid::-webkit-scrollbar { display: none; }
  .cards > *, .nums > *, .why-list > *, .steps > *, .xw-grid > *, .xa-grid > *, .edus > *, .wm-grid > * { flex: 0 0 82% !important; scroll-snap-align: start; margin-top: 0 !important; grid-column: auto !important; }
  .nums > *, .steps > * { flex-basis: 64% !important; }
  .swipe-hint { display: block; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 -4px; }
}
@media (min-width: 821px) { .swipe-hint { display: none; } }

.xw-contain { background: #fff; }
.xw-window.xw-contain img { object-fit: contain; padding: 14% 18%; }


/* ---------- story trailer (opens from any project link) ---------- */
.sty { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.sty[hidden] { display: none; }
.st-veil { position: absolute; inset: 0; background: rgba(21,23,28,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.st-panel { position: relative; width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); padding: clamp(20px, 3.5vw, 36px); outline: none; }
.st-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: var(--line) solid var(--ink); background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
.st-meta { margin: 0; font: 700 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-right: 48px; }
.st-h { margin: 8px 0 18px; font: 400 clamp(28px, 4vw, 44px)/1 var(--display); text-transform: uppercase; padding-right: 40px; }
.st-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.st-steps button { width: 100%; text-align: left; font: 600 12px/1.25 var(--sans); color: var(--muted); background: none; border: 0; border-top: 3px solid rgba(21,23,28,.15); padding: 8px 0 0; cursor: pointer; display: flex; gap: 6px; }
.st-steps button span { font-weight: 800; }
.st-steps button.done { border-top-color: var(--ink); color: var(--ink); }
.st-steps button.on { border-top-color: var(--accent); color: var(--ink); }
.st-k { margin: 0 0 10px; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.st-body { min-height: 180px; }
.st-body p { font-size: 16px; line-height: 1.55; margin: 0 0 10px; }
.st-body .st-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; font-weight: 500; }
.st-did { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 16px; line-height: 1.5; }
.st-res { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-res li { background: var(--white); border: var(--line) solid var(--ink); border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.st-res b { font: 400 clamp(28px, 4vw, 40px)/1 var(--display); }
.st-res span { font-size: 13px; color: var(--muted); }
.st-nav { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-end { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.st-btn { display: inline-flex; align-items: center; font: 700 14px/1 var(--sans); padding: 13px 18px; border-radius: 999px; border: var(--line) solid var(--ink); background: var(--accent); color: var(--ink); text-decoration: none; cursor: pointer; }
.st-ghost { background: var(--white); }
.st-btn:focus-visible, .st-steps button:focus-visible, .st-x:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
body.st-open { overflow: hidden; }
@media (max-width: 600px) { .st-steps button { font-size: 0; gap: 0; } .st-steps button span { font-size: 12px; } .st-res { grid-template-columns: minmax(0, 1fr); } .st-res li { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; } }

.nums { margin-top: 28px; position: relative; z-index: 1; }


/* ---------- breathing room ---------- */
.sec-head + .cards, .sec-head + .nums, .cards, .nums { margin-top: clamp(32px, 4vw, 52px); }
.why-list, .xw-grid, .xa-grid { margin-top: clamp(24px, 3vw, 40px); }
.card-body { padding: 24px 26px 26px; gap: 14px; }
.card-t { line-height: 1.22; }
.cards { gap: clamp(22px, 2.6vw, 34px); }
.nums { gap: clamp(16px, 2vw, 24px); }
@media (min-width: 821px) and (max-width: 1100px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
  .sec-head .sec-intro { max-width: 46em; }
  .card-feature a { grid-template-columns: 1fr 1fr; }
  .card-feature .card-body { justify-content: center; padding: 30px 32px; }
  .card-feature .card-s { -webkit-line-clamp: 3; }
  .sec { padding-top: 88px; padding-bottom: 88px; }
}

@media (max-width: 1100px) { .sec-head .sec-intro { margin-left: 0 !important; padding-left: 0 !important; } }


/* ---------- storytelling bits (ks-) ---------- */
.ks-band { background: var(--accent); color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; position: relative; z-index: 2; }
.ks-track { display: flex; width: max-content; animation: ks-run 48s linear infinite; }
.ks-band:hover .ks-track { animation-play-state: paused; }
.ks-set { display: flex; align-items: center; flex: none; }
.ks-bi { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 0; white-space: nowrap; }
.ks-bi b { font: 400 clamp(17px, 1.7vw, 22px)/1 var(--display); letter-spacing: -.01em; }
.ks-bi em { font: 500 clamp(13px, 1.2vw, 15px)/1 var(--sans); font-style: normal; opacity: .78; }
.ks-plus { font: 400 16px/1 var(--display); font-style: normal; opacity: .45; padding: 0 clamp(16px, 2.2vw, 28px); }
@keyframes ks-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ks-track { animation: none; } .ks-band { overflow-x: auto; } }

/* My story so far: compact clickable stepper */
.ks-story { background: var(--paper); padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 6vw, 80px); }
.ks-in { max-width: 1080px; margin: 0 auto; }
.ks-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ks-k, .ks-k2 { margin: 0; font: 700 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.ks-h { margin: 0; font: 400 clamp(24px, 3vw, 38px)/1.05 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.ks-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-bottom: 2px solid rgba(21,23,28,.15); }
.ks-tabs [role="tab"] { appearance: none; background: none; border: 0; cursor: pointer; text-align: left; padding: 12px 10px 14px 0; color: rgba(21,23,28,.45); font-family: var(--sans); transition: color .2s; }
.ks-tabs [role="tab"]:hover, .ks-tabs [role="tab"].done { color: rgba(21,23,28,.75); }
.ks-tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.ks-tabs [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ks-y { display: block; font: 400 clamp(15px, 1.6vw, 20px)/1 var(--display); margin-bottom: 6px; }
.ks-l { display: block; font: 600 13px/1.25 var(--sans); }
.ks-bar { position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .35s ease; }
.ks-panel { margin-top: 22px; }
.ks-card { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; animation: ks-in .35s ease; }
.ks-col { padding: clamp(20px, 2.6vw, 32px); }
.ks-learn { background: var(--accent); border-left: 2px solid var(--ink); display: flex; flex-direction: column; }
.ks-big { margin: 12px 0 0; font: 500 clamp(16px, 1.5vw, 19px)/1.5 var(--sans); }
.ks-stat { margin: 16px 0 0; font: 500 14px/1.3 var(--sans); color: var(--muted, #4a4a48); }
.ks-stat b { font: 400 clamp(26px, 3vw, 36px)/1 var(--display); color: var(--ink); margin-right: 6px; }
.ks-quote { margin: 12px 0 0; font: 600 clamp(17px, 1.7vw, 21px)/1.4 var(--sans); }
.ks-link { margin-top: auto; padding-top: 18px; align-self: flex-start; font: 700 14px/1.2 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ks-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ks-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); text-decoration: none; }
.ks-btn:hover { background: var(--accent); color: var(--ink); }
.ks-ghost { background: transparent; color: var(--ink); }
@keyframes ks-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 820px) {
  .ks-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .ks-tabs::-webkit-scrollbar { display: none; }
  .ks-tabs [role="tab"] { flex: 0 0 auto; padding-right: 22px; }
  .ks-card { grid-template-columns: 1fr; }
  .ks-learn { border-left: 0; border-top: 2px solid var(--ink); }
  .ks-btn { padding: 0 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ks-card { animation: none; } .ks-bar { transition: none; } }

/* About photo back to full size */
.about-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .95fr); }
.about-text { min-width: 0; }
#about .about-text .sec-h { font-size: min(10.5vw, 78px); overflow-wrap: normal; word-break: normal; hyphens: none; }
.about-photo { width: 100%; max-width: 520px; justify-self: end; }
@media (max-width: 1100px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-photo { justify-self: center; max-width: 560px; margin-top: 8px; } }
.about-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .about-photo { max-width: 460px; justify-self: center; } }


/* ================= Story chapters (ch-, ab-, rt-, fit-, wm-, pr-, sk-more) ================= */
/* next-chapter link at the end of each chapter */
.ch-next { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: clamp(40px, 6vw, 72px) 0 0; padding: 18px 0 0; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.ch-next-k { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.ch-next b { font: 400 clamp(20px, 2.4vw, 30px)/1.1 var(--display); text-transform: uppercase; }
.ch-next-a { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); font: 700 18px/1 var(--sans); transition: background .2s, transform .2s; }
.ch-next:hover .ch-next-a { background: var(--accent); transform: translateY(3px); }

/* Ch 1: the short version, tap through */
.ab-facts { display: inline-flex; gap: 6px; margin: 22px 0 0; padding: 5px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.ab-f { appearance: none; cursor: pointer; border: 0; border-radius: 999px; padding: 10px 16px; min-height: 40px; background: transparent; color: var(--ink); font: 700 14px/1 var(--sans); }
.ab-f[aria-selected="true"] { background: var(--ink); color: #fff; }
.ab-f:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ab-say { margin: 16px 0 0; max-width: 34em; font: 500 clamp(17px, 1.6vw, 20px)/1.5 var(--sans); border-left: 4px solid var(--accent); padding-left: 16px; }
.ab-pop { animation: ab-pop .35s ease; }
@keyframes ab-pop { from { opacity: 0; transform: translateY(6px); } }

/* Ch 2: the route */
.rt { margin-top: clamp(24px, 4vw, 44px); }
.rt-track { overflow-x: auto; scrollbar-width: none; padding: 6px 2px 2px; }
.rt-track::-webkit-scrollbar { display: none; }
.rt-stops { position: relative; display: grid; grid-template-columns: repeat(8, minmax(110px, 1fr)); min-width: 880px; }
.rt-line { position: absolute; left: 9px; right: calc(12.5% - 9px); top: 15px; height: 4px; border-radius: 4px; background: rgba(21,23,28,.15); }
.rt-fill { position: absolute; inset: 0; background: var(--ink); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.rt-s { position: relative; z-index: 1; appearance: none; background: none; border: 0; cursor: pointer; text-align: left; padding: 0 10px 12px 0; color: rgba(21,23,28,.5); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.rt-dot { display: block; width: 22px; height: 22px; margin: 6px 0 12px; border-radius: 50%; background: var(--paper); border: 3px solid rgba(21,23,28,.3); transition: transform .25s, background .25s, border-color .25s; }
.rt-s.done { color: rgba(21,23,28,.75); }
.rt-s.done .rt-dot { background: var(--ink); border-color: var(--ink); }
.rt-s[aria-selected="true"] { color: var(--ink); }
.rt-s[aria-selected="true"] .rt-dot { background: var(--accent); border-color: var(--ink); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(21,23,28,.35); }
.rt-s:hover .rt-dot { border-color: var(--ink); }
.rt-s:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.rt-next .rt-dot { border-style: dashed; }
.rt-y { display: block; font: 400 clamp(15px, 1.4vw, 18px)/1 var(--display); margin-bottom: 5px; }
.rt-p { display: block; font: 600 13px/1.3 var(--sans); }
.rt-panel { margin-top: 16px; }
.rt-card { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; animation: ab-pop .35s ease; }
.rt-a, .rt-b { padding: clamp(20px, 2.6vw, 32px); }
.rt-b { background: var(--accent); border-left: 2px solid var(--ink); display: flex; flex-direction: column; }
.rt-k { margin: 0; font: 700 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.rt-b .rt-k { color: rgba(21,23,28,.7); }
.rt-h { margin: 10px 0 0; font: 400 clamp(24px, 2.8vw, 36px)/1.05 var(--display); text-transform: uppercase; }
.rt-at { margin: 6px 0 0; font: 600 14px/1.3 var(--sans); color: var(--muted, #4a4a48); }
.rt-did { margin: 14px 0 0; font: 500 clamp(16px, 1.4vw, 18px)/1.55 var(--sans); }
.rt-stat { margin: 16px 0 0; display: flex; align-items: baseline; gap: 10px; font: 500 14px/1.3 var(--sans); color: var(--muted, #4a4a48); }
.rt-stat b { font: 400 clamp(28px, 3vw, 40px)/1 var(--display); color: var(--ink); }
.rt-q { margin: 12px 0 0; font: 600 clamp(18px, 1.7vw, 22px)/1.4 var(--sans); }
.rt-link { margin-top: auto; padding-top: 18px; align-self: flex-start; font: 700 14px/1.2 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.rt-role { margin-top: 16px; border-top: 1px solid rgba(21,23,28,.15); padding-top: 12px; }
.rt-role summary, .rt-edu summary, .sk-more summary { cursor: pointer; font: 700 14px/1.3 var(--sans); list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.rt-role summary::-webkit-details-marker, .rt-edu summary::-webkit-details-marker, .sk-more summary::-webkit-details-marker { display: none; }
.rt-role summary::after, .rt-edu summary::after, .sk-more summary::after { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); font-size: 14px; }
.rt-role[open] summary::after, .rt-edu[open] summary::after, .sk-more[open] summary::after { content: '−'; }
.rt-rn { margin: 8px 0 0; font: 600 13px/1.4 var(--sans); color: var(--muted, #4a4a48); }
.rt-role ul { margin: 8px 0 0; padding-left: 18px; font: 400 14px/1.55 var(--sans); }
.rt-role li + li { margin-top: 6px; }
.rt-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.rt-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); text-decoration: none; text-align: left; }
.rt-btn:hover { background: var(--accent); color: var(--ink); }
.rt-ghost { background: transparent; color: var(--ink); }
.rt-edu { margin-top: 28px; }
.rt-edu summary { font: 400 18px/1 var(--display); text-transform: uppercase; }
.rt-edu .edus { margin-top: 14px; }

/* Ch 3: what are you hiring for? */
.fit { position: relative; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 24px 0 22px; }
.fit-k { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.fit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-c { appearance: none; cursor: pointer; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 14px/1 var(--sans); transition: background .2s, color .2s; }
.fit-c:hover { background: var(--accent); }
.fit-c[aria-pressed="true"] { background: var(--ink); color: #fff; }
.fit-line { flex-basis: 100%; margin: 4px 0 0; min-height: 1.5em; font: 600 clamp(15px, 1.4vw, 18px)/1.5 var(--sans); }
.fit-line:not(:empty) { border-left: 4px solid var(--accent); padding-left: 14px; }
.card { position: relative; transition: opacity .3s, filter .3s; }
.fit-badge { display: none; position: absolute; z-index: 3; top: 12px; right: 12px; padding: 6px 10px; border-radius: 999px; background: var(--accent); border: 2px solid var(--ink); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.card.fit-on .fit-badge { display: block; }
.card.fit-off { opacity: .45; filter: grayscale(.6); }
.card.fit-off:hover, .card.fit-off:focus-within { opacity: 1; filter: none; }

/* Ch 4: wins and misses */
.wm-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 26px; }
.wm-switch [role="tab"] { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 15px/1 var(--sans); }
.wm-switch [role="tab"] b { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--paper); font-size: 12px; }
.wm-switch [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.wm-switch [role="tab"][aria-selected="true"] b { background: var(--accent); color: var(--ink); }
.wm-note { font: 500 14px/1.3 var(--sans); color: var(--muted, #4a4a48); }
.wm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wm a { display: flex; flex-direction: column; height: 100%; padding: 22px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.wm a:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.wm-tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--paper); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.wm-h { margin: 14px 0 6px; font: 400 clamp(20px, 2vw, 26px)/1.1 var(--display); text-transform: uppercase; }
.wm-k { margin: 12px 0 0; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b3261e; }
.wm-k2 { color: #1f7a3a; }
.wm p:not(.wm-k) { margin: 6px 0 0; font: 400 15px/1.5 var(--sans); }
.wm-go { margin-top: auto; padding-top: 16px; font: 700 14px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; }

/* Ch 5: how I think */
.pr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pr { border: 2px solid var(--ink); border-radius: 18px; background: #fff; overflow: hidden; transition: background .25s, box-shadow .25s; }
.pr.on { background: var(--accent); box-shadow: 5px 5px 0 var(--ink); }
.pr-b { appearance: none; cursor: pointer; display: flex; flex-direction: column; gap: 12px; width: 100%; min-height: 200px; padding: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; }
.pr-b:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; }
.pr-n { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.pr-r { font: 400 clamp(19px, 1.8vw, 24px)/1.15 var(--display); text-transform: uppercase; }
.pr-hint { margin-top: auto; font: 700 13px/1 var(--sans); }
.pr-back { padding: 0 20px 20px; animation: ab-pop .3s ease; }
.pr-back p { margin: 0; font: 500 15px/1.5 var(--sans); }
.pr-back a { display: inline-block; margin-top: 12px; font: 700 14px/1 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.sk-more { margin-top: 28px; border-top: 2px solid var(--ink); padding-top: 14px; }
.sk-more summary { font: 400 18px/1 var(--display); text-transform: uppercase; }
.sk-more .sks { margin-top: 18px; }
.sk-more .tools { margin-top: 18px; }

@media (max-width: 1100px) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .rt-card { grid-template-columns: 1fr; }
  .rt-b { border-left: 0; border-top: 2px solid var(--ink); }
  .rt-stops { min-width: 760px; }
  .rt-track { margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .rt-btn { padding: 0 14px; font-size: 13px; }
  .pr-grid { grid-template-columns: 1fr; }
  .pr-b { min-height: 0; }
  .ab-facts { display: flex; }
  .ab-f { flex: 1; padding: 10px 8px; }
  .ch-next b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .rt-fill, .rt-dot, .card, .fit-c, .pr, .wm a, .ch-next-a { transition: none; } .rt-card, .ab-pop, .pr-back { animation: none; } }

/* route row: mouse scrolling (drag, wheel, arrows) */
.rt { position: relative; }
.rt-track { cursor: grab; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 48px), transparent 100%); }
.rt-at-start .rt-track { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent 100%); }
.rt-at-end .rt-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%); }
.rt:not(.rt-can) .rt-track { -webkit-mask-image: none; mask-image: none; cursor: auto; }
.rt-track.rt-drag { cursor: grabbing; }
.rt-track.rt-drag .rt-s { pointer-events: none; }
.rt-arrows { display: none; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.rt-can .rt-arrows { display: flex; }
.rt-arw { appearance: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 20px/1 var(--sans); display: grid; place-items: center; }
.rt-arw:hover { background: var(--accent); }
.rt-at-start .rt-arw[data-scroll="-1"], .rt-at-end .rt-arw[data-scroll="1"] { opacity: .35; }

/* How I think: compact rule list (one line each, opens in place) */
.pr-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; border-top: 2px solid var(--ink); }
.pr { border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none !important; }
.pr.on { background: transparent; }
.pr-b { flex-direction: row; align-items: center; gap: 18px; min-height: 0; padding: 16px 4px; }
.pr-n { flex: none; width: 34px; font: 400 15px/1 var(--display); letter-spacing: 0; color: var(--ink); }
.pr-r { flex: 1; font-size: clamp(16px, 1.6vw, 21px); }
.pr-b:hover .pr-r { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.pr-hint { flex: none; margin: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); font: 700 16px/1 var(--sans); }
.pr.on .pr-hint { background: var(--accent); }
.pr-back { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: -4px 0 0 52px; padding: 0 4px 16px; }
.pr-back[hidden] { display: none; }
.pr-back a { margin-top: 0; }

/* Certified by: a compact badge row */
.cb { margin-top: clamp(28px, 4vw, 44px); }
.cb-k { margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.cb-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cb-c { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.cb-c:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.cb-seal { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); font: 400 13px/1 var(--display); }
.cb-t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cb-t b { font: 700 14px/1.3 var(--sans); }
.cb-t small { font: 600 12px/1.3 var(--sans); color: var(--muted, #4a4a48); }
.cb-t em { font: 400 12px/1.4 var(--sans); font-style: normal; color: var(--muted, #4a4a48); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-c:hover .cb-t em { -webkit-line-clamp: unset; }
@media (max-width: 1100px) { .cb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .cb-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; }
  .cb-row::-webkit-scrollbar { display: none; }
  .cb-c { flex: 0 0 78%; scroll-snap-align: start; }
  .pr-back { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .cb-c { transition: none; } }

/* route: the stop card swipes */
.rt-panel { touch-action: pan-y; position: relative; }
.rt-card { cursor: grab; user-select: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.rt-swiping .rt-card { transition: none; cursor: grabbing; }
.rt-card a, .rt-card summary { user-select: auto; }
.rt-card.rt-from-r { animation: rt-from-r .35s cubic-bezier(.2,.8,.2,1); }
.rt-card.rt-from-l { animation: rt-from-l .35s cubic-bezier(.2,.8,.2,1); }
@keyframes rt-from-r { from { opacity: 0; transform: translateX(60px); } }
@keyframes rt-from-l { from { opacity: 0; transform: translateX(-60px); } }
.rt-nav { align-items: center; }
.rt-nav::after { content: '← Swipe the card →'; order: 1; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.rt-nav > :last-child { order: 2; }
@media (max-width: 560px) { .rt-nav { flex-wrap: wrap; } .rt-nav::after { order: 3; flex-basis: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .rt-card { transition: none; } .rt-card.rt-from-r, .rt-card.rt-from-l { animation: none; } }

/* Work cards: a colour per project, shorter covers */
.card { --cc: var(--accent); }
.card .card-img { aspect-ratio: 2 / 1; background: var(--cc); }
.card .cov-res { background: var(--cc); }
.card .cov-res .cov-room { opacity: .28; }
.card .card-n { background: var(--cc); }
.card a:hover, .card a:focus-visible { box-shadow: 8px 8px 0 var(--cc); }
.card .cov-thumb { box-shadow: 5px 5px 0 var(--ink); width: 40% !important; }
.card .cov-num { top: 10%; font-size: clamp(44px, 4.4vw, 76px); }
.card .cov-num + .cov-what { top: calc(10% + clamp(46px, 4.6vw, 80px)); }
.card .cov-num.long { font-size: clamp(36px, 3.4vw, 58px); }
.card .cov-num.long + .cov-what { top: calc(10% + clamp(40px, 3.6vw, 62px)); }
.card .card-body { padding: 16px 20px 18px; gap: 8px; }
.card .card-t { font-size: 18px; }
.card .card-s { font-size: 14px; flex: none; }
.card .card-m { margin-top: auto; }
.card-feature .card-body { padding: 22px 26px; }
@media (min-width: 821px) and (max-width: 1100px) {
  .card-feature .card-img { aspect-ratio: auto; min-height: 100%; }
}
@media (max-width: 820px) { .card .card-img { aspect-ratio: 16 / 9; } }

/* Certified by: concise, one row of logo chips */
.cb-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cb-c { align-items: center; gap: 10px; padding: 10px 12px; border-radius: 999px; }
.cb-c:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
.cb-seal { width: 36px; height: 36px; font-size: 12px; }
.cb-logo { background: #fff; }
.cb-logo img { width: 22px; height: 22px; object-fit: contain; display: block; }
.cb-t { gap: 2px; }
.cb-t b { font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-t small { font-size: 11px; }
@media (max-width: 1100px) { .cb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .cb-c { flex: 0 0 auto; max-width: 260px; } }

/* Certified by, grouped by issuer (cb-) */
.cb-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
.cb-head .cb-k { margin: 0; }
.cb-total { margin: 0; font: 500 15px/1.3 var(--sans); }
.cb-total b { font: 400 clamp(22px, 2.4vw, 30px)/1 var(--display); margin-right: 2px; }
.cb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cb-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.cb-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--accent); }
.cb-top { display: flex; align-items: center; gap: 10px; }
.cb-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; overflow: hidden; font: 400 14px/1 var(--display); }
.cb-mark img { width: 30px; height: 30px; object-fit: contain; display: block; }
.cb-who { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cb-who b { font: 800 15px/1.2 var(--sans); }
.cb-who small { font: 600 11px/1.2 var(--sans); color: var(--muted, #4a4a48); }
.cb-n { flex: none; display: flex; align-items: baseline; gap: 3px; padding: 6px 10px; border-radius: 999px; background: var(--accent); border: 2px solid var(--ink); font: 400 18px/1 var(--display); }
.cb-n small { font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.cb-line { margin: 0; font: 400 13px/1.45 var(--sans); color: var(--muted, #4a4a48); }
.cb-items { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cb-items li { padding: 5px 9px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(21,23,28,.18); font: 600 12px/1 var(--sans); }
@media (max-width: 1100px) { .cb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .cb-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; }
  .cb-grid::-webkit-scrollbar { display: none; }
  .cb-card { flex: 0 0 80%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .cb-card { transition: none; } }

/* ================= Phone fixes (overflow / overlap audit at 360-414px) ================= */
@media (max-width: 820px) {
  /* swipe rows keep the side margin: snap to the gutter, not the screen edge */
  .cards, .nums, .why-list, .steps, .xw-grid, .xa-grid, .edus, .wm-grid, .cb-grid, .rt-track, .cb-row {
    scroll-padding-inline: var(--gutter);
  }
  /* heading doodles must not sit on the words */
  .sec-h .vt { display: none; }
  .sec-h .sw svg { display: none; }
  .sec-h .br svg { left: -.04em; width: 1.08em; }
  /* next-chapter link: label on top, title and arrow on one row */
  .ch-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; }
  .ch-next-k { grid-column: 1 / -1; }
  .ch-next-a { margin-left: 0; }
  /* contact: one clean yellow button, label and email stacked inside */
  .cta-main { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 18px; background: var(--accent); border: 2px solid var(--ink); border-radius: 22px; }
  .cta-a { align-self: auto; background: none; border: 0; padding: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
  .cta-b { margin: 4px 0 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 17px; }
  .cta-main:hover .cta-b, .cta-main:focus-visible .cta-b { background: none; color: var(--ink); }
  /* Instagram post text: no lines touching */
  .igp-likes { display: block; padding-top: 4px; line-height: 1.3; }
  .igp-cap { display: -webkit-box; margin-top: 2px; }
  .igp-date { display: block; margin-top: 2px; }
  /* work card cover: keep the thumbnail off the label chip */
  .card .cov-thumb { width: 36% !important; right: -4%; bottom: -12%; }
  .card .cov-what { max-width: 58%; }
  /* long words never push past the screen */
  .sec-in, .card-body, .rt-card, .cb-card, .xa, .xw { overflow-wrap: anywhere; }
}

/* Where I studied: campus snapshots (eds-, ed-) */
.eds { margin-top: clamp(32px, 5vw, 56px); }
.eds-k { margin: 0 0 14px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.ed-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 14px; align-items: stretch; }
.ed { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; min-width: 0; }
.ed-ph { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--paper); border-bottom: 2px solid var(--ink); overflow: hidden; }
.ed-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-main .ed-ph { aspect-ratio: 16 / 9; }
.ed-none { display: grid; place-items: center; }
.ed-mono { font: 400 18px/1 var(--display); }
.ed-logo { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); }
.ed-logo img { width: 34px; height: 34px; object-fit: contain; }
.ed-t { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.ed-y { margin: 0; font: 700 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.ed h3 { margin: 0; font: 400 16px/1.15 var(--display); text-transform: uppercase; }
.ed-main h3 { font-size: clamp(18px, 1.8vw, 24px); }
.ed-d { margin: 0; font: 600 13px/1.35 var(--sans); }
.ed-l { margin: 2px 0 0; font: 400 12.5px/1.45 var(--sans); color: var(--muted, #4a4a48); }
.ed-main .ed-l { font-size: 14px; }
@media (max-width: 820px) {
  .ed-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ed-main { grid-column: 1 / -1; }
  .ed:not(.ed-main) .ed-t { padding: 10px; }
  .ed:not(.ed-main) h3 { font-size: 13px; }
  .ed:not(.ed-main) .ed-d { font-size: 11.5px; }
  .ed:not(.ed-main) .ed-l { display: none; }
  .ed:not(.ed-main) .ed-y { font-size: 10px; }
}

/* work card number never wraps */
.card-top { min-width: 0; }
.card-n { flex: none; white-space: nowrap; }


/* route: a life photo on a stop (polaroid in the takeaway column) */
.rt-has-ph { display: block; }
.rt-has-ph::after { content: ''; display: block; clear: both; }
.rt-ph { float: right; width: 40%; max-width: 190px; margin: -6px -4px 12px 16px; padding: 6px 6px 0; background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(3deg); }
.rt-ph img { display: block; width: 100%; aspect-ratio: 51 / 100; object-fit: cover; border-radius: 3px; pointer-events: none; }
.rt-ph figcaption { padding: 6px 2px 7px; font: 700 10.5px/1.2 var(--sans); text-align: center; }
.rt-has-ph .rt-link { display: inline-block; margin-top: 14px; }
@media (max-width: 820px) { .rt-ph { width: 38%; margin: -4px 0 10px 12px; } }

/* school card: two campus photos side by side */
.ed-ph:has(img + img) { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); }
.ed-ph:has(img + img) img { min-width: 0; }


/* Brand covers on work cards: the ad, with an agency → client logo plate */
.cov-brand { position: relative; display: block; width: 100%; height: 100%; background: #dfe7ee; }
.cov-brand .cov-bg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center; transform: none !important; }
.bp { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.bp-g { display: inline-flex; align-items: center; gap: 6px; }
.bp img { height: 30px; width: auto; max-width: 96px; object-fit: contain; display: block; border-radius: 4px; }
.bp-a { font: 700 14px/1 var(--sans); }
.bp-k { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.card a:hover .card-img img.cov-bg { transform: scale(1.03) !important; }
@media (max-width: 820px) { .bp img { height: 24px; max-width: 76px; } .bp { padding: 5px 8px; gap: 6px; } }

/* Story: the brands and the full ads */
.st-brand { margin: 0 0 18px; padding: 14px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.st-bk { margin: 0 0 10px; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.st-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.st-role { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted, #4a4a48); }
.st-lg { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border: 1px solid rgba(21,23,28,.2); border-radius: 10px; font: 700 12.5px/1.2 var(--sans); }
.st-lg img { height: 28px; width: auto; max-width: 84px; object-fit: contain; border-radius: 4px; }
.st-arr { font: 700 16px/1 var(--sans); }
.st-ads { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.st-ads figure { margin: 0; flex: 0 0 auto; border-radius: 10px; overflow: hidden; border: 1px solid rgba(21,23,28,.2); background: #f3f3f2; }
.st-ads img { display: block; height: 220px; width: auto; max-width: none; }
@media (max-width: 820px) { .st-ads img { height: 170px; } .st-brand { padding: 12px; } }

/* brand covers: logo plate only (the label lives in the story) */
.cov-brand .bp-k { display: none; }
/* story: ads shown whole, never cropped or scrolled */
.sty .st-brand .st-bk { margin: 0 0 10px; font: 700 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.sty .st-ads { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; overflow: visible; }
.sty .st-ads figure { display: flex; align-items: center; justify-content: center; padding: 6px; }
.sty .st-ads img { width: auto; height: auto; max-width: 100%; max-height: 300px; }
@media (max-width: 820px) { .sty .st-ads { grid-template-columns: 1fr; } .sty .st-ads img { max-height: 260px; } }

/* image covers keep their 2:1 shape everywhere (never cropped); spare space takes the card colour */
.card .card-img:has(.cov-brand) { aspect-ratio: 2 / 1; background: var(--cc); }
.cov-brand { height: 100%; }
.cov-brand .cov-bg { object-fit: cover; }
@media (min-width: 821px) and (max-width: 1100px) {
  .card-feature .card-img:has(.cov-brand) { aspect-ratio: auto; display: flex; align-items: center; }
  .card-feature .cov-brand { height: auto; aspect-ratio: 2 / 1; }
  .card-feature .cov-brand .cov-bg { position: static; display: block; }
}
@media (max-width: 820px) { .card .card-img:has(.cov-brand) { aspect-ratio: 2 / 1; } }

/* About collage: my photo with campaign snapshots pinned around it (ab-) */
.ab-collage { width: 100%; max-width: 540px; margin: 0; }
.ab-stage { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.ab-collage .ab-me { position: absolute; left: 15%; top: 5%; width: 70% !important; height: 86% !important; object-fit: cover; object-position: 50% 35%; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.ab-snap { position: absolute; z-index: 2; display: block; padding: 5px 5px 0; background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.ab-snap img { display: block; width: 100% !important; height: auto !important; border-radius: 4px; }
.ab-tag { display: block; padding: 5px 2px 6px; font: 700 11px/1.1 var(--sans); color: var(--ink); text-align: center; white-space: nowrap; }
.ab-snap:hover, .ab-snap:focus-visible { z-index: 4; transform: rotate(0deg) scale(1.08); box-shadow: 7px 7px 0 var(--accent), 7px 7px 0 2px var(--ink); outline: none; }
.ab-s1 { left: 0; top: 3%; width: 30%; transform: rotate(-6deg); }
.ab-s2 { right: 0; top: 55%; width: 46%; transform: rotate(5deg); }
.ab-s3 { left: 0; bottom: 2%; width: 49%; transform: rotate(-3deg); }
.ab-cap { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ab-k { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.ab-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-logos li { display: grid; place-items: center; height: 40px; padding: 4px 8px; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; }
.ab-logos img { height: 30px; width: auto; max-width: 90px; object-fit: contain; display: block; }
@media (max-width: 820px) {
  .ab-tag { font-size: 10px; padding: 4px 1px 5px; }
  .ab-snap { padding: 3px 3px 0; box-shadow: 3px 3px 0 var(--ink); }
  .ab-logos li { height: 34px; padding: 3px 6px; }
  .ab-logos img { height: 24px; max-width: 72px; }
}
@media (prefers-reduced-motion: reduce) { .ab-snap { transition: none; } }

.ab-snap, .ab-snap:hover { text-decoration: none; }


/* collage: logo stickers down the photo's right edge (clickable), wrapped campaign labels */
.ab-logo { position: absolute; z-index: 3; right: 0; width: 21%; height: 8.5%; padding: 4px 6px; display: grid; place-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ab-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.ab-logo:hover, .ab-logo:focus-visible { transform: translateX(-4px) scale(1.06); box-shadow: 5px 5px 0 var(--accent), 5px 5px 0 2px var(--ink); outline: none; }
.ab-l1 { top: 4%; } .ab-l2 { top: 14%; } .ab-l3 { top: 24%; } .ab-l4 { top: 34%; } .ab-l5 { top: 44%; }
.ab-tag { white-space: normal; line-height: 1.2; }
@media (max-width: 820px) { .ab-logo { padding: 3px 4px; border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); } }
@media (prefers-reduced-motion: reduce) { .ab-logo { transition: none; } }

/* logo stickers: image always fits the sticker box */
.ab-logo { box-sizing: border-box; overflow: hidden; display: block; }
.ab-logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }


/* Eureka Forbes sticker: its blue fills the sticker */
.ab-l4 { padding: 0; }
.ab-l4 img { object-fit: cover; }


/* Collage deck: ad / press / result cards in three slots, shuffle button */
.ab-s1 { left: 0; top: 3%; width: 44%; transform: rotate(-5deg); }
.ab-s2 { right: 0; top: 56%; width: 48%; transform: rotate(4deg); }
.ab-s3 { left: 0; bottom: 6%; top: auto; width: 47%; transform: rotate(-2deg); }
.ab-snap.ab-in { animation: ab-deal .45s cubic-bezier(.2,.8,.2,1); }
@keyframes ab-deal { from { opacity: 0; translate: 0 10px; } }
.ab-tag { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 6px 4px 7px; white-space: normal; }
.ab-tag b { font: 700 11.5px/1.2 var(--sans); }
.ab-tag small { font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #4a4a48); }
/* result card */
.ab-t-stat { padding: 0; background: var(--accent); }
.ab-stat { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 10px; }
.ab-stat b { font: 400 clamp(30px, 4.6vw, 52px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.ab-stat span { font: 700 12px/1.25 var(--sans); color: var(--ink); }
.ab-stat small { font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(21,23,28,.65); }
/* press clipping card */
.ab-t-press { padding: 0; background: #fbf8ef; }
.ab-press { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 12px; border-top: 6px double var(--ink); }
.ab-press small { font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.ab-press b { font: 400 clamp(13px, 1.5vw, 17px)/1.2 var(--display); text-transform: uppercase; color: var(--ink); }
.ab-press i { align-self: flex-start; font: 700 9.5px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: var(--ink); color: #fff; }
/* shuffle */
.ab-shuffle { position: absolute; z-index: 4; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 13px/1 var(--sans); cursor: pointer; }
.ab-shuffle:hover, .ab-shuffle:focus-visible { background: var(--accent); color: var(--ink); outline: none; }
.ab-shuffle span { font-size: 16px; }
@media (max-width: 820px) {
  .ab-tag b { font-size: 10px; } .ab-tag small { font-size: 9px; }
  .ab-stat { padding: 8px 8px 7px; gap: 3px; } .ab-stat b { font-size: 28px; } .ab-stat span { font-size: 10.5px; }
  .ab-press { padding: 8px; gap: 4px; } .ab-press b { font-size: 12px; } .ab-press i { font-size: 8.5px; padding: 3px 6px; }
  .ab-shuffle { min-height: 34px; padding: 0 10px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .ab-snap.ab-in { animation: none; } }

/* From circuits to customers: the title as a circuit (cx-) */
.cx-hook { margin: 18px 0 0; max-width: 30em; font: 600 clamp(17px, 1.6vw, 21px)/1.45 var(--sans); }
.cx { --cx: .5; margin-top: 24px; max-width: 560px; }
.cx-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 4px; }
/* the copper trace between the pads, and the current flowing along it */
.cx-trace { position: absolute; left: 16.66%; right: 16.66%; top: 25px; height: 6px; border-radius: 3px; background: rgba(21,23,28,.16); }
.cx-trace::before, .cx-trace::after { content: ''; position: absolute; top: -4px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid rgba(21,23,28,.25); background: var(--paper); }
.cx-trace::before { left: 24%; } .cx-trace::after { left: 74%; }
.cx-flow { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--cx)); border-radius: 3px; transition: transform .6s cubic-bezier(.2,.8,.2,1);
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, var(--accent) 10px 20px); background-size: 40px 6px; animation: cx-run 1s linear infinite; }
@keyframes cx-run { to { background-position: 40px 0; } }
/* solder pads */
.cx-n { position: relative; z-index: 1; appearance: none; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); }
.cx-pad { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: background .25s, transform .25s, box-shadow .25s; }
.cx-pad i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); transition: background .25s; }
.cx-n.lit .cx-pad i { background: var(--accent); }
.cx-n[aria-selected="true"] .cx-pad { background: var(--accent); transform: translateY(-3px); box-shadow: 4px 7px 0 var(--ink), 0 0 0 8px rgba(21,23,28,.35); }
.cx-n[aria-selected="true"] .cx-pad i { background: var(--ink); }
.cx-n:hover .cx-pad { transform: translateY(-2px); }
.cx-n:focus-visible { outline: none; } .cx-n:focus-visible .cx-pad { outline: 3px solid var(--ink); outline-offset: 4px; }
.cx-k { font: 400 clamp(15px, 1.5vw, 19px)/1 var(--display); text-transform: uppercase; }
.cx-y { font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #4a4a48); }
/* the readout */
.cx-out { margin-top: 18px; padding: 16px 18px; background: #fff; border: 2px solid var(--ink); border-left: 10px solid var(--accent); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.cx-big { display: inline-block; margin-right: 10px; font: 400 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.02em; }
.cx-unit { font: 700 13px/1.3 var(--sans); color: var(--muted, #4a4a48); }
.cx-out p { margin: 10px 0 0; font: 500 clamp(15px, 1.3vw, 17px)/1.5 var(--sans); }
.cx-pulse { animation: cx-pulse .45s ease; }
@keyframes cx-pulse { from { opacity: .2; transform: translateY(6px); } }
.cx-hint { margin: 10px 0 0; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #4a4a48); }
@media (max-width: 820px) {
  .cx-pad { width: 48px; height: 48px; border-radius: 12px; }
  .cx-trace { top: 21px; }
  .cx-out { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .cx-flow { animation: none; transition: none; } .cx-pulse { animation: none; } .cx-pad { transition: none; } }

@media (max-width: 820px) { .cx-big { display: block; margin: 0 0 4px; } .cx-unit { display: block; } }


/* ================= Flighting plan (fp-) ================= */
.fp { --fpw: 132px; margin-top: clamp(36px, 5vw, 60px); padding: clamp(16px, 2.4vw, 26px); background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); }
.fp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.fp-k { margin: 0 0 6px; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.fp-h { margin: 0; font: 400 clamp(20px, 2.4vw, 30px)/1.1 var(--display); text-transform: uppercase; }
.fp-play { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 13px/1 var(--sans); cursor: pointer; }
.fp-play:hover, .fp-play:focus-visible { background: var(--accent); color: var(--ink); outline: none; }
.fp-ic { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.fp-paused .fp-ic { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
/* the preview "monitor" */
.fp-screen { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.fp-media { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #0a0a0a; border: 2px solid var(--ink); border-radius: 14px; box-shadow: inset 0 0 0 6px #222222; }
.fp-media > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.fp-in { animation: fp-in .45s ease; }
@keyframes fp-in { from { opacity: 0; transform: scale(.985); } }
.fp-cap { display: flex; flex-direction: column; gap: 6px; }
.fp-when { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--accent); border: 2px solid var(--ink); font: 700 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.fp-cap b { font: 400 clamp(18px, 1.9vw, 24px)/1.15 var(--display); text-transform: uppercase; }
.fp-cap small { font: 600 13px/1.4 var(--sans); color: var(--muted, #4a4a48); }
.fp-go { align-self: flex-start; margin-top: 4px; font: 700 14px/1 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* press clipping inside the monitor */
.fp-press { width: 78%; padding: 18px; background: #fbf8ef; border-top: 7px double var(--ink); border-radius: 6px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-1.5deg); }
.fp-press small { font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #4a4a48); }
.fp-press b { font: 400 clamp(16px, 2vw, 24px)/1.15 var(--display); text-transform: uppercase; color: var(--ink); }
.fp-press i { align-self: flex-start; font: 700 10px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--ink); color: #fff; }
/* DBS digibank hero rebuilt from its own layers */
.fp-scene { position: relative; width: 100%; aspect-ratio: 1200 / 471; background: #fff; }
.fp-scene img { position: absolute; left: 0; width: 100%; height: auto; }
.fp-l-sofa, .fp-l-reader { top: 0; }
.fp-l-pages { top: -4%; animation: fp-drift 6s ease-in-out infinite alternate; }
.fp-l-reader { animation: fp-bob 3.2s ease-in-out infinite alternate; }
.fp-scene b { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); font: 400 clamp(16px, 2.2vw, 28px)/1.05 var(--display); text-transform: uppercase; color: #d61f2c; max-width: 34%; text-align: right; }
@keyframes fp-bob { to { transform: translateY(-4%); } }
@keyframes fp-drift { to { transform: translate(2%, 3%); } }
/* the grid */
.fp-board { overflow-x: auto; scrollbar-width: thin; }
.fp-grid { position: relative; min-width: 720px; }
.fp-row, .fp-axrow, .fp-headwrap { display: grid; grid-template-columns: var(--fpw) minmax(0, 1fr); align-items: center; }
.fp-rl { position: sticky; left: 0; z-index: 2; padding-right: 10px; background: #fff; font: 700 12px/1.2 var(--sans); }
.fp-track { position: relative; height: 34px; background-image: repeating-linear-gradient(90deg, rgba(21,23,28,.07) 0 1px, transparent 1px calc(100% / 38)); }
.fp-row + .fp-row .fp-track { border-top: 1px dashed rgba(21,23,28,.12); }
.fp-axrow .fp-track { height: 78px; background: none; }
.fp-axis { position: absolute; left: 0; right: 0; top: 0; height: 18px; }
.fp-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 700 11px/1 var(--sans); color: var(--muted, #4a4a48); }
.fp-axis span::after { content: ''; position: absolute; left: 50%; top: 16px; height: 460px; border-left: 1px solid rgba(21,23,28,.18); pointer-events: none; }
.fp-bands { position: absolute; left: 0; right: 0; top: 22px; height: 52px; }
.fp-band { position: absolute; top: 0; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 10px; background: #fbeef0; cursor: pointer; text-align: left; overflow: hidden; }
.fp-band + .fp-band { background: #f9f6f0; }
.fp-band:hover, .fp-band:focus-visible { background: var(--accent); outline: none; }
.fp-ag { font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #4a4a48); white-space: nowrap; }
.fp-acc { font: 700 12.5px/1.1 var(--sans); color: var(--ink); white-space: nowrap; }
.fp-res { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 4px 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1 var(--sans); white-space: nowrap; }
.fp-bar { position: absolute; top: 7px; height: 20px; padding: 0; border: 2px solid var(--ink); border-radius: 6px; background: var(--accent); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.fp-bar-press { background: repeating-linear-gradient(45deg, #fff 0 4px, rgba(21,23,28,.35) 4px 6px); }
.fp-bar:hover, .fp-bar:focus-visible { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); outline: none; }
.fp-bar.on { background: var(--ink); box-shadow: 0 0 0 4px rgba(21,23,28,.6); }
.fp-headwrap { position: absolute; left: 0; right: 0; top: 78px; bottom: 0; pointer-events: none; }
.fp-headwrap .fp-rl { background: transparent; }
.fp-headwrap .fp-track { height: 100%; background: none; }
.fp-playhead { position: absolute; top: -6px; bottom: 0; width: 2px; margin-left: -1px; background: var(--ink); transition: left .6s cubic-bezier(.2,.8,.2,1); }
.fp-playhead::before { content: ''; position: absolute; left: -6px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.fp-note { margin: 12px 0 0; font: 500 12px/1.5 var(--sans); color: var(--muted, #4a4a48); }
@media (max-width: 820px) {
  .fp { --fpw: 96px; box-shadow: 5px 5px 0 var(--ink); border-radius: 18px; }
  .fp-screen { grid-template-columns: 1fr; gap: 12px; }
  .fp-board { margin: 0 -4px; }
  .fp-rl { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .fp-in, .fp-l-pages, .fp-l-reader { animation: none; } .fp-playhead, .fp-bar { transition: none; } }

/* monitor: the creative always fits whole inside the frame */
.fp-media > img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; max-height: none; object-fit: contain; }
.fp-media > .fp-scene { width: calc(100% - 16px); }


/* pinned row labels always sit above the bars */
.fp-row .fp-track, .fp-axrow .fp-track { isolation: isolate; z-index: 0; }
.fp-row .fp-rl, .fp-axrow .fp-rl { z-index: 3; align-self: stretch; display: flex; align-items: center; box-shadow: 8px 0 8px -4px #fff; }


/* ================= Palette: Floral White, Coffee Bean, Sky Aqua, Intense Cherry, Dark Teal ================= */
:root { --teal: #15171c; --cherry: #361eae; }
::selection { background: var(--accent); color: var(--ink); }
/* solid buttons in Dark Teal */
.rt-btn:not(.rt-ghost), .fit-c[aria-pressed="true"], .fp-play, .ab-shuffle, .ks-btn:not(.ks-ghost), .wm-switch [role="tab"][aria-selected="true"], .st-btn:not(.st-ghost) { background: var(--teal); border-color: var(--teal); color: #fff; }
.rt-btn:not(.rt-ghost):hover, .fit-c[aria-pressed="true"]:hover, .fp-play:hover, .ab-shuffle:hover, .st-btn:not(.st-ghost):hover { background: var(--accent); border-color: var(--ink); color: var(--ink); }
/* key numbers in Intense Cherry */
.cx-big, .rt-stat b, .ab-stat b { color: var(--cherry); }
.fp-res, .fp-press i, .ab-press i { background: var(--cherry); color: #fff; }
.cx-n[aria-selected="true"] .cx-pad i { background: var(--cherry); }
/* the campaign monitor in Dark Teal */
.fp-media { background: #0a0a0a; box-shadow: inset 0 0 0 6px #222222; }
.fp-bar.on { background: var(--teal); }

/* wins: covers shown whole (logos never cut) */
.xw-window img[src*="media/brands/cover-"] { object-fit: contain !important; background: var(--paper); }


/* ================= Palette variations (html[data-theme]) — all five colours, different leads ================= */
/* 1 · Teal + Cherry (default): Dark Teal hero and buttons, warm cherry-tint highlights, Cherry numbers */
html, html[data-theme="1"] { --accent: #f9f6f0; --teal: #15171c; --cherry: #361eae; }
html[data-theme="1"] .kh, html:not([data-theme]) .kh { --k-hl: #ffffff; }
html[data-theme="1"] .kh .kw-big, html:not([data-theme]) .kh .kw-big { color: #f9f6f0; }
html[data-theme="1"] .kh .dot-live, html:not([data-theme]) .kh .dot-live { background: #15171c; }
/* 2 · Cherry + Coffee: Coffee Bean hero, Cherry buttons and pills, Teal numbers, pale-teal highlights */
html[data-theme="2"] { --accent: #f9f6f0; --teal: #361eae; --cherry: #15171c; }
html[data-theme="2"] .kh { --k-hl: #361eae; background: radial-gradient(120% 90% at 48% 30%, #4a2c31 0%, #15171c 50%, #1b0f11 100%) !important; }
html[data-theme="2"] .kh .hero-scrim { background: linear-gradient(180deg, rgba(21,23,28,.5) 0%, rgba(21,23,28,0) 20%, rgba(21,23,28,.15) 58%, rgba(21,23,28,1) 100%) !important; }
html[data-theme="2"] .kh .pill-solid { color: #fff; }
html[data-theme="2"] .kh .kw-big { color: #ebebea; }
html[data-theme="2"] .kh .kw-tabs button[aria-selected="true"] b { color: #ebebea; }
html[data-theme="2"] .kh .dot-live { background: #15171c; }
/* 3 · Soft Aqua: Dark Teal hero, Aqua only as a pale tint, Teal buttons, Cherry numbers */
html[data-theme="3"] { --accent: #f9f6f0; --teal: #15171c; --cherry: #361eae; }
html[data-theme="3"] .kh { --k-hl: #15171c; }
/* text on the accent is always Coffee Bean; on solid buttons always white */
.ks-band, .cx-n[aria-selected="true"] .cx-pad, .fp-when, .ab-t-stat { color: var(--ink); }
html[data-theme="2"] .kh { --k-panel: rgba(27,15,17,.86); }
html[data-theme="2"] .kh .kw-link, html[data-theme="2"] .kh .kh-links a:hover { color: #ebebea; }
/* temporary palette switcher for choosing a variation */
.pal-sw { position: fixed; left: 14px; bottom: 14px; z-index: 90; display: flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font: 700 12px/1 var(--sans); color: var(--ink); }
.pal-sw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; font: 700 12px/1 var(--sans); color: #fff; }
.pal-sw button[data-t="1"] { background: #15171c; } .pal-sw button[data-t="2"] { background: #361eae; } .pal-sw button[data-t="3"] { background: #15171c; color: #15171c; }
.pal-sw button[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Palette 2 is the site palette (applies even without data-theme) */
html { --accent: #f9f6f0; --teal: #361eae; --cherry: #15171c; }
.kh { --k-hl: #361eae; --k-panel: rgba(27,15,17,.86); background: radial-gradient(120% 90% at 48% 30%, #4a2c31 0%, #15171c 50%, #1b0f11 100%) !important; }
.kh .hero-scrim { background: linear-gradient(180deg, rgba(21,23,28,.5) 0%, rgba(21,23,28,0) 20%, rgba(21,23,28,.15) 58%, rgba(21,23,28,1) 100%) !important; }
.kh .pill-solid { color: #fff; }
.kh .kw-big, .kh .kw-tabs button[aria-selected="true"] b, .kh .kw-link, .kh .kh-links a:hover { color: #ebebea; }
.kh .dot-live { background: #15171c; }
.pal-sw { display: none !important; }

/* ===== Palette 2, final: every colour has a job (beats :root defaults) ===== */
:root, html[data-theme] { --accent: #f9f6f0; --teal: #361eae; --cherry: #15171c; --aqua: #15171c; --deep: #15171c; }
.kh, html[data-theme] .kh { --k-hl: #361eae; }
.kh .pill-solid, html[data-theme] .kh .pill-solid { background: #361eae; border-color: #361eae; color: #fff; }
.kh .pill-solid:hover { background: #ffffff; color: #15171c; }
/* Sky Aqua: the moving, live parts */
.ks-band { background: var(--aqua) !important; }
.cx-flow { background: repeating-linear-gradient(90deg, var(--ink) 0 10px, var(--aqua) 10px 20px) !important; background-size: 40px 6px !important; }
.fp-playhead::before, .rt-s[aria-selected="true"] .rt-dot { background: var(--aqua) !important; }
.fit-badge, .fp-when { background: var(--aqua) !important; }
.cx-n[aria-selected="true"] .cx-pad { background: var(--aqua); box-shadow: 4px 7px 0 var(--ink), 0 0 0 8px rgba(21,23,28,.25); }
/* Dark Teal: nav chip, Ask button, chapter tags, monitor, numbers */
.nav .idx b, .sec-top .idx b { background: var(--deep) !important; color: #fff !important; }
.nav-ask { background: var(--deep) !important; color: #fff !important; border-color: var(--deep) !important; }
.nav-ask:hover { background: #361eae !important; border-color: #361eae !important; }
.fp-bar { background: var(--aqua); } .fp-bar.on { background: #361eae; }
/* Intense Cherry: solid buttons and pills */
.rt-btn:not(.rt-ghost), .fit-c[aria-pressed="true"], .fp-play, .ab-shuffle, .st-btn:not(.st-ghost) { background: #361eae !important; border-color: #361eae !important; color: #fff !important; }

/* ===== Palette 2 · v2: Coffee Bean leads, Floral White on top, Sky Aqua for every hover/active ===== */
:root, html[data-theme] { --accent: #15171c; --teal: #15171c; --cherry: #361eae; --aqua: #15171c; --deep: #15171c; --cream: #ffffff; }
/* solid buttons: Coffee Bean with Floral White text; hover = Sky Aqua */
.rt-btn:not(.rt-ghost), .fit-c[aria-pressed="true"], .fp-play, .ab-shuffle, .st-btn:not(.st-ghost), .ks-btn:not(.ks-ghost), .cta-main .cta-a, .nav-ask, .pj-copy {
  background: #15171c !important; border-color: #15171c !important; color: var(--cream) !important; }
.rt-btn:not(.rt-ghost):hover, .fit-c[aria-pressed="true"]:hover, .fp-play:hover, .ab-shuffle:hover, .st-btn:not(.st-ghost):hover, .ks-btn:not(.ks-ghost):hover, .nav-ask:hover, .pj-copy:hover,
.rt-ghost:hover, .fit-c:hover, .st-ghost:hover, .ks-ghost:hover, .nav-menu:hover {
  background: var(--aqua) !important; border-color: #15171c !important; color: #15171c !important; }
/* outline buttons: Floral White fill, Coffee Bean line */
.rt-ghost, .fit-c, .st-ghost, .ks-ghost, .nav-menu, .wm-switch [role="tab"] { background: var(--cream) !important; color: #15171c !important; border-color: #15171c !important; }
/* hero (Coffee Bean): main button Floral White, hover Sky Aqua */
.kh { --k-hl: #15171c; }
.kh .pill-solid, html[data-theme] .kh .pill-solid { background: var(--cream) !important; border-color: var(--cream) !important; color: #15171c !important; }
.kh .pill-solid:hover { background: var(--aqua) !important; border-color: var(--aqua) !important; }
.kh .kw-big { color: #ebebea; }
.kh .kw-link, .kh .kh-links a:hover, .kh .kw-tabs button[aria-selected="true"] b { color: var(--aqua); }
/* chapter chips + nav chip: Coffee Bean number on Sky Aqua label */
.nav .idx b, .sec-top .idx b { background: #15171c !important; color: var(--cream) !important; }
.nav { background: rgba(255,255,255,.94); }
/* highlights: panels and pressed states in Sky Aqua; cards Floral White */
.rt-b, .ks-learn { background: #f9f6f0 !important; }
.cx-out, .rt-card, .cb-card, .ed, .pr, .wm a, .fp, .ab-snap { background: var(--cream); }
body, .sec { background-color: #ebebea; }
/* small accents */
.cx-big, .rt-stat b, .ab-stat b { color: var(--cherry) !important; }
.fp-res, .fp-press i, .ab-press i { background: var(--deep) !important; color: var(--cream) !important; }
.fp-bar.on { background: #15171c !important; }
.fit-badge, .fp-when { background: var(--aqua) !important; color: #15171c !important; }

/* ===== Colour shuffles A / B / C (html[data-mix]) — one set of rules driven by variables ===== */
html { --btn: #15171c; --btn-ink: #ffffff; --hov: #361eae; --hov-ink: #ffffff; --hl: #f9f6f0; --num: #361eae; --live: #15171c; --chip: #15171c;
       --hero-a: #2a2a2a; --hero-b: #15171c; --hero-c: #0a0a0a; --hero-rgb: 4,42,43; --hero-hl: #ffffff; --hero-num: #ebebea; }
html[data-mix="b"] { --btn: #361eae; --btn-ink: #ffffff; --hov: #15171c; --hov-ink: #15171c; --hl: #f9f6f0; --num: #15171c; --live: #15171c; --chip: #15171c;
       --hero-a: #4a2c31; --hero-b: #15171c; --hero-c: #1b0f11; --hero-rgb: 4,42,43; --hero-hl: #361eae; --hero-num: #ebebea; }
html[data-mix="c"] { --btn: #15171c; --btn-ink: #15171c; --hov: #361eae; --hov-ink: #ffffff; --hl: #f9f6f0; --num: #361eae; --live: #361eae; --chip: #15171c;
       --hero-a: #2a2a2a; --hero-b: #15171c; --hero-c: #0a0a0a; --hero-rgb: 4,42,43; --hero-hl: #15171c; --hero-num: #ebebea; }
html { --accent: var(--hl); --aqua: var(--live); --cherry: var(--num); }
/* hero */
html .kh { background: radial-gradient(120% 90% at 48% 30%, var(--hero-a) 0%, var(--hero-b) 50%, var(--hero-c) 100%) !important; --k-hl: var(--hero-hl); --k-panel: rgba(var(--hero-rgb), .86); }
html .kh .hero-scrim { background: linear-gradient(180deg, rgba(var(--hero-rgb),.5) 0%, rgba(var(--hero-rgb),0) 20%, rgba(var(--hero-rgb),.15) 58%, rgba(var(--hero-rgb),1) 100%) !important; }
html .kh .pill-solid { background: var(--hero-hl) !important; border-color: var(--hero-hl) !important; color: var(--btn-ink) !important; }
html:not([data-mix]) .kh .pill-solid, html[data-mix="a"] .kh .pill-solid { color: #15171c !important; }
html .kh .pill-solid:hover { background: var(--hov) !important; border-color: var(--hov) !important; color: var(--hov-ink) !important; }
html .kh .kw-big { color: var(--hero-num) !important; }
html .kh .kw-link, html .kh .kh-links a:hover, html .kh .kw-tabs button[aria-selected="true"] b { color: var(--hero-num) !important; }
html .kh .kw-tabs button i { background: var(--hero-num) !important; }
/* solid buttons + hover */
html .rt-btn:not(.rt-ghost), html .fit-c[aria-pressed="true"], html .fp-play, html .ab-shuffle, html .st-btn:not(.st-ghost), html .ks-btn:not(.ks-ghost), html .nav-ask, html .pj-copy, html .cta-main .cta-a {
  background: var(--btn) !important; border-color: var(--btn) !important; color: var(--btn-ink) !important; }
html .rt-btn:hover, html .fit-c:hover, html .fp-play:hover, html .ab-shuffle:hover, html .st-btn:hover, html .ks-btn:hover, html .nav-ask:hover, html .pj-copy:hover, html .nav-menu:hover {
  background: var(--hov) !important; border-color: var(--hov) !important; color: var(--hov-ink) !important; }
/* chips */
html .nav .idx b, html .sec-top .idx b { background: var(--chip) !important; color: #ffffff !important; }
/* highlights, numbers, live parts */
html .rt-b, html .ks-learn { background: var(--hl) !important; }
html .cx-big, html .rt-stat b, html .ab-stat b { color: var(--num) !important; }
html .ks-band { background: var(--live) !important; }
html .cx-flow { background: repeating-linear-gradient(90deg, #15171c 0 10px, var(--live) 10px 20px) !important; background-size: 40px 6px !important; }
html .fp-playhead::before, html .rt-s[aria-selected="true"] .rt-dot, html .cx-n[aria-selected="true"] .cx-pad, html .fit-badge, html .fp-when { background: var(--live) !important; }
html .fp-bar { background: var(--hl) !important; } html .fp-bar.on { background: var(--btn) !important; }
html[data-mix="b"] .ks-band, html[data-mix="b"] .fit-badge, html[data-mix="b"] .fp-when { color: #15171c !important; }
html[data-mix="c"] .ks-band, html[data-mix="c"] .fit-badge, html[data-mix="c"] .fp-when { color: #ffffff !important; }
/* switcher (temporary) */
.mix-sw { position: fixed; left: 14px; bottom: 14px; z-index: 90; display: flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; background: #ffffff; border: 2px solid #15171c; border-radius: 999px; box-shadow: 3px 3px 0 #15171c; font: 700 12px/1 var(--sans); color: #15171c; }
.mix-sw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #15171c; cursor: pointer; font: 700 12px/1 var(--sans); }
.mix-sw button[data-m="a"] { background: #15171c; color: #ffffff; } .mix-sw button[data-m="b"] { background: #361eae; color: #ffffff; } .mix-sw button[data-m="c"] { background: #15171c; color: #15171c; }
.mix-sw button[aria-pressed="true"] { outline: 3px solid #15171c; outline-offset: 2px; }

/* colour option A (Teal lead) is final */
.mix-sw { display: none !important; }


/* Evergreen / Beige / Pacific Blue / Coffee Bean / Classic Crimson */
:root, html[data-theme] { --paper: #ebebea; --cream: #ffffff; }
body, .sec { background-color: #ebebea; }
.cx-out, .rt-card, .cb-card, .ed, .pr, .wm a, .fp, .ab-snap, .card a, .xw-window { background-color: #ffffff; }


/* no background grid behind sections */
.sec-room { display: none !important; }


/* ================= Two colours, one look: Evergreen + Beige, Crimson only as a spark ================= */
:root, html, html[data-theme], html[data-mix] {
  --ink: #15171c; --paper: #ebebea; --cream: #ffffff; --muted: #4a4a48; --white: #ffffff;
  --accent: #f9f6f0; --hl: #f9f6f0; --aqua: #15171c; --live: #15171c; --deep: #15171c; --chip: #15171c;
  --btn: #15171c; --btn-ink: #ebebea; --hov: #361eae; --hov-ink: #ebebea; --num: #361eae; --cherry: #361eae; --teal: #15171c;
  --hero-a: #2a2a2a; --hero-b: #15171c; --hero-c: #0a0a0a; --hero-rgb: 4,42,43; --hero-hl: #ebebea; --hero-num: #ebebea;
}
body, .sec, .nav { background-color: #ebebea !important; }
/* every card/panel: lighter beige, Evergreen line */
.cx-out, .rt-card, .cb-card, .ed, .pr, .wm a, .fp, .ab-snap, .card a, .xw-window, .tools li, .sk, .cta-row, .ab-logo, .cb-c { background-color: #ffffff !important; }
.rt-b, .ks-learn { background: #f9f6f0 !important; }
/* text on Evergreen surfaces is always Beige */
.ks-band, .ks-band *, .fit-badge, .fp-when, .fp-res, .fp-press i, .ab-press i, .nav .idx b, .sec-top .idx b, .card-n { color: #ebebea !important; }
.ks-band { background: #15171c !important; }
.card-n { background: #15171c !important; border-color: #15171c !important; }
.fit-badge, .fp-when, .fp-res, .fp-press i, .ab-press i { background: #15171c !important; }
/* active pads, dots and bars: Evergreen; current = Crimson spark */
.cx-n[aria-selected="true"] .cx-pad { background: #15171c !important; box-shadow: 4px 7px 0 #15171c, 0 0 0 7px rgba(21,23,28,.15) !important; }
.cx-n[aria-selected="true"] .cx-pad i { background: #361eae !important; border-color: #ebebea !important; }
.cx-n.lit .cx-pad i { background: #361eae; }
.cx-flow { background: repeating-linear-gradient(90deg, #15171c 0 10px, #361eae 10px 20px) !important; background-size: 40px 6px !important; }
.rt-s[aria-selected="true"] .rt-dot { background: #361eae !important; border-color: #15171c !important; box-shadow: 0 0 0 6px rgba(21,23,28,.15) !important; }
.rt-s.done .rt-dot, .rt-fill { background: #15171c !important; border-color: #15171c !important; }
.fp-playhead, .fp-playhead::before { background: #361eae !important; }
.fp-bar { background: #f9f6f0 !important; } .fp-bar.on { background: #15171c !important; }
.fp-bar-press { background: repeating-linear-gradient(45deg, #ffffff 0 4px, rgba(21,23,28,.35) 4px 6px) !important; }
.fp-band { background: #f9f6f0 !important; } .fp-band + .fp-band { background: #f9f6f0 !important; }
.fp-band:hover { background: #15171c !important; } .fp-band:hover .fp-ag, .fp-band:hover .fp-acc { color: #ebebea !important; }
.fp-media { background: #15171c !important; box-shadow: inset 0 0 0 6px #2a2a2a !important; }
.fp-scene { background: #ffffff; }
/* key numbers only in Crimson */
.cx-big, .rt-stat b, .ab-stat b, .num-v, .cb-n { color: #361eae !important; }
.ab-t-stat { background: #f9f6f0 !important; }
/* work-card tints: all one beige so covers read as one family */
.card { --cc: #f9f6f0 !important; }
.card-img { background: #f9f6f0 !important; }
/* chapter pills match the hero's pill style */
.sec-top .idx { border-color: #15171c !important; background: #ffffff !important; }
.fit-c[aria-pressed="true"] { background: #15171c !important; color: #ebebea !important; }
/* hero: Evergreen, Beige type, Crimson only on the active tab line */
.kh .kw-big { color: #ebebea !important; }
.kh .kw-tabs button i { background: #361eae !important; }
.kh .kw-tabs button[aria-selected="true"] b, .kh .kw-link { color: #ebebea !important; }
.kh .dot-live { background: #361eae !important; box-shadow: none; }

/* ================= Pacific Blue + Classic Crimson, one type family ================= */
:root, html, html[data-theme], html[data-mix] {
  --ink: #15171c; --paper: #ebebea; --cream: #ffffff; --white: #ffffff; --muted: #4a4a48;
  --accent: #f9f6f0; --hl: #f9f6f0; --aqua: #361eae; --live: #361eae; --deep: #361eae; --chip: #361eae;
  --btn: #361eae; --btn-ink: #fff; --hov: #361eae; --hov-ink: #15171c; --num: #361eae; --cherry: #361eae; --teal: #361eae;
  --hero-a: #ebebea; --hero-b: #361eae; --hero-c: #f2f2f2; --hero-rgb: 83,162,190; --hero-hl: #361eae; --hero-num: #361eae;
}
body, .sec, .nav { background-color: #ebebea !important; }
/* hero: Pacific Blue, dark type, Crimson button and numbers; same fonts as the sections */
.kh { --k-paper: #15171c; --k-ink: #15171c; --k-panel: rgba(255,255,255,.92); --k-line: rgba(21,23,28,.18);
      --k-display: "Archivo Black", "Arial Black", sans-serif; --k-serif: "Archivo Black", "Arial Black", sans-serif; --k-mono: "Inter", system-ui, sans-serif; color: #15171c; }
.kh .hero-name { font-weight: 400 !important; text-transform: uppercase; font-size: min(10.5vw, 150px) !important; letter-spacing: -.035em !important; line-height: .9 !important; }
.kh .hero-name em { font-family: "Archivo Black", "Arial Black", sans-serif !important; font-style: normal !important; font-weight: 400 !important; letter-spacing: -.035em !important; color: #361eae; }
.kh .hero-name .nl + .nl { padding-left: .6em; margin-top: 0; }
.kh .kw-big, .kh .kw-title, .kh .kh-bname { font-family: "Archivo Black", "Arial Black", sans-serif !important; font-weight: 400 !important; }
.kh .mono, .kh .kh-cta, .kh .kw-what { font-family: "Inter", system-ui, sans-serif !important; font-weight: 700; }
.kh .kw-card { color: #15171c; border: 2px solid #15171c; box-shadow: 6px 6px 0 #15171c; }
.kh .kw-big { color: #361eae !important; }
.kh .kw-link, .kh .kw-tabs button[aria-selected="true"] b { color: #361eae !important; }
.kh .kw-tabs button i { background: #361eae !important; }
.kh .pill-solid { background: #361eae !important; border-color: #361eae !important; color: #fff !important; }
.kh .pill-solid:hover { background: #15171c !important; border-color: #15171c !important; color: #fff !important; }
.kh .pill-ghost { color: #15171c !important; border-color: #15171c !important; }
.kh .dot-live { background: #361eae !important; }
/* solid buttons Crimson, hover Pacific Blue */
.rt-btn:not(.rt-ghost), .fit-c[aria-pressed="true"], .fp-play, .ab-shuffle, .st-btn:not(.st-ghost), .ks-btn:not(.ks-ghost), .nav-ask, .pj-copy, .cta-main .cta-a { background: #361eae !important; border-color: #361eae !important; color: #fff !important; }
.rt-btn:hover, .fit-c:hover, .fp-play:hover, .ab-shuffle:hover, .st-btn:hover, .ks-btn:hover, .nav-ask:hover, .pj-copy:hover, .nav-menu:hover { background: #361eae !important; border-color: #15171c !important; color: #15171c !important; }
/* Pacific Blue surfaces take dark text */
.ks-band, .ks-band *, .fit-badge, .fp-when, .nav .idx b, .sec-top .idx b, .card-n, .fp-res, .fp-press i, .ab-press i { color: #15171c !important; }
.ks-band, .fit-badge, .fp-when, .nav .idx b, .sec-top .idx b, .card-n, .fp-res, .fp-press i, .ab-press i { background: #361eae !important; border-color: #15171c !important; }
.cx-n[aria-selected="true"] .cx-pad { background: #361eae !important; box-shadow: 4px 7px 0 #15171c, 0 0 0 7px rgba(54,30,174,.25) !important; }
.cx-flow { background: repeating-linear-gradient(90deg, #361eae 0 10px, #361eae 10px 20px) !important; background-size: 40px 6px !important; }
.rt-s.done .rt-dot, .rt-fill { background: #361eae !important; border-color: #15171c !important; }
.fp-bar { background: #f9f6f0 !important; } .fp-bar.on { background: #361eae !important; }
.fp-band:hover { background: #361eae !important; } .fp-band:hover .fp-ag, .fp-band:hover .fp-acc { color: #15171c !important; }
.fp-media { background: #15171c !important; box-shadow: inset 0 0 0 6px #2a2a2a !important; }
.card { --cc: #f9f6f0 !important; } .card-img { background: #f9f6f0 !important; }
.cx-out, .rt-card, .cb-card, .ed, .pr, .wm a, .fp, .ab-snap, .card a, .xw-window, .tools li, .sk, .cta-row, .ab-logo, .cb-c { background-color: #ffffff !important; }
.rt-b, .ks-learn, .ab-t-stat { background: #f9f6f0 !important; }

/* hero photo stays natural: no blue wash, a soft fade only at the edges and under the text */
.kh .kh-photo { filter: none !important; opacity: 1 !important; mix-blend-mode: normal !important; }
.kh .hero-scrim { background:
  linear-gradient(90deg, rgba(54,30,174,.95) 0%, rgba(54,30,174,.55) 26%, rgba(54,30,174,0) 42%, rgba(54,30,174,0) 66%, rgba(54,30,174,.7) 82%, rgba(54,30,174,.95) 100%),
  linear-gradient(180deg, rgba(54,30,174,0) 62%, rgba(54,30,174,.95) 100%) !important; }
@media (max-width: 820px) {
  .kh .hero-scrim { background: linear-gradient(180deg, rgba(54,30,174,.25) 0%, rgba(54,30,174,0) 18%, rgba(54,30,174,0) 62%, rgba(54,30,174,1) 100%) !important; }
}

.kh .kw-card { background: #ffffff !important; backdrop-filter: none !important; }
.kh .kw-chip { border-color: rgba(21,23,28,.3) !important; }


/* ================= Paper + Ink + Tangerine: one look from hero to footer ================= */
:root, html, html[data-theme], html[data-mix] {
  --ink: #15171c; --paper: #ebebea; --cream: #ffffff; --white: #ffffff; --muted: #4a4a48;
  --accent: #f9f6f0; --hl: #f9f6f0; --aqua: #361eae; --live: #361eae; --deep: #15171c; --chip: #15171c;
  --btn: #361eae; --btn-ink: #15171c; --hov: #15171c; --hov-ink: #ffffff; --num: #361eae; --cherry: #361eae; --teal: #361eae;
  --hero-a: #ebebea; --hero-b: #ebebea; --hero-c: #f2f2f2; --hero-rgb: 244,241,234; --hero-hl: #361eae; --hero-num: #361eae;
}
body, .sec, .nav { background-color: #ebebea !important; }
/* hero sits on the same paper as every section */
html .kh, .kh { background: #ebebea !important; --k-paper: #15171c; --k-ink: #15171c; --k-panel: #ffffff; --k-line: rgba(21,23,28,.18); color: #15171c; }
.kh .hero-scrim { background:
  linear-gradient(90deg, #ebebea 0%, rgba(235,235,234,.6) 24%, rgba(235,235,234,0) 40%, rgba(235,235,234,0) 66%, rgba(235,235,234,.75) 82%, #ebebea 100%),
  linear-gradient(180deg, rgba(235,235,234,0) 62%, #ebebea 100%) !important; }
@media (max-width: 820px) { .kh .hero-scrim { background: linear-gradient(180deg, rgba(235,235,234,0) 0%, rgba(235,235,234,0) 60%, #ebebea 100%) !important; } }
.kh .hero-name em { color: #361eae !important; }
.kh .kw-card { background: #ffffff !important; border: 2px solid #15171c; box-shadow: 6px 6px 0 #15171c; }
/* buttons: Tangerine with Ink text; hover Ink with Paper text */
.kh .pill-solid, .rt-btn:not(.rt-ghost), .fit-c[aria-pressed="true"], .fp-play, .ab-shuffle, .st-btn:not(.st-ghost), .ks-btn:not(.ks-ghost), .nav-ask, .pj-copy, .cta-main .cta-a {
  background: #361eae !important; border-color: #15171c !important; color: #15171c !important; }
.kh .pill-solid:hover, .rt-btn:hover, .fit-c:hover, .fp-play:hover, .ab-shuffle:hover, .st-btn:hover, .ks-btn:hover, .nav-ask:hover, .pj-copy:hover, .nav-menu:hover {
  background: #15171c !important; border-color: #15171c !important; color: #ffffff !important; }
/* accent surfaces: Tangerine with Ink text */
.ks-band, .ks-band *, .fit-badge, .fp-when, .card-n, .fp-res, .fp-press i, .ab-press i { color: #15171c !important; }
.nav .idx b, .sec-top .idx b { background: #15171c !important; color: #ffffff !important; }
.cx-n[aria-selected="true"] .cx-pad { background: #361eae !important; box-shadow: 4px 7px 0 #15171c, 0 0 0 7px rgba(54,30,174,.22) !important; }
.cx-n[aria-selected="true"] .cx-pad i { background: #15171c !important; }
.cx-flow { background: repeating-linear-gradient(90deg, #15171c 0 10px, #361eae 10px 20px) !important; background-size: 40px 6px !important; }
.fp-media { background: #15171c !important; box-shadow: inset 0 0 0 6px #2a2a2a !important; }
.fp-bar { background: #f9f6f0 !important; } .fp-bar.on { background: #361eae !important; }
.fp-band:hover { background: #361eae !important; }
.rt-b, .ks-learn, .ab-t-stat { background: #f9f6f0 !important; }
.card { --cc: #f9f6f0 !important; } .card-img { background: #f9f6f0 !important; }
.cx-out, .rt-card, .cb-card, .ed, .pr, .wm a, .fp, .ab-snap, .card a, .xw-window, .tools li, .sk, .cta-row, .ab-logo, .cb-c { background-color: #ffffff !important; }
/* key numbers: Ink with a Tangerine underline keeps them readable */
.cx-big, .rt-stat b, .ab-stat b, .num-v, .cb-n { color: #15171c !important; text-decoration: underline; text-decoration-color: #361eae; text-decoration-thickness: 6px; text-underline-offset: 4px; }
.kh .kw-big { color: #15171c !important; text-decoration: underline; text-decoration-color: #361eae; text-decoration-thickness: 8px; text-underline-offset: 6px; }

/* ================= Amber Gold / Blaze Orange / Black / Deep Sky Blue / White ================= */
:root, html, html[data-theme], html[data-mix] { --accent: #f9f6f0; --hl: #f9f6f0; --live: #361eae; --aqua: #361eae; }
/* Amber Gold: band, tags, highlight panels (black text) */
.ks-band, .fit-badge, .fp-when, .fp-res, .fp-press i, .ab-press i, .card-n { background: #361eae !important; color: #000 !important; }
.ks-band * { color: #000 !important; }
.rt-b, .ks-learn, .ab-t-stat, .card-img { background: #f9f6f0 !important; }
.card { --cc: #f9f6f0 !important; }
.fp-bar { background: #f9f6f0 !important; } .fp-bar.on { background: #361eae !important; }
.fp-band:hover { background: #361eae !important; }
/* Deep Sky Blue: only the live dots */
.rt-s[aria-selected="true"] .rt-dot { background: #361eae !important; border-color: #000 !important; box-shadow: 0 0 0 6px rgba(54,30,174,.25) !important; }
.fp-playhead, .fp-playhead::before { background: #361eae !important; }
.kh .dot-live { background: #361eae !important; }
/* the circuit: black and orange current */
.cx-flow { background: repeating-linear-gradient(90deg, #000 0 10px, #361eae 10px 20px) !important; background-size: 40px 6px !important; }

/* hero: lighter vignette, photo stays crisp */
.kh .kh-photo { filter: none !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%) !important; mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%) !important; }
.kh .hero-scrim { background:
  linear-gradient(90deg, rgba(235,235,234,.92) 0%, rgba(235,235,234,.35) 18%, rgba(235,235,234,0) 30%, rgba(235,235,234,0) 76%, rgba(235,235,234,.35) 88%, rgba(235,235,234,.9) 100%),
  linear-gradient(180deg, rgba(235,235,234,0) 80%, #ebebea 100%) !important; }
@media (max-width: 820px) { .kh .hero-scrim { background: linear-gradient(180deg, rgba(235,235,234,0) 0%, rgba(235,235,234,0) 78%, #ebebea 100%) !important; } }

/* ================= Back to the original yellow: paper #ebebea, ink #15171c, yellow #361eae ================= */
:root, html, html[data-theme], html[data-mix] {
  --ink: #15171c; --paper: #ebebea; --cream: #ffffff; --white: #ffffff; --muted: #4a4a48;
  --accent: #361eae; --hl: #f9f6f0; --live: #361eae; --aqua: #361eae; --deep: #15171c; --chip: #15171c;
  --btn: #361eae; --btn-ink: #15171c; --hov: #15171c; --hov-ink: #ebebea; --num: #15171c; --cherry: #15171c; --teal: #15171c;
}
body, .sec, .nav { background-color: #ebebea !important; }
.cx-out, .rt-card, .cb-card, .ed, .pr, .wm a, .fp, .ab-snap, .card a, .xw-window, .tools li, .sk, .cta-row, .ab-logo, .cb-c { background-color: #ffffff !important; }
.rt-b, .ks-learn, .ab-t-stat, .card-img { background: #361eae !important; }
.card { --cc: #361eae !important; }
.ks-band, .fit-badge, .fp-when, .fp-res, .fp-press i, .ab-press i, .card-n { background: #361eae !important; color: #15171c !important; }
/* numbers in ink with a yellow marker, like the original */
.cx-big, .rt-stat b, .ab-stat b, .num-v, .cb-n { color: #15171c !important; text-decoration: none !important; background: linear-gradient(transparent 58%, #361eae 58%, #361eae 92%, transparent 92%); }
/* the original dark hero, photo shown clean */
html .kh, .kh { background: radial-gradient(120% 90% at 48% 30%, #2a2c31 0%, #15171c 62%) !important;
  --k-paper: #ebebea; --k-ink: #15171c; --k-hl: #361eae; --k-panel: rgba(21,23,28,.78); --k-line: rgba(235,235,234,.18); color: #ebebea; }
.kh .kh-photo { filter: none !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%) !important; mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%) !important; }
.kh .hero-scrim { background: linear-gradient(180deg, rgba(21,23,28,0) 0%, rgba(21,23,28,0) 62%, rgba(21,23,28,.85) 100%) !important; }
@media (max-width: 820px) { .kh .hero-scrim { background: linear-gradient(180deg, rgba(21,23,28,0) 0%, rgba(21,23,28,0) 64%, #15171c 100%) !important; } }
.kh .hero-name, .kh .hero-name .nl { color: #ebebea !important; }
.kh .hero-name em { color: #361eae !important; }
.kh .kw-card { background: rgba(21,23,28,.78) !important; border: 1px solid rgba(235,235,234,.18) !important; box-shadow: none !important; color: #ebebea !important; backdrop-filter: blur(6px) !important; }
.kh .kw-big, .kh .kw-link, .kh .kw-tabs button[aria-selected="true"] b { color: #361eae !important; text-decoration: none !important; }
.kh .kw-tabs button i { background: #361eae !important; }
.kh .pill-solid { background: #361eae !important; border-color: #361eae !important; color: #15171c !important; }
.kh .pill-solid:hover { background: #ebebea !important; border-color: #ebebea !important; color: #15171c !important; }
.kh .pill-ghost { color: #ebebea !important; border-color: rgba(235,235,234,.45) !important; }
.kh .dot-live { background: #3ad07a !important; }

/* hero shade variables: dark again (they fed the old light haze) */
:root, html, html[data-theme], html[data-mix] { --hero-a: #2a2c31; --hero-b: #15171c; --hero-c: #15171c; --hero-rgb: 21,23,28; --hero-hl: #361eae; --hero-num: #361eae; }
html .kh, html[data-theme] .kh { background: radial-gradient(120% 90% at 48% 30%, #2a2c31 0%, #15171c 62%) !important; }
html .kh .hero-scrim, html[data-theme] .kh .hero-scrim { background: linear-gradient(180deg, rgba(21,23,28,0) 0%, rgba(21,23,28,0) 62%, rgba(21,23,28,.85) 100%) !important; }
@media (max-width: 820px) { html .kh .hero-scrim, html[data-theme] .kh .hero-scrim { background: linear-gradient(180deg, rgba(21,23,28,0) 0%, rgba(21,23,28,0) 64%, #15171c 100%) !important; } }
html .kh .pill-solid, html[data-theme] .kh .pill-solid { background: #361eae !important; border-color: #361eae !important; color: #15171c !important; }

/* ================= Yellow -> Crimson Red (#361eae); white text on red, pale-red panels ================= */
:root, html, html[data-theme], html[data-mix] { --accent: #361eae; --hl: #f9f6f0; --live: #361eae; --aqua: #361eae; --btn: #361eae; --btn-ink: #fff; --hero-hl: #361eae; --hero-num: #7fb2ff; }
/* solid red surfaces carry white text */
.kh .pill-solid, html .kh .pill-solid, html[data-theme] .kh .pill-solid, .rt-btn:not(.rt-ghost), .fit-c[aria-pressed="true"], .fp-play, .ab-shuffle, .st-btn:not(.st-ghost), .ks-btn:not(.ks-ghost), .nav-ask, .pj-copy, .cta-main .cta-a,
.ks-band, .ks-band *, .fit-badge, .fp-when, .fp-res, .fp-press i, .ab-press i, .card-n, .ev, .chip, .cov-chip .ev, .num-foot .ev, .menu-ask, .sec-top .idx b, .nav .idx b, .igp-reel {
  color: #fff !important; }
.kh .pill-solid, html .kh .pill-solid, html[data-theme] .kh .pill-solid { background: #361eae !important; border-color: #361eae !important; }
.sec-top .idx b, .nav .idx b { background: #15171c !important; }
/* panels and markers: pale red with dark text */
.rt-b, .ks-learn, .ab-t-stat, .card-img { background: #f9f6f0 !important; }
.card { --cc: #f9f6f0 !important; }
.cx-big, .rt-stat b, .ab-stat b, .num-v, .cb-n { background: linear-gradient(transparent 58%, #f9f6f0 58%, #f9f6f0 92%, transparent 92%) !important; }
.cx-n[aria-selected="true"] .cx-pad { background: #361eae !important; }
.cx-n[aria-selected="true"] .cx-pad i { background: #fff !important; border-color: #15171c !important; }
.fp-bar { background: #f9f6f0 !important; }
/* hero: SHABU and highlights in a red that reads on dark */
.kh .hero-name em { color: #5b9bff !important; }
.kh .kw-big, .kh .kw-link, .kh .kw-tabs button[aria-selected="true"] b { color: #7fb2ff !important; }
.kh .kw-tabs button i { background: #5b9bff !important; }
.kh .pill-solid:hover, html .kh .pill-solid:hover { background: #ebebea !important; border-color: #ebebea !important; color: #15171c !important; }

/* ================= Red #361eae main, Yellow #f9f6f0 ribbon and a few buttons ================= */
:root, html, html[data-theme], html[data-mix] { --accent: #361eae; --hl: #f9f6f0; --live: #361eae; --aqua: #361eae; --btn: #361eae; --btn-ink: #fff; --hero-hl: #361eae; --hero-num: #5b9bff; --yellow: #f9f6f0; }
/* faint marketing marks in the background (instead of grid lines) */
body, .sec { background-color: #ebebea !important; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><g fill='none' stroke='%2315171c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' opacity='.09'><path d='M20 40l14-14m0 0h-9m9 0v9'/><circle cx='150' cy='34' r='9'/><circle cx='150' cy='34' r='4'/><path d='M84 96h22l-8 10v8l-6 3v-11z'/><path d='M176 112v-12m7 12v-18m7 18v-8'/><path d='M30 160c8-10 16 6 24-4s14-2 18-8'/><path d='M120 176l6 6 12-12'/></g><g fill='%2315171c' opacity='.09' font-family='Arial,sans-serif' font-weight='700'><text x='60' y='52' font-size='14'>%25</text><text x='190' y='172' font-size='14'>%E2%82%B9</text><text x='100' y='150' font-size='11'>CTR</text><text x='16' y='112' font-size='11'>ROI</text></g></svg>") !important; background-size: 220px 220px !important; background-repeat: repeat !important; }
.nav { background-image: none !important; }
/* yellow: the ribbon, the secondary buttons, tags and markers */
.ks-band, .ks-band * { background-color: #f9f6f0 !important; color: #15171c !important; }
.ks-band { border-color: #15171c !important; }
.kh .pill-ghost { background: #f9f6f0 !important; border-color: #f9f6f0 !important; color: #15171c !important; }
.kh .pill-ghost:hover { background: #ebebea !important; border-color: #ebebea !important; }
.nav-ask, .menu-ask { background: #f9f6f0 !important; border-color: #15171c !important; color: #15171c !important; }
.nav-ask:hover { background: #361eae !important; color: #fff !important; }
.fit-badge, .fp-when, .card-n, .sec-top .idx b, .nav .idx b { background: #f9f6f0 !important; color: #15171c !important; }
.rt-b, .ks-learn, .ab-t-stat { background: #f9f6f0 !important; }
.cx-big, .rt-stat b, .ab-stat b, .num-v, .cb-n { color: #361eae !important; background: linear-gradient(transparent 60%, #f9f6f0 60%, #f9f6f0 90%, transparent 90%) !important; }
.cx-n[aria-selected="true"] .cx-pad { background: #f9f6f0 !important; }
.cx-n[aria-selected="true"] .cx-pad i { background: #361eae !important; border-color: #15171c !important; }
.cx-flow { background: repeating-linear-gradient(90deg, #361eae 0 10px, #f9f6f0 10px 20px) !important; background-size: 40px 6px !important; }
.rt-s[aria-selected="true"] .rt-dot { background: #361eae !important; box-shadow: 0 0 0 6px rgba(249,246,240,.5) !important; }
/* work cards: whitish beige behind covers */
.card { --cc: #f5efe3 !important; } .card-img { background: #f5efe3 !important; }
/* wins: covers sit on beige; the two ads fill their frames */
.xw-window { background: #f5efe3 !important; }
.xw-window.xw-fill img { object-fit: cover !important; object-position: 50% 22% !important; width: 100% !important; height: 100% !important; }
/* ================= Campaign board (cw-) ================= */
.cw { margin-top: clamp(36px, 5vw, 60px); padding: clamp(16px, 2.4vw, 26px); background: #fff; border: 2px solid #15171c; border-radius: 22px; box-shadow: 8px 8px 0 #15171c; }
.cw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.cw-k { margin: 0 0 6px; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #361eae; }
.cw-h { margin: 0; font: 400 clamp(20px, 2.4vw, 30px)/1.1 var(--display); text-transform: uppercase; }
.cw-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cw-tab { appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 16px; border: 2px solid #15171c; border-radius: 14px; background: #fff; color: #15171c; text-align: left; }
.cw-tab b { font: 400 16px/1 var(--display); text-transform: uppercase; }
.cw-tab small { font: 700 10.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.cw-tab[aria-selected="true"] { background: #361eae; border-color: #361eae; color: #fff; box-shadow: 4px 4px 0 #15171c; }
.cw-tab:hover:not([aria-selected="true"]) { background: #f9f6f0; }
.cw-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cw-stage { display: flex; flex-direction: column; gap: 12px; }
.cw-big { position: relative; aspect-ratio: 16 / 10; border: 2px solid #15171c; border-radius: 16px; overflow: hidden; background: #f5efe3; display: grid; place-items: center; }
.cw-big > img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.cw-big .cw-scene { width: 100%; position: relative; }
.cw-in { animation: ab-pop .35s ease; }
.cw-cap { display: flex; flex-direction: column; gap: 5px; }
.cw-cap b { font: 400 clamp(18px, 2vw, 24px)/1.15 var(--display); text-transform: uppercase; }
.cw-cap small { font: 600 14px/1.4 var(--sans); color: #4a4a48; }
.cw-acc { margin: 2px 0 0; font: 700 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #4a4a48; }
.cw-main { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: #f9f6f0; border: 2px solid #15171c; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.cw-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.cw-go { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #361eae; color: #fff; font: 700 13px/1 var(--sans); text-decoration: none; border: 2px solid #361eae; }
.cw-go:hover { background: #15171c; border-color: #15171c; }
.cw-role { appearance: none; cursor: pointer; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #f9f6f0; color: #15171c; font: 700 13px/1 var(--sans); border: 2px solid #15171c; }
.cw-role:hover { background: #fff; }
.cw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.cw-res { grid-column: 1 / -1; margin: 0 0 2px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: #15171c; color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .04em; }
.cw-card { appearance: none; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 10px; background: #fff; border: 2px solid #15171c; border-radius: 12px; text-align: left; color: #15171c; transition: transform .2s, box-shadow .2s; }
.cw-card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #15171c; }
.cw-card[aria-pressed="true"] { border-color: #361eae; box-shadow: 4px 4px 0 #361eae; }
.cw-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #f5efe3; }
.cw-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.cw-thumb .cw-scene b { display: none; }
.cw-t { font: 700 12.5px/1.25 var(--sans); padding: 0 2px; }
.cw-dot { position: absolute; top: 10px; right: 10px; padding: 3px 7px; border-radius: 999px; background: #f9f6f0; border: 1.5px solid #15171c; font: 700 9.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.cw-word { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #361eae; color: #fff; text-align: center; padding: 10px; }
.cw-word b { font: 400 clamp(20px, 3vw, 54px)/1 var(--display); letter-spacing: -.01em; }
.cw-thumb .cw-word b { font-size: clamp(16px, 2vw, 24px); }
.cw-word span { font: 700 13px/1.3 var(--sans); color: #f9f6f0; text-transform: uppercase; letter-spacing: .06em; }
.cw-card:nth-of-type(even) .cw-word { background: #f9f6f0; color: #15171c; }
@media (max-width: 820px) {
  .cw { box-shadow: 5px 5px 0 #15171c; border-radius: 18px; }
  .cw-body { grid-template-columns: 1fr; }
  .cw-tab { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cw-in { animation: none; } .cw-card { transition: none; } }

/* ===== No more spreadsheet rows: rules and contact links become cards ===== */
/* How I think: 2x2 rule cards */
.pr-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; border-top: 0 !important; }
.pr { border: 2px solid #15171c !important; border-radius: 18px !important; background: #fff !important; box-shadow: 5px 5px 0 #15171c !important; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pr:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #15171c !important; }
.pr.on { background: #f9f6f0 !important; }
.pr-b { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; padding: 18px 18px 16px !important; min-height: 150px !important; }
.pr-n { width: 40px !important; height: 40px !important; display: grid !important; place-items: center; border-radius: 50%; background: #f9f6f0; border: 2px solid #15171c; font: 400 15px/1 var(--display) !important; }
.pr-r { font-size: clamp(17px, 1.7vw, 22px) !important; line-height: 1.15 !important; }
.pr-hint { margin-top: auto !important; align-self: flex-end; }
.pr.on .pr-hint { background: #361eae !important; color: #fff; border-color: #361eae; }
.pr-back { margin: 0 !important; padding: 0 18px 18px !important; }
.sk-more { border-top: 0 !important; margin-top: 22px; }
.sk-more summary { padding: 12px 18px; border: 2px solid #15171c; border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 #15171c; }
/* Let's talk: contact links as tiles */
.cta { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; border-top: 0 !important; }
.cta > li:first-child { grid-column: 1 / -1; }
.cta-row { flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 4px !important; padding: 14px 16px !important; border: 2px solid #15171c !important; border-radius: 16px !important; background: #fff !important; box-shadow: 3px 3px 0 #15171c; transition: transform .2s, box-shadow .2s, background .2s; height: 100%; }
.cta-row span:first-child { font: 700 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #4a4a48; }
.cta-row span:last-child { text-align: left !important; color: #15171c !important; font: 700 16px/1.25 var(--sans) !important; }
.cta-row:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #15171c; background: #f9f6f0 !important; }
.cta-ai { background: #f9f6f0 !important; }
@media (max-width: 820px) { .pr-grid { grid-template-columns: 1fr !important; } .cta { grid-template-columns: 1fr !important; } .pr-b { min-height: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .pr, .cta-row { transition: none; } }

/* About collage: crown photo with tape, caption sticker, tilted logo stickers */
.ab-collage .ab-me { object-position: 50% 30% !important; border: 6px solid #fff !important; outline: 2px solid #15171c; border-radius: 6px !important; box-shadow: 8px 8px 0 #15171c !important; transform: rotate(-1.5deg); }
.ab-tape { position: absolute; z-index: 3; width: 22%; height: 5%; background: rgba(249,246,240,.85); border: 1px solid rgba(21,23,28,.25); pointer-events: none; }
.ab-tape-1 { left: 22%; top: 2.5%; transform: rotate(-12deg); }
.ab-tape-2 { right: 22%; top: 3.5%; transform: rotate(9deg); background: rgba(54,30,174,.82); }
.ab-crown-cap { position: absolute; z-index: 4; left: 50%; bottom: 3%; transform: translateX(-50%) rotate(-2deg); white-space: nowrap; padding: 7px 12px; background: #fff; border: 2px solid #15171c; border-radius: 999px; box-shadow: 3px 3px 0 #15171c; font: 700 12px/1 var(--sans); color: #15171c; }
.ab-l1 { transform: rotate(4deg); } .ab-l2 { transform: rotate(-3deg); } .ab-l3 { transform: rotate(3deg); } .ab-l4 { transform: rotate(-4deg); } .ab-l5 { transform: rotate(2deg); }
.ab-logo:hover, .ab-logo:focus-visible { transform: rotate(0) translateX(-4px) scale(1.06) !important; }
@media (max-width: 820px) { .ab-crown-cap { font-size: 10px; padding: 5px 9px; } .ab-collage .ab-me { border-width: 4px !important; box-shadow: 5px 5px 0 #15171c !important; } }

/* About: clean photo, seven bordered logo stickers scattered around it */
.ab-collage .ab-me { transform: none !important; border: 2px solid #15171c !important; outline: 0 !important; border-radius: 18px !important; box-shadow: 6px 6px 0 #15171c !important; left: 16% !important; top: 6% !important; width: 68% !important; height: 86% !important; }
.ab-tape, .ab-crown-cap { display: none !important; }
.ab-logo { width: 25% !important; height: 9.5% !important; padding: 5px 9px !important; background: #fff !important; border: 2px solid #15171c !important; border-radius: 12px !important; box-shadow: 4px 4px 0 #15171c !important; }
.ab-logo img { object-fit: contain !important; }
.ab-l4 { padding: 0 !important; } .ab-l4 img { object-fit: cover !important; }
.ab-l1 { left: 0; right: auto; top: 3%;  transform: rotate(-5deg) !important; }
.ab-l2 { left: 2%; right: auto; top: 36%; transform: rotate(4deg) !important; }
.ab-l6 { left: 0; right: auto; top: 68%; transform: rotate(-3deg) !important; }
.ab-l3 { right: 0; left: auto; top: 8%;  transform: rotate(5deg) !important; }
.ab-l4 { right: 2%; left: auto; top: 40%; transform: rotate(-4deg) !important; }
.ab-l5 { right: 0; left: auto; top: 72%; transform: rotate(3deg) !important; }
.ab-l7 { left: 38%; right: auto; top: auto; bottom: 0; transform: rotate(-2deg) !important; }
.ab-logo:hover, .ab-logo:focus-visible { transform: rotate(0) scale(1.08) !important; box-shadow: 6px 6px 0 #f9f6f0, 6px 6px 0 2px #15171c !important; z-index: 5; }
@media (max-width: 820px) { .ab-logo { padding: 3px 5px !important; border-radius: 9px !important; box-shadow: 3px 3px 0 #15171c !important; } }

/* campaign board: what worked + a cheeky lesson */
.cw-why { display: grid; gap: 8px; margin-top: 6px; }
.cw-why p { margin: 0; padding: 10px 12px; border: 2px solid #15171c; border-radius: 12px; font: 500 14px/1.45 var(--sans); color: #15171c; }
.cw-why span { display: block; margin-bottom: 4px; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.cw-wk { background: #fff; } .cw-wk span { color: #361eae; }
.cw-lol { background: #f9f6f0; transform: rotate(-.6deg); box-shadow: 3px 3px 0 #15171c; font-style: italic !important; }
.cw-lol span { font-style: normal; color: #15171c; }

/* ===== Primary #361EAE (violet), secondary #F9F6F0 (warm off-white) ===== */
:root, html, html[data-theme], html[data-mix] { --accent: #361eae; --btn: #361eae; --hero-hl: #5b9bff; --yellow: #f9f6f0; }
/* secondary surfaces need an outline so they read on the grey paper */
.ks-band { background: #f9f6f0 !important; border-top: 2px solid #15171c !important; border-bottom: 2px solid #15171c !important; }
.ks-band b { color: #361eae !important; }
.fit-badge, .fp-when, .card-n, .cw-dot, .cw-main, .pr-n, .sec-top .idx b, .nav .idx b { border: 1.5px solid #15171c !important; }
.sec-top .idx b, .nav .idx b { background: #361eae !important; color: #f9f6f0 !important; }
.rt-b, .ks-learn, .ab-t-stat, .cw-lol, .pr.on { background: #e3edff !important; }
.cx-big, .rt-stat b, .ab-stat b, .num-v, .cb-n { color: #361eae !important; background: linear-gradient(transparent 60%, #cfe0ff 60%, #cfe0ff 90%, transparent 90%) !important; }
.cx-flow { background: repeating-linear-gradient(90deg, #361eae 0 10px, #cfe0ff 10px 20px) !important; background-size: 40px 6px !important; }
.cx-n[aria-selected="true"] .cx-pad { background: #361eae !important; }
.cx-n[aria-selected="true"] .cx-pad i { background: #f9f6f0 !important; }
.rt-s[aria-selected="true"] .rt-dot { background: #361eae !important; box-shadow: 0 0 0 6px rgba(54,30,174,.2) !important; }
.cw-tab:hover:not([aria-selected="true"]), .cta-row:hover { background: #e3edff !important; }
.cw-word:nth-of-type(n) { background: #361eae; color: #f9f6f0; }
.cw-card:nth-of-type(even) .cw-word { background: #f9f6f0 !important; color: #361eae !important; }
.cw-word span { color: #cfe0ff; }
.cw-card:nth-of-type(even) .cw-word span { color: #361eae; }
/* hero: violet reads on dark in a lighter tint; main button solid violet */
.kh .hero-name em { color: #5b9bff !important; }
.kh .pill-solid, html .kh .pill-solid { background: #361eae !important; border-color: #361eae !important; color: #f9f6f0 !important; }
.kh .pill-ghost { background: #f9f6f0 !important; border-color: #f9f6f0 !important; color: #15171c !important; }
.nav-ask, .menu-ask { background: #f9f6f0 !important; color: #15171c !important; }
.nav-ask:hover { background: #361eae !important; color: #f9f6f0 !important; }

html body .kh .pill.pill-solid, html body .kh .pill-solid, html body .kh .pill-solid * { color: #f9f6f0 !important; }
html body .kh .pill.pill-solid:hover, html body .kh .pill.pill-solid:hover * { background: #f9f6f0 !important; color: #361eae !important; }


/* ================= Let's talk: a dial through Indian media (md-) ================= */
#contact .contact-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
.md { margin-top: 6px; }
.md-k { margin: 0 0 14px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #361eae; }
.md-line { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding-top: 10px; overflow-x: auto; scrollbar-width: none; }
.md-line::-webkit-scrollbar { display: none; }
.md-line::before { content: ''; position: absolute; left: 4%; right: 4%; top: 21px; height: 3px; background: #15171c; opacity: .2; border-radius: 3px; }
.md-era { appearance: none; position: relative; z-index: 1; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 2px 10px; background: none; border: 0; color: #15171c; text-align: center; min-width: 92px; }
.md-era i { width: 24px; height: 24px; border-radius: 50%; background: #f9f6f0; border: 3px solid #15171c; transition: transform .2s, background .2s; }
.md-era.done i { background: #cfe0ff; }
.md-era[aria-selected="true"] i { background: #361eae; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(54,30,174,.18); }
.md-era b { font: 400 14px/1 var(--display); }
.md-era span { font: 600 12px/1.2 var(--sans); color: #4a4a48; }
.md-era[aria-selected="true"] span { color: #361eae; font-weight: 700; }
.md-era:focus-visible { outline: 2px solid #15171c; outline-offset: 2px; border-radius: 8px; }
.md-stage { margin-top: 14px; }
.md-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; background: #fff; border: 2px solid #15171c; border-radius: 20px; box-shadow: 6px 6px 0 #15171c; overflow: hidden; animation: ab-pop .35s ease; }
.md-vis { min-height: 240px; display: grid; place-items: center; padding: 22px; background: #f9f6f0; border-right: 2px solid #15171c; }
.md-txt { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.md-y { margin: 0; font: 400 clamp(20px, 2.2vw, 28px)/1.1 var(--display); text-transform: uppercase; }
.md-tip { margin: 0; font: 500 15px/1.5 var(--sans); color: #4a4a48; }
.md-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.md-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid #15171c; background: #fff; color: #15171c; font: 700 14px/1 var(--sans); text-decoration: none; }
.md-btn:hover { background: #cfe0ff; }
.md-main { background: #361eae; border-color: #361eae; color: #f9f6f0; }
.md-main:hover { background: #15171c; border-color: #15171c; color: #f9f6f0; }
.md-note { font: 600 12px/1.3 var(--sans); color: #4a4a48; }
/* the media mockups */
.md-bub { display: block; max-width: 85%; padding: 10px 14px; border-radius: 16px; font: 600 14px/1.35 var(--sans); border: 2px solid #15171c; }
.md-wom, .md-ai { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.md-b1 { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.md-b2 { align-self: flex-end; background: #361eae; color: #f9f6f0; border-bottom-right-radius: 4px; }
.md-paper { width: 100%; max-width: 360px; padding: 14px 16px; background: #fbf8ef; border: 1px solid #15171c; box-shadow: 4px 4px 0 rgba(21,23,28,.25); transform: rotate(-1deg); font-family: Georgia, serif; }
.md-mast { margin: 0; text-align: center; font: 700 22px/1 Georgia, serif; border-bottom: 3px double #15171c; padding-bottom: 6px; }
.md-cls { margin: 8px 0 6px; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.md-ad { padding: 8px; border: 1px solid #15171c; font: 13px/1.4 Georgia, serif; }
.md-ad b { font-family: var(--display); font-weight: 400; }
.md-bill { position: relative; width: 100%; max-width: 380px; padding-bottom: 50px; }
.md-board { padding: 22px 18px; background: #361eae; color: #f9f6f0; border: 4px solid #15171c; text-align: center; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 8px 0 #15171c; }
.md-board b { font: 400 clamp(24px, 3vw, 38px)/1 var(--display); }
.md-board span { font: 700 13px/1 var(--sans); }
.md-leg { position: absolute; bottom: 0; left: 26%; width: 10px; height: 50px; background: #15171c; }
.md-leg2 { left: auto; right: 26%; }
.md-tv { position: relative; width: 100%; max-width: 340px; padding: 16px 40px 16px 16px; background: #6b4a2b; border: 3px solid #15171c; border-radius: 18px; }
.md-screen { aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(circle, #2e2a4f, #0d0b1f); color: #f9f6f0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 12px; }
.md-screen small { font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #5b9bff; }
.md-screen b { font: 400 22px/1 var(--display); }
.md-screen span { font: 600 12px/1.3 var(--sans); }
.md-knob { position: absolute; right: 12px; top: 30%; width: 16px; height: 16px; border-radius: 50%; background: #f9f6f0; border: 2px solid #15171c; box-shadow: 0 30px 0 -2px #f9f6f0, 0 30px 0 0 #15171c; }
.md-mail { width: 100%; max-width: 380px; background: #fff; border: 2px solid #15171c; border-radius: 10px; overflow: hidden; }
.md-mail p { margin: 0; padding: 8px 12px; border-bottom: 1px solid rgba(21,23,28,.15); font: 500 13px/1.3 var(--sans); }
.md-mail .md-body { min-height: 70px; border-bottom: 0; color: #4a4a48; }
.md-feed { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.md-post { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: #fff; border: 2px solid #15171c; border-radius: 14px; }
.md-post b { font: 700 14px/1 var(--sans); color: #361eae; }
.md-post span { font: 500 13px/1.35 var(--sans); }
@media (max-width: 820px) {
  .md-line { grid-template-columns: repeat(7, 92px); margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .md-card { grid-template-columns: 1fr; }
  .md-vis { border-right: 0; border-bottom: 2px solid #15171c; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .md-card { animation: none; } .md-era i { transition: none; } }

/* How I think, compact: rule tabs | proof panel; toolkit strip */
.ht { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ht-list { display: flex; flex-direction: column; gap: 8px; }
.ht-r { appearance: none; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; background: #fff; border: 2px solid #15171c; border-radius: 14px; text-align: left; color: #15171c; transition: transform .15s, box-shadow .15s, background .15s; }
.ht-r:hover { transform: translateX(3px); }
.ht-r[aria-selected="true"] { background: #361eae; border-color: #361eae; color: #f9f6f0; box-shadow: 4px 4px 0 #15171c; }
.ht-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f9f6f0; border: 2px solid #15171c; color: #15171c; font: 400 13px/1 var(--display); }
.ht-t { font: 400 clamp(14px, 1.3vw, 17px)/1.2 var(--display); text-transform: uppercase; }
.ht-proof { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #e3edff; border: 2px solid #15171c; border-radius: 16px; box-shadow: 5px 5px 0 #15171c; }
.ht-pk { margin: 0; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #361eae; }
.ht-pt { margin: 0; font: 600 clamp(15px, 1.3vw, 18px)/1.5 var(--sans); color: #15171c; }
.ht-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #361eae; color: #f9f6f0; font: 700 13px/1 var(--sans); text-decoration: none; }
.ht-go:hover { background: #15171c; }
.ht-tools { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ht-k { margin: 0; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #4a4a48; }
.ht-tools .tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ht-tools .tools li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1.5px solid #15171c; border-radius: 999px; background: #fff; font: 600 12.5px/1 var(--sans); }
.ht-tools .tools img { width: 16px; height: 16px; }
.ht-all summary { cursor: pointer; list-style: none; padding: 6px 12px; border: 1.5px dashed #15171c; border-radius: 999px; font: 700 12.5px/1 var(--sans); }
.ht-all summary::-webkit-details-marker { display: none; }
.ht-all[open] { flex-basis: 100%; }
.ht-all .sks { margin-top: 12px; }
@media (max-width: 820px) { .ht { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ht-r { transition: none; } }

/* About: fill the left column and balance it against the photo */
#about .about-grid { align-items: center !important; }
.cx { max-width: none !important; }
.cx-board { max-width: 620px; }
.cx-out { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: baseline; }
.cx-out .cx-big { grid-row: 1; }
.cx-out .cx-unit { grid-row: 1; }
.cx-out p, .cx-chips { grid-column: 1 / -1; }
.cx-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cx-chips li { padding: 6px 10px; border: 1.5px solid #15171c; border-radius: 999px; background: #e3edff; font: 700 12px/1 var(--sans); color: #15171c; }
.cx-hint { margin-top: 12px; }

/* ===== Let's talk, minimal: card with details (left) + compact channel picker (right) ===== */
#contact .contact-grid.lt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) !important; gap: clamp(20px, 4vw, 48px) !important; align-items: start; }
.lt-left .lede { margin-bottom: 18px; }
.vc { padding: 16px; background: #fff; border: 2px solid #15171c; border-radius: 18px; box-shadow: 5px 5px 0 #15171c; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.vc-top { display: flex; align-items: center; gap: 12px; }
.vc-mono { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #361eae; color: #f9f6f0; font: 400 15px/1 var(--display); }
.vc-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vc-name { font: 400 18px/1 var(--display); text-transform: uppercase; }
.vc-role { font: 600 12.5px/1.3 var(--sans); color: #4a4a48; }
.vc-open { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; border: 1.5px solid #15171c; font: 700 11px/1 var(--sans); }
.vc-open i { width: 7px; height: 7px; border-radius: 50%; background: #3ad07a; }
.vc-mail { appearance: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid #361eae; background: #361eae; color: #f9f6f0; font: 700 15px/1 var(--sans); text-align: left; }
.vc-mail span { overflow-wrap: anywhere; }
.vc-mail b { flex: none; padding: 5px 9px; border-radius: 999px; background: #f9f6f0; color: #361eae; font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.vc-mail:hover { background: #15171c; border-color: #15171c; }
.vc-links { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-links a { padding: 7px 11px; border: 1.5px solid #15171c; border-radius: 999px; background: #f9f6f0; color: #15171c; font: 700 12.5px/1 var(--sans); text-decoration: none; }
.vc-links a:hover { background: #e3edff; }
/* compact picker */
.md { margin-top: 0; }
.md-line { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 2px; padding-top: 6px; }
.md-era { min-width: 0; gap: 4px; padding-bottom: 6px; }
.md-era i { width: 18px; height: 18px; border-width: 2.5px; }
.md-line::before { top: 15px; }
.md-era b { font-size: 11.5px; }
.md-era span { font-size: 10.5px; }
.md-mini { grid-template-columns: 150px minmax(0, 1fr) !important; box-shadow: 4px 4px 0 #15171c; border-radius: 16px; }
.md-mini .md-vis { min-height: 0; padding: 12px; }
.md-mini .md-vis > * { transform: scale(.62); transform-origin: center; margin: -22% -30%; }
.md-mini .md-txt { padding: 14px 16px; gap: 6px; }
.md-mini .md-y { font-size: 17px; }
.md-mini .md-tip { font-size: 13.5px; line-height: 1.45; }
.md-mini .md-btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
@media (max-width: 900px) {
  #contact .contact-grid.lt { grid-template-columns: 1fr !important; }
  .md-line { grid-template-columns: repeat(7, 84px) !important; }
  .md-mini { grid-template-columns: 1fr !important; }
  .md-mini .md-vis { display: none; }
}

/* circuit: full-width row under the About grid — pads left, readout right */
#about .cx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(28px, 4vw, 44px); padding: 20px 22px; background: #fff; border: 2px solid #15171c; border-radius: 22px; box-shadow: 6px 6px 0 #15171c; }
#about .cx .cx-board { max-width: none; grid-column: 1; grid-row: 1; }
#about .cx .cx-out { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; box-shadow: none; border-width: 2px; }
#about .cx .cx-hint { grid-column: 1; grid-row: 2; margin-top: 8px; }
@media (max-width: 900px) {
  #about .cx { grid-template-columns: 1fr; row-gap: 14px; padding: 16px; }
  #about .cx .cx-out { grid-column: 1; grid-row: auto; }
  #about .cx .cx-hint { grid-row: auto; }
}
/* Let's talk preview: no squeezed mock, just a clean strip */
.md-mini { grid-template-columns: 1fr !important; }
.md-mini .md-vis { display: none !important; }

@media (max-width: 900px) { #contact .contact-grid.lt { grid-template-columns: minmax(0, 1fr) !important; } #contact .md, #contact .lt-left { min-width: 0; } #contact .md-line { overflow-x: auto; } }


/* ================= Let's talk: one channel frame (chx-) ================= */
.lt2-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px clamp(20px, 4vw, 48px); align-items: end; margin-bottom: clamp(20px, 3vw, 32px); }
.lt2-head .sec-h { margin: 0; font-size: clamp(48px, 7vw, 104px) !important; }
.lt2-head .lede { margin: 0 0 10px; max-width: 34em; }
.chx { border: 2px solid #15171c; border-radius: 22px; background: #fff; box-shadow: 8px 8px 0 #15171c; overflow: hidden; }
.chx-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 2px solid #15171c; overflow-x: auto; scrollbar-width: none; }
.chx-tabs::-webkit-scrollbar { display: none; }
.chx-t { appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border: 0; border-right: 1.5px solid rgba(21,23,28,.2); background: #f9f6f0; color: #15171c; text-align: left; min-width: 110px; transition: background .2s; }
.chx-t:last-child { border-right: 0; }
.chx-t b { font: 400 15px/1 var(--display); }
.chx-t span { font: 600 12px/1.2 var(--sans); color: #4a4a48; }
.chx-t:hover { background: #e3edff; }
.chx-t[aria-selected="true"] { background: #361eae; color: #f9f6f0; }
.chx-t[aria-selected="true"] span { color: #cfe0ff; }
.chx-t:focus-visible { outline: 2px solid #15171c; outline-offset: -4px; }
.chx-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 380px; }
.chx-snap { position: relative; overflow: hidden; border-right: 2px solid #15171c; display: grid; place-items: center; padding: 24px; }
.chx-in .sn { animation: chx-in .45s ease; }
@keyframes chx-in { from { opacity: 0; transform: scale(.97); } }
.chx-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: background .3s, color .3s; }
.cc-era { margin: 0; font: 400 clamp(20px, 2.2vw, 28px)/1.1 var(--display); text-transform: uppercase; }
.cc-tip { margin: 0; font: 500 14.5px/1.5 var(--sans); color: #4a4a48; }
.cc-id { margin-top: 6px; padding: 14px; border: 2px dashed currentColor; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; }
.cc-name { font: 400 22px/1 var(--display); text-transform: uppercase; }
.cc-role { font: 600 13px/1.35 var(--sans); }
.cc-mail { font: 700 14px/1.3 var(--sans); overflow-wrap: anywhere; }
.cc-line { margin: 0; font: 600 14.5px/1.45 var(--sans); }
.cc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.ch-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid #15171c; background: #fff; color: #15171c; font: 700 13.5px/1 var(--sans); text-decoration: none; }
.ch-btn:hover { background: #e3edff; }
.ch-main { background: #361eae; border-color: #361eae; color: #f9f6f0; }
.ch-main:hover { background: #15171c; border-color: #15171c; color: #f9f6f0; }
/* shared snapshot bits */
.sn { position: relative; width: 100%; max-width: 440px; }
.sn-bub { position: relative; display: inline-block; max-width: 80%; padding: 10px 14px; border-radius: 16px; font: 600 14px/1.35 var(--sans); border: 2px solid #3b2a1c; }
/* vintage eras: sepia paper + grain */
.chx[data-era="wom"] .chx-snap, .chx[data-era="news"] .chx-snap, .chx[data-era="bill"] .chx-snap, .chx[data-era="tv"] .chx-snap {
  background: #e9dcc0 radial-gradient(rgba(90,60,30,.18) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.chx[data-era="wom"] .chx-snap::after, .chx[data-era="news"] .chx-snap::after, .chx[data-era="bill"] .chx-snap::after, .chx[data-era="tv"] .chx-snap::after {
  content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(80,50,20,.45); pointer-events: none; }
.chx[data-era="wom"] .chx-card, .chx[data-era="news"] .chx-card, .chx[data-era="bill"] .chx-card, .chx[data-era="tv"] .chx-card { background: #f6eedb; color: #3b2a1c; }
.chx[data-era="wom"] .cc-name, .chx[data-era="news"] .cc-name, .chx[data-era="bill"] .cc-name, .chx[data-era="tv"] .cc-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; text-transform: none; letter-spacing: .01em; }
/* word of mouth */
.sn-wom { display: flex; flex-direction: column; gap: 10px; padding-top: 30px; }
.sn-sign { position: absolute; top: 0; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 4px 12px; background: #b5462a; color: #f6eedb; font: 700 13px/1 Georgia, serif; border: 2px solid #3b2a1c; }
.sn-ppl { width: 100%; height: auto; order: 2; }
.sn-b1 { align-self: flex-start; background: #f6eedb; color: #3b2a1c; }
.sn-b2 { align-self: flex-end; background: #3b2a1c; color: #f6eedb; }
/* newspaper */
.sn-news { max-width: 400px; padding: 14px 16px; background: #f3e9d2; color: #2b2116; border: 1px solid #3b2a1c; box-shadow: 4px 6px 0 rgba(59,42,28,.35); transform: rotate(-1.5deg); font-family: Georgia, serif; }
.np-mast { margin: 0; text-align: center; font: 700 30px/1 "Old English Text MT", Georgia, serif; }
.np-date { margin: 4px 0 8px; padding: 3px 0; text-align: center; border-top: 2px solid #2b2116; border-bottom: 2px solid #2b2116; font: italic 11px/1.2 Georgia, serif; }
.np-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.np-col { display: flex; flex-direction: column; gap: 5px; }
.np-col i { display: block; height: 5px; background: rgba(43,33,22,.45); border-radius: 2px; }
.np-h { font: 700 14px/1.15 Georgia, serif; margin-bottom: 4px; }
.np-ad { margin-top: 6px; padding: 7px; border: 2px solid #2b2116; display: flex; flex-direction: column; gap: 4px; }
.np-ad b { font: 700 11px/1 Georgia, serif; letter-spacing: .1em; }
.np-ad span { font: 11.5px/1.35 Georgia, serif; }
/* hoarding */
.sn-bill { padding-bottom: 80px; }
.hb { position: relative; z-index: 1; padding: 18px; background: linear-gradient(135deg, #e2a63b, #c9762f); border: 5px solid #3b2a1c; text-align: center; display: flex; flex-direction: column; gap: 4px; color: #2b1a0e; box-shadow: 0 6px 0 #3b2a1c; filter: saturate(.8); }
.hb b { font: 400 clamp(26px, 3.4vw, 42px)/1 var(--display); letter-spacing: .02em; }
.hb span { font: 700 18px/1 Georgia, serif; letter-spacing: .2em; }
.hb em { font: italic 13px/1.2 Georgia, serif; }
.hb-leg { position: absolute; z-index: 0; bottom: 20px; left: 25%; width: 10px; height: 70px; background: #3b2a1c; }
.hb-leg2 { left: auto; right: 25%; }
.hb-city { position: absolute; left: -24px; right: -24px; bottom: 0; width: calc(100% + 48px); height: 48px; }
/* television */
.sn-tv { display: grid; place-items: center; padding-top: 34px; }
.tv { display: grid; grid-template-columns: 1fr 52px; gap: 10px; width: 100%; max-width: 380px; padding: 14px; background: linear-gradient(#7a5233, #5a3b22); border: 3px solid #2b1a0e; border-radius: 18px; }
.tv-scr { aspect-ratio: 4 / 3; border-radius: 22px / 16px; background: radial-gradient(circle, #5d6a63, #1e2422); color: #e8efe9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 12px; filter: grayscale(.8) contrast(1.1); position: relative; overflow: hidden; }
.tv-scr::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px); }
.tv-scr small { font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.tv-scr b { font: 700 22px/1.1 Georgia, serif; }
.tv-scr span { font: 600 12px/1.3 var(--sans); }
.tv-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 8px; }
.tv-side i { width: 22px; height: 22px; border-radius: 50%; background: #e9dcc0; border: 2px solid #2b1a0e; }
.tv-side span { flex: 1; width: 30px; background: repeating-linear-gradient(0deg, #2b1a0e 0 2px, transparent 2px 5px); }
.tv-ant { position: absolute; top: 0; left: 50%; width: 80px; height: 36px; transform: translateX(-60%); border-left: 3px solid #2b1a0e; border-right: 3px solid #2b1a0e; clip-path: polygon(0 0, 8% 0, 50% 100%, 92% 0, 100% 0, 52% 100%, 48% 100%); }
/* email: 90s window */
.chx[data-era="mail"] .chx-snap { background: #008080; }
.chx[data-era="mail"] .chx-card { background: #f2f2f2; }
.w95 { width: 100%; max-width: 400px; background: #c0c0c0; border: 2px solid; border-color: #fff #404040 #404040 #fff; font: 13px/1.4 Tahoma, Verdana, sans-serif; color: #000; }
.w95-bar { display: flex; justify-content: space-between; padding: 4px 8px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; }
.w95 p { margin: 0; padding: 5px 10px; border-bottom: 1px solid #9a9a9a; }
.w95-body { margin: 8px 10px; min-height: 90px; padding: 8px; background: #fff; border: 2px inset #fff; }
.w95-cur { display: inline-block; width: 7px; height: 14px; background: #000; vertical-align: -2px; animation: w95-b 1s steps(1) infinite; }
@keyframes w95-b { 50% { opacity: 0; } }
.w95-send { margin: 0 10px 10px; display: inline-block; padding: 4px 18px; border: 2px solid; border-color: #fff #404040 #404040 #fff; font-weight: 700; }
/* social: modern phone */
.chx[data-era="soc"] .chx-snap { background: linear-gradient(135deg, #f9f6f0, #e3edff); }
.ph { width: 230px; padding: 12px; background: #fff; border: 3px solid #15171c; border-radius: 30px; box-shadow: 6px 6px 0 #15171c; display: flex; flex-direction: column; gap: 10px; }
.ph-top { font: 700 13px/1 var(--sans); text-align: center; padding-bottom: 6px; border-bottom: 1px solid rgba(21,23,28,.15); }
.ph-post { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 14px; background: #f9f6f0; border: 1.5px solid rgba(21,23,28,.15); }
.ph-post i { display: block; height: 80px; border-radius: 10px; background: linear-gradient(135deg, #361eae, #5b9bff); }
.ph-post b { font: 700 13px/1.25 var(--sans); }
.ph-post span { font: 500 11.5px/1.3 var(--sans); color: #4a4a48; }
.ph-li { background: #e3edff; }
/* AI: futuristic */
.chx[data-era="ai"] .chx-snap { background: radial-gradient(circle at 30% 20%, #3b2a9e 0%, #120c3a 55%, #07051a 100%); }
.chx[data-era="ai"] .chx-card { background: #0f0b2e; color: #e6efff; }
.chx[data-era="ai"] .cc-tip { color: #a9c8ff; }
.chx[data-era="ai"] .ch-btn:not(.ch-main) { background: transparent; color: #e6efff; border-color: #5b9bff; }
.chx[data-era="ai"] .ch-main { background: #5b9bff; border-color: #5b9bff; color: #0f0b2e; }
.sn-ai { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding-top: 80px; }
.ai-orb { position: absolute; top: 0; left: 50%; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff, #5b9bff 40%, #361eae 75%); box-shadow: 0 0 40px #5b9bff; animation: ai-p 2.4s ease-in-out infinite alternate; }
@keyframes ai-p { to { transform: scale(1.12); box-shadow: 0 0 70px #5b9bff; } }
.ai-q { align-self: flex-end; background: rgba(255,255,255,.08); color: #e6efff; border-color: #5b9bff; backdrop-filter: blur(4px); }
.ai-a { align-self: flex-start; background: linear-gradient(135deg, #361eae, #3d7bff); color: #fff; border-color: #5b9bff; }
@media (max-width: 900px) {
  .lt2-head { grid-template-columns: minmax(0, 1fr); }
  .chx-tabs { grid-template-columns: repeat(7, 110px); }
  .chx-body { grid-template-columns: minmax(0, 1fr); }
  .chx-snap { border-right: 0; border-bottom: 2px solid #15171c; min-height: 260px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .chx-in .sn, .ai-orb, .w95-cur { animation: none; } }
/* chx fixes */
.sn-ppl { max-height: 170px; }
.tv-ant { clip-path: none; border: 0; width: 0; height: 36px; transform: none; margin-left: -40px; }
.tv-ant::before, .tv-ant::after { content: ''; position: absolute; bottom: 0; left: 0; width: 3px; height: 40px; background: #2b1a0e; transform-origin: bottom center; border-radius: 2px; }
.tv-ant::before { transform: rotate(-28deg); }
.tv-ant::after { transform: rotate(28deg); }
@media (max-width: 900px) {
  .chx-tabs { grid-template-columns: repeat(7, 104px); position: relative; }
  .chx-t { min-width: 0; padding: 10px 12px; }
  .chx-t b { font-size: 13px; white-space: nowrap; }
  .chx-t span { font-size: 11px; }
}

/* ================= Blue pass: white on violet, sky-blue accents, light-blue ribbon ================= */
:root, html, html[data-theme], html[data-mix] { --hero-num: #5b9bff; --hero-hl: #5b9bff; }
.kh .hero-name em { color: #5b9bff !important; }
.kh .kw-big, .kh .kw-link, .kh .kw-tabs button[aria-selected="true"] b { color: #7fb2ff !important; }
.kh .kw-tabs button i { background: #5b9bff !important; }
/* every violet surface carries white text, including hover states */
.rt-btn:hover, .fit-c:hover, .fp-play:hover, .ab-shuffle:hover, .st-btn:hover, .ks-btn:hover, .nav-ask:hover, .pj-copy:hover, .nav-menu:hover,
.rt-btn:hover *, .fit-c:hover *, .st-btn:hover *, .ks-btn:hover *, .fit-c[aria-pressed="true"] *, .rt-arw:hover, .ch-next:hover .ch-next-a,
.fp-band:hover, .fp-band:hover *, .fp-band:hover .fp-ag, .fp-band:hover .fp-acc, .pr.on, .pr.on *, .pr.on .pr-hint,
.cb-seal, .cb-n, .cb-n *, .wm-switch [role="tab"][aria-selected="true"] b, .sk h3, .ask-link, .ask-chip[aria-pressed="true"], .ask-foot:hover,
.menu-list b, .menu-close, .now-tag, .num:first-child a, .num:first-child a *, .cov-pill, .cta-b, .pj-facts span, .pj-pn span, .idx b,
.ht-r[aria-selected="true"], .ht-r[aria-selected="true"] *, .chx-t[aria-selected="true"] b, .cw-tab[aria-selected="true"], .cw-tab[aria-selected="true"] * {
  color: #fff !important; }
.rt-btn:hover, .fit-c:hover, .fp-play:hover, .ab-shuffle:hover, .st-btn:hover, .ks-btn:hover, .pj-copy:hover { background: #15171c !important; border-color: #15171c !important; }
.chx-t[aria-selected="true"] span { color: #cfe0ff !important; }
::selection { background: #361eae; color: #fff; }
/* ribbon: light blue, ink text, numbers in violet */
.ks-band, .ks-band * { background-color: #d7e6ff !important; color: #15171c !important; }
.ks-band b { color: #361eae !important; }
/* AI era picks up the new blue */
.chx[data-era="ai"] .ch-main { color: #0f0b2e !important; }

/* ================= Tighter chapter breaks ================= */
.sec { padding-top: clamp(48px, 6vw, 76px) !important; padding-bottom: clamp(48px, 6vw, 76px) !important; }
.sec-top { margin-bottom: clamp(10px, 1.6vw, 18px) !important; }
.sec-h, .lt2-head .sec-h { font-size: clamp(40px, 5.4vw, 76px) !important; }
.sec-head { margin-bottom: clamp(20px, 3vw, 32px) !important; gap: 10px clamp(20px, 4vw, 48px) !important; }

/* ================= How I think: where it comes from (og-) ================= */
.og { margin: 0 0 clamp(18px, 2.4vw, 26px); padding: 18px; border: 2px solid #15171c; border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 #15171c; }
.og-k { margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #361eae; }
.og-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.og-t { appearance: none; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; border: 2px solid #15171c; background: #f9f6f0; color: #15171c; transition: transform .2s, background .2s; }
.og-t b { font: 400 clamp(17px, 1.7vw, 21px)/1.05 var(--display); text-transform: uppercase; }
.og-t span { font: 500 13.5px/1.4 var(--sans); color: #4a4a48; }
.og-t:hover { transform: translateY(-2px); background: #e3edff; }
.og-t[aria-pressed="true"] { background: #361eae; border-color: #361eae; box-shadow: 4px 4px 0 #15171c; }
.og-t[aria-pressed="true"] b, .og-t[aria-pressed="true"] span { color: #fff !important; }
.og-t:focus-visible { outline: 3px solid #5b9bff; outline-offset: 2px; }
.og-plus { align-self: center; font: 400 26px/1 var(--display); color: #361eae; }
.og-read { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #e3edff; font: 500 15px/1.5 var(--sans); color: #15171c; }
.og-read b { font-weight: 800; color: #361eae; margin-right: 4px; }
.og-bridge { margin: 12px 0 0; font: 700 14px/1.3 var(--sans); color: #15171c; }
.og-bridge span { color: #361eae; }
@media (max-width: 760px) {
  .og-row { grid-template-columns: minmax(0, 1fr); }
  .og-plus { justify-self: center; font-size: 20px; }
}@media (max-width: 760px) {
  .og { padding: 14px; }
  .og-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .og-plus, .og-t span { display: none; }
  .og-t { padding: 10px 8px; justify-content: center; text-align: center; }
  .og-t b { font-size: 13px; }
}
/* chapter breaks, one notch smaller again */
.sec { padding-top: clamp(36px, 4.4vw, 56px) !important; padding-bottom: clamp(36px, 4.4vw, 56px) !important; }
.sec-h, .lt2-head .sec-h { font-size: clamp(34px, 4.4vw, 60px) !important; }
.sec-top { margin-bottom: 8px !important; }
.sec-head { margin-bottom: clamp(14px, 2vw, 22px) !important; align-items: end !important; }
.sec-head .sec-intro { margin-bottom: 4px; }
/* chapter heads: no dead air between chip, title, intro and content */
.sec-head .sec-h { margin-top: 0 !important; }
.sec-head { align-items: end !important; }
.sec-head .sec-intro { max-width: 36em; justify-self: end; padding-bottom: 6px !important; }
#journey .rt { margin-top: 12px !important; }
#work .fit { margin-top: 10px !important; margin-bottom: 18px !important; }
#work .cards { margin-top: 0 !important; }
@media (max-width: 760px) {
  .sec { padding-top: 32px !important; padding-bottom: 32px !important; }
  .sec-head { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; margin-bottom: 14px !important; }
  .sec-head .sec-intro { justify-self: start; font-size: 15px; }
  .sec-h, .lt2-head .sec-h { font-size: clamp(32px, 10vw, 44px) !important; }
  #work .fit { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 760px) {
  #journey .rt { margin-top: 0 !important; }
  #journey .rt-arrows { margin-top: -6px !important; margin-bottom: 0 !important; }
}

/* ================= Wider desktop column: use the side space ================= */
.sec-in { max-width: 1560px !important; padding-left: clamp(16px, 4vw, 64px) !important; padding-right: clamp(16px, 4vw, 64px) !important; }
.foot > * { max-width: 1560px; }

/* ================= Campaign board: coloured panel, visual beside story, thumbs as a strip ================= */
.cw { background: #dfe9ff radial-gradient(rgba(54,30,174,.13) 1.2px, transparent 1.6px) 0 0 / 14px 14px !important; }
.cw-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important; grid-template-areas: "big cap" "grid grid"; gap: 16px !important; align-items: stretch !important; }
.cw-stage { display: contents !important; }
.cw-big { grid-area: big; background: #fff !important; box-shadow: 5px 5px 0 #15171c; aspect-ratio: auto !important; min-height: 320px; }
.cw-big .cw-scene { height: 100%; }
.cw-cap { grid-area: cap; padding: 18px; background: #fff; border: 2px solid #15171c; border-radius: 16px; box-shadow: 5px 5px 0 #15171c; gap: 8px !important; }
.cw-cap .cw-act { margin-top: auto; padding-top: 8px; }
.cw-why p.cw-wk { background: #e3edff; }
.cw-grid { grid-area: grid; display: flex !important; gap: 12px !important; align-items: stretch; overflow-x: auto; padding: 4px 6px 10px 2px; scrollbar-width: thin; min-width: 0; }
.cw-res { flex: none; align-self: center; margin: 0 4px 0 0 !important; background: #361eae !important; color: #fff !important; padding: 10px 14px !important; border-radius: 14px !important; max-width: 170px; line-height: 1.25 !important; white-space: normal; }
.cw-card { flex: 0 0 clamp(150px, 15vw, 200px); }
@media (max-width: 760px) {
  .cw-body { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "big" "grid" "cap"; }
  .cw-big { min-height: 210px; }
  .cw-card { flex-basis: 140px; }
  .cw-res { max-width: 120px; font-size: 11px !important; }
}
.sec-in { max-width: 1760px !important; }
.foot > * { max-width: 1760px; }
/* board v2: visual | story | thumbs column on desktop, so no empty strip */
.cw-big { aspect-ratio: 16 / 10 !important; min-height: 0 !important; }
@media (min-width: 1101px) {
  .cw-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) clamp(170px, 14vw, 230px) !important; grid-template-areas: "big cap grid" !important; }
  .cw-grid { flex-direction: column; overflow-x: hidden; overflow-y: auto; contain: size; padding: 2px 8px 8px 2px; }
  .cw-res { align-self: stretch; max-width: none; margin: 0 !important; }
  .cw-card { flex: none; }
}
.cw-big { width: 100%; align-self: start !important; }
.cw-big .cw-scene { height: auto !important; }
@media (max-width: 760px) { .sec-in { padding-left: 18px !important; padding-right: 18px !important; } }
@media (max-width: 760px) { .sec-in { padding-left: max(18px, 4.5vw) !important; padding-right: max(18px, 4.5vw) !important; } }

/* ================= Off duty: watchlist spans the row, tighter heads ================= */
.xa-last .xa-watch { grid-column: 1 / -1 !important; width: auto !important; display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; align-items: center; padding: 18px 22px; background: #dfe9ff; border: 2px solid #15171c; border-radius: 20px; box-shadow: 6px 6px 0 #15171c; }
.xa-last .xa-watch > :first-child { margin: 0 !important; white-space: nowrap; }
.xa-last .xa-watch ul { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.xa-last .xa-watch li, .xa-last .xa-watch span, .xa-last .xa-watch a { background: #fff; }
@media (max-width: 760px) { .xa-last .xa-watch { grid-template-columns: minmax(0, 1fr); padding: 14px; } }
.xa-head { align-items: center !important; height: auto !important; margin-top: 28px !important; }
.xa-head > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.xa-head + .xa-intro { margin-top: 6px !important; margin-bottom: 18px !important; }

/* ================= Wins: 4 across on desktop so no photo is shown bigger than its source ================= */
@media (min-width: 1100px) {
  .xw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: clamp(20px, 2vw, 32px) !important; row-gap: clamp(28px, 3vw, 44px) !important; }
  .xw, .xw:nth-child(1), .xw:nth-child(2) { grid-column: span 1 !important; }
  .xw h3, .xw .xw-t { font-size: clamp(17px, 1.4vw, 22px) !important; }
}
.xw-window.xw-fill img[src*="ad-smartclean"] { object-position: 60% 50% !important; }
.xw-window.xw-fill img[src*="masters-union-hall"] { object-position: 35% 55% !important; }
/* reels row: 4 across with a follow card, reels never shown larger than their source */
@media (min-width: 1100px) { .xa-grid:has(.xa-cta) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.xa-cta { display: flex; }
.xa-cta-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 22px; text-align: center; text-decoration: none; color: #fff; background: #361eae radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.6px) 0 0 / 14px 14px; border: 3px solid #15171c; border-radius: 22px; box-shadow: 9px 9px 0 #15171c; transition: transform .25s; min-height: 320px; }
.xa-cta-in:hover { transform: translate(-3px, -3px); }
.xa-cta-av { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; padding: 3px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.xa-cta-in b { font: 400 22px/1.1 var(--display); color: #fff; }
.xa-cta-in span { font: 500 14.5px/1.45 var(--sans); color: #e6efff; max-width: 22ch; }
.xa-cta-in em { font: 700 14px/1 var(--sans); font-style: normal; padding: 12px 18px; border-radius: 999px; background: #fff; color: #15171c; border: 2px solid #15171c; }
.xa-cta { align-self: start; }
.xa-cta-in { aspect-ratio: 11 / 18; min-height: 0; }
@media (max-width: 1099px) { .xa-cta-in { aspect-ratio: auto; min-height: 300px; } }
/* board v3: every creative visible at once on desktop: visual | story on top, all ads in a wrapping grid below */
@media (min-width: 761px) {
  .cw-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important; grid-template-areas: "big cap" "grid grid" !important; }
  .cw-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); flex-direction: row; overflow: visible !important; contain: none !important; padding: 2px 8px 8px 2px; }
  .cw-res { grid-column: 1 / -1; justify-self: start; align-self: start; max-width: none !important; }
  .cw-card { flex: none; }
  .cw-thumb { aspect-ratio: 4 / 3 !important; background: #fff !important; }
  .cw-thumb > img { object-fit: contain !important; }
}
/* board: everything sits straight */
.cw-lol { transform: none !important; }
.cw-card:hover { transform: translateY(-2px) !important; }
/* About: what pulled me from circuits to customers */
.cx-why { margin-top: 16px; max-width: 34em; padding: 14px 16px 14px 18px; border-left: 4px solid #361eae; background: rgba(255,255,255,.7); border-radius: 0 14px 14px 0; display: grid; gap: 8px; }
.cx-why p { margin: 0; font: 500 15px/1.55 var(--sans); color: #15171c; }
.cx-why .cx-why-k { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #361eae; }
.cx-why .cx-why-q { font-weight: 700; }
@media (max-width: 760px) { .cx-why p { font-size: 14.5px; } }

/* ================= Board v4: one stage, the picked ad in the middle and four whole ads around it ================= */
.cw-body { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) !important; grid-template-areas: "big cap" !important; }
.cw-grid { display: none !important; }
.cw-big { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; aspect-ratio: auto !important; min-height: 0 !important; place-items: stretch; }
.cw-col { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.cw-center { position: relative; min-width: 0; display: grid; place-items: center; align-self: center; }
.cw-center > img { position: static !important; inset: auto !important; display: block; width: 100% !important; height: auto !important; max-height: 470px; object-fit: contain !important; border-radius: 10px; }
.cw-center .cw-scene { width: 100%; }
.cw-center .cw-word, .cw-side-v .cw-word { aspect-ratio: 4 / 3; border-radius: 10px; }
.cw-count { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 999px; background: #15171c; color: #fff; font: 700 11px/1 var(--sans); }
.cw-side { appearance: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 6px; background: #fff; border: 2px solid #15171c; border-radius: 12px; box-shadow: 3px 3px 0 #15171c; text-align: left; color: #15171c; transition: transform .2s, box-shadow .2s; }
.cw-side:hover, .cw-side:focus-visible { transform: translateY(-2px); box-shadow: 4px 5px 0 #361eae; outline: none; }
.cw-side-v { display: block; border-radius: 8px; overflow: hidden; background: #fff; }
.cw-side-v > img { display: block; width: 100%; height: auto; object-fit: contain; }
.cw-side-v .cw-scene b { display: none; }
.cw-side-t { font: 700 11.5px/1.25 var(--sans); padding: 0 2px; }
.cw-resc { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #361eae; color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .02em; }
@media (max-width: 1100px) { .cw-body { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "big" "cap" !important; } }
@media (max-width: 600px) {
  .cw-big { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "c c" "l r"; }
  .cw-center { grid-area: c; }
  .cw-col:first-child { grid-area: l; } .cw-col:last-child { grid-area: r; }
}
/* board v4.1: bigger stage and bigger side ads */
@media (min-width: 1101px) { .cw-body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important; } }
.cw-big { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; padding: 14px; }
.cw-col { gap: 14px; }
.cw-side-t { font-size: 12.5px; }
.cw-center > img[src*="/logos/"], .cw-side-v > img[src*="/logos/"] { padding: 18% 14%; background: #fff; aspect-ratio: 4 / 3; }
@media (max-width: 600px) {
  .cw-big { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-areas: "c c" "l r"; padding: 10px; gap: 10px; }
  .cw-center { grid-area: c; }
  .cw-col:first-child { grid-area: l; } .cw-col:last-child { grid-area: r; }
}

/* ================= Journey: a train that rides the route ================= */
.rt-stops { padding-top: 46px; }
.rt-line { top: 61px !important; }
.rt-train { appearance: none; position: absolute; z-index: 3; left: 0; top: 0; width: 58px; height: 38px; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, calc(-100% - 2px)); transition: left .7s cubic-bezier(.45, .05, .25, 1); }
.rt-train svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(2px 2px 0 rgba(21,23,28,.25)); }
.rt-train:hover svg, .rt-train:focus-visible svg { transform: translateY(-2px); }
.rt-train:focus-visible { outline: 3px solid #5b9bff; outline-offset: 4px; border-radius: 8px; }
.rt-chug svg { animation: rt-chug .7s ease-in-out; }
@keyframes rt-chug { 25% { transform: translateY(-2px) rotate(-1deg); } 50% { transform: translateY(0); } 75% { transform: translateY(-1px) rotate(1deg); } }
.rt-smoke { animation: rt-puff 1.6s ease-out infinite; transform-origin: 14px 0; }
@keyframes rt-puff { from { opacity: .9; transform: translateY(0) scale(.8); } to { opacity: 0; transform: translateY(-8px) scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .rt-train { transition: none; } .rt-chug svg, .rt-smoke { animation: none; } }
.rt-train { transform: translate(-50%, calc(-100% - 8px)); }

/* ================= Where I studied: every card carries a lesson and highlights ================= */
.ed-grid { align-items: stretch !important; }
.ed { display: flex !important; flex-direction: column; }
.ed .ed-t { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ed-main .ed-ph { aspect-ratio: 2 / 1 !important; }
.ed-took { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #e3edff; border: 1.5px solid rgba(21,23,28,.15); font: 500 14px/1.5 var(--sans); color: #15171c; }
.ed-took span { display: block; margin-bottom: 3px; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #361eae; }
.ed-did { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ed-did li { padding: 5px 10px; border-radius: 999px; border: 1.5px solid #15171c; background: #fff; font: 700 12px/1.2 var(--sans); }
.ed-main .ed-did li:first-child { background: #361eae; border-color: #361eae; color: #fff; }
@media (max-width: 760px) {
  .ed-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .ed:not(.ed-main) .ed-t { padding: 14px !important; }
  .ed:not(.ed-main) h3 { font-size: 16px !important; }
  .ed:not(.ed-main) .ed-d { font-size: 13px !important; }
  .ed:not(.ed-main) .ed-l { display: block !important; }
  .ed:not(.ed-main) .ed-ph { aspect-ratio: 2 / 1; }
}

/* ================= Board story card: bigger type, role points, no dead space ================= */
.cw-cap { padding: clamp(18px, 1.8vw, 26px) !important; gap: 10px !important; }
.cw-cap > b { font-size: clamp(22px, 2vw, 30px) !important; line-height: 1.05 !important; }
.cw-cap > small { font-size: 15px !important; }
.cw-why { gap: 10px !important; }
.cw-why p { font-size: clamp(15px, 1.05vw, 16.5px) !important; line-height: 1.5 !important; padding: 12px 14px !important; }
.cw-why span { font-size: 11px !important; }
.cw-pts { margin-top: 4px; }
.cw-pts-k { margin: 0 0 8px; font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #361eae; }
.cw-pts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cw-pts li { position: relative; padding-left: 26px; font: 500 clamp(14.5px, 1vw, 15.5px)/1.45 var(--sans); color: #15171c; }
.cw-pts li::before { content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 5px; background: #361eae; box-shadow: inset 0 0 0 4px #e3edff; border: 1.5px solid #15171c; }
.cw-acc { font-size: 11.5px !important; }
.cw-go, .cw-role { min-height: 44px !important; font-size: 14px !important; }
.cw-body { align-items: stretch !important; }
.cw-big { align-self: stretch !important; align-content: center; align-items: center; }
.cw-col { gap: 16px; }
/* mid widths: stage full width, story card below in two columns */
@media (min-width: 761px) and (max-width: 1500px) {
  .cw-body { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "big" "cap" !important; }
  .cw-big { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .cw-cap { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-content: start; grid-auto-flow: row dense; }
  .cw-cap > * { grid-column: 1; }
  .cw-cap > .cw-resc, .cw-cap > .cw-main { justify-self: start; }
  .cw-cap > .cw-pts { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
  .cw-cap > .cw-acc { grid-column: 2; grid-row: 6; }
  .cw-cap > .cw-act { grid-column: 2; grid-row: 7; margin-top: 0; }
}
/* wide screens: same stacked board, ads capped so nothing is blown up past its source */
@media (min-width: 1501px) {
  .cw-body { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "big" "cap" !important; }
  .cw-big { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); padding-left: max(14px, calc((100% - 1250px) / 2)); padding-right: max(14px, calc((100% - 1250px) / 2)); }
  .cw-cap { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; align-content: start; grid-auto-flow: row dense; }
  .cw-cap > * { grid-column: 1; }
  .cw-cap > .cw-resc, .cw-cap > .cw-main { justify-self: start; }
  .cw-cap > .cw-pts { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
  .cw-cap > .cw-acc { grid-column: 2; grid-row: 6; }
  .cw-cap > .cw-act { grid-column: 2; grid-row: 7; margin-top: 0; }
}
/* side ads are static now */
.cw-side { margin: 0; cursor: default; }
.cw-side:hover { transform: none; box-shadow: 3px 3px 0 #15171c; }
/* selected rule tab: its number stays readable (violet on white) */
.ht-r[aria-selected="true"] .ht-n { background: #fff !important; border-color: #fff !important; color: #361eae !important; }
/* follow card: Instagram logo instead of a face */
.xa-cta-ig { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: #fff; border: 3px solid #15171c; box-shadow: 4px 4px 0 #15171c; }
.xa-cta-ig img { width: 48px; height: 48px; display: block; }

/* ================= About: text column fills its half on desktop ================= */
@media (min-width: 1101px) {
  #about .about-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr) !important; gap: clamp(28px, 3vw, 56px) !important; }
  #about .about-text .sec-h { font-size: clamp(48px, 5vw, 88px) !important; }
  #about .cx-hook { max-width: none !important; font-size: clamp(19px, 1.5vw, 24px) !important; }
  #about .cx-why { max-width: none !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; padding: 18px 22px 18px 24px; }
  #about .cx-why .cx-why-k { grid-column: 1 / -1; }
  #about .cx-why p { font-size: clamp(15px, 1.1vw, 17px) !important; }
  #about .cx-why .cx-why-q { align-self: start; padding-left: 22px; border-left: 2px dashed rgba(54,30,174,.35); }
}

/* ================= Story panel: swipe + double-tap ================= */
.st-panel { touch-action: pan-y; }
.st-body { transition: transform .2s ease; -webkit-user-select: none; user-select: none; }
.st-hint { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 0; font: 600 12px/1.3 var(--sans); color: #6b6a66; }
.st-hint b { font-weight: 800; color: #361eae; }
.st-dc { display: none; }
@media (hover: hover) and (pointer: fine) { .st-dt { display: none; } .st-dc { display: inline; } }
.st-end { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 600px) { .st-hint { font-size: 11px; } .st-full { order: 2; } }
.st-hint { margin: 0 0 10px !important; padding: 8px 12px; border-radius: 10px; background: #e3edff; color: #15171c !important; }
.st-toplink { margin-left: 10px; color: #361eae; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.st-toplink:hover { color: #15171c; }

/* ================= Board v5: compact on desktop. Ads at fixed, sharp sizes beside the story card ================= */
@media (min-width: 1101px) {
  .cw-body { grid-template-columns: auto minmax(0, 1fr) !important; grid-template-areas: "big cap" !important; gap: 18px !important; align-items: stretch !important; }
  .cw-big { grid-template-columns: 168px 290px 168px !important; gap: 12px !important; padding: 12px !important; padding-left: 12px !important; padding-right: 12px !important; align-content: center; }
  .cw-col { gap: 12px !important; }
  .cw-center > img, .cw-center .cw-scene { max-height: 330px; width: 100% !important; }
  .cw-side-t { font-size: 11.5px !important; }
  .cw-cap { display: flex !important; flex-direction: column; gap: 8px !important; padding: 18px !important; }
  .cw-cap > b { font-size: clamp(20px, 1.6vw, 26px) !important; }
  .cw-cap .cw-why p { font-size: 14.5px !important; padding: 10px 12px !important; }
  .cw-pts li { font-size: 14px !important; }
  .cw-cap .cw-act { margin-top: auto; }
}
@media (min-width: 1600px) {
  .cw-big { grid-template-columns: 190px 330px 190px !important; }
  .cw-center > img, .cw-center .cw-scene { max-height: 370px; }
}
@media (min-width: 1101px) and (max-width: 1599px) {
  .cw { padding: 16px 18px !important; margin-top: 28px !important; }
  .cw-head { margin-bottom: 12px !important; }
  .cw-cap { padding: 14px 16px !important; gap: 6px !important; }
  .cw-cap > b { font-size: 20px !important; }
  .cw-cap > small { font-size: 13.5px !important; }
  .cw-cap .cw-why { gap: 6px !important; margin-top: 2px !important; }
  .cw-cap .cw-why p { font-size: 13.5px !important; line-height: 1.42 !important; padding: 8px 10px !important; }
  .cw-pts-k { margin-bottom: 4px !important; }
  .cw-pts ul { gap: 4px !important; }
  .cw-pts li { font-size: 13px !important; line-height: 1.38 !important; }
  .cw-pts li:nth-child(n+3) { display: none; }
  .cw-go, .cw-role { min-height: 38px !important; font-size: 13px !important; }
  .cw-big { grid-template-columns: 150px 260px 150px !important; }
}
.xw-window.xw-fill img[src*="dbs-savings-7pct"] { object-fit: contain !important; background: #fff; padding: 4% 8%; }

/* ================= Design audit fixes ================= */
/* "7 certs" pill: label was white on a light pill */
.cb-n { background: #361eae !important; color: #fff !important; border-color: #15171c !important; }
.cb-n small { color: #fff !important; opacity: .9; font-size: 11px !important; font-weight: 700; }
/* logo stickers around the About photo show the whole logo */
.ab-logo img { object-fit: contain !important; background: #fff; }
/* phones: no label smaller than 11px */
@media (max-width: 600px) { .idx b, .idx span, .ed-y { font-size: 11px !important; } }
@media (max-width: 600px) { .idx, .xa-note b { font-size: 11px !important; } }

/* ================= Board v6: main ad on top, the other four in one row below; no dead space ================= */
@media (min-width: 601px) {
  .cw-big { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-template-areas: none !important; align-content: center !important; align-items: start !important; gap: 12px !important; padding: 14px !important; }
  .cw-col { display: contents !important; }
  .cw-center { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 100%; max-width: 520px; container-type: inline-size; }
  .cw-center > img { width: 100% !important; height: auto !important; max-height: 280px !important; object-fit: contain !important; }
  .cw-center .cw-scene { width: 100% !important; max-height: none !important; }
  .cw-side { grid-row: 2; padding: 5px !important; }
  .cw-side-v { aspect-ratio: 4 / 3; display: grid !important; place-items: center; background: #f6f4f0; border-radius: 7px; }
  .cw-side-v > img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
  .cw-side-v .cw-scene { width: 100%; }
  .cw-side-t { font-size: 11.5px !important; line-height: 1.25 !important; }
}
@media (min-width: 1101px) {
  .cw-big { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; width: 100%; }
  .cw-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important; }
}
/* the "Live more, Bank less" scene: headline scales with its box so it never runs into the sofa */
.cw-center .cw-scene b { font-size: 6.6cqw !important; max-width: 30% !important; right: 3% !important; line-height: 1 !important; }
.cw-side-v .cw-scene b { display: none; }
@media (min-width: 601px) { .cw-side-v { aspect-ratio: 16 / 10 !important; } }
@media (max-width: 600px) {
  .cw-big { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-areas: none !important; gap: 10px !important; align-items: start !important; }
  .cw-col { display: contents !important; }
  .cw-center { grid-column: 1 / -1; container-type: inline-size; }
  .cw-center > img { width: 100% !important; height: auto !important; }
  .cw-side { padding: 5px !important; margin: 0 !important; }
  .cw-side-v { aspect-ratio: 16 / 10; display: grid !important; place-items: center; background: #f6f4f0; border-radius: 7px; }
  .cw-side-v > img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
  .cw-side-t { font-size: 11.5px !important; }
}
/* small ad tiles: the image fills the tile box exactly and is shown whole */
.cw-side-v { position: relative !important; overflow: hidden; }
.cw-side-v > img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
@media (max-width: 600px) { .cw-center { grid-row: 1 !important; } .cw-side { grid-row: auto !important; } }

/* ================= About: story beats (sb4) ================= */
.sb4 { margin-top: 16px; padding: 16px 18px; border: 2px solid #15171c; border-radius: 18px; background: #fff; box-shadow: 5px 5px 0 #361eae; }
.sb4-k { margin: 0 0 10px; font: 800 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #361eae; }
.sb4-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.sb4-t { appearance: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 9px 10px; border: 1.5px solid #15171c; border-radius: 999px; background: #f9f6f0; color: #15171c; font: 700 12.5px/1 var(--sans); white-space: nowrap; transition: background .2s, transform .2s; }
.sb4-t span { font: 800 10.5px/1 var(--sans); color: #361eae; }
.sb4-t:hover { background: #e3edff; transform: translateY(-1px); }
.sb4-t[aria-selected="true"] { background: #361eae; border-color: #361eae; color: #fff; }
.sb4-t[aria-selected="true"] span { color: #cfe0ff; }
.sb4-read { margin: 0; min-height: 4.6em; font: 500 15px/1.55 var(--sans); color: #15171c; }
.sb4-read b { display: block; margin-bottom: 4px; font: 400 clamp(17px, 1.4vw, 21px)/1.15 var(--display); text-transform: uppercase; color: #15171c; }
.sb4-q { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed #c9c2b6; font: 600 14px/1.4 var(--sans); color: #4a4a48; }
.sb4-q em { font-style: normal; color: #361eae; font-weight: 800; }
@media (max-width: 600px) { .sb4-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sb4-read { font-size: 14px; } }

/* How I think: four roots */
.og-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) !important; }
@media (max-width: 900px) { .og-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .og-plus { display: none !important; } }
