/* ==========================================================================
   borrenbergs.com — stylesheet (1920px base design)
   Font: Inter, Regular (400) + Semi Bold (600), self-hosted in /fonts
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  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: "Square Peg";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/square-peg-latin-400-normal.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #fafafa;
  --white: #ffffff;
  --black: #000000;
  --grey-900: #323232;
  --grey-700: #545454;
  --grey-500: #828282;
  --grey-300: #b8b8b8;
  --line: #dedede;
  --line-soft: #f0f0f0;
  --line-tag: #e0d4d8;
  --panel: #f0f0f0;
  --green: #12b33f;
  --logo: #0a0d12;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fw-regular: 400;
  --fw-semibold: 600;
  /* All titles are Inter Semi Bold. */
  --fw-heading: var(--fw-semibold);

  --container: 1080px;
  --gutter: 44px;
  --radius-card: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadow stacks copied from the design */
  --shadow-card:
    0 15px 15px -3.75px rgba(0,0,0,.03),
    0 4.79px 4.79px -2.81px rgba(0,0,0,.06),
    0 1.81px 1.81px -1.88px rgba(0,0,0,.07),
    0 .6px .6px -.94px rgba(0,0,0,.07);
  --shadow-chip:
    0 10px 10px -3.75px rgba(0,0,0,.06),
    0 2.29px 2.29px -2.5px rgba(0,0,0,.16),
    0 .6px .6px -1.25px rgba(0,0,0,.18);
  --shadow-dark:
    0 0 0 1px #545454,
    0 25px 25px -3.75px rgba(0,0,0,.11),
    0 9.83px 9.83px -3px rgba(0,0,0,.25),
    0 4.43px 4.43px -2.25px rgba(0,0,0,.30),
    0 2.02px 2.02px -1.5px rgba(0,0,0,.32),
    0 .74px .74px -.75px rgba(0,0,0,.33),
    inset 0 2px 4px rgba(255,255,255,.40);
  --shadow-dark-soft:
    0 0 0 1px #828282,
    0 25px 25px -3.75px rgba(0,0,0,.11),
    0 9.83px 9.83px -3px rgba(0,0,0,.25),
    0 4.43px 4.43px -2.25px rgba(0,0,0,.30),
    0 2.02px 2.02px -1.5px rgba(0,0,0,.32),
    0 .74px .74px -.75px rgba(0,0,0,.33),
    inset 0 2px 4px rgba(255,255,255,.40);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font);
  font-weight: var(--fw-regular);
  font-size: 17px;
  line-height: 25.2px;
  letter-spacing: -0.36px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: var(--fw-semibold); }
hr { border: 0; }
.muted { color: var(--grey-700); }
.is-hidden { display: none !important; }
.plain:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* The two vertical rails of the 1080px container */
.page { position: relative; }
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  pointer-events: none;
}
.page > *, main > * { position: relative; }

/* ---------- Type ---------- */
.display {
  font-weight: var(--fw-heading);
  font-size: clamp(42px, 3.75vw, 72px);  /* one size for every section title (H1, H2s, footer) */
  line-height: 1.0;
  letter-spacing: -0.0313em;
}
.display--2 { /* same size as .display */ }
.display__muted { color: var(--grey-500); }
.h3 {
  font-weight: var(--fw-heading);
  font-size: 30px;
  line-height: 36.8px;
  letter-spacing: -0.96px;
}
.small { font-size: 13.3px; line-height: 22.4px; letter-spacing: -0.14px; }

/* ---------- Appear animations ----------
   Timings: duration .5–.6s, ease cubic-bezier(.4,0,.2,1).
   Elements get their hidden state only when JS runs (html.js); without JS everything is visible.
   data-fx="words"  → title reveals word by word (blur + fade), stagger .05s
   data-fx="blur"   → paragraph blur-in
   data-fx="fade"   → plain fade
   data-fx="up"     → fade + slide up 40px
   data-fx="down"   → fade + slide down (navbar on load)
   data-fx-group="up|blur|fade" + data-fx-stagger → children animate one after another */
