/* meeditstudio.com: light Swiss, minimal. Tokens and type scale from the spec (section 4). One light theme. */
:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #111111;
  --body: #4D4D4D;
  --muted: #767676;
  --rule: #E8E8E3;
  --line: #D6D6D0;
  --hl: #FFD43B;
  --focus: #111111;

  --font: 'Google Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mark: 'Imbue', Georgia, serif;

  /* desktop scale */
  --fs-h1: 64px; --lh-h1: 1.05; --ls-h1: -0.03em;
  --fs-h2: 40px; --lh-h2: 1.1;
  --fs-h3: 22px; --lh-h3: 1.3;
  --fs-lead: 20px; --lh-lead: 1.5;
  --fs-body: 17px; --lh-body: 1.6;
  --fs-small: 14px; --lh-small: 1.45;

  --gutter: 20px;
  --section: 48px;
  --max: 1200px;
  --radius-btn: 12px;
  --radius-media: 16px;
  --bar: 56px;
  --ease: 200ms ease;
}
@media (max-width: 759px) {
  :root {
    --fs-h1: 30px; --lh-h1: 1.16; --ls-h1: -0.02em;
    --fs-h2: 22px; --lh-h2: 1.2;
    --fs-h3: 16px;
    --fs-lead: 16px; --lh-lead: 1.55;
    --fs-body: 16px; --lh-body: 1.55;
    --fs-small: 14px;
  }
}
@media (min-width: 760px) { :root { --gutter: 32px; --section: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 96px; --bar: 64px; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 var(--fs-body)/var(--lh-body) var(--font);
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
p { margin: 0; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--body); max-width: 40ch; }
.small, small { font-size: var(--fs-small); line-height: var(--lh-small); }
.muted { color: var(--muted); }
.prose { overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }
.section > .wrap > h2 + p, .sec-head p { margin-top: 8px; color: var(--body); max-width: 56ch; }

/* the one accent: a highlighter stroke under words, never behind running text */
.hl { background: linear-gradient(transparent 66%, var(--hl) 66%, var(--hl) 93%, transparent 93%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border-radius: var(--radius-btn); border: 0; background: var(--ink); color: #fff; font: 600 15px/1 var(--font);
  text-decoration: none; cursor: pointer; transition: box-shadow var(--ease), background var(--ease), transform var(--ease); }
.btn:hover { background: #000; box-shadow: inset 0 -3px 0 var(--hl); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.tlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; color: var(--ink);
  text-decoration: none; background: linear-gradient(var(--hl), var(--hl)) 0 calc(100% - 10px) / 100% 2px no-repeat;
  transition: background-size var(--ease); }
.tlink:hover { background-size: 100% 6px; }
.tlink.arrow::after { content: '\2192'; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px;
  border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* entrance motion: only when JS runs, never hides content without it */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .faq > div:hover, .js .stagger.in > *:hover { transform: none; }
}

/* bar */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--ease); }
.bar.scrolled, .menu-open .bar { border-bottom-color: var(--rule); }
.bar-in { height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mark { font-family: var(--font-mark); font-variation-settings: 'opsz' 100; font-weight: 900; font-size: 26px; line-height: 1;
  color: var(--ink); text-decoration: none; }
/* meeditstudio.com: the wordmark is Vu's logo file; urgentdeck.com keeps the text mark above */
.mark:has(> img) { display: inline-flex; align-items: center; min-height: 44px; }
.mark img { display: block; width: auto; height: 28px; }
.links { display: none; }
.bar-cta { display: flex; align-items: center; gap: 8px; }
.bar-cta .btn { display: none; min-height: 44px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; margin-right: -10px;
  background: none; border: 0; border-radius: 10px; font: 500 15px/1 var(--font); color: var(--ink); cursor: pointer; }
.menu-btn .ico { position: relative; width: 16px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menu-btn.x .ico { height: 16px; border-color: transparent; }
.menu-btn.x .ico::before, .menu-btn.x .ico::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px;
  background: currentColor; transform: rotate(45deg); }
.menu-btn.x .ico::after { transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .mark { font-size: 30px; }
  .mark img { height: 32px; }
  .links { display: flex; gap: 28px; }
  .links a { font-size: 15px; font-weight: 500; color: var(--body); text-decoration: none; padding: 12px 0;
    background: linear-gradient(var(--hl), var(--hl)) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size var(--ease), color var(--ease); }
  .links a:hover, .links a[aria-current] { color: var(--ink); background-size: 100% 2px; }
  .bar-cta .btn { display: inline-flex; }
  .menu-btn { display: none; }
}

/* phone and tablet menu sheet */
.sheet { position: fixed; z-index: 49; top: var(--bar); left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; background: var(--bg); padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.sheet[hidden] { display: none; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.sheet li a b { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sheet li a small { display: block; margin-top: 2px; color: var(--muted); }
.sheet li a[aria-current] b::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hl); }
.sheet-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 4px; text-align: center; }
.sheet-foot .btn { width: 100%; }
.sheet-mail { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; color: var(--muted); }
@media (min-width: 1024px) { .sheet { display: none !important; } }

/* footer */
.foot { margin-top: var(--section); border-top: 1px solid var(--rule); padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.foot-about p { margin-top: 12px; max-width: 36ch; }
.foot h2 { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.foot ul a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } .foot-urgent { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } .foot-urgent { grid-column: auto; } }

/* phone dock: "Get a quote" after the hero */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 20px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(250, 250, 247, 0), var(--bg) 24px); visibility: hidden; transform: translateY(110%);
  transition: transform 250ms ease, visibility 0s linear 250ms; }
