/* Organic — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* Google Fonts (Caprasimo + Figtree) are loaded via <link> tags in each page's
   <helmet> block with preconnect hints, eliminating the render-blocking @import
   waterfall. Do not re-add an @import here. */

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-400: #c0b6a5;
  --color-neutral-500: #a19786;
  --color-neutral-600: #82796a;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-400: #f6a06b;
  --color-accent-500: #d67f48;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-400: #aebf92;
  --color-accent-2-500: #8fa073;
  --color-accent-2-600: #728157;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-6: 26.4px;
  --space-8: 35.2px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.washed{filter:saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — rounded frame: everything softens, small controls go pill — */
.card, .dialog { border-radius: calc(var(--radius-lg) * 1.15); }
.btn, .tag, .seg, .input { border-radius: 999px; }
.input { padding-inline: 14px; }


/* Jomovate site layer. Builds on the Organic tokens in organic.css (colours, fonts, radii, shadows).
   Layout, type scale and components for the static site live here. */

/* Self-hosted brand fonts (SIL Open Font License), Latin subset. No third-party font requests. */
@font-face { font-family: "Caprasimo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/caprasimo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --text-muted: color-mix(in srgb, var(--color-text) 72%, transparent);
  --card: #fbf5ea;
  --line: color-mix(in srgb, var(--color-text) 14%, transparent);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; overflow-x: hidden; }
main { display: block; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 60px); margin-bottom: 20px; }
h2, .h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
h3, .h3 { font-size: clamp(21px, 2vw, 24px); margin-bottom: 10px; }
.h4 { font-size: 19px; }
p { margin: 0 0 16px; text-wrap: pretty; }
a { color: var(--color-accent-700); text-decoration-thickness: 1px; }
a:hover { color: var(--color-accent-800); }
img { height: auto; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { 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-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-text); color: var(--color-bg); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: var(--color-bg); }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }

/* — Buttons (extends .btn from organic.css) — */
.btn { font-family: var(--font-body); font-weight: 700; letter-spacing: .005em; font-size: 16px; padding: 12px 22px; min-height: 46px; gap: 8px; transition: background-color .15s, border-color .15s; }
.btn-sm { font-size: 15px; padding: 8px 16px; min-height: 40px; }
.btn-lg { font-size: 17px; padding: 14px 26px; min-height: 52px; }
.btn-primary { background: var(--color-accent-700); color: #fff; }
.btn-primary:hover { background: var(--color-accent-800); color: #fff; }
.btn-primary:active { background: var(--color-accent-900); }
.btn-secondary { border-color: color-mix(in srgb, var(--color-text) 30%, transparent); color: var(--color-text); background: transparent; }
.btn-secondary:hover { color: var(--color-text); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--color-accent-700); text-decoration: underline; cursor: pointer; }

/* — Header — */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--color-bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; padding: 6px 0; border-radius: 8px; }
.brand img { height: 34px; width: auto; }
.brand:hover { color: var(--color-text); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a:not(.btn) { display: inline-block; padding: 10px 12px; border-radius: 999px; color: var(--color-text); text-decoration: none; font-weight: 600; font-size: 16px; }
.site-nav a:not(.btn):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav li:last-child { margin-left: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
@media (max-width: 859px) {
  .js .nav-toggle:not([hidden]) { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px var(--gutter) 20px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .site-nav li:last-child { margin: 10px 0 0; }
  .js .site-nav .btn { width: 100%; }
  .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: 12px; }
}

/* — Sections — */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-tint { background: color-mix(in srgb, var(--color-surface) 55%, var(--color-bg)); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.section-head-row > div { max-width: 720px; }
.section-intro, .lead { color: var(--text-muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 62ch; }
.eyebrow, .kicker { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 12px; }
.kicker { font-size: 12px; margin: 0; }
.note { color: var(--text-muted); font-size: 15px; margin-top: 28px; }

/* — Hero — */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero-copy { max-width: 980px; }
.hero-descriptor { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; color: var(--color-text); margin: 0 0 18px; }
/* Three short statements, each starting on its own line; on phones each wraps naturally within its block. */
.hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.08; margin-bottom: 28px; text-wrap: initial; }
.hero h1 span { display: block; }
.hero .lead { max-width: 66ch; }
.hero .actions { margin-top: 32px; }
.hero-note { margin-top: 24px; font-size: 15px; color: var(--text-muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 28px); }
.service-grid .service-card h3 { font-size: 22px; }
.service-grid .service-card p { margin: 0; font-size: 16px; }
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 56px); }
.page-hero .lead { margin-bottom: 0; }

/* — Breadcrumbs — */
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--text-muted); }

