@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --tint: #f3f3f1;
  --ink: #141414;
  --ink-2: #474747;
  --ink-3: #666666;
  --line: #e2e2de;
  --yellow: #ffd21f;
  --dark: #111111;
  --on-dark: #f2f2f0;
  --on-dark-2: #b9b9b5;

  --font: "Schibsted Grotesk", system-ui, sans-serif;

  --t-small: 0.9375rem;
  --t-body: 1.125rem;
  --t-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem);
  --t-h3: clamp(1.3125rem, 1.15rem + 0.5vw, 1.625rem);
  --t-h2: clamp(1.875rem, 1.25rem + 2vw, 3.125rem);
  --t-h1: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem);

  --wrap: 76rem;
  --pad: clamp(1.25rem, 0.6rem + 2.8vw, 3rem);
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--paper);
  scrollbar-color: var(--ink-3) var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }

.arr { width: 1em; height: 0.75em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
a:hover .arr { transform: translateX(3px); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.button:hover { background: var(--ink); color: var(--yellow); }
.button-small { padding: 0.65rem 1.05rem; font-size: var(--t-small); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--paper); color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
}
.file-note { font-weight: 500; color: var(--ink-3); }
.text-link:hover { text-decoration-color: var(--ink); text-decoration-thickness: 3px; }

/* Header */

.top { border-bottom: 1px solid var(--line); }
.top-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.75rem;
}
.wordmark {
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu { display: flex; gap: 1.75rem; margin-left: auto; font-weight: 500; font-size: 1.0625rem; }
.menu a { text-decoration: none; }
.menu a:hover,
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.button[aria-current="page"] { background: var(--ink); color: var(--yellow); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.6rem 1rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* First screen */

.hero { padding-block: clamp(2.5rem, 1.25rem + 3.5vw, 4.75rem) clamp(4rem, 2rem + 5vw, 7rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.hero-title {
  font-size: var(--t-h1);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.04em;
}
.hero-lead { margin-top: 1.75rem; max-width: 36rem; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; margin-top: 2.25rem; }
.availability { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 1.75rem; font-size: var(--t-small); color: var(--ink-3); }
.dot { position: relative; top: -0.05em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgb(31 157 85 / 0.16); flex: none; }

.portrait { position: relative; margin-bottom: 2rem; }
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
  background: var(--dark);
}
.portrait figcaption {
  position: absolute;
  left: -1.5rem;
  bottom: -2rem;
  display: grid;
  gap: 0.1rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.35);
  font-size: var(--t-small);
  line-height: 1.35;
  color: var(--ink-2);
}
.portrait strong { color: var(--ink); font-size: 1.0625rem; font-weight: 750; }

/* Companies */

.companies { border-block: 1px solid var(--line); }
.companies-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 3rem; padding-block: 1.75rem; }
.companies-title { font-size: var(--t-small); font-weight: 600; color: var(--ink-3); }
.company-list { display: flex; flex-wrap: wrap; gap: 0.5rem 2.75rem; }
.company-list { align-items: center; }
.company-list li,
.company-name { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); font-weight: 750; letter-spacing: -0.02em; color: var(--ink-2); }
.company-logo { height: 2.25rem; width: auto; max-width: 9rem; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.75; transition: filter 0.2s ease-out, opacity 0.2s ease-out; }
.company-list li:hover .company-logo { filter: none; opacity: 1; }
.event-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 1rem; }
.event-logos img { height: 2.75rem; width: auto; opacity: 0.9; }
.event-logos a:hover img { opacity: 1; }

