/* Arcalis, gedeelde stijl voor arcalis.nl
   Twee bogen: het logo uitgevouwen. Een hero van alleen tekst, daarna per app een kwartboog
   (Kade lila links, iiCaptain blauw rechts) met één scherm, dan Over en een rustige footer.
   De blog gebruikt dezelfde bogen: Kade is de linkerhelft, iiCaptain de rechter, de rest het hele merk. */

@font-face {
  font-family: "Onest";
  src: url("fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #17161c;
  --ink-2: #5b5966;
  --ink-3: #6e6c78;
  --line: rgba(23, 22, 28, 0.09);
  --line-strong: rgba(23, 22, 28, 0.22);
  --kade-ink: #5642cc;
  --iic-ink: #2259c9;
  --kade-field-top: #ebe4ff;
  --kade-field-bottom: #ddd2ff;
  --iic-field-top: #e3efff;
  --iic-field-bottom: #cfe2ff;
  --mark-a: #8f7df3;
  --mark-b: #5ea7f4;
  --device: #1c1b1f;
  --device-ring: rgba(23, 22, 28, 0.08);
  --icon-ring: rgba(23, 22, 28, 0.06);
  --focus: #5642cc;
  --selection: #e6e0ff;
  --code-bg: #f4f3f8;
  --shadow-device: 0 60px 90px -60px rgba(40, 30, 110, 0.5);

  --font: "Onest", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0b0e;
    --ink: #f2f1f6;
    --ink-2: #a9a7b4;
    --ink-3: #8b8995;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.24);
    --kade-ink: #b8acff;
    --iic-ink: #8cbcff;
    --kade-field-top: #1b1733;
    --kade-field-bottom: #2a2252;
    --iic-field-top: #0f1d33;
    --iic-field-bottom: #183659;
    --mark-a: #a596ff;
    --mark-b: #7ab9ff;
    --device: #1c1b1f;
    --device-ring: rgba(255, 255, 255, 0.14);
    --icon-ring: rgba(255, 255, 255, 0.08);
    --focus: #b8acff;
    --selection: #2e2756;
    --code-bg: #17161d;
    --shadow-device: 0 60px 90px -50px rgba(0, 0, 0, 0.8);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0e;
  --ink: #f2f1f6;
  --ink-2: #a9a7b4;
  --ink-3: #8b8995;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.24);
  --kade-ink: #b8acff;
  --iic-ink: #8cbcff;
  --kade-field-top: #1b1733;
  --kade-field-bottom: #2a2252;
  --iic-field-top: #0f1d33;
  --iic-field-bottom: #183659;
  --mark-a: #a596ff;
  --mark-b: #7ab9ff;
  --device: #1c1b1f;
  --device-ring: rgba(255, 255, 255, 0.14);
  --icon-ring: rgba(255, 255, 255, 0.08);
  --focus: #b8acff;
  --selection: #2e2756;
  --code-bg: #17161d;
  --shadow-device: 0 60px 90px -50px rgba(0, 0, 0, 0.8);
}

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

.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
}
.skip:focus {
  top: 14px;
}

/* ---------- Merk en header ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mark {
  flex: none;
  width: 30px;
  height: 15px;
}
.mark-a {
  fill: var(--mark-a);
}
.mark-b {
  fill: var(--mark-b);
}

.header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header ul {
  display: flex;
  gap: clamp(14px, 4.5vw, 28px);
}
.header nav a {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1;
  transition: color 150ms ease;
}
.header nav a:hover,
.header nav a:focus-visible,
.header nav a[aria-current] {
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(64px, 9vw, 136px) clamp(40px, 5vw, 72px);
  padding-block: clamp(48px, min(9vw, 11svh), 136px) clamp(32px, min(5vw, 6svh), 72px);
}
.hero h1 {
  font-size: clamp(3.5rem, 0.2rem + 8.2vw, 7.25rem);
  font-size: min(clamp(3.5rem, 0.2rem + 8.2vw, 7.25rem), 14svh);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.q {
  display: block;
}
.half {
  display: inline-block;
  white-space: nowrap;
}
.lead {
  margin-top: clamp(28px, 3vw, 44px);
  margin-top: clamp(24px, min(3vw, 4svh), 44px);
  max-width: 31em;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem);
  letter-spacing: -0.005em;
  line-height: 1.45;
  text-wrap: pretty;
}

.app-link {
  font-weight: 500;
  text-decoration: underline 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 150ms ease;
}
.app-link--kade {
  color: var(--kade-ink);
}
.app-link--iic {
  color: var(--iic-ink);
}
.app-link:hover,
.app-link:focus-visible {
  text-decoration-color: currentColor;
}

/* ---------- Apps ---------- */
.app {
  padding-block: clamp(40px, 5vw, 72px);
  padding-block: clamp(32px, min(5vw, 7svh), 72px);
}
.app .grid {
  align-items: center;
}

