/* Opus Automations: everything brought back from the React site, in the same look.
   Loaded after site.css. New classes only; the phone block is at the end.
   Rules of the house still apply: no new blurred layers (opaque fills only), one red accent, sizes in --w. */

:root { --hair: rgba(239, 236, 229, .14); --hair-ink: rgba(21, 21, 19, .22); }

/* the font has no peso sign, the serif does: it becomes the one serif glyph in a price */
.peso { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; padding-right: .03em; }

button.btn { border: 0; font-family: inherit; cursor: pointer; }
.btn-light { background: var(--world-1); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 28px -14px rgba(0, 0, 0, .7); }
.btn-light:hover { background: #fff; }
.btn[disabled] { opacity: .6; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.cookie :focus-visible, .sheet :focus-visible, .cform :focus-visible, .plan:not(.pop) :focus-visible,
.role-slab :focus-visible, .prose-slab :focus-visible { outline-color: var(--world-1); }

.sec-cta { margin-top: calc(70 * var(--w)); padding-left: calc(var(--rail) * var(--w)); color: var(--muted-on-dark); }
.world-sec .sec-cta { color: var(--ink-soft); }
.sec-cta .link { color: var(--ink-on-dark); margin-left: .35em; }
.world-sec .sec-cta .link { color: var(--ink); }
.sec-cta .link:first-child { margin-left: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: calc(16 * var(--w)); }
.tags li { font-size: max(12px, calc(13 * var(--w))); line-height: 1.2; padding: .42em .85em .46em; border-radius: 999px; white-space: nowrap;
  color: var(--muted-on-dark); box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .2); }
.tags.built { margin-top: calc(16 * var(--w)); }
.tags.built li { color: var(--ink-soft); box-shadow: inset 0 0 0 1px rgba(21, 21, 19, .28); }

/* first section of a sub page: clear of the nav pill */
.slab.first { margin-top: max(84px, calc(110 * var(--w))); }
.world-sec.first { padding-top: max(150px, calc(210 * var(--w))); }
.page-head { padding-bottom: calc(90 * var(--w)); }

/* ---------- home: the band on top of the build slab (what we do, who for) ---------- */
.band { margin-bottom: calc(130 * var(--w)); }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.caps li { display: flex; flex-direction: column; gap: 3px; padding: calc(26 * var(--w)) calc(24 * var(--w)) calc(28 * var(--w)) 0; }
.caps li + li { padding-left: calc(26 * var(--w)); border-left: 1px solid var(--hair); }
.caps b { font-weight: 500; font-size: max(16px, calc(22 * var(--w))); letter-spacing: -0.035em; line-height: 1.15; }
.caps span { color: var(--muted-on-dark); }
.caps em { margin-top: calc(18 * var(--w)); font-family: var(--serif); font-style: italic; font-size: max(15px, calc(20 * var(--w)));
  line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-on-dark); }
.clients { display: flex; align-items: center; margin-top: calc(40 * var(--w)); }
.clients p { flex: 0 0 calc(var(--rail) * var(--w)); color: var(--muted-on-dark); }
.clients ul { display: flex; align-items: center; flex-wrap: wrap; gap: calc(20 * var(--w)) calc(70 * var(--w)); }
.clients img { display: block; width: auto; filter: grayscale(1); opacity: .78; }
.lg-veblen { height: calc(70 * var(--w)); mix-blend-mode: screen; margin: calc(-14 * var(--w)) calc(-8 * var(--w)); }
.lg-as { height: calc(22 * var(--w)); }
.lg-sw { height: calc(38 * var(--w)); }

/* build and advise: prices, the note, the way in */
.col-foot { padding-top: calc(28 * var(--w)); border-top: 1px solid var(--hair); }
.prices { display: flex; flex-wrap: wrap; gap: calc(14 * var(--w)) calc(44 * var(--w)); margin: 0 0 calc(22 * var(--w)); }
.prices div { display: flex; flex-direction: column; gap: 2px; }
.prices dt { font-size: max(12px, calc(var(--fs-small) * var(--w))); color: var(--muted-on-dark); }
.prices dd { margin: 0; font-size: max(17px, calc(24 * var(--w))); letter-spacing: -0.035em; line-height: 1.15; white-space: nowrap; }
.note { color: var(--muted-on-dark); max-width: 36em; margin-bottom: calc(20 * var(--w)); }

/* ---------- work: facts, tags, the two "also for" clients ---------- */
.wfacts { display: flex; flex-wrap: wrap; gap: 4px calc(26 * var(--w)); margin-top: calc(14 * var(--w)); color: var(--muted-on-dark); }
.wfacts b { font-weight: 500; color: var(--ink-on-dark); margin-right: .45em; }
.work-row .tags { margin-top: calc(14 * var(--w)); }
.also { display: grid; grid-template-columns: calc(var(--rail) * var(--w)) 1fr 1fr; margin-top: calc(90 * var(--w));
  padding-top: calc(60 * var(--w)); border-top: 1px solid var(--hair); }