/* — Grids & cards — */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.grid-3-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 28px); }
.service-card, .offer, .aside-card, .article-card, .form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.service-card h3 a, .article-card h3 a { color: var(--color-text); text-decoration: none; }
.service-card h3 a:hover, .article-card h3 a:hover { text-decoration: underline; }
.service-card p { color: var(--text-muted); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.offer p { margin: 0; color: var(--text-muted); font-size: 16px; }

.project-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.project-card:focus-within { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.project-card[hidden] { display: none; }
.project-card-media { display: block; aspect-ratio: 16 / 10; background: var(--color-neutral-200); border-bottom: 1px solid var(--line); overflow: hidden; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 12px; }
.project-card-title { font-size: 22px; margin-bottom: 8px; }
.project-card-title a { color: var(--color-text); text-decoration: none; }
.project-card-title a::after { content: ""; position: absolute; inset: 0; }
.project-card-title a:focus-visible { outline: none; }
.project-card p { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; }
.project-card .project-card-type { margin: auto 0 0; font-size: 14px; font-weight: 600; color: var(--color-neutral-700); }
.shot-placeholder { height: 100%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 30%, var(--color-accent-2-200), var(--color-neutral-200)); }
.shot-placeholder span { font-family: var(--font-heading); font-size: 56px; color: var(--color-accent-2-800); line-height: 1; }
.shot-placeholder small { font-size: 13px; color: var(--color-neutral-700); margin-top: 8px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px; line-height: 1.5; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-live { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.badge-pilot { background: var(--color-accent-100); color: var(--color-accent-800); }
.badge-prototype { background: var(--color-neutral-100); color: var(--color-neutral-800); border: 1px solid var(--color-neutral-300); }
.badge-in-development { background: var(--color-neutral-100); color: var(--color-neutral-800); border: 1px dashed var(--color-neutral-500); }
.badge-archived { background: var(--color-neutral-200); color: var(--color-neutral-800); }

/* — Lists — */
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--color-accent-2-700); margin-top: .35em; }
.plain-list { margin: 0 0 16px; display: grid; gap: 8px; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--color-neutral-100); border: 1px solid var(--line); }

/* — Process — */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.process li { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
.process-step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-accent-2-200); color: var(--color-accent-2-900); font-weight: 700; margin-bottom: 14px; }
.process h3 { font-size: 21px; }
.process p { margin: 0; color: var(--text-muted); font-size: 16px; }
.mini-process { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 15px; }

/* — Founder — */
.founder { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-md); }