.field {
  position: relative;
  overflow: hidden;
  overflow: clip; /* geen scrollcontainer, dus view() volgt de pagina */
  min-height: 0; /* anders groeit het veld mee met de telefoon */
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-start;
}
.app--kade .field {
  grid-column: 1 / 8;
  grid-row: 1;
  border-radius: 100% 0 0 0 / 100% 0 0 0;
  background: linear-gradient(180deg, var(--kade-field-top), var(--kade-field-bottom));
  justify-content: flex-end;
}
.app--iic .field {
  grid-column: 6 / 13;
  grid-row: 1;
  border-radius: 0 100% 0 0 / 0 100% 0 0;
  background: linear-gradient(180deg, var(--iic-field-top), var(--iic-field-bottom));
  justify-content: flex-start;
}

.phone {
  flex: none;
  width: 46%;
  margin-top: 26%;
  padding: 3.3%;
  border-radius: 15.3% / 7.2%;
  background: var(--device);
  box-shadow: 0 0 0 1px var(--device-ring), var(--shadow-device);
}
.app--kade .phone {
  margin-inline: 0 10%;
}
.app--iic .phone {
  margin-inline: 10% 0;
}
.phone img {
  width: 100%;
}

.app--kade .copy {
  grid-column: 8 / 13;
  grid-row: 1;
  padding-left: clamp(0px, 4vw, 64px);
}
.app--iic .copy {
  grid-column: 1 / 6;
  grid-row: 1;
  padding-right: clamp(0px, 4vw, 64px);
}

.id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.id img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px var(--icon-ring);
}
.id b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.id span {
  display: block;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.4;
}