.also-item { padding-right: calc(70 * var(--w)); }
.also-item:first-child { grid-column: 2; }
.also-item .h3 { font-size: calc(30 * var(--w)); }
.also-item .meta { margin: calc(8 * var(--w)) 0 calc(12 * var(--w)); }
.also-item p:last-child { color: var(--muted-on-dark); max-width: 30em; }

/* ---------- words: the short line above each quote ---------- */
.quote blockquote .q-lead { font-family: var(--sans); font-style: normal; font-weight: 500; text-indent: -0.47em;
  font-size: max(17px, calc(24 * var(--w))); line-height: 1.22; letter-spacing: -0.035em; margin-bottom: calc(24 * var(--w)); max-width: 26em; }
.q-lead em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.012em; font-size: 1.06em; }
.quote figcaption .tags { margin-top: calc(18 * var(--w)); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(14 * var(--w)); margin-top: calc(100 * var(--w)); }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: calc(26 * var(--w));
  padding: calc(30 * var(--w)) calc(30 * var(--w)) calc(32 * var(--w)); box-shadow: inset 0 1px 0 rgba(239, 236, 229, .1); }
.plan .meta { display: flex; gap: .9em; }
.plan .meta span:last-child { color: var(--ink-on-dark); }
.pop-lab { position: absolute; top: calc(30 * var(--w)); right: calc(30 * var(--w)); display: flex; align-items: center; gap: 7px; font-weight: 500; }
.pop-lab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.plan-from { margin-top: calc(74 * var(--w)); color: var(--muted-on-dark); }
.plan-price { margin-top: calc(4 * var(--w)); font-size: calc(72 * var(--w)); letter-spacing: -0.06em; line-height: 1; white-space: nowrap; }
.plan-price .peso { font-size: .9em; padding-right: .05em; }
.plan-line { margin-top: calc(20 * var(--w)); font-size: max(16px, calc(20 * var(--w))); letter-spacing: -0.025em; line-height: 1.25; }
.plan-mo { margin-top: calc(8 * var(--w)); color: var(--muted-on-dark); min-height: 2.9em; }
.plan-feats { margin: calc(24 * var(--w)) 0 calc(32 * var(--w)); border-top: 1px solid var(--hair); }
.plan-feats li { padding: calc(11 * var(--w)) 0 calc(12 * var(--w)); border-bottom: 1px solid var(--hair); font-size: max(14px, calc(16 * var(--w))); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.pop { background: var(--world-1); color: var(--ink); box-shadow: inset 0 1px 0 #fff; }
.plan.pop .meta, .plan.pop .plan-from, .plan.pop .plan-mo { color: var(--ink-soft); }
.plan.pop .meta span:last-child { color: var(--ink); }
.plan.pop .plan-feats, .plan.pop .plan-feats li { border-color: rgba(21, 21, 19, .16); }
.plan-note { margin-top: calc(24 * var(--w)); color: var(--muted-on-dark); }
.advice { display: grid; grid-template-columns: calc(var(--rail) * var(--w)) 1fr auto; align-items: end; margin-top: calc(90 * var(--w));
  padding-top: calc(56 * var(--w)); border-top: 1px solid var(--hair); }
.advice .h3 { grid-column: 2; }
.advice p { grid-column: 2; margin-top: calc(14 * var(--w)); color: var(--muted-on-dark); max-width: 34em; }
.advice .link { grid-column: 3; grid-row: 1 / span 2; }

/* ---------- about: second paragraph and the three numbers ---------- */
.stmt-body .intro + .intro { margin-top: calc(22 * var(--w)); }
.stats { grid-column: 2; display: flex; flex-wrap: wrap; gap: calc(24 * var(--w)) calc(84 * var(--w)); margin-top: calc(70 * var(--w)); }
.stats li { display: flex; flex-direction: column; gap: calc(8 * var(--w)); }
.stats span { color: var(--ink-soft); }

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(80 * var(--w)); margin-top: calc(100 * var(--w)); }
.people li { display: grid; grid-template-columns: auto 1fr; column-gap: calc(22 * var(--w)); align-items: start;
  padding: calc(26 * var(--w)) 0 calc(30 * var(--w)); border-top: 1px solid var(--hair); }
.ini { display: grid; place-items: center; width: max(40px, calc(54 * var(--w))); height: max(40px, calc(54 * var(--w))); border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .24); font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: max(19px, calc(26 * var(--w))); line-height: 1; color: var(--ink-on-dark); flex: none; }
.people .ini { grid-row: 1 / span 3; }
.people .h3 { font-size: calc(30 * var(--w)); }
.role-t { margin-top: calc(6 * var(--w)); }
.focus { margin-top: calc(6 * var(--w)); color: var(--muted-on-dark); }

