/* HBJ Solutions – one stylesheet for every page. Brand tokens live in :root. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../static/fonts/hanken-grotesk-latin-wght-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: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../static/fonts/hanken-grotesk-latin-ext-wght-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;
}

/* ---------- tokens ---------- */
:root {
  /* "Kalk": cool white, HBJ orange (the brand orange, a touch deeper for white text) */
  --paper: #fbfbfa;
  --paper-2: #f1f2f1;
  --ink: #111315;
  --ink-2: #3d4145;
  --ink-3: #6a6f74;
  --line: #e2e4e5;
  --line-strong: #b9bdc1;
  --accent: #e6501a;
  --font: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.04em;
}
:root {
  --max: 1360px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --header-h: 64px;
  --section: clamp(84px, 11vw, 156px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html.is-locked { overflow: hidden; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 15px;
}
.skip:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 24px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  transition: background-color .25s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: var(--accent); }
.btn-sm { height: 40px; padding: 0 16px; gap: 8px; font-size: 14px; }
.btn-sm svg { width: 14px; height: 14px; }

.link {
  font-size: 15px; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 6px; text-decoration-color: var(--line);
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { font-size: 18px; letter-spacing: -0.015em; white-space: nowrap; line-height: 1; }
.wordmark b { font-weight: 650; }
.header-right { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav { display: none; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav a {
  position: relative; font-size: 15px; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-3); }
.lang-switch button { padding: 4px 2px; transition: color .2s var(--ease); }
.lang-switch button:hover, .lang-switch button[aria-pressed="true"] { color: var(--ink); }
.lang-switch span { opacity: .5; }

.menu-btn { font-size: 15px; font-weight: 500; padding: 8px 0; }
.header-cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
  body[data-page="contact"] .header-cta { display: none; }
}

/* mobile menu */
.menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.menu-links { display: grid; gap: 6px; }
.menu-links a { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; }
.menu-foot { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink-2); }
@media (min-width: 900px) { .menu { display: none; } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-rule { border-top: 1px solid var(--line); }
/* section head: big title in the title column, intro in the text column (same grid as the service rows) */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 5.4vw, 80px); }
.section-title {
  font-size: clamp(34px, 3.7vw, 56px); font-weight: 500;
  line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance;
}
.section-intro {
  font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5;
  color: var(--ink-2); max-width: 31em; text-wrap: pretty;
}
.section-more { margin-top: 22px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 6fr 32px; gap: var(--gutter); align-items: baseline; }
}
/* small heading in label/content splits (project page) */
.section-label { font-size: clamp(20px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }

/* ---------- hero ---------- */
.hero { padding: clamp(72px, 11vw, 168px) 0 0; }
.hero h1 {
  font-size: clamp(42px, 6.7vw, 104px);
  font-weight: var(--display-weight);
  line-height: 1.01;
  letter-spacing: var(--display-tracking);
  max-width: 13.2em;
  text-wrap: balance;
}
.hero-text {
  text-wrap: pretty;
  margin-top: clamp(28px, 3vw, 40px);
  font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55;
  color: var(--ink-2); max-width: 33em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(36px, 4vw, 52px); }

/* press strip under the hero: outlet names set in the house font, no logos */
.press-strip {
  display: grid; gap: 16px;
  margin-top: clamp(72px, 9vw, 128px); padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}
.press-strip-label { font-size: 15px; color: var(--ink-3); }
.press-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(28px, 3.4vw, 52px); }
.press-names li { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.025em; color: var(--ink-2); white-space: nowrap; }
.press-strip .link { justify-self: start; }
@media (min-width: 900px) {
  .press-strip { grid-template-columns: auto 1fr auto; align-items: baseline; gap: var(--gutter); }
}