.app h2 {
  font-size: clamp(2.25rem, 1rem + 2.8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.sentence {
  margin-top: 22px;
  max-width: 30em;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.go {
  display: inline-block;
  margin-top: 28px;
  color: var(--kade-ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  text-decoration: underline 1px transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease;
}
.app--iic .go {
  color: var(--iic-ink);
}
.go:hover,
.go:focus-visible {
  text-decoration-color: currentColor;
}
.go span {
  display: inline-block;
  white-space: pre;
  transition: transform 160ms ease-out;
}
.go:hover span,
.go:focus-visible span {
  transform: translateX(3px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}
.meta li:not(:last-child)::after {
  content: "·";
  content: "·" / "";
  padding-inline: 0.55em;
}
.meta a {
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 3px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
.meta a:hover,
.meta a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* ---------- Over ---------- */
.over {
  padding-block: clamp(56px, 6vw, 88px) clamp(80px, 9vw, 136px);
}
.over h2 {
  margin-bottom: 20px;
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.statement {
  max-width: 22em;
  font-size: clamp(1.625rem, 1.05rem + 2.1vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-wrap: balance;
}
.statement strong {
  color: var(--ink);
  font-weight: 600;
}
.statement span {
  color: var(--ink-2);
  font-weight: 500;
}
.contact {
  margin-top: clamp(36px, 4vw, 56px);
  max-width: 30em;
  color: var(--ink-2);
  font-size: clamp(1.25rem, 0.95rem + 1.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.contact a {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 150ms ease;
}
.contact a:hover,
.contact a:focus-visible {
  text-decoration-color: currentColor;
}
.contact + .contact {
  margin-top: 0.75em;
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 48px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.footer .brand {
  grid-column: 1 / 4;
  align-self: start;
  justify-self: start;
  font-size: 18px;
}
.f-company {
  grid-column: 4 / 7;
}
.f-apps {
  grid-column: 7 / 10;
}
.f-follow {
  grid-column: 10 / 13;
}
.footer h2 {
  margin-bottom: 14px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.footer dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 24px;
}
.footer dt {
  color: var(--ink-3);
}
.footer dd {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.f-apps ul,
.f-follow ul {
  display: grid;
  gap: 8px;
}
.f-apps a,
.f-follow a {
  color: var(--ink-2);
  text-decoration: underline 1px transparent;
  text-underline-offset: 3px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
.f-apps a:hover,
.f-apps a:focus-visible,
.f-follow a:hover,
.f-follow a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.f-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 48px;
  color: var(--ink-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Blog ---------- */
.page-head {
  padding-block: clamp(56px, 7vw, 112px) clamp(32px, 4vw, 56px);
}
.eyebrow {
  margin-bottom: 20px;
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.page-head h1 {
  max-width: 13em;
  font-size: clamp(2.75rem, 1rem + 5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}
.inline-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 150ms ease;
}
.inline-link:hover,
.inline-link:focus-visible {
  text-decoration-color: currentColor;
}

/* Onderwerp: het merkteken met alleen de helft van de app gekleurd. */
.topic {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 500;
}
.topic .mark {
  width: 20px;
  height: 10px;
}
.topic--kade {
  color: var(--kade-ink);
}
.topic--kade .mark-b,
.topic--iic .mark-a {
  fill: var(--line-strong);
}
.topic--iic {
  color: var(--iic-ink);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.post-meta > :not(:last-child)::after {
  content: "·";
  content: "·" / "";
  padding-inline: 0.55em;
  color: var(--ink-3);
  font-weight: 400;
}

/* Overzicht */
.posts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.post-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-block: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--line);
}
.post-card .post-meta {
  grid-column: 1 / 4;
  align-self: start;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 0.45em;
}
.post-card .post-meta > ::after {
  content: none;
}
.post-card .post-body {
  grid-column: 4 / 11;
}
.post-card h2 {
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.post-card h2 a {
  text-decoration: underline 1px transparent;
  text-underline-offset: 0.14em;
  transition: text-decoration-color 150ms ease;
}
.post-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.post-card h2 a:hover,
.post-card h2 a:focus-visible {
  text-decoration-color: var(--line-strong);
}
.post-card h2 a:focus-visible {
  outline: none;
}
.post-card:has(h2 a:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
  border-radius: 4px;
}
.post-card .summary {
  margin-top: 14px;
  max-width: 34em;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.post-card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.post-card .more span {
  display: inline-block;
  white-space: pre;
  transition: transform 160ms ease-out;
}
.post-card:hover .more span {
  transform: translateX(3px);
}

/* Artikel */
.narrow {
  width: 100%;
  max-width: calc(720px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.post-head {
  padding-block: clamp(40px, 6vw, 96px) clamp(32px, 4vw, 48px);
}
.back {
  display: inline-block;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  transition: color 150ms ease;
}
.back:hover,
.back:focus-visible {
  color: var(--ink);
}
.post-head h1 {
  font-size: clamp(2.375rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.post-lead {
  margin-top: clamp(18px, 2vw, 26px);
  color: var(--ink-2);
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.42;
  text-wrap: pretty;
}
.post-head .post-meta {
  margin-top: clamp(22px, 2.5vw, 30px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.prose {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.prose > * {
  margin-block: 0;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(1.1875rem, 1.05rem + 0.4vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.55em;
}
.prose strong {
  font-weight: 600;
}
.prose a {
  font-weight: 500;
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 150ms ease;
}
.prose a:hover,
.prose a:focus-visible {
  text-decoration-color: currentColor;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.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 blockquote {
  margin-inline: 0;
  padding-left: 1em;
  border-left: 3px solid var(--mark-a);
  color: var(--ink-2);
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}
.post--iic .prose blockquote {
  border-left-color: var(--mark-b);
}
.prose code {
  padding: 0.12em 0.36em;
  border-radius: 6px;
  background: var(--code-bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}
.prose pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--code-bg);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: nowrap;
}
.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}
.prose figure {
  margin-block: 2em;
}
.prose figure img {
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
}
.prose figure.phone-shot img {
  width: min(100%, 320px);
  margin-inline: auto;
  border-radius: 28px;
}
.prose figcaption {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}
.prose figure.capture img {
  width: min(100%, 440px);
  margin-inline: auto;
}
.prose figure.phone-shot figcaption,
.prose figure.capture figcaption {
  text-align: center;
}
.prose hr {
  height: 0;
  margin-block: 2.4em;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Volgen: een boog in de kleur van het onderwerp (Kade links, iiCaptain rechts, anders allebei). */
.follow {
  margin-block: clamp(56px, 7vw, 96px) clamp(72px, 8vw, 120px);
  padding: clamp(72px, 9vw, 120px) clamp(24px, 5vw, 64px) clamp(32px, 4vw, 52px);
  border-radius: clamp(120px, 24vw, 280px) clamp(120px, 24vw, 280px) 28px 28px;
  background: linear-gradient(90deg, var(--kade-field-bottom), var(--iic-field-bottom));
  text-align: center;
}
.follow--kade {
  border-radius: clamp(120px, 24vw, 280px) 28px 28px 28px;
  background: linear-gradient(180deg, var(--kade-field-top), var(--kade-field-bottom));
  text-align: left;
  padding-left: clamp(40px, 8vw, 96px);
}
.follow--iic {
  border-radius: 28px clamp(120px, 24vw, 280px) 28px 28px;
  background: linear-gradient(180deg, var(--iic-field-top), var(--iic-field-bottom));
  text-align: left;
}
.follow h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.follow p {
  max-width: 28em;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: balance;
}
.follow:not(.follow--kade):not(.follow--iic) p {
  margin-inline: auto;
}
.follow .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  margin-top: 8px;
}
.follow--kade .links,
.follow--iic .links {
  justify-content: flex-start;
}
.follow .go {
  margin-top: 16px;
  color: var(--ink);
}

/* ---------- Breekpunten ---------- */
@media (min-width: 960px) and (max-width: 1199px) {
  .app--kade .field { grid-column: 1 / 7; }
  .app--kade .copy { grid-column: 7 / 13; }
  .app--iic .copy { grid-column: 1 / 7; }
  .app--iic .field { grid-column: 7 / 13; }
  .footer .grid { row-gap: 36px; }
  .footer .brand { grid-column: 1 / -1; }
  .f-company { grid-column: 1 / 5; }
  .f-apps { grid-column: 5 / 9; }
  .f-follow { grid-column: 9 / 13; }
  .post-card .post-body { grid-column: 4 / 13; }
}

@media (max-width: 959px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid > *,
  .app--kade .field,
  .app--kade .copy,
  .app--iic .field,
  .app--iic .copy,
  .footer .brand {
    grid-column: 1 / -1;
  }
  .app {
    padding-block: 40px;
  }
  .app .copy {
    grid-row: 1;
    padding: 0;
  }
  .app .field {
    grid-row: 2;
    width: min(100%, 460px);
    margin-top: 40px;
    aspect-ratio: 1 / 1.15;
  }
  .app--kade .field {
    justify-self: start;
  }
  .app--iic .field {
    justify-self: end;
  }
  .app .phone {
    width: 52%;
    margin-top: 30%;
  }
  .app--kade .phone {
    margin-inline: 0 6%;
  }
  .app--iic .phone {
    margin-inline: 6% 0;
  }
  .footer .grid {
    row-gap: 32px;
  }
  .f-base {
    flex-direction: column;
  }
  .post-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-card .post-meta,
  .post-card .post-body {
    grid-column: 1 / -1;
  }
  .post-card .post-meta {
    flex-direction: row;
    align-items: center;
    gap: 2px 0;
    margin-bottom: 10px;
    padding-top: 0;
  }
  .post-card .post-meta > :not(:last-child)::after {
    content: "·";
    content: "·" / "";
  }
}

@media (max-width: 359px) {
  .nav-over {
    display: none;
  }
}

@media (max-width: 639px) {
  .hero {
    padding-block: 64px 40px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 12.5vw, 3.5rem);
  }
  .half {
    display: block;
  }
  .lead {
    margin-top: 28px;
    max-width: none;
    font-size: 18px;
  }
}

/* ---------- Beweging ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .phone {
      animation: phone-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
  }
}
@keyframes phone-rise {
  from { transform: translateY(12%); }
  to { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