/* ---------- common questions (on the world) ---------- */
.faq-list { margin: calc(80 * var(--w)) 0 0 calc(var(--rail) * var(--w)); max-width: calc(880 * var(--w)); border-bottom: 1px solid var(--hair-ink); }
.faq-list details { border-top: 1px solid var(--hair-ink); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none;
  padding: calc(24 * var(--w)) 0 calc(25 * var(--w)); font-size: max(17px, calc(26 * var(--w))); letter-spacing: -0.035em; line-height: 1.16; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(21, 21, 19, .3);
  transition: background-color .3s, color .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform .35s; }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i { background: var(--ink); color: var(--world-1); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list summary:hover i { background: var(--ink); color: var(--world-1); }
.faq-list details p { padding: 0 calc(70 * var(--w)) calc(30 * var(--w)) 0; color: var(--ink-soft); max-width: 40em; }

/* ---------- talk: the form and the side column ---------- */
.cform { grid-column: 2; display: grid; row-gap: calc(28 * var(--w)); padding-right: calc(76 * var(--w)); }
/* the bot trap: off screen for people, still in the form for scripts that fill every field */
.cform .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.talk-side { grid-column: 3; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(28 * var(--w)); row-gap: calc(28 * var(--w)); }
.f-row:has(.sel) { grid-template-columns: 1fr; }
.field { display: block; position: relative; min-width: 0; }
.field > span { display: block; margin-bottom: 4px; font-size: max(12px, calc(var(--fs-small) * var(--w))); font-weight: 500; color: var(--muted-on-dark); }
.field input, .field select, .field textarea { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 8px 0 11px;
  background: transparent; color: var(--ink-on-dark); border: 0; border-bottom: 1px solid rgba(239, 236, 229, .3); border-radius: 0;
  font: inherit; font-size: max(16px, calc(18 * var(--w))); letter-spacing: -0.01em; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 5.6em; line-height: 1.42; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: rgba(239, 236, 229, .55); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-bottom-color: var(--world-1); box-shadow: 0 1px 0 0 var(--world-1); border-radius: 0; }
.field ::placeholder { color: rgba(168, 162, 150, .75); opacity: 1; }
.field select { padding-right: 26px; text-overflow: ellipsis; cursor: pointer; }
.field select:invalid { color: var(--muted-on-dark); }
.field select option { background: #151513; color: #EFECE5; }
.field.sel::after { content: ""; position: absolute; right: 5px; bottom: 21px; width: 7px; height: 7px; pointer-events: none;
  border-right: 1.5px solid var(--muted-on-dark); border-bottom: 1.5px solid var(--muted-on-dark); transform: rotate(45deg); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink-on-dark); caret-color: var(--ink-on-dark); transition: background-color 99999s; }
.f-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: calc(6 * var(--w)); }
.f-status { color: var(--muted-on-dark); min-height: 1.45em; max-width: 26em; }
.f-status.ok { color: var(--ink-on-dark); }
.f-status.err { color: #F0705A; }
.talk-side .meta { color: var(--muted-on-dark); }
.talk-side .mail { margin-top: calc(8 * var(--w)); font-size: max(17px, calc(22 * var(--w))); letter-spacing: -0.03em; }
.talk-side .mail a { color: var(--ink-on-dark); text-underline-offset: .28em; text-decoration-thickness: 1px; }
.talk-side .pre { margin: calc(44 * var(--w)) 0 calc(12 * var(--w)); color: var(--muted-on-dark); }
.talk-side .clocks { margin-top: calc(70 * var(--w)); }

/* ---------- careers ---------- */
.closed { display: flex; align-items: baseline; gap: 12px; padding-left: calc(var(--rail) * var(--w));
  font-size: max(16px, calc(22 * var(--w))); letter-spacing: -0.03em; line-height: 1.25; }
.closed i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: calc(14 * var(--w)); margin-top: calc(60 * var(--w)); }
.role { display: flex; flex-direction: column; background: var(--card); border-radius: calc(26 * var(--w));
  padding: calc(30 * var(--w)) calc(30 * var(--w)) calc(28 * var(--w)); box-shadow: inset 0 1px 0 rgba(239, 236, 229, .1); }
.role .h3 { margin-top: calc(14 * var(--w)); }
.role-sum { margin-top: calc(14 * var(--w)); color: var(--muted-on-dark); max-width: 34em; }
.role .tags { margin-bottom: calc(30 * var(--w)); }
.role-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: auto; padding-top: calc(20 * var(--w));
  border-top: 1px solid var(--hair); color: var(--muted-on-dark); }
.role-meta b { margin-left: auto; font-weight: 500; color: var(--ink-on-dark); padding: .34em .9em .38em; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .28); }