/* ---------- services ---------- */
.services { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service a {
  display: grid; grid-template-columns: 1fr 32px; gap: 14px 24px;
  padding: clamp(28px, 3.2vw, 46px) 0;
}
.service h3 {
  font-size: clamp(27px, 3vw, 42px); font-weight: 500;
  line-height: 1.08; letter-spacing: -0.028em;
  transition: color .25s var(--ease);
}
.service p { grid-column: 1; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 33em; }
.service .arrow {
  grid-column: 2; grid-row: 1; align-self: start; margin-top: .5em;
  width: 26px; height: 26px; color: var(--ink-3);
  transition: transform .35s var(--ease), color .25s var(--ease);
}
.service a:hover h3 { color: var(--accent); }
.service a:hover .arrow { color: var(--accent); transform: translateX(5px); }
@media (min-width: 900px) {
  .service a { grid-template-columns: 5fr 6fr 32px; align-items: start; gap: var(--gutter); }
  .service p { grid-column: 2; padding-top: .35em; }
  .service .arrow { grid-column: 3; margin-top: .35em; }
}

.invite { display: grid; gap: 22px; margin-top: clamp(60px, 7vw, 104px); }
.invite h3 { font-size: clamp(27px, 3vw, 42px); font-weight: 500; line-height: 1.08; letter-spacing: -0.028em; }
.invite p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 33em; }
.invite .btn { margin-top: 10px; }
@media (min-width: 900px) {
  .invite { grid-template-columns: 5fr 6fr 32px; gap: var(--gutter); }
  .invite > div { grid-column: 2; }
}

/* ---------- bays (the products' own small worlds) ---------- */
.bays { display: grid; gap: 12px; }

.bay {
  --bay: #222; --bay-soft: rgba(255, 255, 255, .72);
  position: relative; overflow: hidden;
  background: var(--bay); color: #fff;
}
.bay-copy { position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(26px, 3.6vw, 56px); }
.bay-icon {
  width: 64px; height: 64px; border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}