:root { --fx-ease: cubic-bezier(.4, 0, .2, 1); --fx-dur: .6s; }
.js [data-fx="fade"], .js [data-fx="up"], .js [data-fx="down"], .js [data-fx="blur"], .js .fx-child {
  opacity: 0;
  transition: opacity var(--fx-dur) var(--fx-ease), transform var(--fx-dur) var(--fx-ease), filter var(--fx-dur) var(--fx-ease);
  transition-delay: var(--fx-delay, 0s);
}
.js [data-fx="up"], .js .fx-child.fx-up { transform: translateY(40px) var(--fx-base, translate(0, 0)); --fx-dur: .5s; }
.js [data-fx="down"] { transform: translateY(-24px) var(--fx-base, translate(0, 0)); }
.js [data-fx="blur"], .js .fx-child.fx-blur { filter: blur(10px); }
.js [data-fx].is-in, .js .fx-child.is-in { opacity: 1; transform: var(--fx-base, none); filter: none; }
.js [data-fx="words"] .fx-w {
  display: inline-block;
  opacity: 0; filter: blur(12px); transform: translateY(.12em);
  transition: opacity .6s var(--fx-ease), filter .6s var(--fx-ease), transform .6s var(--fx-ease);
  transition-delay: var(--fx-delay, 0s);
}
.js [data-fx="words"].is-in .fx-w { opacity: 1; filter: blur(0); transform: none; }
.js [data-fx].is-done, .js [data-fx].is-done .fx-w, .js .fx-child.is-done { filter: none; transition-delay: 0s; }
/* the cycling footer word keeps its own swap animation once revealed */
.js [data-fx="words"].is-in .cycle.is-out { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.js [data-fx="words"].is-done .cycle { transition-duration: .35s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-fx], .js .fx-child, .js [data-fx="words"] .fx-w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 27px;
  border-radius: var(--radius-pill);
  font-size: 13.3px;
  line-height: 1;
  letter-spacing: -0.14px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--dark { background: var(--black); color: var(--white); box-shadow: var(--shadow-dark-soft); }
.btn--dark:hover { background: #111; }
.btn--light { background: var(--bg); color: var(--black); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); height: 46px; padding: 0 24px; }
.btn--light:hover { background: var(--white); }
.btn--sm { height: 32px; padding: 0 18px; font-size: 14px; letter-spacing: -0.28px; box-shadow: inset 0 0 0 .6px var(--line), var(--shadow-card); }

.btn--avatar { padding-left: 8px; padding-right: 16px; gap: 10px; box-shadow: var(--shadow-dark); }
.btn__avatar { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; }
.btn__avatar img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; transition: opacity .3s ease; }
.btn__you {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white); color: var(--black);
  font-size: 11.3px; letter-spacing: -0.12px;
  opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease;
}
.btn--avatar:hover img { opacity: 0; }
.btn--avatar:hover .btn__you { opacity: 1; transform: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 16px 0 8px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-chip);
  font-size: 11.3px;
  line-height: 1;
  letter-spacing: -0.12px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.chip--link { padding: 0 16px; }
.chip--link:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-chip); }
.chip--blur { padding: 0 12px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }

