/* animasai.co, direction B: "Straight answer" (Tyler, 2026-10-02). Independent consumer advice: black rules, white
   page, one highlighter yellow. From the prototype in ~/Projects/marketing/design/animasai/b-straight/. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/source-serif-4.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/source-serif-4-italic.woff2) format("woff2"); }

:root {
  --ink: #141414;
  --soft: #555;
  --paper: #fff;
  --tint: #f4f3ef;
  --hi: #ffe14d;
  --green: #1d6b45;
  --red: #a8321f;
  --line: #d6d6d6;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 19px/1.6 var(--body); }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--hi); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.05; }
mark { background: linear-gradient(transparent 12%, var(--hi) 12%, var(--hi) 88%, transparent 88%); color: inherit; padding: 0 .08em; }
code { font: 15px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--tint); padding: 1px 5px; overflow-wrap: anywhere; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--hi); padding: 8px 12px; font: 700 15px var(--head); }
.skip:focus { left: 8px; top: 8px; z-index: 10; }

.mast { border-top: 10px solid var(--ink); border-bottom: 2px solid var(--ink); }
.mast-in { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 14px; }
.mark { font: 800 24px/1 var(--head); font-stretch: 85%; text-decoration: none; letter-spacing: -.01em; }
.tag { margin: 0; flex: 1; font: 500 14px var(--head); color: var(--soft); border-left: 1px solid #ccc; padding-left: 20px; }
.mast nav a { margin-left: 22px; font: 700 14px var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.mast nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.hero { padding-top: 64px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(46px, 8vw, 104px); font-weight: 850; font-stretch: 75%; letter-spacing: -.015em; max-width: 11em; }
.hero-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--ink); }
.lede { font-size: 22px; line-height: 1.5; margin: 0; }
.byline { display: flex; gap: 14px; align-items: flex-start; }
.byline p { margin: 0; font-style: italic; font-size: 18px; }
.byline .date { display: block; margin-top: 6px; font: 600 13px var(--head); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); }
.photo { flex: none; width: 54px; height: 54px; object-fit: cover; filter: grayscale(1) contrast(1.05); background: #ddd; }
.photo.big { width: 140px; height: 170px; }

.rule-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 6px solid var(--ink); padding-top: 12px; margin-bottom: 8px; }
.rule-head h2 { font-size: 30px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .01em; }
.rule-head p { margin: 0; font: 600 15px var(--head); color: var(--soft); }

.jobs { width: 100%; border-collapse: collapse; font-size: 17px; }
.jobs th { text-align: left; font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ink); }
.jobs td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.jobs td:first-child { font: 700 21px/1.2 var(--head); font-stretch: 90%; width: 38%; }
.jobs td:first-child a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--hi); text-underline-offset: 4px; }
.jobs td:last-child { width: 140px; text-align: right; padding-right: 0; }
.pill { display: inline-block; font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--hi); padding: 6px 10px; text-decoration: none; white-space: nowrap; }

.every { padding-top: 72px; }
.qs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: q; }
.qs li { counter-increment: q; padding: 18px 20px 8px 20px; font-size: 16.5px; line-height: 1.45; border-right: 1px solid var(--line); }
.qs li:first-child { padding-left: 0; }
.qs li:last-child { border-right: 0; }
.qs li::before { content: counter(q); display: block; font: 850 44px/1 var(--head); font-stretch: 75%; margin-bottom: 10px; }
.qs b { display: block; font: 700 18px/1.2 var(--head); margin-bottom: 6px; }

.about { display: flex; gap: 36px; margin-top: 80px; margin-bottom: 64px; padding-top: 34px; background: linear-gradient(var(--ink), var(--ink)) var(--pad, 32px) 0 / calc(100% - 2 * var(--pad, 32px)) 6px no-repeat; }
.about h2 { font-size: 30px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; margin-bottom: 12px; }
.about p { margin: 0 0 12px; max-width: 38em; }
.link { white-space: nowrap; font: 700 17px var(--head); text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.foot { background: var(--ink); color: #ddd; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; padding-bottom: 26px; font: 500 14px var(--head); }
.foot-in nav a { margin-right: 18px; color: #ddd; }
.corner { text-decoration: none; color: var(--hi); }
.foot a:focus-visible { outline-color: var(--hi); box-shadow: none; }

/* Guide and plain pages */
.guide-head { padding-top: 40px; padding-bottom: 36px; border-bottom: 2px solid var(--ink); }
.crumb { font: 600 14px var(--head); color: var(--soft); margin: 0 0 18px; }
.guide-head h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 850; font-stretch: 75%; letter-spacing: -.01em; max-width: 13em; }
.guide-head .lede { margin-top: 22px; max-width: 32em; }
.by { margin: 16px 0 0; font: 600 14px/1.8 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--soft); }
.by a { text-decoration-color: var(--hi); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.guide-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 40px; }
.toc { position: sticky; top: 24px; align-self: start; font-family: var(--head); }
.toc p { margin: 0 0 10px; font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; border-top: 2px solid var(--ink); }
.toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; font-weight: 600; text-decoration: none; }
.toc a::before { content: counter(t); font-weight: 850; width: 14px; flex: none; }

