/* Compact case studies (emails, the project pages and the 30-day plan): one idea per section, big clear labels,
   minimal text, and every section short enough to read on one screen without scrolling.
   Light background, cherry red accents, short fade-ins as each section arrives (no scroll-jacking). */
body.page-ec { --accent: #C8102E; --ec-ink: #2A1530; --ec-ink-2: #5A4652; --ec-line: rgba(42, 21, 48, .1); background: #FFFAF7; color: var(--ec-ink); }
.page-ec .header, .page-ec .header.solid { background: rgba(255, 250, 247, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(200, 16, 46, .1); }
.page-ec .btn-primary { background: #C8102E; border-color: #C8102E; color: #fff; }
.page-ec .btn-primary:hover { background: #A50D26; border-color: #A50D26; }
.page-ec .btn-ghost { background: #fff; border-color: rgba(200, 16, 46, .35); color: #C8102E; }
.ec { max-width: 1080px; margin: 0 auto; padding: calc(var(--header-h, 72px) + 30px) clamp(16px, 4vw, 40px) 0; }
.ec-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #C8102E; text-decoration: none; }
.ec-back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 1. header */
.ec-hero { padding-block: 18px 30px; }
.ec-hero h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; color: var(--ec-ink); }
.ec-hero h1 span { color: #C8102E; }
.ec-hero .ec-sub { margin-top: 10px; font-size: 16px; color: var(--ec-ink-2); }
.ec-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.ec-stats li { padding: 18px 20px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--ec-line); box-shadow: 0 18px 30px -24px rgba(120, 20, 40, .5); }
.ec-stats b { display: block; font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #C8102E; }
.ec-stats span { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--ec-ink-2); }
.ec-stats li.ec-todo { background: repeating-linear-gradient(135deg, rgba(200, 16, 46, .03) 0 8px, transparent 8px 16px), #fff; border: 1.5px dashed rgba(200, 16, 46, .4); box-shadow: none; }
.ec-stats li.ec-todo b { color: rgba(200, 16, 46, .45); }

/* sections: a big clear label on the left, one idea on the right */
.ec-sec { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 32px; align-items: start; padding-block: 28px; border-top: 1px solid var(--ec-line); }
.ec-label { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #C8102E; line-height: 1.4; }
.ec-label i { display: block; font-style: normal; font-size: 12px; letter-spacing: .12em; color: rgba(42, 21, 48, .4); }
.ec-one { margin: 0; max-width: 34em; font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--ec-ink); }
.ec-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ec-tags li { padding: 7px 14px; border-radius: 999px; background: #FDECEF; color: #A50D26; font-size: 14px; font-weight: 700; }

/* 4. the emails: one row of cards that open full size */
.ec-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ec-card { display: grid; grid-template-rows: auto 1fr; width: 100%; height: 100%; padding: 0; border: 1px solid var(--ec-line); border-radius: 20px; overflow: hidden; background: #fff; color: inherit; text-align: left; cursor: zoom-in;
  box-shadow: 0 18px 30px -24px rgba(42, 21, 48, .45); transition: transform .25s ease, box-shadow .25s ease; }
.ec-card:hover, .ec-card:focus-visible { transform: translateY(-4px); box-shadow: 0 26px 38px -24px rgba(42, 21, 48, .5); }
.ec-card:focus-visible { outline: 2px solid #C8102E; outline-offset: 3px; }
.ec-shot { position: relative; display: block; aspect-ratio: 680 / 600; overflow: hidden; background: #fff; border-bottom: 1px solid var(--ec-line); }
.ec-shot img { display: block; width: 100%; height: auto; }
.ec-shot::after { content: "Tap to enlarge"; position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(42, 21, 48, .78); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transition: opacity .2s ease; }
.ec-card:hover .ec-shot::after, .ec-card:focus-visible .ec-shot::after { opacity: 1; }
.ec-meta { display: grid; align-content: start; gap: 8px; padding: 14px 16px 16px; }
.ec-type { justify-self: start; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ec-type.t-promo { background: #C8102E; color: #fff; }
.ec-type.t-nurture { background: #FDECEF; color: #A50D26; }
.ec-type.t-event { background: #2A1530; color: #fff; }
.ec-meta b { font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.ec-meta small { font-size: 13px; font-weight: 600; color: var(--ec-ink-2); }
.ec-meta .ec-rate { font-size: 13.5px; font-weight: 800; color: #C8102E; }

/* 5. what worked */
.ec-worked { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ec-worked li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; color: var(--ec-ink); }
.ec-worked li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: #C8102E; box-shadow: 0 0 0 4px rgba(200, 16, 46, .14); }
.ec-worked b { font-weight: 800; }

/* 6. see the details */
.ec-details { border: 1px solid var(--ec-line); border-radius: 18px; background: #fff; }
.ec-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; color: var(--ec-ink); }
.ec-details summary::-webkit-details-marker { display: none; }
.ec-details summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #FDECEF; color: #C8102E; font-size: 20px; font-weight: 700; transition: transform .25s ease; }
.ec-details[open] summary::after { transform: rotate(45deg); }
.ec-details summary:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; border-radius: 18px; }
.ec-dl { display: grid; gap: 14px; margin: 0; padding: 4px 20px 20px; }
.ec-dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 16px; }
.ec-dl dt { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C8102E; padding-top: 3px; }
.ec-dl dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ec-ink); }
.ec-fine { margin: 6px 20px 20px; font-size: 12.5px; line-height: 1.5; color: var(--ec-ink-2); }

/* the end */
.ec-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 8px; padding: 26px 0 64px; border-top: 1px solid var(--ec-line); }
.ec-end h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.ec-end .row { display: flex; flex-wrap: wrap; gap: 10px; }
.page-ec .footer { background: #FFF1EE; color: var(--ec-ink); border-top: 1px solid rgba(200, 16, 46, .12); }
.page-ec .footer a, .page-ec .footer small { color: var(--ec-ink); }
.page-ec .footer .wordmark span { color: var(--ec-ink); }

/* the full-size email */
.page-ec .mv-head .mv-why { margin-top: 4px; font-size: 13.5px; color: var(--ec-ink); }

/* short fade-ins as each section arrives */
.ec-js .ec-fade { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.ec-js .ec-fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ec-js .ec-fade { opacity: 1; transform: none; transition: none; } .ec-card { transition: none; } }

@media (max-width: 820px) {
  .ec-sec { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 24px; }
  .ec-label i { display: inline; margin-right: 8px; }
  .ec-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(clamp(16px, 4vw, 40px) * -1); padding-inline: clamp(16px, 4vw, 40px); scroll-padding-inline: clamp(16px, 4vw, 40px); }
  .ec-row > li { scroll-snap-align: start; }
  .ec-dl div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .ec-stats { grid-template-columns: minmax(0, 1fr); } .ec-stats li { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; } .ec-stats span { margin-top: 0; } }

/* ---------- project pages (case.html) ---------- */
/* the top: what it was and the results on the left, the work on the right, all on one screen */
.ec-top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 28px 48px; align-items: center; padding-block: 16px 34px; }
.ec-top.no-media { grid-template-columns: minmax(0, 1fr); }
.ec-top .tag { display: inline-block; }
.ec-eyebrow { margin-top: 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C8102E; }
.ec-top h1 { margin-top: 8px; font-size: clamp(30px, 3.5vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: var(--ec-ink); }
.ec-top .ec-sub { margin-top: 12px; max-width: 36em; font-size: 17px; line-height: 1.5; color: var(--ec-ink-2); }
.ec-top .ec-stats { margin-top: 20px; }
.ec-top .ec-stats li { padding: 14px 16px 13px; border-radius: 18px; }
.ec-top .ec-stats b { font-size: clamp(28px, 2.9vw, 40px); }
.ec-top .ec-stats span { margin-top: 6px; font-size: 13.5px; line-height: 1.35; }
.ec-metaline { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--ec-ink-2); }
.ec-metaline .dot { color: #C8102E; }
.ec-label-note { margin-top: 10px; font-size: 13px; color: var(--ec-ink-2); }
.ec-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ec-media { justify-self: center; width: 100%; max-width: 440px; margin: 0; }
.ec-media img { display: block; width: 100%; height: min(560px, calc(100vh - 230px)); object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 30px 50px -30px rgba(42, 21, 48, .5); }

/* the thinking: four short cards */
.ec-think { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ec-think > div { padding: 16px 18px 17px; border-radius: 18px; background: #fff; border: 1px solid var(--ec-line); }
.ec-think dt { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C8102E; }
.ec-think dd { margin: 7px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ec-ink); }
.ec-think ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ec-think li { position: relative; padding-left: 16px; }
.ec-think li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #C8102E; }

/* the Reels: one row with arrows, so the whole set fits on one screen */
.ec-reelbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.ec-reelbar p { margin: 0; font-size: 15px; color: var(--ec-ink-2); }
.ec-arrows { display: flex; gap: 8px; }
.ec-arrows button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid rgba(200, 16, 46, .35); background: #fff; color: #C8102E; font-size: 18px; font-weight: 800; cursor: pointer; }
.ec-arrows button:hover { background: #FDECEF; }
.ec-arrows button:disabled { opacity: .35; cursor: default; background: #fff; }
.ec-arrows button:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.ec-reels { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 14px; margin: 0; padding: 4px 2px 14px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
.ec-reels > li { scroll-snap-align: start; }
.ec-reels .rphone { border-radius: 18px; border-width: 5px; }
.ec-reels .rtile figcaption { font-size: 13px; }

/* more from this project: two cards */
.ec-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ec-more a { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: center; height: 100%; padding: 14px 18px 14px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--ec-line); color: inherit; text-decoration: none;
  box-shadow: 0 18px 30px -24px rgba(42, 21, 48, .45); transition: transform .25s ease, box-shadow .25s ease; }
.ec-more a:hover, .ec-more a:focus-visible { transform: translateY(-3px); box-shadow: 0 26px 38px -24px rgba(42, 21, 48, .5); }
.ec-more a:focus-visible { outline: 2px solid #C8102E; outline-offset: 3px; }
.ec-more img, .ec-more .art { width: 104px; height: 104px; border-radius: 14px; object-fit: cover; object-position: top; border: 1px solid var(--ec-line); }
.ec-more .art { display: grid; place-content: center; text-align: center; background: #FDECEF; color: #C8102E; font-size: 34px; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.ec-more .art small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ec-more b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ec-more span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--ec-ink-2); }
.ec-more em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 800; color: #C8102E; }

/* a single wide picture of the work, capped so it fits on screen */
.ec-shotwide { margin: 0; }
.ec-shotwide img { display: block; width: 100%; max-height: min(620px, calc(100vh - 200px)); object-fit: contain; object-position: top left; border-radius: 18px; border: 1px solid var(--ec-line); background: #fff; }
.ec-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ec-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--ec-line); background: #fff; }
.ec-gallery figcaption { margin-top: 6px; font-size: 13px; font-weight: 700; }

@media (max-width: 820px) {
  .ec-top { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 12px 26px; }
  .ec-media { max-width: 360px; justify-self: start; }
  .ec-media img { height: auto; max-height: 62vh; }
  .ec-think, .ec-more { grid-template-columns: minmax(0, 1fr); }
  .ec-reels { grid-auto-columns: 46%; margin-inline: calc(clamp(16px, 4vw, 40px) * -1); padding-inline: clamp(16px, 4vw, 40px); scroll-padding-inline: clamp(16px, 4vw, 40px); }
  .ec-arrows { display: none; }
}
@media (max-width: 560px) { .ec-top .ec-stats li { padding: 12px 14px; } .ec-more a { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; } .ec-more img, .ec-more .art { width: 76px; height: 76px; } .ec-more .art { font-size: 26px; } }

/* ---------- the 30-day plan (plan.html) ---------- */
/* full-width sections: the label sits above wide content */
.ec-sec.ec-full { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ec-sec.ec-full .ec-label i { display: inline; margin-right: 10px; }
.ec-lead { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: var(--ec-ink-2); }
.ec-note { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ec-ink-2); }
.ec-note b { color: var(--ec-ink); }
.pl-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
.pl-top .diary { justify-self: center; }
.pl-top .diary-phone { width: min(236px, 100%); }
.page-ec .pillars.pl-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.page-ec .pl-4 .pillar { gap: 7px; padding: 16px 16px 18px; }
.page-ec .pl-4 .pillar h3 { font-size: 19px; }
.page-ec .pl-4 .pillar > p:not(.pj):not(.pm) { font-size: 14.5px; line-height: 1.45; }
.page-ec .pl-4 .hooks { padding: 0; list-style: none; }
.page-ec .pl-4 .hooks li { padding: 7px 10px; font-size: 13.5px; }
.page-ec .pl-4 .pm { font-size: 13px; }
.page-ec .cal { font-size: 14px; }
.page-ec .cal th, .page-ec .cal td { padding: 10px 12px; }
.pl-nums b { font-size: clamp(28px, 3vw, 40px); }
.pl-guard { margin-top: 14px; }
@media (max-width: 1100px) { .page-ec .pillars.pl-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .pl-top { grid-template-columns: minmax(0, 1fr); } .pl-top .diary { justify-self: start; } .pl-top .diary-phone { width: min(220px, 100%); } }
@media (max-width: 700px) { .page-ec .pillars.pl-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- swipe deck: a case study as one curved row of cards (assets/deck.js) ---------- */
body.page-ec { overflow-x: clip; }
.dk { --dk-w: min(430px, 80vw); --dk-ch: clamp(400px, calc(100vh - 380px), 470px); --dk-pad: 44px; position: relative; margin-top: 4px; }
.dk:focus-visible { outline: none; }
.dk-stage { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.dk-track { margin: 0; padding: 0; list-style: none; }
.dk-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; border-radius: 26px; background: #fff; border: 1px solid var(--ec-line); color: var(--ec-ink);
  box-shadow: 0 30px 60px -36px rgba(42, 21, 48, .55); overflow: hidden; }
.dk-card img { -webkit-user-drag: none; user-select: none; }

/* without the script: a plain sideways-scrolling row */
.dk:not(.on) .dk-track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--dk-w); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(16px, calc(50vw - var(--dk-w) / 2)) 18px; }
.dk:not(.on) .dk-card { scroll-snap-align: center; min-height: var(--dk-ch); }

/* with the script: the curve */
.dk.on .dk-stage { height: calc(var(--dk-ch) + var(--dk-pad) * 2); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 34px, #000 calc(100% - 34px), transparent); perspective: 1400px; perspective-origin: 50% 50%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.dk.on .dk-stage.dragging { cursor: grabbing; }
.dk.on .dk-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.dk.on .dk-card { position: absolute; left: 50%; top: var(--dk-pad); width: var(--dk-w); height: var(--dk-ch); margin-left: calc(var(--dk-w) / -2); backface-visibility: hidden; will-change: transform; }
.dk.on .dk-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #FFF6F4; opacity: calc(var(--dim, 0) * .55); pointer-events: none; transition: opacity .2s ease; }
.dk.on .dk-card:not(.is-on) { cursor: pointer; }
.dk.on .dk-card img { pointer-events: none; }

/* the bar under the deck */
.dk-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -10px; }
.dk:not(.on) .dk-bar { display: none; }
.dk-arrow { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px !important; border: 1px solid rgba(200, 16, 46, .35); background: #fff; color: #C8102E; font-size: 18px; font-weight: 800; cursor: pointer; }
.dk-arrow:hover { background: #FDECEF; }
.dk-arrow:disabled { opacity: .35; cursor: default; background: #fff; }
.dk-arrow:focus-visible, .dk-dot:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.dk-where { display: grid; justify-items: center; gap: 8px; min-width: 220px; }
.dk-cap { margin: 0; font-size: 13.5px; font-weight: 800; letter-spacing: .06em; color: var(--ec-ink); white-space: pre; }
.dk-dots { display: flex; gap: 6px; }
.dk-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(200, 16, 46, .22); cursor: pointer; transition: width .25s ease, background .25s ease; }
.dk-dot[aria-current="true"] { width: 26px; background: #C8102E; }

/* what goes on a card */
.dk-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #C8102E; }
.dk-kicker i { font-style: normal; color: rgba(42, 21, 48, .4); }
.dk-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #FDECEF; color: #C8102E; }
.dk-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dk-big { margin: 0; font-size: clamp(26px, 2.5vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.dk-big em { font-style: normal; color: #C8102E; }
.dk-small { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ec-ink-2); }
.dk-card .dk-push { margin-top: auto; }
.dk-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dk-rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 12px; border-radius: 16px; background: #FFF6F4; }
.dk-rows .dk-icon { width: 40px; height: 40px; border-radius: 13px; background: #fff; }
.dk-rows .dk-icon svg { width: 22px; height: 22px; }
.dk-rows b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.dk-rows span { display: block; font-size: 14px; line-height: 1.35; color: var(--ec-ink-2); }
.dk-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dk-nums li { padding: 10px 14px; border-radius: 16px; background: #FFF6F4; }
.dk-nums b { display: block; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #C8102E; }
.dk-nums span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ec-ink-2); }
.dk-fine { margin: 0; font-size: 12px; line-height: 1.45; color: var(--ec-ink-2); }
.dk-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dk-tools li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #FFF6F4; font-size: 14px; font-weight: 800; }
.dk-tools img { width: 28px; height: 28px; border-radius: 8px; }
.dk-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* an email on a card: the top of it, then the full email on a tap */
.dk-mail { position: relative; flex: 1 1 auto; min-height: 0; padding: 0; border: 1px solid var(--ec-line); border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; }
.dk-mail img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dk-mail span { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(42, 21, 48, .82); color: #fff; font-size: 12.5px; font-weight: 800; }
.dk-mail:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.dk-subj { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }

/* the page head that sits above a deck: title on the left, the three numbers on the right */
.dk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; padding-block: 14px 0; }
.dk-head h1 { margin: 6px 0 0; font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ec-ink); }
.dk-stats { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dk-stats li { min-width: 128px; padding: 12px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--ec-line); box-shadow: 0 18px 30px -26px rgba(120, 20, 40, .5); }
.dk-stats b { display: block; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #C8102E; }
.dk-stats span { display: block; margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--ec-ink-2); }

@media (max-width: 700px) {
  .dk { --dk-w: min(330px, 84vw); --dk-ch: clamp(420px, calc(100svh - 320px), 470px); --dk-pad: 30px; }
  .dk-head { gap: 12px; }
  .dk-stats { width: 100%; }
  .dk-stats li { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .dk-stats b { font-size: 24px; }
  .dk-stats span { font-size: 12px; }
  .dk-card { padding: 18px 16px 16px; gap: 10px; }
  .dk-arrow { height: 40px; padding: 0 14px; font-size: 14px !important; }
  .dk-where { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .dk-dot { transition: none; } }

/* ---------- the sky behind a page: Bre's Mauna Kea footage, with a light veil up top so the title reads ---------- */
body.page-sky { background: #CFC8E0; }
.sky-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #CFC8E0 url("../media/hero-sky-poster.jpg") 35% 62% / cover no-repeat; }
.sky-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 62%; }
.sky-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(252, 248, 252, .9) 0%, rgba(252, 248, 252, .72) 20%, rgba(252, 248, 252, .22) 42%, rgba(252, 248, 252, 0) 58%, rgba(252, 248, 252, .1) 80%, rgba(252, 248, 252, .55) 100%); }
.page-sky .header, .page-sky .header.solid { background: rgba(252, 248, 252, .62); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(255, 255, 255, .5); }
.page-sky .footer { background: rgba(252, 248, 252, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top-color: rgba(255, 255, 255, .6); }
.page-sky .dk-stats li { background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .8); }
.page-sky .dk-card { border-color: rgba(255, 255, 255, .9); box-shadow: 0 40px 70px -40px rgba(30, 20, 60, .75), 0 0 0 1px rgba(42, 21, 48, .04); }
.page-sky .dk.on .dk-card::after { background: #F4EEF8; }
.page-sky .dk-arrow { background: rgba(255, 255, 255, .85); }
.page-sky .dk-cap { color: #fff; text-shadow: 0 1px 8px rgba(30, 20, 60, .55); }
.page-sky .dk-dot { background: rgba(255, 255, 255, .6); }
.page-sky .dk-dot[aria-current="true"] { background: #fff; }
.page-sky .dk-end { border-top-color: rgba(255, 255, 255, .55); }
.page-sky .dk-end h2 { color: #fff; text-shadow: 0 2px 14px rgba(30, 20, 60, .45); }
@media (prefers-reduced-motion: reduce) { .sky-bg video { display: none; } }

/* the head: who it went to, and where the numbers come from */
.dk-aud { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; }
.dk-aud span { margin-right: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ec-ink-2); }
.dk-aud b { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(200, 16, 46, .18); color: #A50D26; font-size: 13.5px; font-weight: 800; }
.dk-statwrap { display: grid; justify-items: end; gap: 6px; }
.dk-src { margin: 0; font-size: 12px; font-weight: 600; color: var(--ec-ink-2); }

/* an email card has two sides: the email, and (behind More) why it worked */
.dk-card.dk-email { padding: 0; }
.dk:not(.on) .dk-card.dk-email { min-height: var(--dk-ch); }
.dk-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; background: #fff; border-radius: inherit;
  transform: none; visibility: visible; transition: transform .2s cubic-bezier(.2, .7, .3, 1) .2s, visibility 0s .2s; }
.dk-back { transform: scaleX(0); visibility: hidden; transition: transform .2s ease-in, visibility 0s .2s; }
.dk-email.flipped .dk-front { transform: scaleX(0); visibility: hidden; transition: transform .2s ease-in, visibility 0s .2s; }
.dk-email.flipped .dk-back { transform: none; visibility: visible; transition: transform .2s cubic-bezier(.2, .7, .3, 1) .2s, visibility 0s .2s; }
@media (prefers-reduced-motion: reduce) { .dk-face, .dk-email.flipped .dk-face { transition: visibility 0s; } }
.dk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.dk-date { font-size: 13px; font-weight: 700; color: var(--ec-ink-2); }
.dk-goal { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ec-ink); }
.dk-goal b { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C8102E; margin-right: 4px; }
.dk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dk-foot .dk-subj { font-size: 17px; }
.dk-more { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 16px; border-radius: 999px; border: 1px solid rgba(200, 16, 46, .35); background: #fff; color: #C8102E; font-size: 14px; font-weight: 800; cursor: pointer; }
.dk-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.dk-more:hover { background: #FDECEF; }
.dk-more:focus-visible, .dk-less:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.dk-back .dk-big { margin-top: 4px; }
.dk-back .dk-rows span { font-size: 13.5px; }
.dk-end { margin-top: 18px; }
@media (max-width: 700px) {
  .dk-statwrap { justify-items: start; width: 100%; }
  .dk-face { padding: 16px 16px 14px; gap: 10px; }
  .dk-foot .dk-subj { font-size: 16px; }
  .dk-more { padding: 8px 12px 8px 14px; }
  .dk-back .dk-big { font-size: 24px; }
  .dk-back .dk-rows { gap: 6px; }
  .dk-back .dk-rows li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 7px 10px; }
  .dk-back .dk-rows .dk-icon { width: 34px; height: 34px; border-radius: 10px; }
  .dk-back .dk-rows b { font-size: 15px; }
  .dk-back .dk-rows span { font-size: 13px; }
  .dk-back .dk-btns { flex-wrap: nowrap; gap: 8px; }
  .dk-back .btn { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
}

/* ---------- project pages as one screen (case.html): headline + numbers, a toggle, then a deck ---------- */
.dk-h1 { max-width: 15em; font-size: clamp(30px, 3.3vw, 46px) !important; line-height: 1.05 !important; }
.ec-eyebrow .tag { margin-right: 8px; vertical-align: 1px; letter-spacing: 0; text-transform: none; }
.dk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.dk-pill, .dk-menu summary { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(200, 16, 46, .25); color: #A50D26;
  font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dk-pill:hover, .dk-menu summary:hover { background: #fff; }
.dk-pill:focus-visible, .dk-menu summary:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.dk-pill-red { background: #C8102E; border-color: #C8102E; color: #fff; }
.dk-pill-red:hover { background: #A50D26; }
.dk-menu { position: relative; }
.dk-menu summary { list-style: none; }
.dk-menu summary::-webkit-details-marker { display: none; }
.dk-menu summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.dk-menu[open] summary svg { transform: rotate(180deg); }
.dk-pop { position: absolute; z-index: 300; top: calc(100% + 8px); left: 0; width: min(400px, 88vw); padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .97); border: 1px solid rgba(42, 21, 48, .08);
  box-shadow: 0 30px 60px -24px rgba(30, 20, 60, .45); }
.dk-menu[open] .dk-pop { animation: dkPop .18s ease-out; }
@keyframes dkPop { from { opacity: 0; transform: translateY(-6px); } }
.dk-pop dl { display: grid; gap: 10px; margin: 0; }
.dk-pop dl div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
.dk-pop dt { padding-top: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C8102E; }
.dk-pop dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ec-ink); }

/* the toggle: a pill with a sliding cherry dot */
.dk-toggle { position: relative; z-index: 5; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; margin: 0 auto; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 34px -20px rgba(30, 20, 60, .55); }
.dk-toggle button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: 999px; background: none;
  color: var(--ec-ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: color .25s ease; }
.dk-toggle button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk-toggle button[aria-selected="true"] { color: #fff; }
.dk-toggle button:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.dk-toggle-dot { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 2); border-radius: 999px; background: #C8102E; box-shadow: 0 8px 18px -8px rgba(200, 16, 46, .8);
  transform: translateX(calc(var(--at, 0) * 100%)); transition: transform .35s cubic-bezier(.3, 1.25, .5, 1); }
@media (prefers-reduced-motion: reduce) { .dk-toggle-dot { transition: none; } }
.dk[hidden] { display: none; }

/* deck sizes on project pages */
.dk-reels, .dk-thinking { --dk-ch: clamp(340px, calc(100vh - 440px), 440px); --dk-pad: 28px; }
.dk-reels { --dk-w: calc(var(--dk-ch) * .5625); }
.dk-thinking { --dk-w: min(420px, 80vw); }

/* a Reel card is the phone screen itself, with its title on the video */
.dk-card.dk-reel { padding: 0; background: #1B1020; border: 0; }
.dk-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dk-reel .rsound { top: 12px; right: 12px; bottom: auto; z-index: 2; }
.dk-reelcap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 40px 16px 16px; border-radius: 0 0 26px 26px; background: linear-gradient(180deg, rgba(20, 10, 25, 0), rgba(20, 10, 25, .82));
  color: #fff; font-size: 15px; font-weight: 800; line-height: 1.3; }
.dk-reelcap a { color: #fff; text-decoration: none; }
.dk-reelcap a span[aria-hidden] { color: #FFB3C4; }
.dk-reelcap a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dk.on .dk-card.dk-reel::after { background: #E9E1F2; }

/* a thinking card, and the work card on projects without Reels */
.dk-mid { margin: 0; font-size: 19px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; color: var(--ec-ink); }
.dk-think .dk-big { font-size: clamp(24px, 2.2vw, 30px); }
.dk-card.dk-work figure { flex: 1 1 auto; min-height: 0; margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--ec-line); }
.dk-card.dk-work img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dk-card.dk-work .btn { align-self: flex-start; }

@media (max-width: 700px) {
  .dk-reels, .dk-thinking { --dk-ch: clamp(400px, calc(100svh - 330px), 470px); }
  .dk-thinking { --dk-w: min(320px, 84vw); }
  .dk-toggle button { padding: 9px 16px; font-size: 14px; }
  .dk-pop { left: 0; }
}

/* project heads: the headline on the left, the three numbers on the right */
.page-case .ec > .dk-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 28px; }
.page-case .ec > .dk-head .dk-stats li { min-width: 0; max-width: 158px; }
.page-case .ec > .dk-head .dk-stats span { line-height: 1.3; }
@media (max-width: 960px) { .page-case .ec > .dk-head { grid-template-columns: minmax(0, 1fr); } .page-case .ec > .dk-head .dk-statwrap { justify-items: start; } .page-case .ec > .dk-head .dk-stats li { max-width: none; flex: 1 1 0; } }

/* project pages: a tighter top, and one row of controls above the deck */
.page-case .ec { padding-top: calc(var(--header-h, 72px) + 18px); }
.page-case .ec > .dk-head { padding-top: 10px; }
.page-case .dk-h1 { font-size: clamp(28px, 2.5vw, 36px) !important; }
.dk-controls { position: relative; z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px 14px; margin-top: 18px; }
.dk-left { justify-self: start; display: flex; gap: 8px; }
.dk-right { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (max-width: 760px) {
  .dk-controls { grid-template-columns: auto auto; justify-content: space-between; }
  .dk-controls .dk-toggle { grid-column: 1 / -1; grid-row: 1; }
  .dk-pop { width: min(340px, 90vw); }
}
.dk-rows.dk-plain li > span { font-size: 14.5px; line-height: 1.4; color: var(--ec-ink); }
@media (max-height: 860px) and (min-width: 701px) { .dk-think > .dk-icon { display: none; } }
html:has(> body.page-ec) { overflow-x: clip; }
@media (max-height: 700px) { .dk-think > .dk-icon { display: none; } }

/* ---------- the ROI simulator, built into the page (assets/roi.js) ---------- */
.sim { margin-top: 18px; padding: 20px; border-radius: 28px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 70px -44px rgba(30, 20, 60, .7); }
.sim[hidden] { display: none; }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: 'top result' 'levers result'; align-content: start; gap: 0 20px; }
.sim-top { grid-area: top; }
.sim-levers { grid-area: levers; align-self: start; }
.sim-result { grid-area: result; }
.sim-lead { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ec-ink); }
.sim-lead b { color: #C8102E; }
.sim-fixes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.sim-fixes span { margin-right: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ec-ink-2); }
.sim-fixes button { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(200, 16, 46, .3); background: #fff; color: #A50D26; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: background .2s ease, color .2s ease; }
.sim-fixes button:hover { background: #FDECEF; }
.sim-fixes button[aria-pressed="true"] { background: #C8102E; border-color: #C8102E; color: #fff; }
.sim-fixes button:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.sim-levers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 14px; }
.sim-lever { padding: 12px 14px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--ec-line); }
.sim-lever-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sim-lever label { font-size: 14px; font-weight: 800; line-height: 1.25; color: var(--ec-ink); }
.sim-lever output { flex: none; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #C8102E; font-variant-numeric: tabular-nums; }
.sim-lever input[type=range] { width: 100%; margin: 10px 0 4px; height: 6px; border-radius: 999px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(90deg, #C8102E var(--p, 50%), #F1DDE3 var(--p, 50%)); }
.sim-lever input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #C8102E; box-shadow: 0 4px 10px -2px rgba(200, 16, 46, .5); }
.sim-lever input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #C8102E; }
.sim-lever input[type=range]:focus-visible { outline: 2px solid #C8102E; outline-offset: 6px; }
.sim-hint { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--ec-ink-2); }

.sim-result { --tone: #C8102E; --tone-bg: #FDECEF; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--ec-line); border-top: 6px solid var(--tone); }
.sim[data-status="thin"] .sim-result { --tone: #7A4A8C; --tone-bg: #F2E9F6; }
.sim[data-status="win"] .sim-result { --tone: #1F6B4A; --tone-bg: #E3F2EA; }
.sim-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ec-ink-2); }
.sim-verdict { margin: 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ec-ink); }
.sim-verdict b { color: var(--tone); font-variant-numeric: tabular-nums; }
.sim-sub { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ec-ink); }
.sim-sub b { color: var(--tone); }
.sim-meter { margin-top: 18px; }
.sim-track { position: relative; height: 12px; border-radius: 999px; background: #F1ECF3; }
.sim-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--tone); transition: width .35s cubic-bezier(.2, .8, .3, 1), background .3s ease; }
.sim-mark { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--ec-ink); }
.sim-mark em { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--ec-ink); }
.sim-mark.sim-scale { background: #1F6B4A; }
.sim-mark.sim-scale em { top: calc(100% + 4px); bottom: auto; color: #1F6B4A; }
.sim-scaleends { display: flex; justify-content: space-between; margin-top: 22px; font-size: 11.5px; font-weight: 700; color: var(--ec-ink-2); }
.sim-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sim-mini li { padding: 9px 10px; border-radius: 12px; background: var(--tone-bg); }
.sim-mini b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ec-ink); }
.sim-mini span { font-size: 12px; font-weight: 600; color: var(--ec-ink-2); }
.sim-need { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF6F4; font-size: 13.5px; line-height: 1.45; color: var(--ec-ink); }
.sim-need b { color: var(--ec-ink); }
.sim-fine { margin: 12px 0 0; font-size: 12px; color: var(--ec-ink-2); }
@media (prefers-reduced-motion: reduce) { .sim-fill { transition: none; } }
@media (max-width: 900px) { .sim-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'top' 'result' 'levers'; gap: 14px; } .sim-levers { margin-top: 0; } }   /* on phones the answer sits right under the fixes */
@media (max-width: 560px) { .sim { padding: 14px; border-radius: 22px; } .sim-levers { grid-template-columns: minmax(0, 1fr); } .sim-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sim-result { padding: 16px; } }
@media (min-width: 901px) and (max-height: 860px) {
  .sim { margin-top: 12px; padding: 14px 16px; }
  .sim-grid { gap: 16px; }
  .sim-fixes { margin-top: 8px; }
  .sim-levers { gap: 8px 12px; margin-top: 10px; }
  .sim-lever { padding: 9px 12px 8px; }
  .sim-lever input[type=range] { margin: 7px 0 3px; }
  .sim-result { gap: 9px; padding: 16px 18px; }
  .sim-verdict { font-size: 38px; }
  .sim-meter { margin-top: 14px; }
  .sim-scaleends { margin-top: 18px; }
  .sim-fine { margin-top: 8px; }
}

/* ---------- TATE 01 campaign cards (assets/tate.js): black and white, like the launch ---------- */
.tt-card .tt-text { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--ec-ink); }
.tt-card .tt-small { margin: 0; font-size: 12px; color: var(--ec-ink-2); }
.tt-frame, .tt-vis { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: #272528; }
.tt-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-frame span { position: relative; z-index: 1; padding: 0 8%; font-family: "Jost", "Futura", "Avenir Next", system-ui, sans-serif; font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; letter-spacing: .04em; text-align: center; color: #F0EEF0; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.tt-f1 img { object-position: 40% 40%; filter: grayscale(1) contrast(1.05); }
.tt-f1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(32, 29, 33, .6)); }
.tt-f1 span { align-self: end; padding-bottom: 8%; }
.tt-f2 { background: radial-gradient(70% 90% at 72% 30%, #8E8B8F 0%, #4A484B 45%, #272528 100%); }
.tt-f3 { grid-template-columns: 1fr 1fr; align-items: center; background: #F0EEF0; }
.tt-f3 img { position: static; width: auto; height: 86%; max-width: 100%; justify-self: center; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 60%, transparent 100%); }
.tt-f3 span { color: #201D21; text-shadow: none; text-align: left; padding: 0 0 0 4%; }
.tt-vis { background: #D6D3D5; }
.tt-phone { height: 92%; aspect-ratio: 9 / 18.5; border-radius: 22px; background: #201D21; padding: 6px; box-sizing: border-box; }
.tt-scr { height: 100%; border-radius: 17px; overflow: hidden; display: grid; align-content: space-between; padding: 16% 9% 10%; box-sizing: border-box; color: #fff; background: linear-gradient(170deg, #3A383B 0%, #77747A 55%, #C3C2C4 100%); }
.tt-ost { font-size: 11px; font-weight: 700; line-height: 1.35; background: rgba(0, 0, 0, .45); padding: 6px 8px; border-radius: 4px; }
.tt-word { font-family: "Jost", "Futura", system-ui, sans-serif; font-size: 22px; text-align: center; line-height: 1.15; }
.tt-handle { font-size: 10px; }
.tt-browser { width: 90%; height: 82%; background: #F0EEF0; border: 1px solid rgba(32, 29, 33, .16); overflow: hidden; display: grid; grid-template-rows: 20px minmax(0, 1fr); box-shadow: 0 14px 40px rgba(32, 29, 33, .18); }
.tt-top { display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #C3C2C4; }
.tt-top i { width: 7px; height: 7px; border-radius: 50%; background: #F0EEF0; }
.tt-pg { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 4%; padding: 5% 6%; min-height: 0; color: #201D21; }
.tt-pg h4 { margin: 0; font-family: "Jost", "Futura", system-ui, sans-serif; font-weight: 400; font-size: 18px; line-height: 1.1; }
.tt-tl { display: grid; gap: 4px; margin-top: 8px; }
.tt-tl div { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; border-top: 1px solid rgba(32, 29, 33, .16); padding-top: 3px; }
.tt-go { display: inline-block; margin-top: 8px; padding: 4px 9px; font-size: 10px; font-weight: 700; background: #201D21; color: #F0EEF0; }
.tt-pg img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 60%, transparent 100%); }
.dk-srcs { display: grid; gap: 4px; }
.dk-srcs a { color: #A50D26; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* the social card: the phone on the left, its on-screen text beside it, readable at any card size */
.tt-vis.tt-soc { display: block; }
.tt-soc .tt-phone { position: absolute; left: 6%; top: 7%; bottom: 7%; height: auto; aspect-ratio: 9 / 18.5; }
.tt-soc .tt-scr { padding: 30% 8% 12%; align-content: space-between; text-align: center; }
.tt-soc .tt-word { font-size: clamp(13px, 1.3vw, 17px); }
.tt-soc .tt-handle { font-size: 9.5px; opacity: .85; }
.tt-bubbles { position: absolute; right: 6%; top: 50%; width: 52%; transform: translateY(-50%); display: grid; gap: 8px; }
.tt-bubbles .tt-ost { font-size: 13px; line-height: 1.4; background: #201D21; color: #F0EEF0; padding: 8px 10px; border-radius: 10px; }
.tt-bubbles .tt-cap { font-size: 11.5px; font-weight: 700; line-height: 1.35; color: #201D21; }
.tt-browser { position: absolute; inset: 8% 5%; width: auto; height: auto; }
.tt-pg { padding: 4% 6%; }
.tt-pg h4 { font-size: clamp(13px, 1.2vw, 18px); }
.tt-tl { gap: 2px; margin-top: 6px; }
.tt-tl div { font-size: 9.5px; padding-top: 2px; }
.tt-tl div span:first-child { white-space: nowrap; }
.tt-go { margin-top: 6px; }
.tt-pg { grid-template-columns: 1.5fr .5fr; }
.tt-tl div span:last-child { text-align: right; }