.pulse { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.pulse::before, .pulse span {
  content: ""; position: absolute; border-radius: 50%; background: var(--green);
}
.pulse::before { inset: 0; opacity: .25; animation: pulse 2s ease-out infinite; }
.pulse span { inset: 4px; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 70% { transform: scale(1.15); opacity: .12; } 100% { transform: scale(1.2); opacity: 0; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; line-height: 25.2px; letter-spacing: -0.36px;
}
.link-arrow .ico { transition: transform .25s ease; }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

/* ---------- Icons (inline SVG via mask, so they take currentColor) ---------- */
.ico { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--arrow { width: 15px; height: 15px; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5l7-7M4.5 4.5h7v7'/%3E%3C/svg%3E"); }
.ico--lg { width: 18px; height: 18px; }
.ico--arrow-dr { width: 24px; height: 24px; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5l14 14M19 5v14H5'/%3E%3C/svg%3E"); }
.ico--refresh { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 3v3h-3M2.5 13v-3h3'/%3E%3Cpath d='M13.1 6A5.3 5.3 0 0 0 4 4.2L2.5 5.6M2.9 10a5.3 5.3 0 0 0 9.1 1.8l1.5-1.4'/%3E%3C/svg%3E"); }
.ico--chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M2.5 3.5h11a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H5l-2.2 1.9a.5.5 0 0 1-.8-.4V4a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E"); }
.ico--hand { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 1.5v5M6.5 4.5l2 2 2-2'/%3E%3Cpath d='M1 10h2.5l3.3 1.3c.5.2 1 .2 1.5 0l3.3-1.3c.9-.3 1.8.3 1.8 1.2 0 .5-.3.9-.7 1.1L7.9 14.3c-.6.3-1.3.3-1.9 0L1 12.5'/%3E%3C/svg%3E"); }
.ico--doc { width: 18px; height: 18px; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.6' y='1.6' width='10' height='14.8' rx='1.2' transform='rotate(10 9.6 9)'/%3E%3Cpath d='M7.3 6.2l5.9 1M6.8 8.9l5.9 1M6.3 11.6l3 .5'/%3E%3C/svg%3E"); }
.ico--check { width: 14px; height: 14px; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7.6l3.2 3.2L12.2 3.7'/%3E%3C/svg%3E"); }
.ico--calendar { width: 18px; height: 18px; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.8' y='3.4' width='12.4' height='12' rx='1'/%3E%3Cpath d='M2.8 6.8h12.4M6 2v2.5M12 2v2.5' /%3E%3Cpath d='M6.8 11l1.6 1.6 2.9-2.9'/%3E%3Cpath d='M2.8 3.4h12.4v3.4H2.8z' fill='%23000' stroke='none'/%3E%3C/svg%3E"); }

.ico--pen { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.3 2.2l2.5 2.5L5.5 13H3v-2.5z'/%3E%3Cpath d='M9.5 4l2.5 2.5'/%3E%3C/svg%3E"); }
.ico--layout { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='2' y='2.5' width='12' height='11' rx='1.5'/%3E%3Cpath d='M2 6h12M6.5 6v7.5'/%3E%3C/svg%3E"); }
.ico--deck { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='12' height='8.5' rx='1.5'/%3E%3Cpath d='M8 11.5V14M5.5 14h5'/%3E%3C/svg%3E"); }
.ico--image { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='2' y='2.5' width='12' height='11' rx='1.5'/%3E%3Ccircle cx='5.8' cy='6.2' r='1.2'/%3E%3Cpath d='M14 10.5l-3.2-3.2-5.3 5.3'/%3E%3C/svg%3E"); }
.ico--mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='2' y='3.5' width='12' height='9' rx='1.5'/%3E%3Cpath d='M2.5 4.5L8 8.8l5.5-4.3'/%3E%3C/svg%3E"); }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 24px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  width: 600px; max-width: 100%;
  padding: 12px 12px 12px 18px;
  border-radius: 32px;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 0 0 .6px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav__brand { font-size: 13.3px; font-weight: var(--fw-semibold); letter-spacing: -0.14px; line-height: 32px; }
.nav__links { display: flex; align-items: center; gap: 16px; }
.nav__links a:not(.btn) { font-size: 13.5px; letter-spacing: -0.28px; line-height: 1; padding: 8px 0; white-space: nowrap; transition: opacity .2s; }
.nav__links a:not(.btn):hover { opacity: .55; }
.nav__toggle { display: none; width: 32px; height: 32px; position: relative; }
.nav__toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--black); transition: transform .25s ease, top .25s ease; }
.nav__toggle span:first-child { top: 12px; }
.nav__toggle span:last-child { top: 19px; }
.nav__pill.is-open .nav__toggle span:first-child { top: 15.5px; transform: rotate(45deg); }
.nav__pill.is-open .nav__toggle span:last-child { top: 15.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero__inner { padding: 144px 0 104px; display: grid; grid-template-columns: minmax(0, 1fr) 356px; column-gap: 28px; align-items: start; }
.hero .display { white-space: nowrap; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero .display { margin-top: 24px; }
.hero__lead { max-width: 390px; margin-top: 24px; font-size: 16.9px; line-height: 25.2px; letter-spacing: -0.36px; font-weight: var(--fw-semibold); }
.hero__lead .muted { color: var(--grey-500); }
.hero .btn--avatar { margin-top: 32px; }

/* ---------- Hero: request board ---------- */
.board {
  position: relative;
  width: 100%; max-width: 400px;
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  font-size: 13px; line-height: 1.2; letter-spacing: -0.14px;
  user-select: none;
}
.board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board__title { font-size: 13.3px; font-weight: var(--fw-semibold); }
.board__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.3px; font-weight: var(--fw-semibold); color: var(--grey-700); }
.board__live .pulse { width: 14px; height: 14px; } .board__live .pulse span { inset: 3.5px; }
.board__label { margin: 0 0 6px; font-size: 11.3px; letter-spacing: -0.12px; font-weight: var(--fw-semibold); color: var(--grey-700); }
.board__label span { color: var(--grey-500); font-weight: var(--fw-regular); }
.board__lane { position: relative; display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.board__lane--done { margin-bottom: 0; }
.board__lane--queue { min-height: 94px; }   /* 2 cards */
.board__lane--done  { min-height: 94px; }

.bcard {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
  height: 44px; padding: 0 10px 0 10px;
  border-radius: 10px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  will-change: transform, filter;
}
.bcard__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.bcard__ico .ico { width: 14px; height: 14px; }
.bcard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bcard__text strong { font-size: 12.6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcard__text small { font-size: 10.6px; color: var(--grey-500); letter-spacing: -0.1px; }
.bcard__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 10.6px; font-weight: var(--fw-semibold); color: var(--grey-700); white-space: nowrap; }
.bcard__meta em { font-style: normal; }
/* active = black card with a progress bar */
.bcard--active { background: var(--black); color: var(--white); box-shadow: var(--shadow-dark-soft); }
.bcard--active .bcard__ico { background: rgba(255,255,255,.12); box-shadow: none; color: var(--white); }
.bcard--active .bcard__text small { color: rgba(255,255,255,.55); }
.bcard--active .bcard__meta { color: rgba(255,255,255,.8); }
.bcard--active .bcard__meta .ico--check { width: 12px; height: 12px; color: var(--green); }
.bcard__bar { position: relative; width: 56px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.bcard__bar i { position: absolute; inset: 0; width: 0%; border-radius: 2px; background: var(--white); }
/* delivered = check + hours */
.bcard--done .bcard__meta { color: var(--green); }
.bcard--done .bcard__meta .ico { width: 12px; height: 12px; }
.bcard--done .bcard__meta em { color: var(--grey-700); }

/* ---------- Logo strip (ticker) ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos--slim { border-bottom: 0; }
.logos__inner { display: flex; align-items: center; gap: 31px; height: 107px; }
.logos--slim .logos__inner { height: 98px; }
.logos__label { flex: 0 0 auto; font-size: 20.6px; line-height: 30.8px; letter-spacing: -0.66px; color: var(--grey-700); }
.ticker {
  flex: 1 1 auto; min-width: 0; overflow: hidden; opacity: .7;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 21%, #000 80%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 21%, #000 80%, transparent 100%);
}
/* Logos sit on 75px-high canvases (incl. their own whitespace) and are shown 1:1 */
.ticker__track { display: flex; gap: 36px; width: max-content; padding-right: 36px; animation: ticker 40s linear infinite; }
.ticker__track li { flex: 0 0 auto; height: 75px; display: flex; align-items: center; }
.ticker__track img { height: 75px; width: auto; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- Projects ---------- */
.projects { padding: 213px 0 166px; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 415px);
  justify-content: center;
  column-gap: 67px;
  row-gap: 17px;
}
.project { display: block; color: inherit; }
.project__media { display: block; border-radius: 6.86px; overflow: hidden; aspect-ratio: 415 / 311; background: #e9e9e9; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.project:hover .project__media img { transform: scale(1.03); }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 37px; padding-top: 10px; font-size: 14.8px; line-height: 21.6px; letter-spacing: -0.31px; }
.project__view { display: inline-flex; align-items: center; gap: 4px; font-size: 9.8px; letter-spacing: -0.1px; font-weight: var(--fw-semibold); color: var(--grey-700); white-space: nowrap; }
.project__view .ico { opacity: .6; transition: transform .25s ease; }
a.project:hover .project__view .ico { transform: translate(1px, -1px); }
.project--static { cursor: default; }
.projects__more { display: flex; justify-content: center; margin-top: 86px; }

/* ---------- Quote ---------- */
.quote { border-top: 1px solid var(--line); padding: 118px 0; }
.quote__text { max-width: 690px; margin: 0 auto; text-align: center; font-size: 26.6px; line-height: 39.2px; letter-spacing: -0.84px; }
.quote__text .muted { color: var(--grey-500); }
.quote__brand { font-weight: var(--fw-semibold); }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); padding: 41px 0 44px; }
.services__inner { display: grid; grid-template-columns: minmax(0, 1fr) 402px; column-gap: 24px; align-items: start; }
.services .display { white-space: nowrap; }
.services__intro { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 0; }
.services__intro .btn { margin-top: 0; }
.services__cards { display: flex; flex-direction: column; gap: 35px; padding-top: 2px; }

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.service { padding: 26px 28px 28px; }
.service__title { display: flex; align-items: center; gap: 6px; font-weight: var(--fw-heading); font-size: 30px; line-height: 36.8px; letter-spacing: -0.96px; }
.service__desc { margin-top: 6px; font-size: 13.3px; line-height: 22.4px; letter-spacing: -0.14px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 31px -10px 0; }
.tags li {
  padding: 7.7px 17.6px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 .63px var(--line-tag);
  font-size: 15.4px; line-height: 22px; letter-spacing: 0;
  white-space: nowrap;
}

/* ---------- About ---------- */
.about { padding: 153px 0 90px; }
.about__inner { display: grid; grid-template-columns: 371px 1fr; column-gap: 64px; align-items: start; }
.about__photo { width: 100%; aspect-ratio: 372 / 411; object-fit: cover; object-position: top; border-radius: var(--radius-lg); }  /* rounded corners + hairline are in the WebP itself */
.about__aside .chip { margin-top: 16px; }
.about__story { max-width: 557px; font-size: 20.8px; line-height: 30.8px; letter-spacing: -0.66px; color: var(--grey-700); }
.about__story p + p { margin-top: 30.8px; }
.about__signature { margin-top: 16px !important; font-family: "Square Peg", cursive; font-weight: 400; font-size: 60px; line-height: 1.04; letter-spacing: 0; color: var(--grey-900); }

/* ---------- Pricing ---------- */
.pricing { border-top: 1px solid var(--line); padding: 128px 0 127px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; margin-top: 64px; }
.step__title { display: flex; align-items: center; gap: 8px; font-size: 15.1px; line-height: 24px; letter-spacing: -0.32px; font-weight: var(--fw-semibold); }
.step p { margin-top: 6px; max-width: 250px; font-size: 15px; line-height: 24px; letter-spacing: -0.32px; color: var(--grey-700); }

.plan { position: relative; margin-top: 96px; padding: 6px; border-radius: var(--radius-lg); background: var(--panel); }
.plan__top { display: grid; grid-template-columns: 402px 1fr; gap: 6px; }
.plan__trial { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 438px; padding: 28px; }
.plan__trial-body { display: flex; flex-direction: column; align-items: flex-start; }
.plan__trial-body .h3 { margin-top: 13px; }
.plan__trial-body .small { margin-top: 6px; }

/* The tilted black card that overlaps the top-left of the pricing panel */
.plan__tilt {
  position: absolute; top: -11px; left: -27px; z-index: 2;
  width: 386px; height: 245px; padding: 24px;
  border-radius: 24px; background: var(--black); color: var(--white);
  box-shadow: var(--shadow-dark-soft);
  --fx-base: rotate(-2.6deg);
  transform: var(--fx-base); transform-origin: 0 0;
  overflow: hidden;
  backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
/* Mouse-follow: JS sets --tilt-sx/--tilt-sy so the card sits exactly where the 0 0-origin rotation put it,
   then adds a few degrees of rotateX/rotateY and a few px of movement while hovering (see main.js). */
.plan__tilt.has-tilt {
  transform-origin: 50% 50%;
  --fx-base: perspective(900px) translate(var(--tilt-sx, 0px), var(--tilt-sy, 0px)) rotate(-2.6deg)
             rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translate3d(var(--mx, 0), var(--my, 0), 0);
}
.js .plan__tilt.is-done { transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s; }
.js .plan__tilt.is-done.is-hover { transition: transform .18s ease-out; }
.plan__tilt .chip { position: relative; z-index: 1; color: var(--black); background: rgba(255,255,255,.92); }
.plan__tilt-text { position: relative; z-index: 1; font-size: 20.8px; line-height: 30.8px; letter-spacing: -0.66px; font-weight: var(--fw-heading); }
.plan__bolt {
  position: absolute; top: -13px; left: 248px; width: 208px; height: 208px;
  transform: rotate(25deg); transform-origin: 0 0;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 98%); mask: linear-gradient(180deg, transparent 0, #000 98%);
}

.plan__main { padding: 32px; display: flex; flex-direction: column; }
.plan__main .small { margin-top: 6px; }
.plan__divider { height: 1px; margin: 14px 0 17px; background: var(--line); }
.plan__benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 204px)); gap: 14px 0; font-size: 13.3px; line-height: 18px; letter-spacing: -0.14px; font-weight: var(--fw-semibold); }
.plan__cta { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 32px; flex-wrap: wrap; }
.plan__cta .btn--light { padding: 0 18px 0 22px; }
.plan__price { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.plan__price strong { font-size: 30.5px; line-height: 1; letter-spacing: -0.97px; }
.plan__price span { font-size: 9px; line-height: 10.9px; letter-spacing: -0.1px; font-weight: var(--fw-semibold); color: var(--grey-700); }

.plan__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 5px; min-height: 164px; padding: 32px;
  border-radius: var(--radius-card); background: var(--black); color: var(--white);
  box-shadow: var(--shadow-dark-soft);
}
.plan__bar p { max-width: 400px; font-size: 14px; line-height: 22.4px; letter-spacing: -0.28px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px 40px; }
.checks li { display: flex; align-items: center; gap: 5px; font-size: 14px; line-height: 16px; letter-spacing: -0.28px; font-weight: var(--fw-semibold); white-space: nowrap; }
.checks .ico { color: var(--line-soft); }

/* ---------- Compare: subscription vs hiring ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare { border-top: 1px solid var(--line); padding: 128px 0; }
.compare__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.compare__intro .display { flex: 0 0 auto; white-space: nowrap; }
.compare__lead { flex: 0 1 380px; padding-bottom: 10px; color: var(--grey-700); font-size: 17px; line-height: 25.2px; letter-spacing: -0.36px; }
.compare__table { margin-top: 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: 22px 28px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 22px; letter-spacing: -0.3px; font-weight: var(--fw-regular); color: var(--grey-700); }
.compare thead th { border-top: 0; padding: 24px 28px 20px; font-size: 13.3px; line-height: 20px; letter-spacing: -0.14px; color: var(--grey-500); }
.compare thead th:first-child, .compare tbody th { width: 200px; }
.compare tbody th { font-size: 14px; letter-spacing: -0.14px; color: var(--grey-500); }
/* the Borrenbergs column: one quiet highlight */
.compare .is-you { background: var(--bg); color: var(--black); font-weight: var(--fw-semibold); }
.compare__foot { display: flex; justify-content: flex-end; margin-top: 24px; }

/* ---------- FAQ + contact ---------- */
.faq { border-top: 1px solid var(--line); padding: 128px 0 170px; }
.faq__inner { display: grid; grid-template-columns: 538px 422px; justify-content: space-between; column-gap: 32px; align-items: start; }
.accordion { margin-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.accordion__item { background: var(--white); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.accordion__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 14px 16px;
  font-size: 15.1px; line-height: 24px; letter-spacing: -0.32px; font-weight: var(--fw-semibold);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { position: relative; width: 28px; height: 28px; flex: 0 0 auto; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; background: var(--black); left: 50%; top: 50%; transition: transform .25s ease; }
.accordion__icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open summary { box-shadow: inset 0 -1px 0 var(--line); }
.accordion__body { overflow: hidden; font-size: 13.3px; line-height: 22.4px; letter-spacing: -0.14px; }
.accordion__body > div { padding: 18px 16px; }
.accordion__body p { max-width: 495px; }
.accordion__body p + p { margin-top: 10px; }
.no-js .accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.no-js .accordion__item[open] summary { box-shadow: inset 0 -1px 0 var(--line); }

.contact { position: sticky; top: 120px; padding: 32px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.contact__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.contact .h3 { margin-top: 24px; }
.contact .small { margin-top: 17px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.contact .btn--dark { padding-left: 24px; padding-right: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 64px 0 0; overflow: hidden; }
.footer__title { color: var(--white); }
.footer__title .display__muted { color: var(--grey-500); }
.footer__links { display: grid; grid-template-columns: repeat(2, 309px); column-gap: 32px; margin-top: 48px; padding-bottom: 23px; border-bottom: 1px solid var(--grey-500); }
.footer__links a { display: block; margin-top: 7px; font-size: 17px; line-height: 25.2px; letter-spacing: -0.36px; }
.footer__links a:hover, .footer__legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__label { display: block; font-size: 13.6px; line-height: 18px; letter-spacing: -0.14px; font-weight: var(--fw-semibold); color: var(--grey-500); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 25px; }
.footer__legal { display: flex; flex-direction: column; gap: 8px; }
.footer__legal .footer__label { font-size: 11.6px; line-height: 13.4px; letter-spacing: -0.12px; margin-bottom: 10px; }
.footer__legal a { font-size: 11.3px; line-height: 15px; letter-spacing: -0.12px; font-weight: var(--fw-semibold); }
.footer__copy { font-size: 11.1px; line-height: 12px; font-weight: var(--fw-semibold); color: var(--grey-300); }
.footer__wordmark { margin-top: 24px; height: 186px; overflow: hidden; }
.footer__wordmark svg { width: 100%; height: 186px; }
.footer__wordmark text { font-family: var(--font); font-weight: var(--fw-semibold); font-size: 172px; letter-spacing: -0.04em; fill: #1c1c1c; }

/* Cycling word in the footer heading */
.cycle { display: inline-block; transition: opacity .35s ease, filter .35s ease, transform .35s ease; }
.cycle.is-out { opacity: 0; filter: blur(6px); transform: translateY(6px); }

/* ---------- Progressive blur at the bottom of the viewport ----------
   Four stacked backdrop-blur layers, each masked to a band, so content softens
   gradually as it scrolls towards the bottom edge. Purely visual: no pointer events. */
.edge-blur { position: fixed; left: 0; right: 0; bottom: 0; height: 150px; z-index: 40; pointer-events: none; }
.edge-blur span { position: absolute; inset: 0; }
.edge-blur span:nth-child(1) { -webkit-backdrop-filter: blur(2px);  backdrop-filter: blur(2px);  -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 30%, #000 50%, transparent 70%); mask: linear-gradient(to bottom, transparent 0%, #000 30%, #000 50%, transparent 70%); }
.edge-blur span:nth-child(2) { -webkit-backdrop-filter: blur(4px);  backdrop-filter: blur(4px);  -webkit-mask: linear-gradient(to bottom, transparent 30%, #000 50%, #000 65%, transparent 85%); mask: linear-gradient(to bottom, transparent 30%, #000 50%, #000 65%, transparent 85%); }
.edge-blur span:nth-child(3) { -webkit-backdrop-filter: blur(8px);  backdrop-filter: blur(8px);  -webkit-mask: linear-gradient(to bottom, transparent 50%, #000 70%, #000 85%, transparent 100%); mask: linear-gradient(to bottom, transparent 50%, #000 70%, #000 85%, transparent 100%); }
.edge-blur span:nth-child(4) { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask: linear-gradient(to bottom, transparent 70%, #000 90%, #000 100%); mask: linear-gradient(to bottom, transparent 70%, #000 90%, #000 100%); }
@media (max-width: 720px) {
  /* phones: 96px visible + a 40px tail below the screen edge, so the blur stays flush with the bottom
     (also when the browser bar slides in/out); the strongest blur sits at the edge itself */
  .edge-blur { bottom: -40px; height: 136px; }
  .edge-blur span:nth-child(1) { -webkit-mask: linear-gradient(to bottom, transparent 0, #000 29px, #000 48px, transparent 67px); mask: linear-gradient(to bottom, transparent 0, #000 29px, #000 48px, transparent 67px); }
  .edge-blur span:nth-child(2) { -webkit-mask: linear-gradient(to bottom, transparent 29px, #000 48px, #000 62px, transparent 82px); mask: linear-gradient(to bottom, transparent 29px, #000 48px, #000 62px, transparent 82px); }
  .edge-blur span:nth-child(3) { -webkit-mask: linear-gradient(to bottom, transparent 48px, #000 67px, #000 100%); mask: linear-gradient(to bottom, transparent 48px, #000 67px, #000 100%); }
  .edge-blur span:nth-child(4) { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask: linear-gradient(to bottom, transparent 67px, #000 90px, #000 100%); mask: linear-gradient(to bottom, transparent 67px, #000 90px, #000 100%); }
}
@media print { .edge-blur { display: none; } }

/* ---------- Project pop-up ---------- */
.popup {
  width: min(1024px, calc(100vw - 32px));
  max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0;
  border-radius: 7px; background: #f2f2f2; color: var(--grey-900);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.35);
  overflow: auto;
}
.popup::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.popup[open] { animation: popup-in .3s cubic-bezier(.2,.7,.2,1); }
@keyframes popup-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.popup[open]::backdrop { animation: backdrop-in .3s ease; }
/* closing mirrors the images' blur-in: the pop-up blurs and fades out, the backdrop fades with it */
.popup[open].is-closing { animation: popup-out .45s var(--fx-ease) forwards; pointer-events: none; }
.popup[open].is-closing::backdrop { animation: backdrop-out .45s var(--fx-ease) forwards; }
@keyframes popup-out { to { opacity: 0; filter: blur(14px); transform: translateY(16px) scale(.985); } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes backdrop-out { to { opacity: 0; } }
.popup__inner { padding: 44px 44px 56px; }
.popup__label { text-align: center; font-size: 15px; line-height: 1; letter-spacing: .29em; text-transform: uppercase; }
.popup__gallery { display: flex; flex-direction: column; gap: 16px; margin-top: 37px; }
.popup__img { display: block; width: 100%; height: auto; }

/* pop-up reveal: blur → sharp (same easing as the rest of the site) */
.js .popup__img, .js .pcta { opacity: 0; filter: blur(14px); transform: translateY(16px); transition: opacity .6s var(--fx-ease), filter .6s var(--fx-ease), transform .6s var(--fx-ease); }
.js .popup__img.is-in, .js .pcta.is-in { opacity: 1; filter: blur(0); transform: none; }
.js .popup__img.is-done, .js .pcta.is-done { filter: none; }

/* pop-up call-to-action: copy on the left, buttons in the bottom-right corner */
.pcta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; row-gap: 20px;
  margin: 24px 0; padding: 32px;
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.pcta--end { margin-bottom: 0; }
.pcta__copy { text-align: left; }
.pcta__title { font-size: 30px; line-height: 36.8px; letter-spacing: -0.96px; font-weight: var(--fw-heading); color: var(--black); }
.pcta__text { max-width: 400px; margin-top: 10px; font-size: 13.3px; line-height: 22.4px; letter-spacing: -0.14px; color: var(--grey-700); }
.pcta__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .js .popup__img, .js .pcta { opacity: 1; filter: none; transform: none; transition: none; } }
.popup__close {
  position: sticky; top: 16px; float: right; margin: 16px 16px -56px 0; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-chip);
}
.popup__close span { position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--black); }
.popup__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.popup__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
body.has-popup { overflow: hidden; }

/* ==========================================================================
   Responsive — the base design is the desktop (1920) layout; everything below
   is derived from it.
   ========================================================================== */
@media (max-width: 1140px) {
  .page::before { display: none; }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .hero__inner { padding: 136px 0 96px; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 28px; }
  .projects { padding: 120px 0 110px; }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 415px)); column-gap: 32px; }
  .services__inner { grid-template-columns: 1fr; row-gap: 48px; }
  .services__intro { position: static; }
  .services__cards { flex-direction: row; gap: 24px; }
  .services__cards .card { flex: 1 1 0; }
  .service { display: flex; flex-direction: column; }
  .service .tags { margin-top: auto; padding-top: 31px; }     /* extra height goes between description and tags */
  .about { padding: 110px 0 90px; }
  .about__inner { grid-template-columns: 300px 1fr; column-gap: 40px; }
  .pricing, .faq { padding: 96px 0; }
  .plan__top { grid-template-columns: 1fr; }
  .plan__trial { min-height: 0; padding-top: 250px; }
  .plan__tilt { left: -16px; }
  .plan__bar { flex-direction: column; align-items: flex-start; }
  .steps { column-gap: 16px; padding: 0 6px; }   /* inset like the white plan cards below (plan padding 6px) */
  .step { padding: 22px 24px 24px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
  .step p { max-width: none; }
  .faq__inner { grid-template-columns: 1fr; row-gap: 48px; }
  .compare { padding: 96px 0; }
  .compare__intro { flex-direction: column; align-items: flex-start; gap: 20px; }
  .compare__intro .display { white-space: normal; }
  .compare__lead { flex: 0 1 auto; max-width: 480px; }
  .compare th, .compare td { padding: 18px 16px; }
  .compare thead th { padding: 20px 16px 16px; }
  .compare thead th:first-child, .compare tbody th { width: 132px; }
  .contact { max-width: none; position: relative; top: auto; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; row-gap: 48px; }
  .board { max-width: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav { top: 12px; }
  .nav__pill { gap: 16px; padding: 10px 10px 10px 16px; flex-wrap: wrap; }
  .nav__toggle { display: block; }
  .nav__links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 6px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
  .nav__links a:not(.btn) { padding: 10px 0; font-size: 15px; }
  .nav__links .btn { margin-top: 8px; }
  .nav__pill.is-open .nav__links { display: flex; }
  .nav__pill.is-open { background: rgba(255,255,255,.92); }

  .hero__inner { padding: 112px 0 64px; grid-template-columns: 1fr; row-gap: 40px; }
  .board { max-width: none; }
  .hero .display { margin-top: 20px; }
  .logos__inner { height: 84px; gap: 20px; }
  .logos__label { font-size: 16px; }
  .ticker__track { gap: 20px; padding-right: 20px; }
  .ticker__track img, .ticker__track li { height: 56px; }

  .projects { padding: 72px 0 64px; }
  .projects__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .projects__more { margin-top: 48px; }
  .quote { padding: 72px 0; }
  .quote__text { font-size: 21px; line-height: 31px; letter-spacing: -0.5px; }
  .services { padding: 48px 0; }
  .services__cards { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 24px; }   /* both cards equally tall */
  .service { padding: 26px 20px 28px; }
  .service__title, .h3 { font-size: 26px; line-height: 32px; letter-spacing: -0.8px; }
  .tags { margin: auto -4px 0; }
  .service .tags { padding-top: 48px; }
  .tags li { font-size: 14px; padding: 6px 14px; }
  .about { padding: 72px 0 64px; }
  .about__inner { grid-template-columns: 1fr; row-gap: 40px; }
  .about__photo { max-width: 371px; }
  .about__story { font-size: 18px; line-height: 28px; letter-spacing: -0.4px; }
  .about__story p + p { margin-top: 24px; }
  .pricing { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; row-gap: 12px; margin-top: 40px; padding: 0 4px; }
  .step { padding: 20px; }
  .plan { margin-top: 72px; padding: 4px; }
  .plan__tilt { width: 300px; height: 200px; left: -8px; top: -10px; padding: 20px; }
  .plan__tilt-text { font-size: 18px; line-height: 26px; }
  .plan__bolt { width: 150px; height: 150px; left: 205px; top: -42px; }
  .plan__trial { padding: 210px 20px 24px; }
  .plan__main { padding: 24px 20px; }
  .plan__benefits { grid-template-columns: 1fr; gap: 12px; }
  .plan__cta { gap: 12px; padding-top: 28px; }
  .plan__price { margin-left: 0; width: 100%; margin-top: 14px; }
  .plan__bar { padding: 24px 20px; gap: 20px; }
  .checks { grid-template-columns: 1fr; gap: 12px; }
  .checks li { white-space: normal; }
  .compare { padding: 72px 0; }
  .compare__table { margin-top: 40px; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr { padding: 16px 12px 12px; border-top: 1px solid var(--line-soft); }
  .compare tbody tr:first-child { border-top: 0; }
  .compare tbody th { padding: 0 8px 6px; border: 0; font-size: 13.3px; }
  .compare td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 8px; border: 0; font-size: 14px; line-height: 20px; text-align: right; }
  .compare td::before { content: attr(data-label); flex: 0 0 auto; text-align: left; font-size: 13.3px; font-weight: var(--fw-regular); color: var(--grey-500); }
  .compare td.is-you { border-radius: 8px; }
  .compare td.is-you::before { color: var(--black); font-weight: var(--fw-semibold); }
  .compare__foot { justify-content: flex-start; }
  .faq { padding: 72px 0 80px; }
  .accordion { margin-top: 40px; }
  .accordion__item summary { font-size: 15px; }
  .contact { padding: 24px 20px; }
  .contact .h3 { margin-top: 20px; }
  .footer { padding-top: 56px; }
  .footer__links { grid-template-columns: 1fr; row-gap: 24px; margin-top: 36px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .footer__wordmark { height: auto; }
  .footer__wordmark svg { height: auto; }
  .popup__inner { padding: 36px 12px 16px; }
  .popup__gallery { gap: 10px; margin-top: 24px; }
  .pcta { grid-template-columns: 1fr; margin: 14px 0; padding: 24px 20px; }
  .pcta--end { margin-bottom: 0; }
  .pcta__title { font-size: 24px; line-height: 30px; letter-spacing: -0.7px; }
  .pcta__actions { justify-content: flex-start; }
  .popup__close { top: 10px; margin: 10px 10px -50px 0; width: 36px; height: 36px; }
}

@media (max-width: 400px) {
  .display { font-size: clamp(32px, 10.6vw, 42px); }  /* keeps the one-line titles inside 320–400px phones */
  .plan__tilt { width: 260px; height: 180px; }
  .plan__bolt { width: 130px; height: 130px; left: 180px; top: -40px; }
  .plan__trial { padding-top: 190px; }
}

/* ==========================================================================
   WordPress-aanvullingen
   ========================================================================== */

/* Ingelogd: de zwarte beheerbalk (32px, op smal scherm 46px) mag de vaste navigatie niet afdekken. */
.admin-bar .nav { top: 56px; }
@media (max-width: 782px) { .admin-bar .nav { top: 70px; } }
@media (max-width: 720px) { .admin-bar .nav { top: 58px; } }

/* Invulscherm van de pincode (inc/pin.php). */
.pin__wrap { min-height: 100vh; display: flex; align-items: center; padding: 64px 0; }
.pin__brand { display: inline-block; margin-bottom: 72px; font-size: 20px; font-weight: var(--fw-semibold); letter-spacing: -0.5px; }
.pin .display { margin-bottom: 4px; }
.pin__form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pin__input { width: 190px; padding: 12px 18px; font: inherit; font-size: 22px; letter-spacing: 4px; color: var(--black); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.pin__input:focus { outline: 2px solid var(--black); outline-offset: 2px; }
.pin__fout { margin-top: 14px; color: #c0392b; }

/* Video in de pop-up (main.js playVideo): het beeld ligt bovenop de speler en verdwijnt zodra de video speelt. */
/* De beelden hebben zelf afgeronde (transparante) hoeken; de speler wordt op dezelfde ronding afgesneden. */
.popup__video { position: relative; display: block; width: 100%; cursor: pointer; overflow: hidden; border-radius: var(--radius-card); isolation: isolate; }
.popup__video:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.popup__video .popup__img { position: relative; z-index: 2; }
.popup__player { position: absolute; inset: 0; z-index: 1; background: #000; border-radius: inherit; overflow: hidden; }
.popup__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.js .popup__video.is-playing .popup__img, .popup__video.is-playing .popup__img { opacity: 0; pointer-events: none; transition: opacity .35s var(--fx-ease); }
.popup__video.is-playing { cursor: default; }
.popup__video.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 3; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: popup-spin .8s linear infinite; }
@keyframes popup-spin { to { transform: rotate(360deg); } }

/* Losse pagina (page.php): algemene voorwaarden en dergelijke. Leesbreedte 720px, zelfde kop als de hero. */
.tekst__inner { max-width: 720px; padding: 144px 0 120px; }
.tekst__meta { margin-top: 24px; color: var(--grey-500); font-weight: var(--fw-semibold); font-size: 15px; letter-spacing: -0.28px; }
.tekst__body { margin-top: 64px; color: var(--grey-900); }
.tekst__body h2, .tekst__body h3, .tekst__body h4 { color: var(--black); font-weight: var(--fw-heading); line-height: 1.2; letter-spacing: -0.02em; }
.tekst__body h2 { font-size: 26px; margin: 56px 0 16px; }
.tekst__body h3 { font-size: 19px; margin: 36px 0 12px; }
.tekst__body h4 { font-size: 17px; margin: 28px 0 8px; }
.tekst__body h2:first-child, .tekst__body h3:first-child { margin-top: 0; }
.tekst__body p, .tekst__body ul, .tekst__body ol, .tekst__body table, .tekst__body blockquote { margin: 0 0 18px; }
.tekst__body ul, .tekst__body ol { padding-left: 22px; list-style: disc; }
.tekst__body ol { list-style: decimal; }
.tekst__body li { margin-bottom: 8px; }
.tekst__body li > ul, .tekst__body li > ol { margin: 8px 0 0; }
.tekst__body a { text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s; }
.tekst__body a:hover { opacity: .55; }
.tekst__body strong { color: var(--black); }
.tekst__body hr { height: 1px; background: var(--line); margin: 40px 0; }
.tekst__body blockquote { padding-left: 20px; border-left: 2px solid var(--line); color: var(--grey-700); }
.tekst__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tekst__body th, .tekst__body td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tekst__body th { font-weight: var(--fw-semibold); color: var(--black); }
@media (max-width: 720px) {
  .tekst__inner { padding: 112px 0 72px; }
  .tekst__body { margin-top: 44px; }
  .tekst__body h2 { font-size: 22px; margin-top: 44px; }
}