.guide article { max-width: 760px; min-width: 0; }
.guide article p, .page article p { margin: 0 0 14px; }
.guide article ul, .page article ul { margin: 0 0 14px; padding-left: 22px; }
.guide article li, .page article li { margin-bottom: 6px; }
.glance { width: 100%; border-collapse: collapse; border: 3px solid var(--ink); margin-bottom: 20px; font-size: 17px; }
.glance caption { caption-side: top; text-align: left; background: var(--ink); color: var(--hi); font: 800 14px var(--head); text-transform: uppercase; letter-spacing: .1em; padding: 8px 14px; }
.glance th { text-align: left; width: 32%; font: 700 15px var(--head); padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--tint); vertical-align: top; }
.glance td { padding: 11px 14px; border-bottom: 1px solid var(--line); }

.guide article section { padding: 34px 0 16px; }
.guide article section h2 { display: flex; gap: 16px; align-items: baseline; font-size: 36px; font-weight: 800; font-stretch: 80%; margin-bottom: 16px; }
.guide article section h3 { font-size: 21px; font-weight: 750; font-stretch: 90%; margin: 22px 0 8px; }
.n { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--ink); color: var(--hi); font: 850 24px/1 var(--head); transform: translateY(-4px); }

.sample { margin: 24px 0 18px; border: 1px solid var(--ink); }
.sample figcaption { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .1em; padding: 10px 14px; border-bottom: 1px solid var(--ink); background: var(--tint); }
.sample table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.sample td, .sample th { padding: 9px 14px; border-bottom: 1px solid #e3e3e3; vertical-align: top; text-align: left; }
.sample thead th { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--soft); }
.grp th { text-align: left; font: 800 13px var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 12px 14px 6px; }
.act { font: 700 14px var(--head); color: var(--green); text-align: right; }
.act.warn { color: var(--red); }
.sample-foot { margin: 0 !important; padding: 10px 14px; font-size: 15px; font-style: italic; color: var(--soft); }

.steps { margin: 0 0 14px; padding: 0 !important; list-style: none; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; margin: 0 !important; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 850 22px/1.3 var(--head); }

.kv { display: grid; grid-template-columns: 220px 1fr; margin: 0 0 14px; border-top: 1px solid var(--ink); }
.kv dt, .kv dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { font: 700 17px/1.4 var(--head); padding-right: 16px; }

.costs { width: 100%; border-collapse: collapse; font-size: 17px; margin-bottom: 18px; }
.costs th { text-align: left; font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); border-bottom: 2px solid var(--ink); padding: 8px 0; }
.costs td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.costs td:first-child { font: 700 17px var(--head); width: 30%; }
.note { font-size: 16px; color: var(--soft); }
.diy { background: var(--tint); padding: 18px 22px 8px; font-size: 17px; border-left: 6px solid var(--ink); margin-bottom: 14px; }
.diy h3 { margin-top: 0 !important; }
.diy ol { padding-left: 22px; }

