/* ayadighaith.com: the main stylesheet, no framework. */

@font-face { font-family: "HN Text"; src: url(/fonts/hn-text-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HN Text"; src: url(/fonts/hn-text-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "HN Display"; src: url(/fonts/hn-display-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roslindale"; src: url(/fonts/roslindale-display-vf.woff2) format("woff2-variations"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }/* Weight ceiling: 600. The browser's default bold (700) is capped for every b, strong, heading and th,
   the 700 font files are gone, and faux bold is off, so nothing can render heavier. */



html { font-synthesis-weight: none; }
:where(b, strong, h1, h2, h3, h4, h5, h6, th, dt) { font-weight: 600; }
.prose strong, .prose b { font-family: var(--sans); font-weight: 500; font-size: 0.9em; letter-spacing: -0.01em; }

:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #475467;
  --faint: #667085;
  --link: #175cd3;
  --line: rgba(0, 0, 0, 0.08);
  --soft: #f9fafb;
  --bg: #fff;
  --sans: "HN Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "HN Display", "HN Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --condensed: "Roslindale", Georgia, serif;
  --gutter: clamp(16px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: 64px; }
/* ---------- header / footer ---------- */




.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 24px; }
.site-header a { text-decoration: none; }
.brand { font-weight: 500; white-space: nowrap; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; column-gap: 16px; row-gap: 4px; }
.site-header nav a:hover, .site-footer a:hover { color: var(--link); }
.site-header nav a[aria-current="page"] { color: var(--muted); }

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; }
  .site-header { position: static; }
  .site-header nav { justify-content: flex-start; column-gap: 12px; font-size: 15px; }
}

