/* Zanabler — one stylesheet, no build step. Tokens come from the brand decisions board. */

/* ---------- Fonts (self-hosted, SIL Open Font Licence: fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/sora-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/sora-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/roboto-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Base */
  --navy-950: #16212C;
  --navy-990: #0E161E;
  --navy: #2E4053;
  --navy-line: #2B3A49;
  --ink: #1A2330;
  --muted: #5B6B7B;
  --line: #E3E8ED;
  --line-strong: #B8C2CC;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --on-dark: #E6EDF3;
  --on-dark-muted: #C9D4DE;
  --on-dark-quiet: #9FB0C0;
  /* Blue: the work */
  --sky: #87CEEB;
  --blue: #34AADC;
  --blue-ink: #1C78A6;
  --blue-wash: #EAF5FB;
  /* Gold: the people */
  --gold-light: #D4951A;
  --gold: #B07E1A;
  --gold-ink: #8A6212;
  --gold-wash: #FBF7EE;
  --wordmark-gold: #5E4A1F;
  /* Action */
  --amber: #FFC107;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;

  --radius: 6px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --section-y: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.6 var(--font-body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-950); font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--amber); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius); font-weight: 500; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type ---------- */
.display { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.h3 { font-size: 22px; line-height: 1.3; }
.h4 { font-size: 20px; line-height: 1.3; }
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.eyebrow--gold { color: var(--gold-ink); }
.muted { color: var(--muted); font-size: 16px; }
.on-dark-muted { color: var(--on-dark-muted); }
.gold-word { font-style: normal; color: var(--gold-ink); }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: var(--radius); font: 500 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn--small { min-height: 44px; padding: 10px 18px; }
.btn--primary { background: var(--amber); color: var(--navy-950); }
.btn--primary:hover { background: #FFD24D; color: var(--navy-950); }
.btn--blue { background: var(--blue); color: var(--navy-950); }
.btn--blue:hover { background: var(--sky); color: var(--navy-950); }
.btn--ghost { border-color: #6F8295; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.whatsapp { margin: 0; }
.btn--whatsapp { gap: 8px; background: #25D366; color: var(--navy-950); }
.btn--whatsapp:hover { background: #4BE083; color: var(--navy-950); }
.whatsapp__icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.link-arrow { font-size: 16px; font-weight: 500; color: var(--blue-ink); }
.link-arrow::after { content: " →"; }
.link-arrow--on-dark { color: var(--blue); }
.link-arrow--on-dark:hover { color: var(--white); }
.link-arrow--gold { color: var(--gold-ink); }

/* ---------- Logo ---------- */
.logo-mark .pl { fill: var(--sky); stroke: var(--sky); }
.logo-mark .pr { fill: var(--blue); stroke: var(--blue); }
.logo-mark--gold .pl { fill: var(--gold-light); stroke: var(--gold-light); }
.logo-mark--gold .pr { fill: var(--gold); stroke: var(--gold); }
.brand__word { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .14em; color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-950); border-bottom: 1px solid var(--navy-line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; min-height: 72px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: 35px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-nav__links { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.site-nav__links a { color: var(--on-dark); font-size: 16px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav__links a:hover { color: var(--white); border-bottom-color: var(--on-dark-quiet); }
.site-nav__links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--blue); }
.lang { display: flex; gap: 2px; font-size: 14px; font-weight: 500; }
.lang__current, .lang a { padding: 6px 8px; }
.lang__current { color: var(--white); border-bottom: 2px solid var(--blue); }
.lang a { color: var(--on-dark-quiet); text-decoration: none; }
.lang a:hover { color: var(--white); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid #6F8295; border-radius: var(--radius); background: transparent; color: var(--white); font: 500 15px var(--font-body); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* With JavaScript, the menu folds behind a button on small screens. */
@media (max-width: 1023px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; padding: 8px 0 16px; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__links { flex-direction: column; gap: 2px; }
  .js .site-nav__links a { display: block; padding: 10px 0; font-size: 18px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-950); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--blue); }
.section--gold { background: var(--gold-wash); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }

.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.card--link { text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.card--link:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-2px); }
.card .icon { width: 28px; height: 28px; fill: none; stroke: var(--blue-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-top: 3px solid var(--blue); border-radius: var(--radius); background: var(--white); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.steps__item { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--navy-950); }
.steps__number { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--blue-ink); }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split__main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split__side { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.code { margin: 0; padding: 22px; overflow-x: auto; border: 1px solid var(--navy-line); border-radius: var(--radius); background: var(--navy-990); color: var(--on-dark); font: 15px/1.6 var(--font-mono); }
.code__prompt { color: #6F8295; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.chips li { padding: 4px 10px; border-radius: var(--radius); }
.chips--dark li { border: 1px solid var(--navy-line); color: var(--on-dark-muted); }

.story { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.story__mark { width: 120px; height: auto; flex-shrink: 0; }
.story__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.story__text p { max-width: 36em; }

/* ---------- Hero ---------- */
.hero { background: var(--navy-950); color: var(--white); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: clamp(56px, 8vw, 112px); }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--blue); }
.hero .lede { color: var(--on-dark-muted); }
.hero__logo { flex: 1 1 320px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.logo-anim { width: min(260px, 60vw); height: auto; overflow: visible; }
.taglines { display: grid; font-size: 16px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); text-align: center; }
.taglines span { grid-area: 1 / 1; }
.taglines__b { opacity: 0; }

.page-hero { background: var(--navy-950); color: var(--white); }
.page-hero__inner { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(48px, 7vw, 96px); }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--on-dark-muted); }

/* The logo assembles, then moves between blue and gold while the tagline changes (12 s cycle). */
.logo-anim .logo-t, .logo-anim .logo-m, .logo-anim .logo-b { transform-box: fill-box; transform-origin: center; }
.logo-anim .logo-t { animation: z-in-top .9s var(--ease) both; }
.logo-anim .logo-m { animation: z-in-mid .9s .25s var(--ease) both; }
.logo-anim .logo-b { animation: z-in-bottom .9s .5s var(--ease) both; }
.logo-anim .pl { animation: z-left 12s 1.6s ease-in-out infinite both; }
.logo-anim .pr { animation: z-right 12s 1.75s ease-in-out infinite both; }
.hero .taglines { animation: z-fade .6s 1.2s ease-out both; }
.hero .taglines__a { animation: z-tag-a 12s 1.6s ease-in-out infinite both; }
.hero .taglines__b { animation: z-tag-b 12s 1.6s ease-in-out infinite both; }
@keyframes z-in-top { from { opacity: 0; transform: translateY(-90px); } to { opacity: 1; transform: none; } }
@keyframes z-in-mid { from { opacity: 0; transform: translateX(-70px) scaleX(.4); } to { opacity: 1; transform: none; } }
@keyframes z-in-bottom { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
@keyframes z-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes z-left { 0%, 38% { fill: var(--sky); stroke: var(--sky); } 50%, 88% { fill: var(--gold-light); stroke: var(--gold-light); } 100% { fill: var(--sky); stroke: var(--sky); } }
@keyframes z-right { 0%, 38% { fill: var(--blue); stroke: var(--blue); } 50%, 88% { fill: var(--gold); stroke: var(--gold); } 100% { fill: var(--blue); stroke: var(--blue); } }
@keyframes z-tag-a { 0%, 38% { opacity: 1; } 45%, 93% { opacity: 0; } 100% { opacity: 1; } }
@keyframes z-tag-b { 0%, 42% { opacity: 0; } 50%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* ---------- Call to action band ---------- */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 6vw, 80px); }
.cta-band__title { color: var(--white); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.cta-band p { margin-top: 8px; color: #D5DEE6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: 15px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--white); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-block: 64px 48px; }
.site-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__nav { flex: 2 1 320px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 24px; align-content: start; }
.site-footer__nav a { text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Layout helpers ---------- */
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--line { border-top: 1px solid var(--line); }
.section__head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; max-width: none; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--small { gap: 10px; }
.stack--large { gap: 40px; }
.narrow { max-width: 760px; width: 100%; margin-inline: auto; }
.split--top { align-items: flex-start; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.grid--cards { gap: 40px 28px; }
.empty { padding: 40px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }
.label-caps { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.display--page { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; }
.hero__subtitle { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; color: var(--on-dark); }
.hero__side { flex: 1 1 400px; min-width: 0; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb--dark, .breadcrumb--dark a { color: var(--on-dark-quiet); }
.breadcrumb--dark a:hover { color: var(--white); }
.byline { font-size: 15px; color: var(--muted); }
.panel { padding: 28px; border-radius: var(--radius); background: var(--paper); }
.panel--navy { background: var(--navy-950); color: var(--white); }
.panel--navy h2 { color: var(--white); }

/* ---------- Art placeholders (no image yet): the 30° stripes of the brand ---------- */
.art { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(150deg, var(--navy) 0 2px, var(--navy-950) 2px 26px); }
.art--light { background: repeating-linear-gradient(150deg, #DCE3EA 0 2px, #EEF1F4 2px 26px); }
.art--gold { background: repeating-linear-gradient(150deg, #E9DCC0 0 2px, var(--gold-wash) 2px 26px); }

/* ---------- Cards ---------- */
.case-card, .article-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.case-card__media, .article-card__media, .card__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper); }
.article-card__media { aspect-ratio: 16 / 9; }
.case-card__media img, .article-card__media img, .card__media img, .hero-image img, .team__photo img, .featured-article__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__media picture, .article-card__media picture, .card__media picture, .team__photo picture, .featured-article__media picture { display: block; height: 100%; }
.case-card:hover h3, .article-card:hover h3 { color: var(--blue-ink); }
.case-card__meta, .article-card__meta { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.featured-article { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: clamp(16px, 3vw, 32px); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; }
.featured-article__media { flex: 1 1 420px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; }
.featured-article__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.featured-article:hover h2 { color: var(--blue-ink); }
.dark-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--navy-line); border-radius: var(--radius); color: var(--on-dark-muted); text-decoration: none; }
.dark-card strong { color: var(--white); }
.dark-card:hover { border-color: var(--blue); color: var(--on-dark); }
.link-arrow--amber { color: var(--amber); }
.tile--gold { border-top-color: var(--gold-light); }

/* ---------- Filters and pagination ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); font-size: 15px; text-decoration: none; }
.chip:hover { border-color: var(--navy); color: var(--navy-950); }
.chip[aria-current] { border-color: var(--navy-950); background: var(--navy-950); color: var(--white); font-weight: 500; }
.filter-select { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.filter-select select { min-height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font: 400 15px var(--font-body); color: var(--ink); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; font-size: 16px; }

/* ---------- Case study ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px 32px; margin: 8px 0 0; padding: 20px 0; border-block: 1px solid var(--line); font-size: 16px; }
.facts dt { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; color: var(--navy-950); }
.hero-image { overflow: hidden; margin-top: 32px; border-radius: var(--radius); aspect-ratio: 21 / 9; }
.hero-image--article { aspect-ratio: 16 / 9; max-width: 952px; margin-inline: auto; }
.metric { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: var(--navy-950); }
.metric__value { font-family: var(--font-display); font-size: clamp(36px, 4vw, 48px); font-weight: 700; line-height: 1.1; color: var(--blue); }
.metric__label { color: var(--on-dark-muted); }
.quote { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 860px; margin: 0 auto; text-align: center; }
.quote__mark { width: 40px; height: auto; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--navy-950); }
.quote figcaption { font-weight: 500; color: var(--gold-ink); }
.next-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.next-link { display: flex; flex-direction: column; gap: 4px; margin-left: auto; text-align: right; text-decoration: none; }
.next-link span { font-size: 14px; color: var(--muted); }
.next-link strong { font-family: var(--font-display); font-size: 21px; color: var(--navy-950); }
.chips--light li { background: var(--blue-wash); color: var(--navy-950); }

/* ---------- Services ---------- */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--blue-ink); border-bottom: 2px solid var(--blue-ink); transform: rotate(-45deg); }

/* ---------- Zana page ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; }
.badge { padding: 3px 10px; border: 1px solid #4A5D70; border-radius: var(--radius); color: var(--on-dark-muted); }
.badge--blue { border-color: var(--blue); color: var(--blue); }
.code__comment { color: #6F8295; }
.code__dir { color: var(--sky); }
.features { gap: 32px 40px; }
.feature { display: flex; flex-direction: column; gap: 8px; }
.grid--packages { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.package-group { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); background: var(--white); }
.package-group ul { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.package-group code { font-family: var(--font-mono); }
.rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.rows strong { color: var(--navy-950); }
.rows span { color: var(--muted); }

/* ---------- About ---------- */
.story--hero { padding-block: clamp(24px, 4vw, 48px); }
.story__mark--large { width: 220px; flex: 0 1 220px; }
.team__member { display: flex; flex-direction: column; gap: 6px; }
.team__photo { overflow: hidden; margin-bottom: 6px; border-radius: var(--radius); aspect-ratio: 1; }

/* ---------- Forms (Start a project, newsletter) ---------- */
.form-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.form-card { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--white); }
.form-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.form-alert { padding: 12px 16px; border: 1px solid #F0C2BC; border-radius: var(--radius); background: #FBE6E4; color: #9B2C21; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-weight: 500; color: var(--navy-950); }
.field legend { margin-bottom: 10px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--font-body); }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #9B2C21; }
.field__hint { font-size: 14px; color: var(--muted); }
.field__error { font-size: 14px; font-weight: 500; color: #9B2C21; }
.check-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.check-chip { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 15px; cursor: pointer; }
.check-chip:has(input:checked) { border-color: var(--navy-950); background: var(--blue-wash); }
.check-chip input, .check input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy-950); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { margin-top: 3px; }
.check.has-error { color: #9B2C21; }
.actions--center { align-items: center; }
.numbered { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.numbered li { position: relative; padding-left: 30px; color: var(--on-dark-muted); counter-increment: step; }
.numbered li::before { content: counter(step); position: absolute; left: 0; font-family: var(--font-display); font-weight: 600; color: var(--blue); }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form label { font-size: 14px; color: var(--on-dark-muted); }
.newsletter-form__row { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter-form input { flex: 1 1 200px; min-height: 46px; padding: 0 14px; border: 1px solid #4A5D70; border-radius: var(--radius); background: var(--navy-990); color: var(--white); font: 400 16px var(--font-body); }
.site-footer__newsletter { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; }
.site-footer__title { color: var(--white); font-weight: 500; }

/* ---------- Long text (Markdown) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.7; }
.prose h2 { margin-top: 16px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; }
.prose h3 { margin-top: 8px; font-size: 22px; }
.prose .heading-anchor { margin-left: .3em; color: var(--line-strong); text-decoration: none; opacity: 0; }
.prose :is(h2, h3):hover .heading-anchor, .prose .heading-anchor:focus { opacity: 1; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose code { padding: 2px 6px; border-radius: 4px; background: #EEF1F4; font: .88em var(--font-mono); }
.prose pre { margin: 0; padding: 20px; overflow-x: auto; border-radius: var(--radius); background: var(--navy-990); color: var(--on-dark); font: 15px/1.6 var(--font-mono); }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); font-family: var(--font-display); font-size: 22px; line-height: 1.45; color: var(--navy-950); }
.preview-banner { padding: 12px var(--gutter); background: #FFF4D6; color: #7A5A00; font-weight: 500; text-align: center; }

/* ---------- Error page ---------- */
.error-page { background: var(--navy-950); color: var(--white); }
.error-page__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: clamp(48px, 8vw, 112px); }
.error-page__mark { flex: 0 1 300px; width: 300px; height: auto; }
.error-page__mark .pl { fill: var(--sky); stroke: var(--sky); }
.error-page__mark .pr { fill: var(--blue); stroke: var(--blue); }
.error-page__gap { fill: none; stroke: #4A5D70; stroke-dasharray: 24 18; }
.error-page__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.error-page h1 { color: var(--white); font-size: clamp(36px, 4.6vw, 60px); }
.error-page .eyebrow { color: var(--blue); }
.error-page .lede { color: var(--on-dark-muted); }
.error-page__links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 500; }
.error-page__links a { color: var(--blue); }
.error-page__links a:hover { color: var(--white); }

/* ---------- Reduced motion: a still logo with both taglines ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .taglines { display: flex; flex-direction: column; gap: 6px; }
  .taglines__b { opacity: 1; }
  .card--link:hover { transform: none; }
}