/* one role */
.back { margin-bottom: calc(46 * var(--w)); }
.back a { font-weight: 500; text-decoration: none; color: var(--ink); }
.back a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 2px; border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.back a:hover { text-decoration: underline; text-underline-offset: .28em; }
.role-head .sec-head .h2 { max-width: 12em; }
.role-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: calc(44 * var(--w)); padding-left: calc(var(--rail) * var(--w)); }
.role-top .small { color: var(--ink-soft); }
.role-intro, .role-sec { margin-left: calc(var(--rail) * var(--w)); max-width: calc(780 * var(--w)); }
.role-intro p { font-size: max(17px, calc(23 * var(--w))); line-height: 1.4; letter-spacing: -0.022em; }
.role-intro p + p { margin-top: 1em; color: var(--muted-on-dark); }
.role-sec { margin-top: calc(84 * var(--w)); }
.role-sec h2 { margin: 0 0 calc(22 * var(--w)); font-weight: 400; font-size: calc(var(--fs-h3) * var(--w)); letter-spacing: -0.045em; line-height: 1.02; }
.checks li, .steps li { position: relative; padding: calc(14 * var(--w)) 0 calc(15 * var(--w)) calc(40 * var(--w)); border-top: 1px solid var(--hair); }
.checks li::before { content: ""; position: absolute; left: 3px; top: calc(14 * var(--w) + .46em); width: 10px; height: 5px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.steps { counter-reset: st; }
.steps li { counter-increment: st; }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: calc(14 * var(--w) + .22em);
  font-size: max(12px, calc(var(--fs-small) * var(--w))); font-weight: 500; color: var(--muted-on-dark); font-variant-numeric: tabular-nums; }
.ready { display: flex; align-items: center; justify-content: space-between; gap: calc(40 * var(--w)); margin: calc(96 * var(--w)) 0 0 calc(var(--rail) * var(--w));
  background: var(--card); border-radius: calc(26 * var(--w)); padding: calc(34 * var(--w)) calc(36 * var(--w)); box-shadow: inset 0 1px 0 rgba(239, 236, 229, .1); }
.ready p { margin-top: calc(12 * var(--w)); color: var(--muted-on-dark); max-width: 34em; }
.ready .btn { flex: none; }
/* a closed role: the closed line sits where the Start Screening buttons were */
.role-top .closed, .ready .closed { padding-left: 0; }
.ready .closed { flex: none; margin-top: 0; color: inherit; }

/* ---------- privacy and cookies ---------- */
.prose { margin-left: calc(var(--rail) * var(--w)); max-width: calc(780 * var(--w)); color: rgba(239, 236, 229, .84); }
.prose h1 { margin: 0 0 calc(34 * var(--w)); font-weight: 400; color: var(--ink-on-dark); font-size: calc(var(--fs-h2) * var(--w)); letter-spacing: -0.056em; line-height: .96; }
.prose h2 { margin: calc(64 * var(--w)) 0 calc(16 * var(--w)); font-weight: 400; color: var(--ink-on-dark); scroll-margin-top: 90px;
  font-size: max(20px, calc(30 * var(--w))); letter-spacing: -0.04em; line-height: 1.1; }
.prose p + p, .prose ul + p, .prose p + ul, .prose .tbl + p { margin-top: 1em; }
.prose ul li { position: relative; padding-left: 1.35em; }
.prose ul li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: .15em; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted-on-dark); }
.prose a { color: var(--ink-on-dark); text-decoration-thickness: 1px; text-underline-offset: .24em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong, .prose b { font-weight: 500; color: var(--ink-on-dark); }
.short { margin: calc(40 * var(--w)) 0; padding: calc(30 * var(--w)) calc(32 * var(--w)) calc(32 * var(--w)); background: var(--card);
  border-radius: calc(24 * var(--w)); box-shadow: inset 0 1px 0 rgba(239, 236, 229, .1); }
.short > :first-child { margin-top: 0; }
.tbl { margin: 1.4em 0; overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair); -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: max(13px, calc(15 * var(--w))); line-height: 1.45; }
.tbl caption { caption-side: top; text-align: left; padding: 14px 18px; color: var(--muted-on-dark); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 18px; border-top: 1px solid var(--hair); }
.tbl th { font-weight: 500; color: var(--muted-on-dark); white-space: nowrap; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: max(12px, .9em); padding: .14em .42em; border-radius: 6px;
  background: rgba(239, 236, 229, .09); color: var(--ink-on-dark); white-space: nowrap; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; overflow: clip; }
.nf > * { position: relative; z-index: 1; }
.nf .wordmark.nf-mark { position: absolute; z-index: 0; right: calc(40 * var(--w)); bottom: 6%; font-size: calc(560 * var(--w)); color: var(--ink); opacity: .09; }
.nf .path { margin-bottom: calc(26 * var(--w)); }