.dock.on { visibility: visible; transform: none; transition: transform 250ms ease; }
.dock .btn { width: 100%; }
.dock p { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .dock { display: none; } }

/* quote band and form */
.quote-in { display: grid; gap: 32px; padding: 32px 20px; margin: 0 calc(-1 * min(var(--gutter), 20px)); background: var(--surface);
  border-radius: 20px; box-shadow: 0 0 0 1px var(--rule); }
.quote-head .lead { margin-top: 12px; }
.quote-head .small { margin-top: 16px; }
.qf { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea, .sent-body { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color var(--ease); }
.field textarea, .sent-body { min-height: 132px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink); outline-offset: 2px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field.bad input, .field.bad select, .field.bad textarea { border: 2px solid var(--ink); padding: 11px 13px; }
.error { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-style: italic; color: var(--ink); }
.error::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--hl); transform: translateY(-1px); }
.actions .btn { width: 100%; }
.sent { display: grid; gap: 12px; align-content: start; }
.sent[hidden] { display: none; }
.sent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.sent-actions .tlink { background-color: transparent; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; }
@media (min-width: 760px) {
  .quote-in { padding: 40px; margin: 0; }
  .qf { grid-template-columns: 1fr 1fr; }
  .qf .full { grid-column: 1 / -1; }
  .actions .btn { width: auto; }
}
@media (min-width: 1024px) {
  .quote-in { grid-template-columns: 5fr 7fr; gap: 64px; padding: 56px; }
  .sent { grid-column: 2; }
}

/* section heads */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hl); }
.sec-head { margin-bottom: 20px; }
.sec-head.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 32px; } }