.placeholder { outline: 1.5px dashed #c9c9c2; outline-offset: -1.5px; background: repeating-linear-gradient(135deg, #fafaf8 0 8px, #f3f3f0 8px 16px); }
.placeholder-logo {
  display: inline-grid;
  place-items: center;
  min-width: 9rem;
  height: 3.25rem;
  padding: 0 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--ink-3);
}
.placeholder-logo small { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.placeholder-tag { justify-self: start; padding: 0.15rem 0.5rem; border-radius: 3px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 650; }

/* Sections */

.section { padding-block: var(--section); }
.section-rule { border-top: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 4rem);
}
.section-title {
  max-width: 22ch;
  font-size: var(--t-h2);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
.service { padding-top: 1.5rem; border-top: 3px solid var(--ink); }
.service-name { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.service-title { margin-top: 0.5rem; font-weight: 650; }
.service-text { margin-top: 0.9rem; color: var(--ink-2); }

.section-intro { margin-top: 1rem; max-width: 44ch; font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.service-fits { margin-top: 0.6rem; font-size: var(--t-lead); line-height: 1.4; font-weight: 500; color: var(--ink); }
.service-title { margin-top: 1.25rem; }
.service-format {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: var(--t-small);
  font-weight: 600;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  border-block: 1px solid var(--line);
  counter-reset: step;
}
.flow li { position: relative; display: grid; gap: 0.35rem; padding: 1.5rem 2rem 1.5rem 3.25rem; counter-increment: step; color: var(--ink-2); font-size: var(--t-small); }
.flow li + li { border-left: 1px solid var(--line); }
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1.45rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 750;
  font-size: 0.8125rem;
}
.flow strong { font-size: var(--t-body); font-weight: 750; color: var(--ink); }

.hiring {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  font-size: var(--t-lead);
  font-weight: 500;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 2.5rem clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.feature-head { position: sticky; top: 2rem; }
.rows { border-top: 3px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 2fr); gap: 0.25rem 2rem; padding-block: 1.6rem; border-bottom: 1px solid rgb(0 0 0 / 0.1); }
.row-name { grid-row: span 2; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.row-name a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 0.18em; }
.row-name a:hover { text-decoration-color: var(--ink); }
.row-meta { font-weight: 650; }
.row-text { color: var(--ink-2); }

.stack { border-top: 3px solid var(--ink); }
.stack-group { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 4fr); gap: 0.75rem 2rem; align-items: baseline; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.stack dt { font-weight: 750; }
.stack dd { margin: 0; }
.stack-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.stack-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}
.stack-list img { width: 1.1rem; height: 1.1rem; opacity: 0.85; }
.stack-group:first-child .stack-list li { border-color: var(--yellow); background: rgb(255 210 31 / 0.18); }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.highlight {
  display: grid;
  gap: 0.5rem;
  height: 100%;
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: 3px solid var(--ink);
  background: var(--tint);
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: background-color 0.2s ease-out;
}
.highlight:hover { background: #ebebe7; }
.highlight-where { font-size: var(--t-small); font-weight: 600; color: var(--ink-3); }
.highlight-title { font-size: var(--t-h3); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.highlight:hover .highlight-title { text-decoration-color: var(--ink); }
.highlight-line { color: var(--ink-2); }
.capabilities { border-top: 3px solid var(--ink); }
.capability {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.capability-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.capability-text { margin-top: 0.9rem; color: var(--ink-2); max-width: 38ch; }
.capability-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.25rem; }
.proofs { display: grid; gap: 1rem; }
.proofs li { position: relative; padding-left: 1.75rem; line-height: 1.55; }
.proofs li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--yellow); }
.made-logo { width: 3rem; height: 3rem; object-fit: contain; margin-bottom: 0.25rem; }
.offers { border-top: 3px solid var(--ink); }
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.offer-name { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.offer-title { margin-top: 1.1rem; font-weight: 650; }
.offer-summary { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }
.offer-label { margin: 1.75rem 0 1rem; font-size: var(--t-body); font-weight: 750; }
.offer-outcome { margin-top: 1.5rem; padding-left: 1rem; border-left: 4px solid var(--yellow); font-weight: 500; }
.talks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem);
  margin-top: var(--section);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
}
.talks .section-intro { margin: 0 0 1.75rem; color: var(--on-dark-2); max-width: 52ch; }
.talks :focus-visible { outline-color: var(--yellow); }
.svc-section { margin-top: var(--section); }
.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; }
.svc-where { margin-top: 1.5rem; color: var(--ink-2); }
.why { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.why-points { margin-block: 2rem 1.75rem; }
.why-quote { margin: 0; }
.work-side { margin-top: var(--section); }
.work-cta { margin-top: calc(var(--section) * 0.75); }
.cases > li,
.compact > li { scroll-margin-top: 2rem; }
.cases > li:target,
.compact > li:target { background: linear-gradient(90deg, rgb(255 210 31 / 0.25), transparent 70%); }
.side { padding-block: calc(var(--section) * 0.8); }
.compact li { display: grid; gap: 0.35rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.compact li:first-child { padding-top: 0.25rem; }
.compact h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; font-size: var(--t-h3); font-weight: 750; letter-spacing: -0.02em; }
.compact h3 a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.compact h3 span { font-size: var(--t-small); font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.compact p { max-width: 60ch; color: var(--ink-2); }

.cases { border-top: 3px solid var(--ink); }
.case {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 3fr);
  gap: 0.75rem clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-block: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.case-org { display: grid; align-content: start; gap: 0.2rem; font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.case-logo { width: 3.5rem; height: 3.5rem; margin-bottom: 0.6rem; object-fit: contain; }
.case-org span { line-height: 1.4; font-size: var(--t-small); font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.case-title { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.case-text { margin-top: 0.75rem; max-width: 62ch; color: var(--ink-2); }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
.tool { padding-top: 1.5rem; border-top: 3px solid var(--ink); }
.tool-name { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.tool-name a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 0.18em; }
.tool-name a:hover { text-decoration-color: var(--ink); }
.tool-role { margin-top: 0.5rem; font-weight: 650; }
.tool-text { margin-top: 0.9rem; color: var(--ink-2); }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.quote { display: grid; align-content: start; gap: 1.1rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius); background: var(--tint); }
.quote blockquote { font-size: var(--t-lead); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.quote-short::before { content: "\201C"; display: block; height: 2.2rem; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--yellow); }
.quote.placeholder blockquote { color: var(--ink-3); }
.quote:has(.quote-more[open]) .quote-short { display: none; }
.quote-more summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.3em; list-style: none; }
.quote-more summary::-webkit-details-marker { display: none; }
.quote-more[open] summary { margin-bottom: 1rem; }
.quote-more blockquote { font-size: var(--t-body); font-weight: 400; line-height: 1.6; color: var(--ink); }
.quote-by { display: flex; align-items: center; gap: 0.9rem; font-size: var(--t-small); color: var(--ink-3); }
.quote-by p { display: grid; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.quote.placeholder .avatar { background: #d6d6d0; color: var(--paper); }
.quote-by strong { color: var(--ink); font-weight: 700; }

/* Community, dark to match the portrait */

.community { background: var(--dark); color: var(--on-dark); padding-block: var(--section); }
.community :focus-visible { outline-color: var(--yellow); }
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.community-head { display: grid; justify-items: start; gap: 2rem; }
.case-title a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.case-title a:hover { text-decoration-color: var(--ink); }
.case-link { margin-top: 1rem; }
.community-title {
  font-size: var(--t-h2);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.community-list li {
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--on-dark-2);
}
.community-list li:first-child { padding-top: 0; border-top: 0; color: var(--on-dark); }

/* Latest */

.latest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem clamp(2.5rem, 1rem + 5vw, 6rem); }
.latest-title { font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.02em; }
.entries { margin-block: 1.25rem 1.75rem; border-top: 3px solid var(--ink); }
.entries li { display: grid; gap: 0.2rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.entries a { font-weight: 600; line-height: 1.35; text-decoration: none; }
.entries a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.entries time { font-size: var(--t-small); color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* Closing */

.closing { background: var(--yellow); padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }
.closing-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; }
.closing-title { max-width: 18ch; font-size: var(--t-h2); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.closing-text { margin-top: 1.1rem; max-width: 44ch; font-size: var(--t-lead); color: #2b2a24; }
.closing-actions { display: grid; justify-items: start; gap: 0.9rem; }
.closing-mail { font-weight: 600; }


/* Footer */

.foot { margin-top: 0; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem; background: var(--dark); color: var(--on-dark-2); }
.foot :focus-visible { outline-color: var(--yellow); }
.foot a { color: var(--on-dark); }
.foot .wordmark { color: var(--on-dark); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 1rem + 4vw, 5rem); }
.foot-about { display: grid; justify-items: start; gap: 1rem; max-width: 30rem; }
.foot-about p { font-size: var(--t-body); }
.foot-nav h2 { margin-bottom: 0.9rem; font-size: var(--t-small); font-weight: 650; color: var(--on-dark-2); }
.foot-nav ul { display: grid; gap: 0.5rem; }
.foot-nav a { text-decoration: none; font-weight: 500; }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: var(--t-small); }

/* Pages */

.page,
.post,
.index-page { padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section); }
.page-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 1.75rem + 2vw, 3.5rem); }
.page-title { font-size: var(--t-h2); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.post .page-title { font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem); }
.page-intro { margin-top: 1.25rem; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.page-intro a,
.prose a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.page-intro a:hover,
.prose a:hover { text-decoration-color: var(--ink); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin-bottom: 1.25rem; font-size: var(--t-small); color: var(--ink-3); }
.post-meta a { font-weight: 600; color: var(--ink); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip,
.index-page .tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.chip:hover,
.index-page .tag:hover { background: #e6e6e2; color: var(--ink); }
.index-page .tag.active { background: var(--ink); color: var(--yellow); }

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.25em; font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.prose h3 { margin-top: 2em; font-size: 1.25rem; font-weight: 750; letter-spacing: -0.01em; }
.prose h4 { margin-top: 1.75em; font-size: 1.0625rem; font-weight: 700; }
.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.6em; }
.prose ul,
.prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ink-3); }
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul { margin-top: 0.4em; }
.prose strong { font-weight: 700; }
.prose blockquote,
.pull { padding-left: 1.25rem; border-left: 4px solid var(--yellow); color: var(--ink-2); font-size: var(--t-lead); }
.pull { max-width: 42rem; margin-bottom: 2.25rem; font-weight: 500; color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.prose th,
.prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.prose code { padding: 0.1em 0.35em; border-radius: 4px; background: var(--tint); color: var(--ink); font: 0.9em/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.prose pre,
.prose .highlight { border-radius: var(--radius); }
.prose pre { overflow-x: auto; padding: 1.1rem 1.25rem; background: #1c1c1c; color: #f2f2f0; font-size: 0.875rem; line-height: 1.6; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.prose .highlighter-rouge { background: none; color: inherit; font-size: inherit; }
.prose .highlight { background: #1c1c1c; padding: 0; }

.post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; max-width: 42rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); }
.post-foot .chips { margin-top: 0; }

/* Writing and brain indexes */

.index-page .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 2.5rem; }
.index-page input[type="search"] {
  width: min(100%, 32rem);
  padding: 0.85rem 1rem;
  border: 1.5px solid #cfcfca;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.index-page input[type="search"]:hover { border-color: var(--ink-3); }
.index-page input[type="search"]:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.index-page input::placeholder { color: var(--ink-3); }
.clear-filters { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.3em; cursor: pointer; }
.search-hint { flex-basis: 100%; font-size: var(--t-small); color: var(--ink-3); }
.search-hint code { padding: 0.05em 0.35em; border-radius: 4px; background: var(--tint); font-size: 0.9em; }
.index-page .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 2.75rem clamp(2rem, 1rem + 3vw, 3.5rem); }
.index-page .card { display: flex; flex-direction: column; padding-top: 1.25rem; border-top: 3px solid var(--ink); }
.index-page .card-link { display: block; flex: 1; text-decoration: none; }
.index-page .card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.index-page .card-type,
.index-page .card-date { font-size: var(--t-small); color: var(--ink-3); }
.index-page .card-title { margin-top: 0.4rem; font-size: var(--t-h3); font-weight: 750; line-height: 1.2; letter-spacing: -0.02em; }
.index-page .card-source { margin-top: 0.35rem; font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.index-page .card-note,
.index-page .card-excerpt { margin-top: 0.8rem; color: var(--ink-2); }
.index-page .card-meta,
.index-page .card .tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 1.25rem; font-size: var(--t-small); color: var(--ink-3); }
.index-page .card-meta .tags,
.index-page .card > .tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.4rem; }
.index-page .hidden,
.index-page .page-hidden { display: none; }
.index-page .empty-state { padding-block: 3rem; color: var(--ink-2); }
.index-page .load-more-wrap { margin-top: 3rem; }
.index-page .load-more {
  padding: 0.85rem 1.4rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.index-page .load-more:hover { background: var(--ink); color: var(--yellow); }

.tags-page .tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tags-page .tag { display: inline-flex; align-items: center; gap: 0.5rem; cursor: default; }
.tags-page .tag a { color: var(--ink); text-decoration: none; font-weight: 600; }
.tags-page .tag a:hover { text-decoration: underline; }
.tags-page .tag-count,
.tags-page .tag-count a { font-weight: 500; color: var(--ink-3); }

/* Contact */

.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: none; }
.prose:has(.contact-options) { max-width: 76rem; }
.contact-option:target { outline: 3px solid var(--yellow); outline-offset: 3px; }
.contact-option { display: grid; grid-template-rows: auto auto 1fr auto; align-content: stretch; justify-items: start; gap: 0.9rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius); background: var(--tint); }
.prose .contact-option h2 { margin-top: 0; }
.contact-option p { color: var(--ink-2); }
.contact-hint { font-size: var(--t-small); }
.contact-option .button { align-self: end; margin-top: 0.5rem; text-decoration: none; }
.contact-facts { display: grid; gap: 0; max-width: 48rem; margin-top: 3rem; border-top: 3px solid var(--ink); }
.contact-facts > div { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr); gap: 0.5rem 2rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.contact-facts dt { font-weight: 700; }
.contact-facts dd { margin: 0; color: var(--ink-2); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 26rem; margin-left: 1.5rem; }
  .services,
  .tools,
  .highlights,
  .flow,
  .flow-4 { grid-template-columns: 1fr; }
  .flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .feature,
  .capability,
  .offer,
  .talks,
  .why,
  .stack-group,
  .row { grid-template-columns: 1fr; }
  .feature-head { position: static; }
  .row-name { grid-row: auto; }
  .quotes,
  .contact-options,
  .foot-grid,
  .case,
  .community-grid,
  .latest { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; gap: 0.25rem 1rem; padding-block: 0.9rem 0; min-height: 0; }
  .top-row .button-small { margin-left: auto; }
  .contact-facts > div { grid-template-columns: 1fr; }
  .menu { order: 3; width: 100%; margin: 0.5rem 0 0; gap: 1.4rem; overflow-x: auto; padding-bottom: 0.75rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arr,
  .button { transition: none; }
}

/* Minolovac: the minesweeper at /igre/minolovac/ */

.mines[data-lang="bs"] [lang="en"],
.mines[data-lang="en"] [lang="bs"] { display: none; }
.mines { --mine: #b42318; --cell: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.mines-lang { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.mines-pill {
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  cursor: pointer;
}
.mines-pill:hover { border-color: var(--ink-3); }
.mines-pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--yellow); }