/* ---------- footer ---------- */
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; column-gap: calc(76 * var(--w)); align-items: start; }
.foot-brand .brand { display: inline-flex; padding: 0; }
.foot-tag { margin-top: calc(20 * var(--w)); max-width: 21em; font-size: max(16px, calc(21 * var(--w))); letter-spacing: -0.028em; line-height: 1.28; }
.foot-lh { margin-top: calc(18 * var(--w)); max-width: 30em; color: var(--ink-soft); }
.foot-lh a { text-decoration-thickness: 1px; text-underline-offset: .26em; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: calc(26 * var(--w)); }
.socials a { font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.foot-col h2 { margin: 0 0 calc(16 * var(--w)); color: var(--ink-soft); }
.foot-col li + li { margin-top: 8px; }
.foot-col a { text-decoration: none; white-space: nowrap; }
.foot-col a:hover, .socials a:hover, .foot-lh a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; }
/* the BIR seal stays on its white tile so the code scans */
.bir { display: block; line-height: 0; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-radius: 14px; padding: 8px; }
.bir img { display: block; width: 300px; max-width: 100%; height: auto; }
.foot-row p { margin: 0; }

/* ---------- cookie banner and settings (opaque slab cards, no blur) ---------- */
.cookie { position: fixed; z-index: 60; left: max(12px, calc(24 * var(--w))); bottom: max(12px, calc(24 * var(--w)));
  width: min(440px, calc(100vw - 24px)); box-sizing: border-box; padding: 22px 22px 20px; border-radius: 24px;
  background: var(--slab); color: var(--ink-on-dark); box-shadow: inset 0 0 0 1px var(--rim), inset 0 1px 0 rgba(239, 236, 229, .16), 0 30px 60px -22px rgba(0, 0, 0, .6); }
.cookie[hidden] { display: none; }
.cookie h2 { margin: 0 0 8px; font-weight: 500; font-size: 18px; letter-spacing: -0.03em; line-height: 1.2; outline-offset: 5px; }
.cookie p { color: var(--muted-on-dark); }
.cookie p a, .cdialog p a { color: var(--ink-on-dark); text-underline-offset: .24em; text-decoration-thickness: 1px; }
.cookie-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cookie-btns.two { grid-template-columns: 1fr 1fr; }
.cbtn { height: 44px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-on-dark); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .34); font: 500 14px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .25s; }
.cbtn:hover { background: rgba(239, 236, 229, .1); }
.cbtn.solid { background: var(--world-1); color: var(--ink); box-shadow: none; }
.cbtn.solid:hover { background: #fff; }

dialog.sheet { border: 0; padding: 0; margin: auto; background: var(--slab); color: var(--ink-on-dark); border-radius: 26px; overflow: hidden;
  width: min(480px, calc(100vw - 24px)); max-width: none; max-height: min(720px, calc(100dvh - 24px));
  box-shadow: inset 0 0 0 1px var(--rim), 0 40px 90px -30px rgba(0, 0, 0, .75); }
dialog.sheet::backdrop { background: rgba(21, 21, 19, .58); }
.sheet-in { box-sizing: border-box; padding: 26px; max-height: min(720px, calc(100dvh - 24px)); overflow-y: auto; overscroll-behavior: contain; }
.cdialog h2 { margin: 0 0 8px; font-weight: 500; font-size: 22px; letter-spacing: -0.035em; line-height: 1.15; }
.cdialog .sheet-in > p { color: var(--muted-on-dark); }
.copt { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--hair); }
.cdialog .sheet-in > p + .copt { margin-top: 18px; }
.copt b { font-weight: 500; }
.copt label { cursor: pointer; }
.copt p { margin-top: 3px; color: var(--muted-on-dark); }
.always { color: var(--muted-on-dark); white-space: nowrap; padding-top: 2px; }
#cookie-optional { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 46px; height: 28px; margin: 0; border-radius: 999px;
  background: rgba(239, 236, 229, .22); cursor: pointer; transition: background-color .25s; }
#cookie-optional::before { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--world-1);
  transition: transform .25s; }
#cookie-optional:checked { background: var(--accent); }
#cookie-optional:checked::before { transform: translateX(18px); }
.cdialog .cookie-btns { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--hair); }
.cdialog .cookie-btns + p { margin-top: 16px; }