.handoff { margin-top: 32px; margin-bottom: 64px; padding: 34px 36px 36px !important; background: var(--ink); color: #fff; }
.handoff h2 { color: #fff; }
.handoff .n { background: var(--hi); color: var(--ink); }
.handoff > p:not(.focus) { margin-bottom: 24px; }
.handoff .focus { margin: 24px 0 0 !important; padding-top: 16px; border-top: 1px solid #444; font-size: 16px; color: #ccc; }
.handoff-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--hi); color: var(--ink); font: 800 18px var(--head); text-decoration: none; padding: 14px 22px; }
.btn:hover { background: #fff; }
.handoff .btn:focus-visible { outline-color: #fff; box-shadow: none; }
.handoff a:not(.btn) { color: #fff; }
.sig { display: flex; gap: 12px; align-items: center; margin: 0 !important; font-style: italic; color: #ccc; font-size: 16px; }

.sources { font-size: 16px; }
.sources li { overflow-wrap: anywhere; }

/* About and other plain pages */
.page article { max-width: 760px; padding: 36px 0 64px; }
.page article a { overflow-wrap: anywhere; }
.page article h2 { font-size: 32px; font-weight: 800; font-stretch: 80%; border-top: 6px solid var(--ink); padding-top: 12px; margin: 40px 0 14px; }
.page article h3 { font-size: 21px; font-weight: 750; font-stretch: 90%; margin: 22px 0 6px; }
.facts { width: 100%; border-collapse: collapse; font-size: 17px; border-top: 2px solid var(--ink); }
.facts th { text-align: left; width: 30%; font: 700 15px var(--head); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.who { display: flex; gap: 28px; align-items: flex-start; }

@media (max-width: 760px) {
  body { font-size: 17.5px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .mast-in { flex-wrap: wrap; gap: 6px 16px; }
  .tag { order: 3; flex-basis: 100%; border: 0; padding: 0; }
  .mast nav { margin-left: auto; }
  .mast nav a { margin-left: 14px; }
  .hero { padding-top: 32px; padding-bottom: 36px; }
  .hero-cols { grid-template-columns: 1fr; gap: 24px; }
  .lede { font-size: 19px; }
  .rule-head { flex-direction: column; gap: 4px; }
  .rule-head h2 { font-size: 24px; }
  .jobs thead { display: none; }
  .jobs, .jobs tbody { display: block; }
  .jobs tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .jobs td { display: block; border: 0; padding: 2px 0; width: auto !important; text-align: left !important; }
  .jobs td:first-child { font-size: 20px; }
  .jobs td:last-child { padding-top: 8px; }
  .qs { grid-template-columns: 1fr; }
  .qs li { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0 !important; display: grid; grid-template-columns: 44px 1fr; }
  .qs li::before { font-size: 32px; grid-row: span 2; }
  .about, .who { flex-direction: column; gap: 18px; }
  .photo.big { width: 110px; height: 130px; }
  .about { --pad: 18px; }
  .guide-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .toc { position: static; }
  .guide article section h2 { font-size: 28px; gap: 12px; }
  .n { width: 34px; height: 34px; font-size: 19px; transform: translateY(-2px); }
  .glance th { width: 38%; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .handoff { padding: 26px 18px 28px !important; margin-left: -18px; margin-right: -18px; }
  .page article h2 { font-size: 26px; }
  .facts th { width: 40%; }
}

/* About and 404: the h1 and byline inside the article */
.page article > h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 850; font-stretch: 75%; letter-spacing: -.01em; margin-bottom: 18px; }
.page article > .lede { margin-bottom: 20px; }
.who-line { margin: 18px 0 8px; }
.who-line a, .who p a, .page article p a { text-decoration-color: var(--hi); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.page article h3 a { text-decoration-color: var(--hi); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.costs td, .glance td, .facts td, .kv dd { overflow-wrap: anywhere; }