.bay-name {
  margin-top: clamp(24px, 2.6vw, 36px);
  font-size: clamp(34px, 3.8vw, 56px); font-weight: 500;
  line-height: 1; letter-spacing: -0.034em;
}
.bay-tagline {
  margin-top: 14px;
  font-size: clamp(19px, 1.65vw, 23px); line-height: 1.32; letter-spacing: -0.012em;
  max-width: 19em;
}
.bay-text { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--bay-soft); max-width: 29em; }
.bay-meta { font-size: 14px; color: var(--bay-soft); }
.bay-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.bay-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px;
  background: #fff; color: var(--bay); font-size: 15px; font-weight: 500;
  transition: background-color .25s var(--ease);
}
.bay-btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.bay-btn:hover { background: var(--bay-hover, rgba(255, 255, 255, .86)); }
.bay-btn:hover svg { transform: translateX(3px); }
.bay-link {
  font-size: 15px; color: #fff;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: rgba(255, 255, 255, .35);
  transition: text-decoration-color .25s var(--ease);
}
.bay-link:hover { text-decoration-color: #fff; }

/* phone frame around app screenshots: sizes in cqi scale with the phone's own width */
.phone { container-type: inline-size; flex: none; }
.phone-frame {
  position: relative; padding: 3.1cqi;
  border-radius: 15.5cqi; background: #0b0c0e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-frame img { width: 100%; border-radius: 12.6cqi; background: #fff; }
.phone[data-island] .phone-frame::after {
  content: ""; position: absolute; left: 50%; top: 6.2cqi;
  width: 29cqi; height: 8.6cqi; transform: translateX(-50%);
  border-radius: 99px; background: #000;
}

/* large bay: copy left, two phones rising from the bottom edge */
.bay-large { display: grid; }
.bay-shots {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(14px, 2vw, 28px);
  padding: 8px clamp(26px, 3.6vw, 56px) 0;
  margin-bottom: -18%;
}
.bay-shots .phone { width: min(44%, 270px); }
.bay-shots .phone:nth-child(2) { margin-bottom: 44px; }
.bay-large .bay-meta { margin-top: 26px; }
@media (min-width: 900px) {
  .bay-large { grid-template-columns: 5fr 6fr; min-height: clamp(560px, 50vw, 660px); }
  .bay-large .bay-copy { padding-bottom: clamp(40px, 4vw, 56px); }
  .bay-large .bay-meta { margin-top: auto; padding-top: 40px; }
  .bay-shots { padding-top: clamp(48px, 5vw, 72px); margin-bottom: -10%; align-self: end; }
}

/* link row under the two big bays: leads to apps.html */
.more-apps {
  display: grid; grid-template-columns: 1fr 32px; gap: 16px 24px; align-items: center;
  margin-top: 12px; padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.more-apps-title {
  font-size: clamp(25px, 2.6vw, 36px); font-weight: 500; line-height: 1.1; letter-spacing: -0.028em;
  transition: color .25s var(--ease);
}
.more-apps-list { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 16px; color: var(--ink-2); }
.more-apps-list span { display: inline-flex; align-items: center; gap: 10px; }
.more-apps-list img { width: 36px; height: 36px; border-radius: 22.5%; }
.more-apps .arrow {
  grid-column: 2; grid-row: 1; width: 26px; height: 26px; color: var(--ink-3);
  transition: transform .35s var(--ease), color .25s var(--ease);
}
.more-apps:hover .more-apps-title, .more-apps:hover .arrow { color: var(--accent); }
.more-apps:hover .arrow { transform: translateX(5px); }
@media (min-width: 900px) {
  .more-apps { grid-template-columns: 5fr 6fr 32px; gap: var(--gutter); }
  .more-apps-list { grid-column: 2; grid-row: 1; }
  .more-apps .arrow { grid-column: 3; }
}

/* apps.html: every app in an equal bay, one phone peeking up */
.app-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.bay-app { display: flex; flex-direction: column; }
.bay-app .bay-copy { padding: clamp(26px, 2.8vw, 40px); }
.bay-app .bay-name { font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -0.03em; }
.bay-app .bay-tagline { font-size: clamp(17px, 1.3vw, 19px); }
.bay-app .bay-text { font-size: 15px; }
.bay-app .bay-meta { margin-top: 20px; }
.bay-app .bay-links { margin-top: 26px; }
.bay-peek {
  margin-top: auto; height: clamp(280px, 25vw, 360px); overflow: hidden;
  display: flex; justify-content: center; padding: 12px 24px 0;
}
.bay-peek .phone { width: min(74%, 260px); }
.grid-foot { padding: 28px 0 clamp(64px, 8vw, 120px); }

/* the bay opens a little as it scrolls in */
.js .bay { clip-path: inset(5% 3.5% 0 3.5%); transition: clip-path 1.15s var(--ease); }
.js .bay.is-open { clip-path: inset(0); }

/* ---------- how we work ---------- */
.steps { display: grid; }
.step { padding: 26px 0 34px; border-top: 1px solid var(--ink); }
.step h3 { font-size: clamp(23px, 2vw, 29px); font-weight: 500; letter-spacing: -0.024em; line-height: 1.15; }
.step p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- about / team ---------- */
.team { display: grid; }
.team li { padding: 24px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.team .name { font-size: clamp(23px, 2.1vw, 30px); font-weight: 500; letter-spacing: -0.024em; line-height: 1.15; }
.team .role { font-size: 16px; color: var(--ink-3); }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); gap: 0 var(--gutter); } }

/* key facts as a quiet table */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 2px 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 15px; color: var(--ink-3); }
.facts dd { margin: 0; font-size: 17px; color: var(--ink); }
.facts a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.facts a:hover { text-decoration-color: currentColor; }
@media (min-width: 700px) { .facts > div { grid-template-columns: 3fr 8fr; align-items: baseline; } }