/* ---------- screening chat ---------- */
dialog.chat { width: min(560px, calc(100vw - 24px)); height: min(760px, calc(100dvh - 24px)); max-height: none; }
dialog.chat[open] { display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--hair); }
.chat-head .ini { width: 38px; height: 38px; font-size: 19px; }
.chat-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.chat-head b { font-weight: 500; }
.chat-head .small { color: var(--muted-on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-close, .chat-attach, .chat-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.chat-close { position: relative; background: rgba(239, 236, 229, .08); color: var(--ink-on-dark); }
.chat-close:hover { background: rgba(239, 236, 229, .16); }
.chat-close i { position: relative; width: 14px; height: 14px; }
.chat-close i::before, .chat-close i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.chat-close i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.msg { display: flex; align-items: flex-end; gap: 9px; max-width: 88%; }
.msg.user { align-self: flex-end; }
.msg .ini { width: 28px; height: 28px; font-size: 15px; }
.bub { padding: 10px 15px 11px; border-radius: 18px; background: var(--card); font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.nico .bub { border-bottom-left-radius: 6px; }
.msg.user .bub { background: var(--world-1); color: var(--ink); border-bottom-right-radius: 6px; }
.dots { display: inline-flex; gap: 4px; padding: 6px 1px 5px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-on-dark); animation: chat-dot 1s infinite; }
.dots span:nth-child(2) { animation-delay: .15s; }
.dots span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-sys { align-self: center; text-align: center; padding: 6px 12px; color: var(--muted-on-dark); font-size: 13px; line-height: 1.4; }
.chat-sys.done { color: var(--ink-on-dark); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 14px; padding: 10px 14px; }
.chat-note { margin: 0 18px 8px; color: #F0705A; }
.chat-note[hidden], .chat-file[hidden] { display: none; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px 6px; border-top: 1px solid var(--hair); }
.chat-form textarea { flex: 1; min-width: 0; box-sizing: border-box; height: 40px; min-height: 40px; max-height: 128px; resize: none; margin: 0; padding: 10px 15px;
  border: 0; border-radius: 20px; background: var(--card); color: var(--ink-on-dark); font: inherit; font-size: 16px; line-height: 20px; outline: none; }
.chat-form textarea:focus-visible { box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .5); border-radius: 20px; }
.chat-form textarea::placeholder { color: rgba(168, 162, 150, .8); opacity: 1; }
.chat-form textarea:disabled { opacity: .6; }
.chat-attach { background: transparent; color: var(--muted-on-dark); box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .22); }
.chat-attach:hover { color: var(--ink-on-dark); }
.chat-attach.has { color: var(--ink-on-dark); box-shadow: inset 0 0 0 1px rgba(239, 236, 229, .6); }
.chat-attach i { position: relative; width: 8px; height: 16px; box-sizing: border-box; border: 1.6px solid currentColor; border-radius: 6px; transform: rotate(38deg); }
.chat-attach i::after { content: ""; position: absolute; left: 50%; top: 3px; bottom: 2px; width: 1.6px; border-radius: 2px; background: currentColor; transform: translateX(-50%); }
.chat-send { background: var(--accent); color: var(--ink); }
.chat-send:hover { background: #ec5a40; }
.chat-send:disabled { background: var(--card); color: var(--muted-on-dark); cursor: default; }
.chat-send i { position: relative; width: 2px; height: 14px; border-radius: 2px; background: currentColor; }
.chat-send i::before { content: ""; position: absolute; left: 50%; top: 1px; width: 8px; height: 8px; box-sizing: border-box; border-left: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg); }
.chat-file { margin: 4px 18px 0; color: var(--ink-on-dark); }
.chat-hint { margin: 0; padding: 6px 18px 14px; text-align: center; color: var(--muted-on-dark); font-size: 12px; }

/* the phone call bar: desktop never shows it */
.callbar { display: none; }

/* ---------- clay objects: small pieces in the hero-block material (made with kie.ai), decoration only ---------- */
.obj { display: block; position: relative; isolation: isolate; pointer-events: none; -webkit-user-select: none; user-select: none; }
.obj img { display: block; width: 100%; height: auto; }
/* on the light world an object gets a soft ground shadow; on a dark slab it needs none */
.world-sec .obj::after { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -5%; height: 16%;
  background: radial-gradient(closest-side, rgba(21, 21, 19, .2), rgba(21, 21, 19, 0)); }
/* what we build: one object over each column, standing on the same line */
.obj-col { display: flex; align-items: flex-end; height: calc(190 * var(--w)); margin-bottom: calc(34 * var(--w)); }
.obj-col img { width: auto; height: 100%; }
.obj-advise.obj-col img { height: 72%; }
/* how it goes: one object in the empty corner of each numbered tile */
.obj-leg { position: absolute; right: calc(30 * var(--w)); top: calc(30 * var(--w)); width: 62%; }
.pc2 .obj-leg, .pc4 .obj-leg { top: auto; bottom: calc(34 * var(--w)); }
.obj-sprint.obj-leg { width: 50%; }
.obj-launch.obj-leg { width: 44%; }
/* a section head: the object sits at the right, level with the last line of the intro */
.sec-head { position: relative; }
.obj-head { position: absolute; right: 0; bottom: calc(-6 * var(--w)); width: calc(250 * var(--w)); }
.obj-pricing.obj-head { width: calc(205 * var(--w)); }
.obj-talk.obj-head { width: calc(220 * var(--w)); }
.faq .sec-head .h2 { max-width: 8.8em; }  /* a long FAQ title breaks before the object */
/* about: the team stands in the rail beside the words */
.obj-stmt { grid-column: 1; grid-row: 1 / span 3; align-self: start; width: calc(210 * var(--w)); margin-top: calc(8 * var(--w)); }
/* 404 */
.obj-nf { width: calc(240 * var(--w)); margin-top: calc(70 * var(--w)); }

html.rm .dots span { animation: none; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .dots span { animation: none; opacity: .8; } .callbar { transition: none !important; } }

/* a narrow desktop (901 to 1279px wide): the seal drops to its own row so the brand column keeps its width */
@media (min-width: 901px) and (max-width: 1279px) and (min-height: 521px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: calc(48 * var(--w)); }
  .bir { grid-column: 1 / -1; justify-self: start; }
}