.mines-warning {
  max-width: 48rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--tint);
}
.mines-warning h2 { font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.02em; }
.mines-warning p { margin-top: 0.75rem; color: var(--ink-2); }
.mines-warning strong { color: var(--ink); }
.mines-warning a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.mines-emergency { font-weight: 650; color: var(--ink) !important; }
.mines-stale { font-weight: 600; color: var(--mine) !important; }

.mines-game { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.mines-controls { display: grid; gap: 1rem; }
.mines-control { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.mines-label { min-width: 5.5rem; font-weight: 700; }
.mines-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mines-note { margin-top: 1.25rem; max-width: 60ch; font-size: var(--t-small); color: var(--ink-3); }
.mines-full { margin-top: 0.75rem; max-width: 60ch; font-weight: 650; color: var(--mine); }

.mines-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--ink);
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.mines-bar .mines-pill { border-color: rgb(255 255 255 / 0.3); background: transparent; color: var(--paper); padding-block: 0.3rem; }
.mines-bar .mines-pill[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.mines-bar :focus-visible { outline-color: var(--yellow); }
.mines-count { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 750; }
.mines-status { min-width: 9rem; font-weight: 700; color: var(--yellow); }
.mines-flag-icon,
.mines-cell.is-flag::after {
  content: "";
  width: 0.7rem;
  height: 0.8rem;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 30%, 18% 60%, 18% 100%, 0 100%);
}
.mines-flag-icon { display: inline-block; }

.mines-board {
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--cell));
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  padding: 2px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--ink);
}
.mines-cell {
  display: grid;
  place-items: center;
  width: var(--cell);
  height: var(--cell);
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #3a3a37;
  color: var(--ink);
  font: inherit;
  font-size: calc(var(--cell) * 0.52);
  font-weight: 800;
  cursor: pointer;
}
.mines-cell:hover { background: #4d4d49; }
.mines-cell:focus-visible { outline: 3px solid var(--yellow); outline-offset: -2px; position: relative; z-index: 1; }
.mines-cell.is-open { background: var(--paper); cursor: default; }
.mines-cell.is-mine { background: var(--mine); }
.mines-cell.is-mine::after { content: ""; width: 42%; height: 42%; border-radius: 50%; background: var(--paper); }
.mines-cell.is-hit { background: #7a1010; box-shadow: inset 0 0 0 3px var(--yellow); }
.mines-cell[data-n="1"] { color: #1d4ed8; }
.mines-cell[data-n="2"] { color: #166534; }
.mines-cell[data-n="3"] { color: #b91c1c; }
.mines-cell[data-n="4"] { color: #3730a3; }
.mines-cell[data-n="5"] { color: #92400e; }
.mines-cell[data-n="6"] { color: #0f766e; }
.mines-cell[data-n="7"] { color: var(--ink); }
.mines-cell[data-n="8"] { color: var(--ink-3); }

.mines-fact {
  max-width: 48rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--tint);
  font-weight: 500;
}
.mines-hint { margin-top: 1rem; max-width: 60ch; font-size: var(--t-small); color: var(--ink-3); }
.mines-hint a { font-weight: 600; color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.mines-origin { max-width: 60ch; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-3); }
.mines-origin a { color: var(--ink); }

@media (max-width: 640px) {
  .mines-board { --cell: min(2rem, calc((100vw - 2 * var(--pad) - 4px - 2px * (var(--cols) - 1)) / var(--cols))); }
  .mines-label { min-width: 0; width: 100%; }
  .mines-status { min-width: 0; }
}