/* hero */
.hero { padding-top: 24px; }
.hero-in { display: grid; gap: 16px; }
.hero h1 { max-width: 15ch; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
@media (min-width: 760px) { .hero { padding-top: 48px; } }
@media (min-width: 1024px) {
  .hero { padding-top: 64px; }
  .hero-in { grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
  .hero-side .lead { max-width: 30ch; }
}

/* showreel and video links */
.reel-sec { padding-top: 28px; }
@media (min-width: 1024px) { .reel-sec { padding-top: 48px; } }
.reel-t { margin: 0 0 14px; font-size: 22px; }
.frame-sheet + .reel-t { margin-top: 48px; }
.reel { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-media); background: #000;
  box-shadow: 0 12px 40px rgba(17, 17, 17, .08); }
.reel img, .reel iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel img { transition: transform 600ms ease; }
.reel:hover img { transform: scale(1.015); }
.reel .pill { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 0 16px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; font-weight: 500; }
.reel .pill i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hl); }
.reel .pill i::before { content: ''; margin-left: 3px; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (min-width: 1024px) { .reel .pill { left: 20px; bottom: 20px; min-height: 52px; font-size: 15px; } .reel .pill i { width: 40px; height: 40px; } }
.reel-cap { margin-top: 12px; }

/* what we make */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.svc { display: grid; grid-template-columns: 88px 1fr 16px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; transition: background var(--ease); }
.svc-th { width: 88px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.svc-th img { width: 100%; height: 100%; object-fit: cover; }
.svc-tx b { display: block; font-size: var(--fs-h3); font-weight: 600; color: var(--ink); }
.svc-tx span { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); }
.chev { width: 8px; height: 8px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform var(--ease); }
.svc:hover .chev { transform: translateX(4px) rotate(45deg); border-color: var(--ink); }
.svc:hover b { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (min-width: 1024px) { .svc { grid-template-columns: 160px 1fr 24px; gap: 32px; padding: 20px 0; } .svc-th { width: 160px; } .svc-tx span { font-size: 16px; } }

/* work cards */
.wk-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .wk-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (min-width: 1024px) { .wk-grid { grid-template-columns: repeat(3, 1fr); } }
.wk { display: block; text-decoration: none; }
.wk-im { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--rule); }
.wk-im img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.wk:hover .wk-im img { transform: scale(1.03); }
.wk-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding: 0 2px; }
.wk-meta b { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.wk-meta span { flex: none; font-size: 13px; color: var(--muted); }
.wk:hover .wk-meta b { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* how we work */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--hl); color: var(--ink); font-weight: 600; font-size: 14px; }
.steps b { color: var(--ink); font-weight: 600; font-size: var(--fs-h3); }
.steps p { font-size: var(--fs-small); color: var(--body); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 0; }
  .steps li { grid-template-columns: 1fr; padding: 20px 0 0; border-bottom: 0; border-top: 1px solid var(--ink); }
  .steps li::before { grid-row: auto; margin-bottom: 12px; }
  .steps p { font-size: 16px; }
}

/* founder */
.founder { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding-top: 24px; border-top: 1px solid var(--rule); }
.founder-im { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--rule); }
.founder-im img { width: 100%; height: 100%; object-fit: cover; }
.founder h2 + p { margin-top: 8px; max-width: 52ch; }
.founder .tlink { margin-top: 4px; }
@media (min-width: 760px) { .founder { grid-template-columns: 160px 1fr; gap: 40px; } }

/* service pages */
.page-head { padding-top: 24px; }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 12px; max-width: 46ch; }
.price-line { margin-top: 12px; color: var(--body); }
.price-line b { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 62%, var(--hl) 62%, var(--hl) 92%, transparent 92%); }
@media (min-width: 760px) { .page-head { padding-top: 48px; } }
@media (min-width: 1024px) { .page-head { padding-top: 72px; } }

.kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.kinds li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.kinds p { margin-top: 4px; font-size: var(--fs-small); }
@media (min-width: 760px) { .kinds { grid-template-columns: 1fr 1fr; column-gap: 32px; } .kinds p { font-size: 16px; } }
@media (min-width: 1024px) { .kinds { grid-template-columns: repeat(4, 1fr); border-top: 0; } .kinds li { border-bottom: 0; border-top: 1px solid var(--ink); padding-top: 20px; } }

/* /video/: each kind of video with samples you can play. Phones: 16:9 samples scroll sideways, Shorts sit 2 across. */
.kind-rows { border-top: 1px solid var(--ink); }
.kind-row { display: grid; gap: 20px; padding: 28px 0 32px; border-bottom: 1px solid var(--rule); }
.kind-row:last-child { border-bottom: 0; }
.kind-tx p { margin-top: 6px; font-size: var(--fs-small); color: var(--body); max-width: 46ch; }
.smp { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; display: grid; gap: 16px;
  grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; }
