/* Pixel Prita — public site. Brand: black ground, white type, the four mark colours used as signals. */
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #000; --paper: #fff; --mist: #eef1f5; --line: #d8dde5;
  --text: #15171c; --muted: #5a606c;
  --sky: #3a8fd6; --signal: #e3352b; --sun: #f6be1e; --ember: #f08a24;
  --sky-ink: #1c69ad; --signal-ink: #c0281e;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1320px; --gut: clamp(20px, 4.5vw, 56px); --sec: clamp(72px, 9vw, 136px);
  --head: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--text); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class], .main-nav ul, .menu ul, .site-foot ul { list-style: none; padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
.t-dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--sun); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: #000; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.measure { max-width: calc(68ch + 2 * var(--gut)); }
.measure-wide { max-width: calc(60rem + 2 * var(--gut)); }

/* surfaces */
.t-light { background: var(--paper); color: var(--text); }
.t-mist { background: var(--mist); color: var(--text); }
.t-dark { background: var(--ink); color: #f1f2f4; --muted: #a2a8b3; --line: rgba(255, 255, 255, .16); }
.sec { padding-block: var(--sec); }
.t-light + .t-light, .t-mist + .t-mist, .t-dark + .t-dark { padding-top: 0; }

/* type */
.display { font: 500 clamp(2.9rem, 1.5rem + 5.4vw, 6.9rem)/.98 var(--serif); letter-spacing: -.02em; font-optical-sizing: auto; text-wrap: balance; }
.display-2 { font: 500 clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem)/1.04 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.sec-title { font: 500 clamp(2rem, 1.35rem + 2.4vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.t-dark .lede { color: #c9cdd4; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 52rem; }
.sec-intro { color: var(--muted); font-size: 1.15rem; max-width: 46ch; }
.sec-more { margin-top: clamp(36px, 5vw, 56px); }
.back { font-size: .95rem; margin-bottom: 28px; color: var(--muted); }
.back a { text-decoration: none; }
.back a::before { content: "← "; }
.back a:hover { text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.4em; border: 1px solid transparent; border-radius: 2px; font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-lg { min-height: 56px; padding-inline: 1.8em; font-size: 1.05rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2c31; }
.t-dark .btn-primary, .site-head .btn-primary { background: #fff; color: #000; }
.t-dark .btn-primary:hover, .site-head .btn-primary:hover { background: var(--sun); }
.btn-ghost, .btn-outline { background: transparent; border-color: currentColor; }
.btn-ghost:hover, .btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-dark .btn-ghost:hover, .site-head .btn-ghost:hover { background: #fff; color: #000; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.mark { width: 34px; height: auto; flex: none; }
.brand-word { font: 700 1.06rem/1 var(--sans); letter-spacing: .07em; }
.brand-lg .mark { width: 46px; }
.brand-lg .brand-word { font-size: 1.4rem; }
.tagline { font: 500 .72rem/1.4 var(--sans); letter-spacing: .44em; text-transform: uppercase; margin-top: 14px; color: #d4d7dd; }

/* header */
.preview-bar, .banner { background: var(--sun); color: #000; text-align: center; padding: 10px var(--gut); font-size: .92rem; font-weight: 500; }
.preview-bar a, .banner a { color: inherit; }
.site-head { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.head-row { display: flex; align-items: center; gap: 28px; height: var(--head); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; font-size: .95rem; font-weight: 500; text-decoration: none; color: #e9eaee; border-radius: 2px; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.has-sub { position: relative; }
.sub { position: absolute; left: 0; top: 100%; min-width: 280px; padding: 10px; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 10px 12px; }
.head-cta { min-height: 42px; padding: .55em 1.1em; font-size: .92rem; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; padding: 8px 14px; border-radius: 2px; cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-icon { position: relative; transform: translateY(-3px); }
.menu-icon::before { content: ""; position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }
.menu { position: fixed; inset: var(--head) 0 0 0; background: var(--ink); color: #fff; overflow-y: auto; padding: 32px 0 48px; }
.menu-inner { display: grid; gap: 32px; }
.menu-list > li > a { display: block; font: 500 2.2rem/1.2 var(--serif); padding: 8px 0; text-decoration: none; }
.menu-list ul { padding: 0 0 12px; display: grid; gap: 4px; }
.menu-list ul a { color: #c9cdd4; text-decoration: none; }
.menu-contact { display: grid; gap: 8px; color: #c9cdd4; }
body.menu-open { overflow: hidden; }
@media (max-width: 979px) {
  .main-nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* hero */
.hero { padding: clamp(56px, 8vw, 120px) 0 var(--sec); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-none .hero-copy { max-width: 62rem; }
.hero-none .display { max-width: 16ch; }
.hero .lede { margin-top: 28px; }
@media (min-width: 1100px) {
  .hero-mosaic .hero-grid, .hero-image .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .hero-mosaic .display { font-size: clamp(3rem, 1rem + 4.6vw, 6.4rem); }
}

/* browser frame used for real project screenshots */
.browser { display: block; position: relative; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.t-dark .browser { border-color: rgba(255, 255, 255, .2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #f1f2f4; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9ccd2; }
.browser-bar b { margin-left: 10px; font: 500 .74rem/1 var(--sans); color: #6b717c; letter-spacing: .01em; }
.browser-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* hero mosaic: the triangle "pixels" resolve into real work */
.mosaic-stage { position: relative; aspect-ratio: 16 / 10; background: #000; }
.mosaic-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mosaic-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) { .mosaic-canvas { opacity: 1; background: #000; } }
.mosaic-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; }
.mosaic-tabs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.mosaic-tab { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; color: #a2a8b3; font: 500 .9rem/1 var(--sans); padding: 10px 10px; cursor: pointer; border-radius: 2px; }
.mosaic-tab::before { content: ""; width: 11px; height: 10px; background: var(--c); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .5; }
.mosaic-tab[aria-pressed="true"] { color: #fff; }
.mosaic-tab[aria-pressed="true"]::before { opacity: 1; }
.mosaic-tab:hover { color: #fff; }
.mosaic-link { font-size: .92rem; color: #fff; }
.hero-image img { border-radius: 4px; }

/* statement */
.statement-text { font: 500 clamp(1.9rem, 1.1rem + 2.7vw, 3.7rem)/1.16 var(--serif); letter-spacing: -.01em; max-width: 30ch; text-wrap: pretty; }
.statement-by { margin-top: 24px; color: var(--muted); }

/* work cards */
.work-grid { display: grid; gap: clamp(48px, 6vw, 80px) clamp(24px, 3.4vw, 48px); }
@media (min-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-wide { grid-column: 1 / -1; } }
.card { display: grid; gap: 26px; }
.card-media { display: block; }
.card-lg { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
.card-title { font: 500 clamp(1.7rem, 1.3rem + 1vw, 2.3rem)/1.1 var(--serif); }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.card-sum { color: var(--muted); margin-top: 12px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .86rem; color: var(--muted); }
.tag-svc { display: inline-flex; align-items: center; gap: 8px; }
.tag-svc::before { content: ""; width: 10px; height: 9px; background: var(--c); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@media (max-width: 899px) { .card-lg { grid-template-columns: 1fr; } }

/* filters */
.filters, .cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.chip { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; font-size: .9rem; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-state { color: var(--muted); padding: 24px 0; }
.work-index { padding-top: 0; }

/* services list */
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px 20px; padding: clamp(24px, 3vw, 36px) 0; text-decoration: none; align-items: baseline; }
.svc-row .tri, .tri { width: 20px; height: 18px; background: var(--c); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: transform .3s; }
.svc-name { font: 500 clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem)/1.1 var(--serif); }
.svc-sum { grid-column: 2; color: var(--muted); max-width: 54ch; }
.svc-row:hover .svc-name { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--c); }
.svc-row:hover .tri { transform: rotate(180deg); }
@media (min-width: 1000px) { .svc-row { grid-template-columns: 30px minmax(0, 5fr) minmax(0, 4fr); } .svc-sum { grid-column: 3; } }

/* features */
.feat-grid { display: grid; gap: 36px clamp(24px, 3vw, 44px); }
@media (min-width: 760px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .feat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.feat-grid li { border-top: 1px solid var(--line); padding-top: 22px; }
.feat-grid h3 { font: 600 1.12rem/1.35 var(--sans); }
.feat-grid p { color: var(--muted); margin-top: 10px; }

/* steps */
.steps { display: grid; gap: 32px 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.t-dark .steps li { border-color: #fff; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 2.6rem/1 var(--serif); margin-bottom: 18px; }
.steps h3 { font: 600 1.1rem/1.3 var(--sans); }
.steps p { color: var(--muted); margin-top: 8px; font-size: .98rem; }

/* stats, quotes, gallery, video */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-top: 40px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.stats dd { font: 500 3.4rem/1 var(--serif); }
.stats dt { color: var(--muted); }
.note { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.quotes { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote blockquote p { font: 500 1.6rem/1.35 var(--serif); }
.quote figcaption { margin-top: 18px; font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); }
.gallery { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { border-radius: 4px; }
.video { margin-top: 32px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 12px; color: var(--muted); }

/* split layouts */
.split-head { display: grid; gap: 28px 64px; }
@media (min-width: 960px) { .split-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; } .img-left .split-img { order: -1; } }
.split-text .prose { margin-top: 22px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 600 1.1rem/1.4 var(--sans); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 26px; color: var(--muted); max-width: 64ch; }
.faq-a p + p { margin-top: 12px; }

/* CTA */
.cta-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.cta-grid .lede { margin-top: 24px; }
.cta-side { display: grid; gap: 22px; justify-items: start; }
.cta-contact { display: grid; gap: 6px; color: var(--muted); }
.cta-contact a { color: inherit; }
.t-dark .cta-contact a { color: #fff; }

/* prose */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 500 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.2 var(--serif); margin-top: 1.8em; }
.prose h3 { font: 600 1.2rem/1.35 var(--sans); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration-color: var(--accent, var(--sky)); text-decoration-thickness: 2px; }
.prose blockquote { border-left: 3px solid var(--accent, var(--sun)); padding-left: 1.2em; font: 500 1.4rem/1.4 var(--serif); }
.prose img { border-radius: 4px; }
.text-sec .prose { max-width: 68ch; }

/* case study */
.case-head { padding-top: clamp(48px, 6vw, 96px); }
.case-head .lede { margin-top: 26px; max-width: 44ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: .82rem; color: var(--muted); }
.facts dd { margin-top: 6px; font-weight: 500; }
.facts a { color: #fff; }
.case-shots { position: relative; margin-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(32px, 5vw, 64px); }
.case-shots::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: var(--paper); z-index: 0; }
.case-shots > * { position: relative; z-index: 1; }
.browser-xl .browser-shot { aspect-ratio: auto; }
.phone { position: absolute !important; right: calc(var(--gut) + 3%); bottom: 0; width: clamp(130px, 18vw, 250px); border-radius: 28px; padding: 7px; background: #0d0d0f; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); z-index: 2 !important; }
.phone-shot { border-radius: 21px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
@media (max-width: 699px) { .phone { display: none; } }
.case-body { padding-block: clamp(24px, 4vw, 48px) var(--sec); }
.case-part { display: grid; gap: 18px 64px; padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.case-part:first-child { border-top: 0; }
.case-part h2 { font: 500 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.15 var(--serif); }
.case-part .prose { max-width: 64ch; font-size: 1.1rem; }
@media (min-width: 960px) { .case-part { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.case-gallery { padding-block: var(--sec); }
.case-gallery .wrap { display: grid; gap: 40px; }
.next { padding-block: clamp(72px, 9vw, 128px); }
.next-label { color: var(--muted); font-size: .95rem; }
.next-link { display: inline-block; margin-top: 14px; font: 500 clamp(2.4rem, 1.4rem + 4vw, 5.2rem)/1.02 var(--serif); text-decoration: none; }
.next-link:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.next-sum { margin-top: 18px; color: var(--muted); max-width: 52ch; }

/* insights */
.insights { padding-top: 0; }
.ins-tools { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 900px) { .ins-tools { grid-template-columns: auto 1fr; align-items: start; } .ins-tools .cats { justify-content: flex-end; margin: 0; } }
.search { display: flex; gap: 8px; }
.search input { min-width: 0; width: min(100%, 320px); padding: 11px 14px; border: 1px solid #b9c0ca; border-radius: 2px; background: #fff; }
.ins-status { margin-bottom: 28px; color: var(--muted); }
.post-grid { display: grid; gap: 48px 32px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: grid; gap: 20px; align-content: start; }
.post-art { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; border-radius: 4px; }
.post-art img { width: 100%; height: 100%; object-fit: cover; }
.post-mark { width: 26%; }
.post-kicker { display: flex; gap: 14px; font-size: .86rem; color: var(--muted); }
.post-kicker a { text-decoration: none; font-weight: 600; color: var(--text); }
.post-title { font: 500 1.55rem/1.2 var(--serif); margin-top: 6px; }
.post-title a { text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.post-ex { color: var(--muted); margin-top: 10px; }
@media (min-width: 1100px) { .post-lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 48px; } .post-lead .post-title { font-size: 2.4rem; } }
.pager { display: flex; gap: 6px; margin-top: 56px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-head { padding: clamp(48px, 6vw, 96px) 0 clamp(32px, 4vw, 56px); }
.post-head .lede { margin-top: 24px; max-width: 52ch; }
.post-meta { display: flex; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.post-meta > * + *::before { content: ""; display: inline-block; width: 1px; height: .9em; background: currentColor; opacity: .4; margin: 0 .85em; vertical-align: -1px; }
.post-cover { margin-bottom: clamp(32px, 4vw, 56px); }
.post-cover img { border-radius: 4px; width: 100%; }
.post-body { font-size: 1.12rem; padding-bottom: 40px; }
.post-foot { padding-bottom: var(--sec); display: grid; gap: 24px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { display: inline-block; padding: 6px 12px; background: var(--mist); text-decoration: none; font-size: .88rem; border-radius: 2px; }
.share { color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.share a { color: var(--text); }

/* contact + forms */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-info .lede { margin-top: 24px; }
.contact-dl { display: grid; gap: 20px; margin-top: 40px; }
.contact-dl dt { font-size: .85rem; color: var(--muted); }
.contact-dl dd { margin-top: 4px; font-weight: 500; }
.contact-dl address { font-style: normal; }
.contact-form-wrap { background: var(--mist); padding: clamp(24px, 4vw, 48px); border-radius: 4px; }
.t-mist .contact-form-wrap { background: #fff; }
.form { display: grid; gap: 22px; }
.f-row { display: grid; gap: 22px; }
@media (min-width: 700px) { .f-row { grid-template-columns: 1fr 1fr; } .f-row-budget { grid-template-columns: 110px 1fr 1fr; } }
.f { display: grid; gap: 8px; align-content: start; }
.f label, .f legend { font-weight: 600; font-size: .95rem; }
.req { font-weight: 400; color: var(--muted); font-size: .85rem; }
.f input:not([type="radio"]):not([type="checkbox"]), .f select, .f textarea { width: 100%; padding: 12px 14px; border: 1px solid #aeb5c0; border-radius: 2px; background: #fff; color: var(--text); min-height: 48px; }
.f textarea { resize: vertical; min-height: 150px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.f-hint { font-size: .85rem; color: var(--muted); }
.f-err input, .f-err select, .f-err textarea { border-color: var(--signal-ink); }
.f-msg { color: var(--signal-ink); font-size: .9rem; font-weight: 500; }
.f-radio { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.f-radio legend { margin-bottom: 8px; width: 100%; }
.f-radio label, .f-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.f-radio input, .f-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 20px 22px; border-radius: 2px; }
.notice h2 { font: 500 2rem/1.1 var(--serif); margin-bottom: 10px; }
.notice-ok { background: #fff; border-left: 4px solid var(--sky); }
.notice-err { background: #fff2f0; border-left: 4px solid var(--signal-ink); color: #5d140f; }

/* footer */
.site-foot { background: var(--ink); color: #fff; padding-top: clamp(72px, 8vw, 112px); }
.foot-grid { display: grid; gap: 48px; padding-bottom: 64px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 2fr 1fr 1.2fr 1.4fr; } }
.foot-statement { color: #a2a8b3; margin-top: 22px; max-width: 32ch; }
.foot-col h2 { font: 500 .85rem/1.4 var(--sans); color: #8d939e; margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: #f1f2f4; }
.foot-col a:hover { text-decoration: underline; }
.foot-col address { margin-top: 18px; font-style: normal; color: #a2a8b3; line-height: 1.6; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .14); color: #8d939e; font-size: .88rem; }
.legal { display: flex; gap: 20px; }
.legal a { color: #c9cdd4; }

/* errors */
.err-code { font: 500 clamp(5rem, 3rem + 8vw, 10rem)/1 var(--serif); color: var(--ember); margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .site-foot, .menu, .mosaic-cap, .contact-form-wrap { display: none; }
  .t-dark { background: #fff; color: #000; }
}