/* a touch screen on the desktop path: finger-sized hit areas for the new text links */
@media (pointer: coarse) and (min-width: 901px) and (min-height: 521px) {
  .foot-col a, .socials a, .foot-lh a, .linkbtn, .back a { position: relative; }
  .foot-col a::after, .socials a::after, .foot-lh a::after, .linkbtn::after, .back a::after { content: ""; position: absolute; inset: -14px -10px; }
  .foot-col li + li { margin-top: 18px; }
}

/* ================= phone ================= */
@media (max-width: 900px), (max-height: 520px) {
  .sec-cta { margin-top: 34px; padding-left: 0; }
  .obj-col { height: 112px; margin-bottom: 20px; }
  .obj-leg, .pc2 .obj-leg, .pc4 .obj-leg { top: 50%; bottom: auto; right: 18px; width: auto; height: 54px; transform: translateY(-50%); }
  .obj-leg img { width: auto; height: 100%; }
  .obj-sprint.obj-leg, .obj-launch.obj-leg { width: auto; }
  .obj-head, .obj-pricing.obj-head, .obj-talk.obj-head { position: relative; right: auto; bottom: auto; width: 124px; margin-bottom: 22px; }
  .faq .sec-head .h2 { max-width: none; }
  .obj-stmt { width: 132px; margin: 0 0 26px; }
  .obj-nf { width: 132px; margin-top: 34px; }

  .slab.first { margin-top: calc(72px + env(safe-area-inset-top)); }
  .world-sec.first { padding-top: calc(118px + env(safe-area-inset-top)); }
  .page-head { padding-bottom: 44px; }
  .tags li { font-size: 12px; }

  .band { margin-bottom: 56px; }
  .caps { grid-template-columns: 1fr 1fr; }
  .caps li { padding: 16px 10px 18px 0; }
  .caps li + li { padding-left: 0; border-left: 0; }
  .caps li:nth-child(even) { padding-left: 14px; padding-right: 0; border-left: 1px solid var(--hair); }
  .caps li:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .caps b { font-size: 17px; }
  .caps em { margin-top: 10px; font-size: 15.5px; }
  .clients { display: block; margin-top: 26px; }
  .clients ul { margin-top: 14px; gap: 14px 30px; }
  .lg-veblen { height: 50px; margin: -10px -6px; }
  .lg-as { height: 15px; }
  .lg-sw { height: 27px; }

  .col-foot { padding-top: 20px; }
  .prices { gap: 12px 24px; margin-bottom: 16px; }
  .prices dd { font-size: 18px; }
  .note { margin-bottom: 16px; }

  .wfacts { margin-top: 0; margin-bottom: 12px; font-size: 13px; gap: 2px 16px; }
  .work-row .tags { margin-top: 0; margin-bottom: 16px; }
  .also { display: block; margin-top: 44px; padding-top: 30px; }
  .also-item { padding-right: 0; }
  .also-item + .also-item { margin-top: 28px; }
  .also-item .h3 { font-size: 24px; }

  .quote blockquote .q-lead { font-size: 18px; margin-bottom: 16px; }

  .plans { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .plan { border-radius: 22px; padding: 22px 22px 24px; }
  .pop-lab { top: 22px; right: 22px; }
  .plan-from { margin-top: 36px; }
  .plan-price { font-size: 54px; }
  .plan-line { font-size: 17px; margin-top: 14px; }
  .plan-mo { min-height: 0; }
  .plan-feats { margin: 20px 0 24px; }
  .plan-feats li { padding: 10px 0 11px; font-size: 15px; }
  .plan .btn { align-self: stretch; }
  .advice { display: block; margin-top: 44px; padding-top: 30px; }
  .advice .link { display: inline-block; margin-top: 16px; }

  .stmt-body .intro + .intro { margin-top: 16px; }
  .stats { gap: 22px 34px; margin-top: 34px; }

  .people { grid-template-columns: 1fr; margin-top: 40px; }
  .people li { column-gap: 14px; padding: 18px 0 20px; }
  .people .h3 { font-size: 22px; }

  .faq-list { margin: 36px 0 0; max-width: none; }
  .faq-list summary { gap: 16px; padding: 18px 0 19px; font-size: 18px; }
  .faq-list details p { padding: 0 0 22px; }

  .cform { padding-right: 0; row-gap: 22px; }
  .f-row { grid-template-columns: 1fr; row-gap: 22px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 9px 0 12px; }
  .field.sel::after { bottom: 22px; }
  .f-foot .btn { width: 100%; box-sizing: border-box; }
  .talk-side { margin-top: 52px; }
  .talk-side .mail { font-size: 19px; }
  .talk-side .pre { margin-top: 30px; }
  .talk-side .btn { width: 100%; box-sizing: border-box; }
  .talk-side .clocks { margin-top: 52px; }

  .closed { padding-left: 0; font-size: 17px; }
  .roles { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .role { border-radius: 22px; padding: 22px 22px 20px; }
  .role .tags { margin-bottom: 22px; }
  .back { margin-bottom: 26px; }
  .role-top { margin-top: 26px; padding-left: 0; }
  .role-top .btn { width: 100%; box-sizing: border-box; }
  .role-intro, .role-sec { margin-left: 0; max-width: none; }
  .role-intro p { font-size: 17px; }
  .role-sec { margin-top: 46px; }
  .role-sec h2 { margin-bottom: 14px; }
  .checks li, .steps li { padding: 12px 0 13px 32px; }
  .checks li::before { top: calc(12px + .46em); }
  .steps li::before { top: calc(12px + .22em); }
  .ready { display: block; margin: 48px 0 0; padding: 24px 22px; border-radius: 22px; }
  .ready .btn { margin-top: 20px; width: 100%; box-sizing: border-box; }
  .ready .closed { margin-top: 20px; }

  .prose { margin-left: 0; max-width: none; }
  .prose h1 { margin-bottom: 22px; }
  .prose h2 { margin: 40px 0 12px; font-size: 21px; }
  .short { margin: 26px 0; padding: 20px 20px 22px; border-radius: 20px; }
  .tbl table { font-size: 13px; }
  .tbl th, .tbl td, .tbl caption { padding: 10px 14px; }

  .nf .wordmark.nf-mark { font-size: calc(250 * var(--w)); right: 0; bottom: 9%; }
  .nf .path { margin-bottom: 0; }

  .foot-grid { grid-template-columns: auto minmax(0, 1fr); gap: 38px 32px; }
  .foot-brand, .bir { grid-column: 1 / -1; }
  .bir { justify-self: start; max-width: 100%; box-sizing: border-box; }
  .foot-tag { margin-top: 16px; font-size: 18px; }
  .foot-lh { margin-top: 14px; }
  .socials { margin-top: 20px; gap: 14px 22px; }
  .foot-col h2 { margin-bottom: 14px; }
  .foot-col li + li { margin-top: 19px; }
  .foot-col a { white-space: normal; overflow-wrap: anywhere; }
  .foot-col a, .socials a, .foot-lh a, .linkbtn, .back a { position: relative; }
  .foot-col a::after, .socials a::after, .linkbtn::after, .back a::after { content: ""; position: absolute; inset: -14px -10px; }
  /* the two-line community link is one block, so the whole of it is the tap area */
  .foot-lh a { display: inline-block; }
  .foot-lh a::after { content: ""; position: absolute; inset: -6px -8px; }
  /* the legal rows: a row that holds a link is 40px tall, plain rows keep the tight rhythm */
  .foot-row { gap: 0; }
  .foot-row p { padding: 7px 0; }
  .foot-row p:has(a), .foot-row p:has(button) { display: flex; align-items: center; min-height: 40px; padding: 0; }
  .foot-row a::after, .foot-row .linkbtn::after { inset: -11px -10px; }

  .cookie { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom));
    width: auto; max-width: 620px; margin: 0 auto; padding: 18px 18px 16px; border-radius: 22px; }
  .cookie h2 { font-size: 17px; }
  .cbtn { font-size: 13.5px; padding: 0 4px; }
  dialog.chat { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; margin: 0; }
  .chat-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .chat-hint { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .msg { max-width: 92%; }

  /* book-a-call bar: slides in after the first screen, steps aside for the banner, the menu, the form and the footer */
  .callbar { display: flex; position: fixed; z-index: 40; bottom: calc(12px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left), calc((100vw - 616px) / 2)); right: max(12px, env(safe-area-inset-right), calc((100vw - 616px) / 2));
    height: 52px; box-shadow: 0 0 0 1px rgba(239, 236, 229, .3), 0 18px 36px -12px rgba(21, 21, 19, .65);
    transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
  .callbar.show { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  html.rm .callbar { transition: none; }
}
/* very narrow phones: cookie buttons stack so no label is cut */
@media (max-width: 359px) {
  .cookie-btns { grid-template-columns: 1fr; }
  .cookie-btns.two { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