/* press coverage list */
.press-list { border-top: 1px solid var(--line); }
.press-list li { border-bottom: 1px solid var(--line); }
.press-list a { display: grid; grid-template-columns: 1fr 24px; gap: 6px 24px; padding: 22px 0 24px; }
.press-outlet { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.press-title {
  grid-column: 1; font-size: clamp(19px, 1.55vw, 22px); font-weight: 500;
  line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty;
  transition: color .25s var(--ease);
}
.press-date { grid-column: 1; font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.press-list .arrow {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  width: 22px; height: 22px; color: var(--ink-3);
  transition: transform .35s var(--ease), color .25s var(--ease);
}
.press-list a:hover .press-title, .press-list a:hover .arrow { color: var(--accent); }
.press-list a:hover .arrow { transform: translate(2px, -2px); }
@media (min-width: 900px) {
  .press-list a { grid-template-columns: 3fr 7fr 2.4fr 24px; align-items: baseline; }
  .press-outlet { grid-column: 1; grid-row: 1; }
  .press-title { grid-column: 2; grid-row: 1; }
  .press-date { grid-column: 3; grid-row: 1; text-align: right; }
  .press-list .arrow { grid-column: 4; grid-row: 1; align-self: start; margin-top: .2em; }
}
.press-wrap { margin-top: 32px; }
.press-foot { margin-top: 22px; font-size: 15px; color: var(--ink-3); max-width: 44em; }
.press-foot a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.press-foot a:hover { text-decoration-color: currentColor; }

/* ---------- contact band ---------- */
.contact-band { background: var(--paper-2); border-top: 0; }
main:has(> .contact-band:last-child) ~ .site-footer { border-top: 0; }
.contact-band h2 {
  font-size: clamp(40px, 5.6vw, 86px); font-weight: var(--display-weight);
  line-height: 1.02; letter-spacing: var(--display-tracking);
  max-width: 11.5em; text-wrap: balance;
}
.contact-band p { margin-top: 26px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 36em; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; }
.contact-actions .link { font-size: 16px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 88px) 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 18px; align-content: start; }
.footer-brand .wordmark { font-size: 22px; }
.footer-brand address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.footer-col h3 { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a, .footer-brand a { transition: color .2s var(--ease); }
.footer-col a:hover, .footer-brand a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: clamp(56px, 6vw, 88px); padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3);
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 5fr 2fr 2fr 2fr; gap: var(--gutter); }
  .footer-brand { grid-column: auto; }
}

/* ---------- sub pages ---------- */
.page-head { padding: clamp(64px, 10vw, 148px) 0 clamp(56px, 7vw, 104px); }
.page-head h1 {
  font-size: clamp(40px, 5.6vw, 86px); font-weight: var(--display-weight);
  line-height: 1.02; letter-spacing: var(--display-tracking);
  max-width: 13em; text-wrap: balance;
}
.page-head .lead { text-wrap: pretty; margin-top: clamp(24px, 2.6vw, 34px); font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 34em; }
.page-head .lead a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line); }
.page-head .lead a:hover { text-decoration-color: currentColor; }

/* label column + content column, the house rhythm */
.split { display: grid; gap: 18px; }
.split + .split { margin-top: clamp(48px, 5vw, 72px); }
@media (min-width: 900px) { .split { grid-template-columns: 3fr 9fr; gap: var(--gutter); } }
.split-title {
  font-size: clamp(30px, 3.4vw, 48px); font-weight: 500;
  line-height: 1.05; letter-spacing: -0.032em;
}

.prose { text-wrap: pretty; font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--ink); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.prose h2 { font-size: 22px; margin: 2em 0 .6em; }
.prose h3 { font-size: 18px; margin: 1.6em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul { margin: .6em 0 0; }
.prose li { padding-left: 1.1em; position: relative; }
.prose li + li { margin-top: .35em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .78em; width: .45em; height: 1px; background: var(--ink-3); }
.prose-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }

/* service blocks on leistungen.html */
.service-block { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 1px solid var(--line); }
.wrap:has(+ .contact-band) > .service-block:last-of-type { border-bottom: 0; }

/* prices */
.prices { border-top: 1px solid var(--line); margin: 0; }
.prices dd { margin: 0; }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.price-row dt { font-size: 19px; font-weight: 500; letter-spacing: -0.012em; }
.price-row .price { font-size: 19px; font-weight: 500; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row .note { grid-column: 1 / -1; font-size: 15px; color: var(--ink-3); }
@media (min-width: 900px) {
  .price-row { grid-template-columns: 4fr 5fr 3fr; align-items: baseline; }
  .price-row .note { grid-column: 2; grid-row: 1; }
  .price-row .price { grid-column: 3; grid-row: 1; }
}
.prices-foot { margin-top: 22px; font-size: 15px; color: var(--ink-3); max-width: 40em; }

/* project page */
.project-head { margin-top: clamp(24px, 3vw, 40px); }
.project-head .bay-copy { padding: clamp(28px, 4.4vw, 72px); }
.project-head .bay-icon { width: 88px; height: 88px; }
.project-head h1 {
  margin-top: clamp(26px, 3vw, 40px);
  font-size: clamp(44px, 6vw, 92px); font-weight: 500; line-height: .98; letter-spacing: -0.04em;
}
.project-head .bay-tagline { font-size: clamp(20px, 2vw, 28px); max-width: 22em; margin-top: 18px; }
.project-head .bay-meta { margin-top: 30px; }
/* five phones rising from the bottom edge of the project head; scrolls sideways on small screens */
.phone-row {
  position: relative; z-index: 1;
  display: flex; justify-content: safe center; gap: clamp(14px, 1.7vw, 24px);
  height: clamp(300px, 26vw, 390px);
  padding: 10px clamp(28px, 4.4vw, 72px) 0;
  overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.phone-row::-webkit-scrollbar { display: none; }
.phone-row .phone { width: clamp(158px, 14vw, 212px); scroll-snap-align: center; }
.other-apps { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.other-apps a { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; transition: color .2s var(--ease); }
.other-apps a:hover { color: var(--accent); }
.other-apps img { width: 40px; height: 40px; border-radius: 22.5%; }
.bridge { background: var(--paper-2); }
.bridge .wrap { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }

/* form fields (request wizard, last step) */
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 500; padding: 0; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong, #b9bdc1);
  border-radius: 0; padding: 10px 0 12px;
  transition: border-color .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--ink); }
.form-row { display: grid; gap: 28px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-hint { font-size: 14px; color: var(--ink-3); max-width: 40em; }
.form-hint a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- request wizard (kontakt.html) ---------- */
.wz-section { padding-top: clamp(48px, 6vw, 88px); }
.wizard { max-width: 50em; min-width: 0; }
.wz-progress { margin-bottom: clamp(30px, 3.6vw, 46px); }
.wz-count { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.wz-bar { height: 2px; background: var(--line); overflow: hidden; }
.wz-bar span {
  display: block; height: 100%; background: var(--accent);
  transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease);
}
.wz-stage { transition: height .36s var(--ease); }
.wz-stage.is-moving { overflow: hidden; }
.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; transition: opacity .28s var(--ease), transform .36s var(--ease); }
.wz-step.out-left { opacity: 0; transform: translateX(-32px); transition-duration: .17s; }
.wz-step.out-right { opacity: 0; transform: translateX(32px); transition-duration: .17s; }
.wz-step.in-right { opacity: 0; transform: translateX(32px); transition: none; }
.wz-step.in-left { opacity: 0; transform: translateX(-32px); transition: none; }
.wz-q {
  display: block; padding: 0; outline: none;
  font-size: clamp(27px, 2.7vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em;
  text-wrap: balance;
}
.wz-hint { margin-top: 10px; font-size: 16px; color: var(--ink-3); }
.wz-options { display: grid; gap: 10px; margin-top: clamp(24px, 2.6vw, 34px); }
@media (min-width: 700px) { .wz-options { grid-template-columns: 1fr 1fr; } }
.wz-opt { position: relative; display: block; }
.wz-opt input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.wz-opt-box {
  display: grid; grid-template-columns: 1fr 22px; gap: 3px 16px; align-items: center; align-content: center;
  height: 100%; min-height: 68px; padding: 15px 18px;
  border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.wz-opt-title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.wz-opt-sub { grid-column: 1; font-size: 14.5px; color: var(--ink-3); line-height: 1.4; }
.wz-mark {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid; place-items: center; width: 22px; height: 22px;
  border: 1.5px solid var(--line-strong); border-radius: 50%; color: #fff;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.is-multi .wz-mark { border-radius: 0; }
.wz-mark svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: opacity .2s var(--ease), transform .25s var(--ease); }
.wz-opt:hover .wz-opt-box { border-color: var(--ink); }
.wz-opt:active .wz-opt-box { transform: translateY(1px); }
.wz-opt input:checked + .wz-opt-box { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.wz-opt input:checked + .wz-opt-box .wz-mark { background: var(--accent); border-color: var(--accent); }
.wz-opt input:checked + .wz-opt-box .wz-mark svg { opacity: 1; transform: none; }
.wz-opt input:focus-visible + .wz-opt-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.wz-custom { margin-top: 18px; max-width: 34em; }
.wz-error { font-size: 14px; color: #b3261e; }
.field input[aria-invalid="true"] { border-bottom-color: #b3261e; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(32px, 3.6vw, 44px); }
.wz-nav .btn { margin-left: auto; }
.wz-nav .btn[aria-disabled="true"] { background: var(--line-strong); cursor: not-allowed; }
.wz-nav .btn[aria-disabled="true"]:hover svg { transform: none; }

/* last step: answers at a glance, then the contact fields */
.wz-summary { margin: clamp(22px, 2.4vw, 30px) 0 0; border-top: 1px solid var(--line); }
.wz-summary > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wz-summary dt { font-size: 14px; color: var(--ink-3); }
.wz-summary dd { margin: 0; grid-column: 1; font-size: 16px; }
.wz-summary .wz-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.wz-summary .link { font-size: 14px; }
@media (min-width: 700px) {
  .wz-summary > div { grid-template-columns: 11em 1fr auto; align-items: baseline; }
  .wz-summary dd { grid-column: 2; }
  .wz-summary .wz-edit { grid-column: 3; grid-row: 1; }
}
.wz-fields { display: grid; gap: 28px; margin-top: clamp(30px, 3.4vw, 42px); }
.wz-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wz-done { outline: none; }
.wz-done-title { font-size: clamp(32px, 3.4vw, 50px); font-weight: 500; line-height: 1.05; letter-spacing: -0.034em; }
.wz-done-text { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 34em; }
.wz-done .prose-actions { margin-top: 34px; align-items: center; }

.contact-direct { color: var(--ink-2); max-width: 22em; }
@media (max-width: 899px) {
  .wz-section .contact-aside { order: 2; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
}
.contact-aside { display: grid; gap: 26px; align-content: start; font-size: 16px; }
.contact-aside h2 { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-bottom: 4px; }
.contact-aside address { font-style: normal; }
.contact-aside a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.contact-aside a:hover { text-decoration-color: currentColor; }

/* legal draft note */
.draft-note { font-size: 15px; color: var(--ink-2); border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; margin-bottom: 40px; max-width: 40em; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- language blocks ---------- */
html[lang="de"] [data-lang-block="en"],
html[lang="en"] [data-lang-block="de"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .bay { clip-path: none; }
}

.link-list li { padding-left: 0; }
.link-list li::before { content: none; }