.smp::-webkit-scrollbar { display: none; }
.smp li { scroll-snap-align: start; min-width: 0; }
.smp.tall { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; gap: 24px 14px; }
.reel.tall, .reel.tall.playing { aspect-ratio: 9 / 16; }
.smp .reel { box-shadow: none; border-radius: 12px; }
.smp .reel .pill { left: 8px; bottom: 8px; min-height: 36px; gap: 8px; padding: 0 12px 0 4px; font-size: 13px; }
.smp .reel .pill i { width: 28px; height: 28px; }
.smp-cap { margin-top: 10px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--body); }
.smp-cap b { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.smp-cap .tlink { min-height: 0; white-space: nowrap; }
.smp .yt-out { margin-top: 6px; }
.smp-note { align-self: start; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px;
  border: 1px dashed #CFCFC8; background: #fff; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--body); }
.smp-note b { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.smp-note .tlink { align-self: flex-start; margin-top: 4px; }
@media (min-width: 760px) { .smp.tall .smp-note { grid-column: span 2; aspect-ratio: auto; } }
.smp.tall .smp-more { grid-column: auto; align-self: stretch; justify-content: flex-end; aspect-ratio: auto; }
/* 3 Shorts fanned out like cards above the text, with a play badge on top */
.more-fan { position: relative; flex: 1; min-height: 170px; margin-bottom: 10px; }
.more-fan img { position: absolute; top: 50%; width: 54%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(17, 17, 17, .16); transition: transform 400ms ease; }
.more-fan img:nth-child(1) { left: -4%; transform: translateY(-46%) rotate(-10deg); }
.more-fan img:nth-child(2) { left: 23%; z-index: 1; transform: translateY(-54%); }
.more-fan img:nth-child(3) { right: -4%; transform: translateY(-46%) rotate(10deg); }
.more-fan i { position: absolute; z-index: 2; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: var(--hl); box-shadow: 0 4px 12px rgba(17, 17, 17, .2); }
.more-fan i::before { content: ''; position: absolute; left: 15px; top: 12px; border-left: 13px solid var(--ink);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.smp-more:hover .more-fan img:nth-child(1) { transform: translate(-4px, -46%) rotate(-14deg); }
.smp-more:hover .more-fan img:nth-child(3) { transform: translate(4px, -46%) rotate(14deg); }
@media (prefers-reduced-motion: reduce) { .more-fan img { transition: none; } }
.smp-more > .tlink { white-space: nowrap; font-size: 14px; }
@media (min-width: 760px) {
  .kind-tx p { font-size: 16px; }
  .smp { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 20px; }
  .smp.tall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .kind-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 48px; padding: 40px 0 44px; }
  .kind-tx { position: sticky; top: calc(var(--bar) + 24px); align-self: start; }
}
@media (min-width: 1024px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }

.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.offer { padding: 24px 20px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule); }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 12px; }
.offer-price b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.offer-price span { font-size: 14px; color: var(--muted); }
.offer-more { margin-top: 24px; }
@media (min-width: 760px) { .offers { grid-template-columns: 1fr 1fr; gap: 24px; } .offer { padding: 32px; } .offer-price b { font-size: 36px; } }
.ticks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: var(--fs-small); color: var(--body); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
@media (min-width: 760px) { .ticks li { font-size: 16px; } }
.two { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }

.urgent { display: grid; grid-template-columns: 1fr 16px; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: var(--hl);
  color: var(--ink); text-decoration: none; }
.urgent b { display: block; font-size: var(--fs-h3); font-weight: 600; }
.urgent span span { display: block; margin-top: 2px; font-size: var(--fs-small); }
.urgent .chev { border-color: var(--ink); }
.urgent:hover .chev { transform: translateX(4px) rotate(45deg); }
@media (min-width: 760px) { .urgent { padding: 28px 32px; } }

.feature { display: grid; gap: 20px; }
.feature-im { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.feature-im img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 + p { margin-top: 8px; max-width: 46ch; }
@media (min-width: 1024px) { .feature { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; } }

/* work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters input { position: absolute; opacity: 0; pointer-events: none; }
.filters label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background var(--ease), box-shadow var(--ease); }
.filters label:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filters input:checked + label { background: var(--ink); color: #fff; box-shadow: none; }
.filters input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.work-list:has(#f-video:checked) .wk-grid li:not([data-type="video"]),
.work-list:has(#f-presentation:checked) .wk-grid li:not([data-type="presentation"]),
.work-list:has(#f-game:checked) .wk-grid li:not([data-type="game"]) { display: none; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; }
.work-head h1 { max-width: 22ch; }
.facts { display: grid; gap: 12px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cols { display: grid; gap: 32px; }
.cols p { margin-top: 12px; max-width: 60ch; }
@media (min-width: 1024px) { .cols { grid-template-columns: 1fr 1fr; gap: 64px; } }
.chapters { margin-top: 20px; }
@media (min-width: 1024px) { .chapters { grid-template-columns: repeat(4, 1fr); } }
/* questions as boxes: 1 column on phones, 2 from 760px; an odd last box spans the row so the grid stays even */
.faq { margin: 20px 0 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: q; }
.faq > div { counter-increment: q; position: relative; overflow: hidden; padding: 20px 20px 22px; border-radius: 16px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform 250ms ease, box-shadow 250ms ease; }
.faq > div::before { content: counter(q, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--muted); }
.faq > div::after { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--hl); transition: width 400ms ease; }
.faq > div:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 14px 32px rgba(17, 17, 17, .08); }
.faq > div:hover::after { width: 100%; }
.faq dt { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.faq dd { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--body); }
@media (min-width: 760px) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .faq > div { padding: 24px 26px 26px; }
  .faq > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* the boxes rise in one after another when the grid scrolls into view (studio.js adds .in) */