/* — CTA band — */
.cta-band { margin-block: var(--section); padding: clamp(32px, 5vw, 56px); border-radius: calc(var(--radius-lg) * 1.4); background: var(--color-accent-2-800); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: color-mix(in srgb, #fff 86%, transparent); max-width: 56ch; }
.cta-band .actions { margin: 0; }
.cta-band .btn-primary { background: var(--color-bg); color: var(--color-text); }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-secondary { color: #fff; border-color: color-mix(in srgb, #fff 55%, transparent); }
.cta-band .btn-secondary:hover { background: color-mix(in srgb, #fff 12%, transparent); }
.cta-band :focus-visible { outline-color: #fff; }

/* — Services overview — */
.service-overview { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
.service-overview + .service-overview { margin-top: 28px; }
.service-overview h2 a { color: var(--color-text); text-decoration: none; }
.related-mini ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.related-mini li { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }

/* — Filters — */
.filters { display: grid; gap: 20px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); margin-bottom: 20px; }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend, .field > label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--color-text); }
.filter-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.filter-row .field { flex: 1 1 200px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-text) 28%, transparent); font-size: 15px; font-weight: 600; }
.pill:hover span { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.pill input:checked + span { background: var(--color-accent-700); border-color: var(--color-accent-700); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.result-count { font-weight: 600; margin: 0 0 20px; }
.empty-state { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* — Forms — */
.input { font-size: 16px; min-height: 48px; padding: 10px 16px; background: #fffaf2; border-color: color-mix(in srgb, var(--color-text) 32%, transparent); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201e1d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
textarea.input { border-radius: var(--radius-md); min-height: 160px; line-height: 1.5; }
.input[aria-invalid="true"] { border-color: #a3241a; border-width: 2px; }
.field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.req, .opt { font-weight: 400; color: var(--text-muted); font-size: 14px; }
.hint { font-size: 15px; color: var(--text-muted); margin: -2px 0 10px; }
.field-error { color: #a3241a; font-weight: 600; font-size: 15px; margin: 8px 0 0; }
.error-summary { border: 2px solid #a3241a; border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; background: #fff3f1; }
.error-summary ul { margin: 0; }
.error-summary a { color: #a3241a; font-weight: 600; }
.form-status:empty { display: none; }
.form-status { border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 20px; }
.form-status h2 { font-size: 24px; }
.form-status p { margin: 0; }
.form-status-ok { background: var(--color-accent-2-100); border: 2px solid var(--color-accent-2-600); }
.form-status-error { background: #fff3f1; border: 2px solid #a3241a; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-aside { display: grid; gap: 20px; }
.contact-aside a { display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }

/* — Case study — */
.case-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.facts { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-neutral-700); }
.facts dd { margin: 4px 0 0; font-size: 16px; }
.facts-note { display: block; font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.case-figure { margin: 0; }
.case-figure img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.case-figure figcaption { font-size: 15px; margin-top: 14px; color: var(--text-muted); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 40px; font-size: clamp(24px, 2.6vw, 30px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; }
.prose li { margin-bottom: 6px; }
.case-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.aside-card .btn { margin: 12px 0; }
.back-link { margin: 32px 0 0; }

/* — Insights — */
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.article-card h3 { margin-top: 8px; }
.article-card p:last-child { margin: 0; color: var(--text-muted); }
.pub-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.pub-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.pub-list li > a { font-weight: 600; font-size: 18px; text-decoration: none; display: inline; }
.pub-list li > a:hover { text-decoration: underline; }
.pub-list p:last-child { margin: 4px 0 0; color: var(--text-muted); font-size: 15px; }

/* — Footer — */
.site-footer { background: var(--color-neutral-900); color: color-mix(in srgb, #fff 80%, transparent); padding-top: 56px; margin-top: 24px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { font-family: var(--font-heading); font-size: 22px; color: #fff; margin-bottom: 10px; }
.footer-heading { font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-base { border-top: 1px solid color-mix(in srgb, #fff 15%, transparent); margin-top: 40px; padding-block: 20px 28px; font-size: 14px; }
.footer-base p { margin: 0; }
.site-footer :focus-visible { outline-color: #fff; }

/* — Responsive — */
@media (max-width: 1023px) {
  .card-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose-grid, .contact-grid, .case-head { grid-template-columns: 1fr; }
  .case-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
  .grid-2, .grid-3-cols, .founder, .service-overview, .article-list, .form-row { grid-template-columns: 1fr; }
  .founder-photo { max-width: 260px; }
  .card-grid, .service-grid, .process { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .cta-band .actions, .cta-band .btn { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 519px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .cta-band, .filters { display: none; }
}

/* — WhatsApp and secondary contact routes — */
.btn-whatsapp { background: #1f6f43; color: #fff; }
.btn-whatsapp:hover { background: #185a36; color: #fff; }
.btn-whatsapp:active { background: #124428; }
.btn-whatsapp .i { width: 1.15em; height: 1.15em; }
.cta-band .btn-whatsapp { background: #fff; color: #185a36; }
.cta-band .btn-whatsapp:hover { background: var(--color-accent-2-100); }
.wa-note { font-size: 14px; color: var(--text-muted); margin: 10px 0 0; }
.channel-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-contact { display: grid; gap: 8px; margin-top: 4px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .wa-note { color: color-mix(in srgb, #fff 70%, transparent); }

/* — Access labels on portfolio entries — */
.access { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-neutral-800); }
.access::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid currentColor; }
.access-open::before { background: currentColor; }
.project-card .access { margin: 0 0 10px; }

/* — FAQ — */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; list-style-position: outside; }
.faq summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-md); }
.faq details > p { padding: 0 22px 18px; margin: 0; color: var(--text-muted); }
.landing-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* — Form submitting state — */
form[aria-busy="true"] [data-submit] { cursor: progress; opacity: .85; }
.shot-placeholder small { max-width: 22ch; }
.quick-contact { margin: 18px 0 0; font-size: 16px; }
.quick-contact a { font-weight: 600; }
.quick-contact .text-link .i { vertical-align: -0.15em; }