.site-footer { margin-top: 120px; border-top: 1px solid var(--line); }
.footer-main { max-width: 1440px; margin: 0 auto; padding: 64px 24px; }
.avatar-sm { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.footer-email { display: inline-block; font: 500 clamp(28px, 5vw, 50px)/1 var(--display); letter-spacing: -0.5px; text-decoration: none; overflow-wrap: anywhere; }
.footer-email:hover { color: var(--link); }
.footer-main p { color: var(--muted); margin-top: 12px; }
.footer-bar { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; color: var(--muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--ink); text-decoration: none; }/* ---------- home ---------- */




.hero { padding-top: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.avatar { width: 192px; height: 192px; border-radius: 50%; object-fit: cover; }
.hero h1 { margin-top: 32px; font: 500 clamp(36px, 5.2vw, 64px)/1.06 var(--display); text-transform: capitalize; max-width: 16em; color: var(--ink); }
.lead { margin-top: 32px; max-width: 805px; font-size: 20px; line-height: 28px; color: var(--ink); }

.section > h2, .select-hokum h2 { font: 500 36px/1 var(--display); letter-spacing: -0.5px; margin-bottom: 16px; }


.card { border: 1px solid var(--line); border-radius: 16px; padding: 48px; margin-top: 24px; display: flex; flex-direction: column; gap: 24px; }
















.tags { font: 500 12px/18px var(--mono); text-transform: uppercase; color: var(--ink) !important; margin-top: 8px; }




@media (max-width: 860px) {
  .card { padding: 20px; border-radius: 12px; }
  
  
  
  
}

.select-hokum { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.select-hokum > div p { color: var(--muted); margin-top: 8px; }
.select-hokum > div img { width: 200px; }
@media (max-width: 860px) { .select-hokum { grid-template-columns: 1fr; gap: 32px; } }/* post rows, shared by home and Hokum */



.post-list { display: flex; flex-direction: column; }
.post-row { display: flex; gap: 32px; align-items: center; text-decoration: none; padding: 16px 0; }
.post-row > span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.post-row time { font: 500 14px/18px var(--mono); letter-spacing: -0.5px; text-transform: uppercase; color: var(--ink-2); }
.post-row strong { font: 500 24px/32px var(--sans); letter-spacing: -0.6px; text-transform: capitalize; }
.post-row .sub { font: 400 18px/28px var(--serif); color: var(--ink); }
.post-row:hover strong { color: var(--link); }
.post-row img { width: 150px; height: 150px; object-fit: contain; flex: none; border-radius: 8px; }
.arrows .post-row { border-bottom: 1px solid var(--line); padding: 20px 0; }
.arrows .post-row::after { content: "→"; font-size: 20px; flex: none; }
.arrows .post-row strong { font: 500 18px/22px var(--sans); letter-spacing: 0; }
.arrows .post-row .sub { font: 400 16px/24px var(--sans); }
.arrows .more { border-bottom: 0; }

@media (max-width: 640px) {
  .post-row { gap: 16px; align-items: flex-start; }
  .post-row img { width: 72px; height: 72px; }
  .post-row strong { font-size: 20px; line-height: 26px; }
  .post-row .sub { font-size: 16px; line-height: 24px; }
}

.card > p a { color: var(--link); text-decoration: none; }/* ---------- Hokum ---------- */




.hokum-intro { padding-top: 64px; max-width: calc(720px + 2 * var(--gutter)); margin-inline: 0; }
@media (min-width: 1441px) { .hokum-intro { margin-inline: calc((100vw - 1440px) / 2); } }
.hokum-art { width: 200px; }
.hokum-intro h1 img { width: 392px; max-width: 100%; margin: 8px 0 16px; }
.hokum-intro p { color: var(--muted); margin-top: 8px; max-width: 700px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 96px auto; padding: 0; width: calc(100% - 2 * var(--gutter)); }
.narrow { max-width: calc(940px + 2 * var(--gutter)); }
.thumbs .post-row { padding: 24px 0; }/* ---------- posts ---------- */




.post-head { text-align: center; padding: 80px var(--gutter) 64px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.post-head h1 { font: 500 clamp(40px, 6vw, 64px)/1.06 var(--display); text-transform: capitalize; max-width: 16em; }
.post-head .subtitle { font: 400 20px/32px var(--serif); max-width: 36em; }
.post-head time { font: 500 14px/18px var(--mono); letter-spacing: -0.5px; text-transform: uppercase; color: var(--ink-2); }
.chip-link { font-size: 14px; text-decoration: none; background: #f2f4f7; border-radius: 16px; padding: 4px 12px; color: #292929; }
.chip-link:hover { background: #eaecf0; }
.post-cover img { width: 340px; max-width: 100%; margin-top: 8px; }
.post-head-im { background: #f7f7f7; border-bottom: 0; }
.post-head-im time { font: 400 14px/20px var(--serif); text-transform: none; color: var(--muted); margin-top: 16px; }
.back { font: 400 16px/25px var(--serif); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--link); }

.prose { max-width: calc(660px + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 0; font: 400 20px/32px var(--serif); color: var(--ink); }
.prose > * + * { margin-top: 20px; }
.prose a { color: var(--link); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose h2 { font: 500 24px/32px var(--sans); letter-spacing: -0.6px; margin-top: 56px; }
.prose h3 { font: 500 20px/28px var(--sans); margin-top: 40px; }
.prose h4 { font: 500 18px/26px var(--sans); margin-top: 32px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 4px; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--line); color: var(--muted); }
.prose li::marker { color: var(--faint); }

.prose figure img { width: 100%; border-radius: 4px; }/* One caption style for every figure, pair and carousel */


.prose figcaption, .gs-pair figcaption, .rb-pair figcaption, .ob-carousel figcaption { font: 400 14px/20px var(--sans) !important; color: var(--muted) !important; text-transform: none !important; letter-spacing: 0 !important; margin-top: 10px; }
.prose code { font: 500 0.85em var(--mono); background: #f2f4f7; padding: 1px 4px; border-radius: 4px; }
.prose pre { font: 500 14px/1.5 var(--mono); background: #f2f4f7; padding: 16px; border-radius: 8px; overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose .callout { background: #f9fafb; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; font-size: 18px; line-height: 28px; }
.prose-wide { max-width: calc(800px + 2 * var(--gutter)); }
.prose-wide figure { margin-inline: min(0px, (800px - min(1072px, 100vw - 2 * var(--gutter))) / 2); }
.pager { max-width: calc(660px + 2 * var(--gutter)); margin: 80px auto 0; padding: 0 var(--gutter); display: flex; justify-content: space-between; gap: 24px; font: 400 20px/32px var(--serif); }
.pager a { color: var(--link); text-decoration: none; }
@media (max-width: 640px) {
  .post-head { padding-top: 48px; padding-bottom: 40px; }
  .prose { font-size: 18px; line-height: 29px; }
  .pager { flex-direction: column; }
}/* case studies */



.work-head { text-align: center; padding: 80px var(--gutter) 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.work-logo { width: 100px; }
.work-head h1 { font: 500 clamp(36px, 5vw, 64px)/1.06 var(--display); text-transform: capitalize; max-width: 18em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li { font-size: 14px; background: #f2f4f7; border-radius: 16px; padding: 4px 12px; color: #292929; }
.meta { font: 500 14px/18px var(--mono); letter-spacing: -0.5px; text-transform: uppercase; color: var(--ink-2); }/* ---------- I'm ---------- */




.im-page { display: grid; grid-template-columns: 1fr minmax(0, 580px); gap: 64px; padding-top: 32px; align-items: start; }
.im-side { position: sticky; top: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 64px; }
.im-logo { width: 24px; }
.im-side h1 { font: 600 42px/42px var(--condensed); color: var(--ink); }
.im-tagline { color: var(--muted); max-width: 420px; }
.im-art { width: 367px; }
.im-about { text-align: left; color: var(--muted); max-width: 420px; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: 15px; }
.im-list { border: 1px solid var(--line); border-radius: 12px; padding: 16px 32px; }
.im-row { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: 10px 0; }
.im-list li:first-child .im-row { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 10px; }
.im-row .num { font: 600 24px/1 var(--condensed); width: 32px; flex: none; text-align: center; }
.im-row > span:last-child { display: flex; flex-direction: column; }
.im-row time { font-size: 12px; line-height: 18px; color: var(--muted); }
.im-row strong { font-weight: 500; }
.im-row .sub { font-size: 12px; line-height: 18px; color: var(--muted); }
.im-row:hover strong { color: var(--link); }
.im-collage { width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 4px; }
@media (max-width: 900px) {
  .im-page { grid-template-columns: 1fr; gap: 32px; }
  .im-side { position: static; padding-top: 32px; }
  .im-list { padding: 8px 16px; }
}/* ---------- 404 ---------- */



.notfound { max-width: 640px; margin: 0 auto; padding: 120px var(--gutter) 0; text-align: center; }
.notfound h1 { font: 500 clamp(40px, 6vw, 64px)/1.06 var(--display); }
.notfound p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.notfound a { color: var(--link); text-decoration: none; }/* ---------- Proposal A: editorial index (Clients, Code) ---------- */




.ix-num { font: 500 13px/18px var(--mono); color: var(--faint); letter-spacing: -0.3px; }
.ix-arrow { font-size: 20px; color: var(--faint); transition: transform 0.2s ease, color 0.2s ease; }
a:hover > .ix-arrow { transform: translateX(4px); color: var(--ink); }

.ix-home { margin-top: 0; padding-top: 0; }
.ix-home-row { display: grid; grid-template-columns: 56px 1fr auto 32px; align-items: baseline; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ix-home-title { font: 500 clamp(36px, 6vw, 72px)/1 var(--display); letter-spacing: -1.5px; }
.ix-home-list { color: var(--muted); }
.ix-home-row:hover .ix-home-title { color: var(--link); }
@media (max-width: 640px) { .ix-home-row { grid-template-columns: 40px 1fr 24px; } .ix-home-list { grid-column: 2; grid-row: 2; } }

.ix-head { padding-top: 96px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.ix-kicker { font: 500 13px/18px var(--mono); text-transform: uppercase; color: var(--faint); margin-bottom: 24px; }
.ix-head h1 { font: 500 clamp(40px, 6.4vw, 88px)/1.02 var(--display); letter-spacing: -2px; max-width: 13em; }
.ix-toc { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ix-toc a { display: grid; grid-template-columns: 40px 1fr; row-gap: 2px; padding: 16px 16px 16px 0; text-decoration: none; font-size: 20px; font-weight: 500; }
.ix-toc a:hover span:nth-child(2) { color: var(--link); }
.ix-toc .ix-num { padding-top: 5px; }
.ix-toc-meta { grid-column: 2; font-size: 14px; font-weight: 400; color: var(--muted); }
@media (max-width: 900px) { .ix-toc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ix-toc { grid-template-columns: 1fr; } .ix-toc li + li { border-top: 1px solid var(--line); } }

.ix-client { display: grid; grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr); gap: 56px; padding-top: 64px; padding-bottom: 96px; border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
.ix-side { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.ix-side h2 { font: 500 clamp(40px, 4.4vw, 64px)/1 var(--display); letter-spacing: -1.5px; }
.ix-side p { color: var(--muted); max-width: 26em; }

.ix-work { display: flex; flex-direction: column; gap: 56px; }
.ix-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.ix-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.ix-item h3 { font: 500 20px/26px var(--sans); margin-top: 14px; }
.ix-item p { color: var(--muted); }
a.ix-item:hover h3 { color: var(--link); }
.ix-label { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--ink) !important; margin-top: 14px; }
.ix-label + h3 { margin-top: 2px; }
.ix-tags { font: 500 12px/18px var(--mono); text-transform: uppercase; color: var(--faint) !important; margin-top: 4px; }
.ix-shot { display: block; background: var(--soft); border-radius: 6px; overflow: hidden; }
.ix-shot img { width: 100%; transition: transform 0.4s ease; }
a.ix-item:hover .ix-shot img, a.ix-shot:hover img { transform: scale(1.015); }
/* placeholder screenshots */






.ph-square { aspect-ratio: 1; }

.ix-foot { padding-top: 48px; color: var(--muted); }
.ix-foot a { color: var(--ink); }

.ix-feature { padding-top: 48px; }
.ix-shot-hero { border-radius: 8px; }
.ix-feature-text { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 48px; padding-top: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.ix-feature-text h2 { font: 500 clamp(40px, 5vw, 72px)/1 var(--display); letter-spacing: -1.5px; }
.ix-feature-text h2 a { text-decoration: none; }
.ix-feature-text h2 a:hover { color: var(--link); }
.ix-feature-text .ix-label { margin-top: 0; margin-bottom: 12px; color: var(--faint) !important; }
.ix-feature-text > p { font-size: 18px; line-height: 28px; color: var(--ink-2); }
.ix-facts { display: flex; flex-direction: column; gap: 12px; }
.ix-facts dt { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--faint); }
.ix-facts dd { margin: 2px 0 0; }
.ix-facts a { color: var(--link); text-decoration: none; }

.ix-block { padding-top: 96px; }
.ix-block-title { font: 500 32px/1 var(--display); letter-spacing: -0.8px; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.ix-block-intro { color: var(--muted); margin: -16px 0 16px; }
.ix-block-intro + .ix-tools { border-top: 0; }
.ix-tools a { display: grid; grid-template-columns: 48px minmax(120px, 2fr) 5fr 80px 24px; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ix-tool-icon { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.ix-tool-mono { display: grid; place-items: center; background: var(--ink); color: #fff; font: 500 22px/1 var(--display); }
.ix-tool-name { font: 500 28px/1 var(--display); letter-spacing: -0.6px; }
.ix-tool-desc { color: var(--muted); }
.ix-tool-kind { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--faint); }
.ix-tools a:hover .ix-tool-name { color: var(--link); }

@media (max-width: 900px) {
  .ix-client { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .ix-side { position: static; }
  .ix-feature-text { grid-template-columns: 1fr; gap: 20px; }
  
}
@media (max-width: 640px) {
  .ix-pair { grid-template-columns: 1fr; }
  .ix-tools a { grid-template-columns: 48px 1fr 24px; row-gap: 4px; }
  .ix-tool-desc { grid-column: 2; grid-row: 2; }
  .ix-tool-kind { display: none; }
  .ix-head { padding-top: 56px; }
}

/* ---------- About (restored) ---------- */
/* ---------- About ---------- */





.about-intro { padding-top: 64px; max-width: calc(400px + 2 * var(--gutter)); margin-inline: 0; }
@media (min-width: 1441px) { .about-intro { margin-inline: calc((100vw - 1440px) / 2); } }
.about-intro h1 { margin-top: 32px; font: 500 36px/40px var(--display); }


.about-text { margin-top: 32px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.about-text a, .card > p a { color: var(--link); text-decoration: none; }





















/* ---------- Proposal A, round 2 ---------- */



.ix-ai { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #ecfdf3; color: #067647; font: 500 12px/20px var(--mono); text-transform: uppercase; }


.ix-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 32px; }
.ix-crop { aspect-ratio: 16 / 10; }
.ix-crop img { height: 100%; object-fit: cover; object-position: top center; }

.ix-now { padding-bottom: 32px; }
.ix-now-head { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 32px; align-items: end; padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.ix-now-head .ix-kicker { margin-bottom: 12px; }
.ix-now-head h2 { font: 500 clamp(56px, 10vw, 136px)/0.88 var(--display); letter-spacing: -0.045em; }
.ix-now-head h2 a { text-decoration: none; }
.ix-now-head h2 a:hover { color: var(--link); }
.ix-now-who { display: flex; flex-direction: column; gap: 14px; }
.ix-now-who p { color: var(--ink-2); font-size: 18px; line-height: 26px; }
.ix-faces { display: flex; align-items: center; }
.ix-faces img, .ix-claude-wrap { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; }
.ix-faces img { object-fit: cover; }
.ix-claude-wrap { display: grid; place-items: center; margin-left: -10px; background: #f5ede6; }
.ix-claude { width: 28px; height: 22px; }
.ix-now-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ix-sq { aspect-ratio: 1 / 1; }
.ix-sq .ui-fit { height: 100%; }
/* two cards that fill the row: a wide one at 2/3 and a square at 1/3, the same height */
.ix-now-grid.ix-two { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ix-shot-wide { aspect-ratio: 2 / 1; }
.ix-shot-wide .ui-fit { height: 100%; }
.ix-label .ix-num { margin-right: 6px; }
.ix-home { margin-top: 72px; }
@media (max-width: 1000px) { .ix-now-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .ix-now-head, .ix-grid2 { grid-template-columns: 1fr; }
  .ix-now-grid, .ix-now-grid.ix-two { grid-template-columns: 1fr; }
}

.ab-section { padding-top: 120px; }
.ab-head { display: grid; grid-template-columns: 1fr minmax(260px, 460px); gap: 32px; align-items: end; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.ab-head h2 { font: 500 clamp(48px, 8vw, 112px)/0.9 var(--display); letter-spacing: -0.045em; }
.ab-head .ix-kicker { margin-bottom: 12px; }
.ab-head > p, .ab-text p { color: var(--ink-2); font-size: 17px; line-height: 26px; }
.ab-head a, .ab-text a { color: var(--link); text-decoration: none; }
.ab-text { display: flex; flex-direction: column; gap: 12px; }
.ab-influence .ab-head { align-items: start; }

.ab-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 16px; }
.ab-gallery figure { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; }
.ab-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: var(--soft); }


.ab-gallery .ph-half { grid-column: span 3; }
.ab-gallery .ph-half img { aspect-ratio: 3 / 2; }
.ab-gallery .ph-third img { aspect-ratio: 4 / 5; }
.ab-gallery figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; }
.ab-gallery figcaption span { font-weight: 500; }
.ab-gallery figcaption time { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--faint); white-space: nowrap; }

.ab-shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; align-items: end; padding-bottom: 0; border-bottom: 10px solid #ece7df; }
.ab-shelf li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 20px; }
.ab-shelf img { width: 100%; max-width: 170px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 6px 6px 2px; box-shadow: 0 12px 24px rgba(16, 24, 40, 0.18); margin-bottom: 14px; transition: transform 0.25s ease; }
.ab-shelf li:hover img { transform: translateY(-6px) rotate(-1deg); }
.ab-shelf strong { font-weight: 500; }
.ab-shelf span { font-size: 14px; color: var(--muted); }



@media (max-width: 760px) {
  .ab-section { padding-top: 80px; }
  .ab-head { grid-template-columns: 1fr; }
  .ab-gallery { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .ab-gallery figure, .ab-gallery .ph-half { grid-column: span 1; }
  
  
  .ab-gallery .ph-half img { aspect-ratio: 4 / 5; }
  .ab-gallery figcaption { flex-direction: column; gap: 2px; }
  .ab-shelf { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ab-shelf li:nth-child(n+4) { display: none; }
}


/* ---------- Code case studies: marketing page style ---------- */



.mk-hero { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.mk-back { align-self: flex-start; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.mk-back:hover { color: var(--link); }
.mk-icon { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14); }
.mk-icon-mono { display: grid; place-items: center; background: var(--ink); color: #fff; font: 500 44px/1 var(--display); }
.mk-hero h1 { font: 500 clamp(64px, 12vw, 168px)/0.88 var(--display); letter-spacing: -0.05em; margin-top: 12px; }
.mk-tagline { font: 500 clamp(22px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -0.5px; }
.mk-lead { max-width: 36em; color: var(--muted); font-size: 18px; line-height: 28px; }
.mk-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin-top: 12px; }
.mk-btn { display: inline-block; padding: 12px 22px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; transition: background 0.2s ease; }
.mk-btn:hover { background: #1d2939; }
.mk-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.mk-btn-ghost:hover { background: var(--soft); }
.mk-meta { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--faint); }
.mk-shot img { width: 100%; border-radius: 12px; box-shadow: 0 30px 60px rgba(16, 24, 40, 0.12); }

.mk-why { padding-top: 120px; max-width: 1100px; }
.mk-why .ix-kicker { margin-bottom: 16px; }
.mk-statement { font: 500 clamp(26px, 3.4vw, 44px)/1.18 var(--display); letter-spacing: -0.03em; }
.mk-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 96px; }
.mk-features > div { border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mk-features h2 { font: 500 20px/26px var(--sans); }
.mk-features p { color: var(--muted); }
.mk-stack { padding-top: 96px; }
.mk-stack .ix-kicker { margin-bottom: 8px; }
.mk-stack dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mk-stack dt { font: 500 12px/24px var(--mono); text-transform: uppercase; color: var(--faint); }
.mk-stack dd { margin: 0; font-size: 18px; }
.mk-stack a { color: var(--link); text-decoration: none; }
.mk-stack code { font: 500 0.85em var(--mono); background: #f2f4f7; padding: 1px 5px; border-radius: 4px; }
.mk-diagram { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 16px; align-items: stretch; padding: 40px; background: var(--soft); border-radius: 12px; }
.mk-col { display: flex; flex-direction: column; gap: 8px; padding: 24px; font-family: var(--sans); line-height: 1.4; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mk-col span { padding: 8px 12px; border-radius: 6px; background: var(--soft); font-size: 15px; }
.mk-col-title { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.mk-col-note { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); }
.mk-col-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.mk-col-dark span { background: rgba(255, 255, 255, 0.08); }
.mk-col-dark .mk-col-title, .mk-col-dark .mk-col-note { color: rgba(255, 255, 255, 0.6); }
.mk-arrow { align-self: center; font-size: 24px; color: var(--faint); }
@media (max-width: 900px) {
  .mk-features { grid-template-columns: 1fr 1fr; }
  .mk-diagram { grid-template-columns: 1fr; padding: 16px; }
  .mk-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 560px) {
  .mk-features { grid-template-columns: 1fr; }
  .mk-stack dl > div { grid-template-columns: 1fr; gap: 2px; }
  .mk-why { padding-top: 72px; }
}

/* ---------- Round 4: nav, About ---------- */



.site-header nav { column-gap: 28px; }
.nav-main, .nav-out { display: flex; gap: 20px; }
.nav-main a { position: relative; font-weight: 500; }
.nav-main a[aria-current="page"] { color: var(--ink) !important; }
.nav-main a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-out { padding-left: 28px; border-left: 1px solid var(--line); }
.nav-out a { color: var(--muted); }
.nav-out a span { font-size: 0.8em; margin-left: 2px; color: var(--faint); }
.nav-contact { padding: 6px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.nav-contact:hover { background: var(--ink); color: #fff !important; box-shadow: none; }
@media (max-width: 640px) {
  .site-header nav { width: 100%; justify-content: space-between; column-gap: 12px; row-gap: 10px; }
  .nav-main, .nav-out { gap: 14px; }
  .nav-out { padding-left: 0; border-left: 0; }
  .nav-contact { padding: 4px 12px; }
}/* About intro as the first section */



.about-intro { max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; padding-top: 72px; align-items: start; }
.about-intro .avatar { grid-column: 1; }
.about-intro h1 { grid-column: 1; margin-top: 0; font: 500 clamp(36px, 4.4vw, 60px)/1.02 var(--display); letter-spacing: -0.03em; }

.about-intro .about-text { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; font-size: 18px; line-height: 28px; color: var(--ink-2); gap: 14px; }
@media (min-width: 1441px) { .about-intro { margin-inline: auto; } }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } .about-intro .about-text { grid-column: 1; grid-row: auto; } }/* writing collections */



.ab-writing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-writing a { display: grid; grid-template-rows: auto 1fr; grid-template-columns: 1fr auto; gap: 24px 12px; height: 100%; padding: 24px; border-radius: 12px; background: var(--soft); text-decoration: none; transition: background 0.2s ease; }
.ab-writing a:hover { background: #f2f4f7; }

.ab-writing .ix-arrow { align-self: start; }
.ab-coll { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
.ab-coll strong { font-weight: 500; font-size: 20px; }
.ab-coll span { color: var(--muted); }
@media (max-width: 760px) { .ab-writing { grid-template-columns: 1fr; } }/* top shelf: every book, small covers */



.ab-shelf { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 24px 20px; border-bottom: 8px solid #ece7df; }
.ab-shelf li { padding-bottom: 16px; }
.ab-shelf img { max-width: 96px; margin-bottom: 10px; box-shadow: 0 8px 16px rgba(16, 24, 40, 0.16); }
.ab-shelf strong { font-size: 13px; line-height: 17px; }
.ab-shelf span { font-size: 12px; line-height: 16px; }








@media (max-width: 760px) {
  .ab-shelf { grid-template-columns: repeat(3, 1fr); }
  .ab-shelf li:nth-child(n+4) { display: flex; }
  
  
}/* Behold, smaller and last */



.ab-gallery { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.ab-gallery figure, .ab-gallery .ph-half, .ab-gallery .ph-third, .ab-gallery .ph-square, .ab-gallery .ph-rest { grid-column: span 1; }
.ab-gallery figure img, .ab-gallery .ph-half img, .ab-gallery .ph-third img { aspect-ratio: 4 / 5; }
.ab-gallery figcaption { flex-direction: column; gap: 2px; }
.ab-gallery figcaption span { font-size: 14px; }
@media (max-width: 760px) { .ab-gallery { grid-template-columns: 1fr 1fr; } }
.ab-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-gallery figure { min-width: 0; }
.ab-gallery figure img { width: 100%; height: auto; }
@media (max-width: 760px) { .ab-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Round 5 ---------- */



.nav-social { display: flex; gap: 12px; padding-left: 28px; border-left: 1px solid var(--line); color: var(--muted); }
.nav-social a { color: var(--muted); }
@media (max-width: 640px) { .nav-social { padding-left: 0; border-left: 0; } }

.ab-art { height: 120px; display: flex; align-items: flex-end; }
.ab-art img { max-height: 120px; max-width: 220px; width: auto; object-fit: contain; }
.ab-emoji { font-size: 88px; line-height: 1; }

.ab-shelf { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 20px; overflow-x: auto; padding-bottom: 4px; border-bottom: 0; scrollbar-width: thin; }
.ab-shelf li { flex: 1 1 0; min-width: 96px; max-width: 132px; padding-bottom: 12px; }
.ab-shelf img { width: 100%; max-width: none; aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 760px) { .ab-shelf li, .ab-shelf li:nth-child(n+4) { display: flex; flex: 0 0 96px; } }
.ab-art img { mix-blend-mode: multiply; }/* client case study pages */















/* ---------- HTML illustrations (illos/) ---------- */



.ui-fit { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); overflow: hidden; container-type: inline-size; background: #fff; }
.ui-fit > .ui { position: absolute; top: 0; left: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform-origin: 0 0;
  transform: scale(tan(atan2(100cqw, calc(var(--w) * 1px)))); }
.illo-frame, .prose figure.illo-fig > .ui-fit { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 28px -14px rgba(16, 24, 40, 0.18); }
.prose figure.illo-fig { margin-inline: min(0px, (800px - min(1072px, 100vw - 2 * var(--gutter))) / 2); }
.ix-shot .ui-fit, .ix-crop .ui-fit { border-radius: 6px; }/* ---------- Gaia website: before/after pairs and the sitemap clouds ---------- */



.gs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px min(0px, (800px - min(1072px, 100vw - 2 * var(--gutter))) / 2) 8px; }
.gs-pair figure { margin: 0; }
.gs-pair img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 12px 24px -16px rgba(16,24,40,.25); }

.gs-map { display: grid; gap: 22px; margin: 24px 0 32px; }
.gs-map-h { font-family: var(--sans); display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; margin: 0 0 10px; }
.gs-map-h span { font: 500 12px/16px var(--mono); color: var(--faint); text-transform: uppercase; }
.gs-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-chip { display: inline-block; font-family: var(--sans); font-size: 13px; line-height: 18px; padding: 4px 10px; border-radius: 99px; }
.gs-chip.keep { box-shadow: inset 0 0 0 1.5px #00796a; color: #00796a; background: #fff; }
.gs-chip.new { background: #00796a; color: #fff; }
.gs-chip.gone { background: var(--soft); color: var(--faint); box-shadow: inset 0 0 0 1px var(--line); }
.gs-key { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
@media (max-width: 640px) { .gs-pair { grid-template-columns: 1fr; } }/* ---------- Tables in articles: bordered, left aligned, a header smaller than the cells ---------- */



.prose table { width: 100%; margin: 28px 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font: 400 15px/22px var(--sans); color: var(--ink); }
.prose th, .prose td { text-align: left !important; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th + th, .prose td + td { border-left: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--soft); font: 500 11px/16px var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); padding-top: 8px; padding-bottom: 8px; }
.prose td:first-child { font-weight: 500; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }/* ---------- Labels: one style everywhere. Geist Mono 12, #475467. ---------- */



.tags, .post-row time, .post-head time, .meta, .ix-num, .ix-kicker, .ix-label, .ix-tags, .ix-facts dt, .ix-tool-kind, .ab-gallery figcaption time, .mk-meta, .mk-stack dt, .mk-col-title, .gs-map-h span, .prose thead th, .rb-deck h3 span {
  font-family: var(--mono) !important; font-size: 12px !important; line-height: 16px !important;
  font-weight: 500 !important; letter-spacing: 0 !important; color: #475467 !important;
}/* ---------- Case studies on the Bedrock template ---------- */



.mk-col-dark .mk-col-title { color: rgba(255, 255, 255, 0.6) !important; }
.mk-shot-illo .ui-fit { border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(16, 24, 40, 0.12); }
.work.mk .work-head-story { margin-top: 120px; padding-top: 48px; border-top: 1px solid var(--ink); }
.work.mk .work-head-story .ix-kicker { margin-bottom: 16px; }
@media (max-width: 1000px) { .mk-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mk-features { grid-template-columns: 1fr; } .mk-stack dl > div { grid-template-columns: 1fr; gap: 4px; } }
.work-head .story-title { font: 500 clamp(32px, 4vw, 52px)/1.08 var(--display); letter-spacing: -0.03em; max-width: 20em; }
.mk-shot img { max-height: 80vh; object-fit: cover; object-position: top center; }
.prose figure.shot-fig > img { width: 100%; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 28px -14px rgba(16, 24, 40, 0.18); }
.mk-badges { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 28px; }
.mk-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font: 500 12px/16px var(--mono); }
.mk-badge-ai { background: #ecfdf3; color: #067647; box-shadow: inset 0 0 0 1px #abefc6; }
.mk-badge-live { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.mk-badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #17b26a; box-shadow: 0 0 0 3px #dcfae6; }/* Case study template: the same column as the article's widest figures, then a full-bleed divider */



.work.mk .mk-shot, .work.mk .mk-why, .work.mk .mk-features, .work.mk .mk-stack { max-width: calc(1072px + 2 * var(--gutter)); margin-inline: auto; }
.work.mk .mk-statement { max-width: none; }
.work.mk .mk-divider { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 120px 0 0; }
.work.mk .work-head-story { margin-top: 0; border-top: 0; padding-top: 96px; }/* Gaia website: before and after grids */



.gs-grid-wrap { margin: 28px min(0px, (800px - min(1072px, 100vw - 2 * var(--gutter))) / 2) 32px; }
.gs-grid-h { display: flex; justify-content: space-between; align-items: baseline; font: 500 15px/20px var(--sans); margin: 0 0 10px; }
.gs-grid-h span { font: 500 12px/16px var(--mono); color: #475467; text-transform: uppercase; }
.gs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gs-grid img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); background: var(--soft); }
@media (max-width: 640px) { .gs-grid { grid-template-columns: 1fr 1fr; } }
.mk-logo { object-fit: contain; }
.mk-logo-tile { background: #fff; padding: 20px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(16, 24, 40, 0.12); }
.mk-logo-bleed { object-fit: cover; }
.mk-logo-plain { border-radius: 0; box-shadow: none; width: 112px; height: 112px; }

.mk-logo, .mk-logo-tile, .mk-logo-bleed, .mk-logo-plain { box-shadow: none !important; }
.mk-logo-tile { border: 1px solid var(--line); }/* Clients: favicons in place of numbers; one line per fact, with dividers */



.ix-toc { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.ix-toc a { grid-template-columns: 20px 1fr !important; column-gap: 12px; align-items: center; padding-right: 24px; }
.ix-toc a img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }
.ix-toc .ix-toc-meta { grid-column: 2; font: 500 12px/16px var(--mono) !important; color: #475467; }
.ix-fav { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }
.ix-side .ix-rows { margin: 8px 0 4px; width: 100%; max-width: 30em; border-top: 1px solid var(--line); }
.ix-side .ix-rows > div { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ix-side .ix-rows dt { flex: 0 0 64px; margin: 0; font: 500 12px/20px var(--mono); text-transform: uppercase; color: #475467; }
.ix-side .ix-rows dd { flex: 1; margin: 0; font: 400 15px/20px var(--sans); color: var(--ink); }
.ix-side .ix-rows dd em { font-style: normal; color: #667085; margin-left: 6px; }
.ix-side .ix-rows dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.ix-side .ix-rows dd a:hover { color: var(--link); border-color: currentColor; }
.ix-side .ix-rows .ix-ai { font-size: 11px; line-height: 18px; padding: 1px 8px; vertical-align: 1px; }/* Case study hero: the logo leads to the live site. Hover lifts it and reveals the link below. */



.mk-mark { position: relative; display: flex; flex-direction: column; align-items: center; height: 124px; justify-content: center; text-decoration: none; }
.mk-mark .mk-icon { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.mk-live { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 6px); white-space: nowrap; opacity: 0;
  font: 500 13px/18px var(--sans); color: var(--ink); padding: 3px 10px; border-radius: 99px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }/* The live link shows by default under a lifted logo; hovering hands the space back to the logo.
   Keyboard focus keeps it visible, so the destination is always announced. */


.mk-mark-live .mk-icon { transform: translateY(-14px); }
.mk-mark-live .mk-live { opacity: 1; transform: translate(-50%, 0); }
.mk-mark-live:hover:not(:focus-visible) .mk-icon { transform: none; }
.mk-mark-live:hover:not(:focus-visible) .mk-live { opacity: 0; transform: translate(-50%, 6px); }
.mk-mark-live:focus-visible { outline: none; }
.mk-mark-live:focus-visible .mk-icon { outline: 2px solid var(--link); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .mk-mark .mk-icon, .mk-live { transition: none; } }
.mk-hero .mk-badges { flex-direction: row; flex-wrap: wrap; justify-content: center; margin: 8px 0 0; }/* Below the statement: one body style, two greys */



.work.mk .mk-kicker, .work.mk .mk-feat-num, .work.mk .mk-features p, .work.mk .mk-stack dt, .work.mk .mk-stack dd {
  font: 400 16px/24px var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
.work.mk .mk-kicker, .work.mk .mk-feat-num, .work.mk .mk-features p, .work.mk .mk-stack dt { color: #667085 !important; }
.work.mk .mk-stack dd { color: #344054 !important; }
.work.mk .mk-why .mk-kicker { margin-bottom: 16px; }
.work.mk .mk-stack .mk-kicker { margin-bottom: 8px; }/* Logos are shown as they are: no rounded crop, no tile, no border */



.ix-toc a img, .ix-fav { border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.mk-logo, .mk-logo-tile, .mk-logo-bleed, .mk-logo-plain { border-radius: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; width: 72px !important; height: 72px !important; object-fit: contain !important; }/* About: a few facts, one per line, like the client rows */



.about-intro .about-rows { grid-column: 1; margin: 8px 0 0; max-width: 26em; border-top: 1px solid var(--line); }
.about-rows > div { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.about-rows dt { flex: 0 0 88px; margin: 0; font: 500 12px/20px var(--mono); text-transform: uppercase; color: #475467; }
.about-rows dd { flex: 1; margin: 0; font: 400 16px/20px var(--sans); color: var(--ink); }
.about-rows dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.about-rows dd a:hover { color: var(--link); border-color: currentColor; }
.about-rows > div:last-child { border-bottom: 0; }/* Two clients side by side, one case study each */



.ix-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 64px; padding-bottom: 96px; border-bottom: 1px solid var(--line); }
.ix-duo-client { display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 64px; min-width: 0; }
.ix-duo .ix-side { position: static; }
.ix-duo .ix-side .ix-rows { max-width: none; }
@media (max-width: 860px) { .ix-duo { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .ix-toc { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 720px) { .ix-toc { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .ix-toc a { padding-right: 12px; } }/* Labels (option A): quiet Swiss. Small caps-height mono, generous tracking, one light grey.
   Tables are open: no box, hairlines only, label column aligned to the value's cap height. */



.tags, .post-row time, .post-head time, .meta, .ix-num, .ix-kicker, .ix-label, .ix-tags, .ix-facts dt, .ix-tool-kind, .ab-gallery figcaption time, .mk-meta, .mk-col-title, .gs-map-h span, .prose thead th, .rb-deck h3 span, .gs-grid-h span, .ix-toc-meta, .ix-rows dt, .about-rows dt {
  font-family: var(--mono) !important; font-weight: 500 !important; text-transform: uppercase !important;
  font-size: 11px !important; line-height: 16px !important; letter-spacing: 0.07em !important;
  color: #667085 !important; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.ix-label { color: #667085 !important; margin-top: 16px; }
.ix-tags { margin-top: 10px !important; word-spacing: -0.15em; }
.ix-toc-meta { letter-spacing: 0.04em !important; text-transform: none !important; }
.work.mk .mk-kicker, .work.mk .mk-feat-num { font: 500 11px/16px var(--mono) !important; text-transform: uppercase !important; letter-spacing: 0.07em !important; color: #667085 !important; }/* Fact tables (Clients, About): both columns in body text, value set right, hairlines between rows */



.ix-side .ix-rows, .about-intro .about-rows { border-top: 0 !important; margin-top: 12px !important; max-width: 30em; }
.ix-side .ix-rows > div, .about-rows > div { display: flex !important; justify-content: space-between; align-items: baseline; gap: 24px; padding: 12px 0 !important; border-bottom: 1px solid rgba(16,24,40,.06) !important; }
.ix-side .ix-rows > div:last-child, .about-rows > div:last-child { border-bottom: 0 !important; }
.ix-side .ix-rows dt, .about-rows dt { flex: none !important; font: 400 15px/22px var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; color: #667085 !important; }
.ix-side .ix-rows dd, .about-rows dd { flex: 0 1 auto !important; text-align: right; font: 400 15px/22px var(--sans) !important; color: #101828 !important; white-space: normal !important; overflow: visible !important; }
.ix-side .ix-rows dd em { font: 400 15px/22px var(--sans) !important; letter-spacing: 0; color: #667085 !important; margin-left: 8px !important; white-space: nowrap; }
.ix-side .ix-rows dd a, .about-rows dd a { border-bottom: 0 !important; text-decoration: underline; text-decoration-color: rgba(16,24,40,.2); text-underline-offset: 4px; }
.ix-side .ix-rows .ix-ai, .ix-ai { background: none !important; padding: 0 !important; color: #067647 !important; font: 400 15px/22px var(--sans) !important; letter-spacing: 0; text-transform: none !important; }
.ix-side .ix-rows .ix-ai::before, .ix-ai::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #17b26a; margin-right: 8px; vertical-align: 1px; }/* Fact tables: values back on the left, after a fixed label column */


.ix-side .ix-rows > div, .about-rows > div { display: grid !important; grid-template-columns: 88px 1fr; gap: 16px; }
.ix-side .ix-rows dd, .about-rows dd { text-align: left !important; }/* Clients: one wide case study card (Layer, Deliverable) */



.ix-wide { gap: 10px; }
.ix-crop-wide { aspect-ratio: 16 / 7; }
.ix-crop-wide img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ix-wide h3 { margin-top: 18px; }
.ix-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ix-cols p { color: var(--muted); }
a.ix-wide:hover .ix-shot img { transform: scale(1.01); }
@media (max-width: 860px) { .ix-cols { grid-template-columns: 1fr; gap: 12px; } }/* Clients, Layer and Gaia: whole screenshots in a soft bordered frame, no cropping */
/* Layer and Gaia cards: a light panel and hairline border, the whole image contained, never cropped */




:is(#layerfi, #gaia) .ix-shot { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 14px; background: #f9fafb; border: 1px solid #eaecf0; border-radius: 12px; overflow: hidden; }
:is(#layerfi, #gaia) .ix-shot.ix-crop-wide { aspect-ratio: 16 / 7; }
:is(#layerfi, #gaia) .ix-shot img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; object-fit: contain !important; border-radius: 6px; box-shadow: 0 0 0 1px rgba(16,24,40,.06), 0 6px 16px -10px rgba(16,24,40,.25); }
:is(#layerfi, #gaia) .ix-shot .ui-fit { width: 100%; }
/* Logos on Clients: 32px squircle tiles over a faint iOS icon grid; solid logos stand alone */



.ix-logo-box { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #fff url(/img/ios-grid.svg) center / 100% 100% no-repeat; box-shadow: inset 0 0 0 1px #eaecf0; }
.ix-logo-box img { width: 18px !important; height: 18px !important; object-fit: contain; border-radius: 0 !important; }
.ix-logo-solid { width: 32px !important; height: 32px !important; border-radius: 0 !important; }
.ix-toc a { grid-template-columns: 32px 1fr !important; column-gap: 12px; }
.ix-toc a > .ix-logo-box, .ix-toc a > .ix-logo-solid { grid-row: 1 / span 2; }
.ix-side > .ix-logo-box { margin-bottom: 4px; }/* Onboarding carousel: full-bleed, scroll-snap, no script. Slides centered, neighbours peek.
   Browsers with CSS scroll markers (Chrome 135+) also get arrows and dots; others swipe or scroll. */



html { overflow-x: clip; }
.ob-carousel { --ob-w: min(1000px, 100vw - 2 * var(--gutter) - 48px);
  display: flex; gap: 24px; width: 100vw; margin: 40px 0 48px calc(50% - 50vw);
  padding: 4px calc((100vw - var(--ob-w)) / 2) 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: calc((100vw - var(--ob-w)) / 2);
  scrollbar-width: thin; scrollbar-color: #d0d5dd transparent; anchor-name: --ob; }
.ob-carousel:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; border-radius: 4px; }
.ob-carousel figure { flex: 0 0 var(--ob-w); margin: 0; scroll-snap-align: center; }
.ob-carousel img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 28px -14px rgba(16, 24, 40, 0.18); }
.ob-carousel figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; }
.ob-carousel figcaption b { flex: none; font: 500 11px/16px var(--mono); letter-spacing: 0.07em; color: #667085; font-variant-numeric: tabular-nums; }
@supports selector(::scroll-marker) {
  .ob-carousel { scroll-marker-group: after; scrollbar-width: none; }
  .ob-carousel::-webkit-scrollbar { display: none; }
  @media (prefers-reduced-motion: no-preference) { .ob-carousel { scroll-behavior: smooth; } }
  .ob-carousel::scroll-button(*):focus-visible, .ob-carousel figure::scroll-marker:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
  .ob-carousel::scroll-marker-group { display: flex; justify-content: center; gap: 8px; margin: -8px 0 48px; }
  .ob-carousel figure::scroll-marker { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #d0d5dd; transition: width .25s, background .25s; }
  .ob-carousel figure::scroll-marker:target-current { width: 24px; background: #344054; }
  .ob-carousel::scroll-button(*) { position: absolute; position-anchor: --ob; width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: #101828; font: 400 20px/1 var(--sans); cursor: pointer; box-shadow: 0 4px 12px -4px rgba(16,24,40,.18); top: calc(anchor(center) - 40px); }
  .ob-carousel::scroll-button(*):disabled { opacity: 0; pointer-events: none; }
  .ob-carousel::scroll-button(left) { content: "←" / "Previous screen"; left: calc(anchor(left) + (100vw - var(--ob-w)) / 2 - 22px); }
  .ob-carousel::scroll-button(right) { content: "→" / "Next screen"; right: calc(anchor(right) + (100vw - var(--ob-w)) / 2 - 22px); }
  .ob-carousel { margin-bottom: 24px; }
}
@media (max-width: 640px) { .ob-carousel { gap: 12px; --ob-w: calc(100vw - 2 * var(--gutter)); } }
@media (max-width: 640px) { .ob-carousel::scroll-button(*) { display: none; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Themed studies hide the logo behind their wordmark: the live link stands alone above the title and stays visible */
:is(.theme-ppgd, .theme-myday) .mk-mark { height: auto; margin-bottom: 20px; }
:is(.theme-ppgd, .theme-myday) .mk-mark-live .mk-live { position: static; opacity: 1 !important; transform: none !important; }
/* a hero that must be seen whole: no height cap, no crop */
.mk-shot-whole img { max-height: none; object-fit: contain; height: auto; }

/* The brand, as on the old Framer site, measured frame by frame there:
   past the first screen the name slides 66px left and fades out, while the G mark comes in from the left,
   shrinking from 72px to 32px and spinning a full turn clockwise; scrolling back plays it in reverse.
   Both are clipped at the name's left edge. One spring-like curve (sampled from the original) drives it all.
   No script: a scroll timeline flips --past, and a style query starts the timed transitions.
   Browsers without scroll timelines keep the name. */
@property --past { syntax: "<integer>"; inherits: true; initial-value: 0; }
@keyframes brand-past { from { --past: 0; } to { --past: 1; } }
.site-header { --brand-ease: linear(0, 0.104 2.8%, 0.269 5.6%, 0.427 8.3%, 0.542 11.1%, 0.646 13.9%, 0.724 16.7%, 0.785 19.4%, 0.833 22.2%, 0.870 25%, 0.897 27.8%, 0.921 30.6%, 0.938 33.3%, 0.952 36.1%, 0.963 38.9%, 0.971 41.7%, 0.977 44.4%, 0.982 47.2%, 0.986 50%, 0.989 52.8%, 0.992 55.6%, 0.994 58.3%, 0.996 63.9%, 0.998 69.4%, 0.999 75%, 1 86.1%); }
.brand { position: relative; display: inline-flex; align-items: center; height: 32px; clip-path: inset(-48px -400px -48px 0); }
.brand-name { display: inline-block; transition: transform .9s var(--brand-ease), opacity .9s var(--brand-ease); }
.brand-mark { position: absolute; left: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; max-width: none; pointer-events: none;
  transform-origin: 50% 50%; transform: translate(-51px, 2px) scale(2.25) rotate(0deg); transition: transform .9s var(--brand-ease); }
@supports (animation-timeline: scroll()) {
  .site-header { animation: brand-past linear both; animation-timeline: scroll(root); animation-range: 60vh calc(60vh + 1px); }
  @container style(--past: 1) {
    .brand-name { transform: translateX(-66px); opacity: 0; }
    .brand-mark { transform: translate(0, 0) scale(1) rotate(360deg); }
  }
}
@media (prefers-reduced-motion: reduce) { .brand-name, .brand-mark { transition: none; } }

/* A case study hero or client card zoomed in on the top of the screen; the bottom falls away. */
.mk-crop { overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(16, 24, 40, 0.12); }
.mk-crop-top { aspect-ratio: 2 / 1; }
.mk-shot .mk-crop img, #deliverable .ix-crop-wide img { width: 122%; max-width: none; height: auto; max-height: none; object-fit: fill; margin: -3.4% 0 0 -3.6%; border-radius: 0; box-shadow: none; }
/* Deliverable card: zoomed to the top of the estimate, the screen 24px in from the card's edge */
#deliverable .ix-crop-wide { background: rgb(242, 243, 247); border: 1px solid #eaecf0; border-radius: 12px; }
#deliverable .ix-crop-wide img { width: 115%; margin: calc(24px - 3.53%) 0 0 calc(24px - 3.53%); }

/* airfocus cards: a little closer than the full shot, with each screen's frame still showing */
#airfocus .ix-pair { gap: 24px; }
#airfocus .ix-pair .ix-shot img { transform-origin: 0 0; transform: scale(1.08); }
#airfocus .ix-pair a.ix-item:hover .ix-shot img { transform: scale(1.1); }
/* the website: the whole shot, with the same padding all round */
#airfocus .ix-work > a.ix-item .ix-shot { background: rgb(249, 251, 252); padding-bottom: 24px; box-shadow: inset 0 0 0 1px #eaecf0; border-radius: 12px; }
#airfocus .ix-work > a.ix-item .ix-shot img { border-radius: 12px 12px 0 0; }

/* Axoniq cards: the same hairline frame as the other clients */
#axoniq .ix-shot { border: 1px solid #eaecf0; border-radius: 12px; }

/* the client strip: spread across the full width with even gaps */
@media (min-width: 1101px) {
  .ix-toc { display: flex !important; justify-content: space-between; gap: 24px; }
  .ix-toc a { padding-right: 0; }
}
@media (max-width: 900px) { .ix-client { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 720px) { .ix-toc { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .ix-toc .ix-toc-meta { white-space: normal; } }

/* ---------- Axoniq product marketing case study (axm-) ---------- */
.prose .axm-cards { display: grid; gap: 12px; margin-top: 28px; }
.prose .axm-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .axm-three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: min(0px, (800px - min(1072px, 100vw - 2 * var(--gutter))) / 2); }
.prose .axm-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .axm-cards > div { border: 1px solid #eaecf0; border-radius: 12px; padding: 20px 22px 22px; background: #fff; font: 400 16px/24px var(--sans); color: var(--muted); }
.prose .axm-cards h4 { font: 500 18px/24px var(--sans); color: var(--ink); margin: 6px 0 8px; }
.prose .axm-cards p { margin: 0; }
.prose .axm-k { font: 500 12px/16px var(--mono) !important; color: #e8590c !important; letter-spacing: 0.04em; }
.prose .axm-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 28px; border: 1px solid #eaecf0; border-radius: 12px; overflow: hidden; }
.prose .axm-steps > div { padding: 22px 24px 24px; font: 400 16px/24px var(--sans); color: var(--muted); }
.prose .axm-steps > div + div { border-left: 1px solid #eaecf0; background: #f9fafb; }
.prose .axm-steps span { font: 500 12px/16px var(--mono); color: #e8590c; letter-spacing: 0.04em; }
.prose .axm-steps h4 { font: 500 19px/26px var(--sans); color: var(--ink); margin: 8px 0 10px; }
.prose .axm-steps p { margin: 0; }
.prose .axm-figure { margin-top: 32px; }
.axm-stack { position: relative; border: 1px solid #eaecf0; border-radius: 12px; padding: 28px; background: #f9fafb; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.axm-stack-core { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #101828; color: #fff; font: 500 16px/1 var(--sans); }
.prose .axm-stack ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: axm; }
.prose .axm-stack li { counter-increment: axm; margin: 0; font: 400 15px/20px var(--sans); color: var(--ink); background: #fff; border: 1px solid #eaecf0; border-radius: 99px; padding: 6px 12px; }
.prose .axm-stack li::before { content: counter(axm, decimal-leading-zero); font: 500 11px/20px var(--mono); color: #98a2b3; margin-right: 8px; }
.prose .axm-shot, .prose .axm-pair, .prose .axm-video, .prose .axm-grid { margin-inline: min(0px, (800px - min(1072px, 100vw - 2 * var(--gutter))) / 2); margin-top: 32px; }
.prose .axm-shot img, .prose .axm-pair img { width: 100%; border-radius: 10px; border: 1px solid #eaecf0; box-shadow: 0 16px 28px -14px rgba(16, 24, 40, 0.18); }
.prose .axm-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.prose .axm-pair figure { margin: 0; }
.prose .axm-pair img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.prose .axm-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; border: 1px solid #eaecf0; }
.prose .axm-grid { display: grid; gap: 12px; }
.prose .axm-grid img { width: 100%; border-radius: 8px; border: 1px solid #eaecf0; }
.prose .axm-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prose .axm-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .axm-book { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .axm-book a { display: block; }
.prose .axm-book img { transition: transform 0.25s ease; }
.prose .axm-book a:hover img { transform: translateY(-2px); }
.prose .axm-iso { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.prose .axm-iso img { aspect-ratio: 1; object-fit: cover; background: #fff; }
@media (max-width: 900px) {
  .prose .axm-three, .prose .axm-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose .axm-iso { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .prose .axm-two, .prose .axm-three, .prose .axm-four, .prose .axm-steps, .prose .axm-pair { grid-template-columns: minmax(0, 1fr); }
  .prose .axm-steps > div + div { border-left: 0; border-top: 1px solid #eaecf0; }
  .prose .axm-book, .prose .axm-g3, .prose .axm-iso { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .axm-stack { grid-template-columns: 1fr; }
  .axm-stack-core { width: 96px; }
}
.prose .axm-tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }

/* The axoniq.io riso shader, live over its still: the case study header and the clients card */
.mk-riso { position: relative; }
.mk-riso img, .mk-riso canvas { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: none; border-radius: 12px; }
.mk-riso { overflow: hidden; border-radius: 12px; box-shadow: 0 30px 60px rgba(16, 24, 40, 0.12); }
.mk-shot .mk-riso img { box-shadow: none; }
.mk-riso canvas { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 0.4s; }
.mk-riso canvas.is-live { opacity: 1; }

/* A product animation recorded from axoniq.io, looping in a card, on the page's own grey */
.ix-loop { position: relative; background: #fafafa; }
.ix-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
/* /code: Propaganda as two product screens side by side on a grey panel */
.ix-shot.pp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: center;
  padding: clamp(20px, 4vw, 56px); background: #f2f4f7; border-radius: 16px; }
.pp-duo > div { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 18px 40px -18px rgba(16, 24, 40, .28); background: #fff; }
.pp-duo .ui-fit { border-radius: 10px; }
a.pp-duo:hover .ui-fit { transform: none; }
@media (max-width: 640px) { .ix-shot.pp-duo { grid-template-columns: 1fr; } }
/* About: the facts sit at the bottom of their column, level with the last line of the intro */
@media (min-width: 861px) { .about-intro .about-rows { align-self: end; margin-bottom: -11px !important; } }