.js .stagger > * { opacity: 0; transform: translateY(14px); }
.js .stagger.in > * { opacity: 1; transform: none;
  transition: opacity 450ms ease calc(var(--i, 0) * 70ms), transform 450ms ease calc(var(--i, 0) * 70ms), box-shadow 250ms ease; }
.js .stagger.in > *:hover { transform: translateY(-3px); transition-delay: 0s; }
.pn-row { display: grid; gap: 12px; }
.pn { display: grid; gap: 4px; padding: 16px 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); text-decoration: none; }
.pn small { color: var(--muted); }
.pn b { color: var(--ink); font-weight: 600; }
.pn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pn.next { text-align: right; }
@media (min-width: 760px) { .pn-row { grid-template-columns: 1fr 1fr; } .pn.next:only-child { grid-column: 2; } }

/* blog cards */
.post-card .wk-im { aspect-ratio: 16 / 10; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.post-card .wk-im img { object-fit: contain; }
.pc-kind { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.post-card .wk-meta { margin-top: 4px; }
.pc-desc { display: block; margin-top: 6px; font-size: var(--fs-small); color: var(--body); }
.blog-list:has(#f-videos:checked) .wk-grid li:not([data-type="videos"]),
.blog-list:has(#f-decks:checked) .wk-grid li:not([data-type="decks"]),
.blog-list:has(#f-games:checked) .wk-grid li:not([data-type="games"]) { display: none; }
.feed-note { margin-top: 32px; }

/* a post */
.post-head h1 { max-width: 24ch; }
.kicker { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; font-size: 14px; color: var(--body); }
.by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.by b { color: var(--ink); font-weight: 600; }
.post-cover { margin: 0; }
.post-cover img { width: 100%; max-height: min(70vh, 620px); object-fit: contain; background: #fff; border-radius: var(--radius-media);
  box-shadow: inset 0 0 0 1px var(--rule); }
.post-cover figcaption { margin-top: 10px; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
.toc-side { order: -1; }
.toc { display: grid; gap: 8px; padding: 16px 0 24px; border-top: 1px solid var(--rule); font-size: 14px; }
.toc p { font-size: 13px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; }
@media (min-width: 1024px) {
  .post-grid { grid-template-columns: minmax(0, 700px) minmax(0, 260px); gap: 72px; justify-content: space-between; padding-top: 48px; }
  .toc-side { order: 0; }
  .toc { position: sticky; top: calc(var(--bar) + 24px); }
}

.prose { font-size: var(--fs-body); line-height: 1.65; color: var(--body); }
.prose > * { max-width: 68ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose h2 { font-size: var(--fs-h3); line-height: 1.25; margin: 44px 0 12px; padding-top: 16px; border-top: 1px solid var(--rule); }
@media (min-width: 1024px) { .prose h2 { font-size: 28px; } }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prose a:hover { text-decoration-thickness: 5px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose mark { background: var(--hl); color: var(--ink); padding: 0 .12em; }
.short { margin: 0 0 32px; padding: 20px 22px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule), inset 4px 0 0 var(--hl); }
.short p { margin: 0; color: var(--ink); }
.short .label, .prose .label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tbl { max-width: 100%; overflow-x: auto; margin: 8px 0 28px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; line-height: 1.45; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.tbl td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.box { margin: 8px 0 28px; padding: 20px 22px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.box p { margin: 0 0 8px; }
.box ol, .box ul { margin: 0; }
.slides { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 12px 0 30px; max-width: none; }
@media (min-width: 560px) { .slides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.slides figure { margin: 0; display: grid; gap: 8px; }
.slides .lbl { font-size: 13px; font-weight: 500; color: var(--muted); }
.sl { aspect-ratio: 16 / 9; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 20px rgba(17, 17, 17, .06);
  padding: 6% 7%; display: grid; align-content: start; gap: 7%; overflow: hidden; color: var(--ink); }
.sl .t { font-weight: 600; font-size: clamp(12px, 1.5vw, 16px); line-height: 1.2; }
.sl .t.big { font-size: clamp(15px, 2.1vw, 24px); line-height: 1.05; letter-spacing: -0.02em; }
.sl ul { margin: 0; padding-left: 1.1em; font-size: clamp(9px, 1.05vw, 12px); line-height: 1.35; }
.sl .bar { display: flex; height: clamp(14px, 2.2vw, 26px); border-radius: 4px; overflow: hidden; }
.sl .bar span { display: grid; place-items: center; font-size: clamp(8px, 1vw, 11px); font-weight: 600; }
.sl .bar .a { background: var(--ink); color: var(--hl); }
.sl .bar .b { background: var(--hl); }
.sl .bar .c { background: var(--rule); }
.sl .so { font-size: clamp(9px, 1.05vw, 12px); line-height: 1.3; }
.sl .src { font-size: clamp(7px, .8vw, 9px); color: var(--muted); }
.prose figure { margin: 8px 0 30px; max-width: none; }
.prose figure.still { max-width: 68ch; margin: 12px 0 32px; }
.prose figure.still img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--rule); }
.prose figure.still figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.fig-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.sources { padding-top: 24px; }
.sources ol { margin: 12px 0 0; padding-left: 1.3em; font-size: 14px; display: grid; gap: 8px; }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 40px; padding: 20px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.author p { margin: 0; font-size: 14px; }
.author .name { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* home: meEdit AI Talent as the hero (3 tall pictures + 2 wide ones). A click on any of them plays its film across the
   whole group. Phones: the 3 tall ones side by side, the 2 wide ones in a row below. */
.hero-film { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.hero-film .hero-stack { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.hero-stack .reel { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .hero-film { grid-template-columns: 464fr 464fr 464fr 733fr; }
  .hero-film .hero-stack { grid-column: auto; grid-template-columns: none; grid-template-rows: 1fr 1fr; }
  .hero-stack .reel { aspect-ratio: auto; }
}
.hero-film .reel { box-shadow: none; aspect-ratio: auto; height: 100%; }
.hero-film > .reel { aspect-ratio: 9 / 16; }
.hero-stack { display: grid; gap: 10px; }
.hero-stack .reel { border-radius: 12px; }
.hero-film .reel img { height: 100%; }
.hero-film .pill { left: 8px; bottom: 8px; padding: 0 6px; }
.hero-film .pill-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reel.playing { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .hero-film, .hero-stack { gap: 16px; }
  .hero-film .pill { left: 12px; bottom: 12px; padding: 0 16px 0 6px; }
  .hero-film .pill-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

.reel-cap .tlink, .by .tlink, .author .tlink, .sent .tlink { min-height: 0; background-position: 0 100%; }

.yt-out { margin-top: 8px; }
.yt-out .tlink { min-height: 0; background-position: 0 100%; }

.svc-tx span { max-width: 68ch; line-height: 1.5; }
.svc { align-items: start; }
.svc .chev { margin-top: 10px; }
@media (max-width: 759px) {
  /* phones: thumbnail and name on one line, the description under them at full width */
  .svc { grid-template-columns: 64px 1fr 16px; gap: 10px 14px; align-items: center; }
  .svc-tx { display: contents; }
  .svc-th { width: 64px; grid-row: 1; }
  .svc-tx b { grid-column: 2; grid-row: 1; }
  .svc .chev { grid-column: 3; grid-row: 1; margin-top: 0; }
  .svc-tx span { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
}

/* page heads: the text on the left, an "At a glance" fact box on the right (below it on phones) */
.ph-in { display: grid; gap: 24px; }
.glance { padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.glance-t { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.glance-t::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hl); }
.glance dl { margin: 0; }
.glance dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.glance dl > div:first-child { border-top: 0; }
.glance dt { font-size: 13px; color: var(--muted); }
.glance dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.glance .tlink { min-height: 0; background-position: 0 100%; }
@media (max-width: 420px) { .glance dl > div { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 1024px) {
  .ph-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .page-head .lead { max-width: 52ch; }
}
.faq dd .tlink, .sec-head p .tlink { min-height: 0; background-position: 0 100%; }

/* service-page questions: a 4-column grid on wide screens; short answers take 1 column, long ones 2, a lead question 4 */
@media (min-width: 1024px) {
  .faq.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq.quad > div:last-child:nth-child(odd) { grid-column: auto; }
  .faq.quad > .s1 { grid-column: span 1; }
  .faq.quad > .s2 { grid-column: span 2; }
  .faq.quad > .s4 { grid-column: 1 / -1; }
  .faq.quad > .s1 { padding: 22px 22px 24px; }
}

/* a work's stills or slides under its video */
.gallery { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.gallery li { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; }
.gallery img { width: 100%; height: auto; }
.frame-sheet { margin: 24px 0 0; }
.frame-sheet img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--rule); }
.frame-sheet figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* founder: photo, bio with quick facts, and a quote, so the row is full on wide screens */
.founder-tx h2 + p { margin-top: 8px; max-width: 56ch; }
.founder-facts { margin: 16px 0 8px; }
.founder-facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); }
.founder-facts dt { font-size: 13px; color: var(--muted); }
.founder-facts dd { margin: 0; font-size: 15px; color: var(--ink); }
.founder-quote { grid-column: 1 / -1; margin: 0; padding: 24px 24px 22px 28px; border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule), inset 4px 0 0 var(--hl); }
.founder-quote p { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.founder-quote footer { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (min-width: 1024px) {
  /* only when there is a quote: urgentdeck.com reuses .founder without one */
  .founder:has(> .founder-quote) { grid-template-columns: 200px minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
  .founder-quote { grid-column: auto; display: flex; flex-direction: column; justify-content: center; padding: 36px 36px 32px 40px; }
  .founder-quote p { font-size: 24px; }
}
.founder-im { align-self: start; width: 100%; }
@media (max-width: 759px) { .founder-facts > div { grid-template-columns: 1fr; gap: 2px; } }
