/* Vibe V3 — V1 palette and type rhythm + Squarespace-style showcase.
   Tokens first; change colours/sizes here only. */
:root {
  --ink: #11120e;
  --ink-2: #1b1d17;
  --ink-3: #262921;
  --paper: #ebe7dc;
  --paper-deep: #d9d3c6;
  --paper-soft: #e3dfd3;
  --acid: #caff42;
  --acid-hover: #dbff71;
  --acid-text: #4c6016;
  --muted: #5f6159;
  --muted-dark: rgba(235, 231, 220, .7);
  --line: rgba(17, 18, 14, .2);
  --dark-line: rgba(235, 231, 220, .2);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Segoe UI Variable', Arial, sans-serif;
  --shell: min(1280px, calc(100% - 64px));
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); scroll-padding-top: 72px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(88px, 11vw, 150px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; z-index: 50; top: -60px; left: 16px; padding: 12px 16px; background: var(--acid); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }

/* type scale — between V1 and smaller than V2 */
h1 { font-weight: 800; font-stretch: 78%; font-size: clamp(2.6rem, 6.2vw, 5.9rem); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; }
h2 { font-weight: 800; font-stretch: 78%; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: .94; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
h1 i, h2 i { font-family: var(--serif); font-weight: 400; font-stretch: normal; letter-spacing: -.02em; text-transform: none; }
.eyebrow, .kicker, .section-label { font-weight: 700; font-stretch: 85%; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 30; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 32px; color: var(--paper); border-bottom: 1px solid transparent; transition: background .3s, padding .3s, color .3s, border-color .3s; }
.site-header.is-scrolled, .legal-page .site-header { padding-block: 10px; color: var(--ink); background: rgba(235, 231, 220, .92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; min-height: 44px; gap: 9px; align-items: center; font-weight: 800; font-stretch: 80%; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1; }
.brand-mark { --mark-bg: var(--acid); --mark-fg: var(--ink); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 7px; background: var(--mark-bg); transition: background .3s; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-mark circle { fill: var(--mark-fg); transition: fill .3s; }
.brand-mark path { fill: none; stroke: var(--mark-fg); stroke-width: 30.1; stroke-linecap: round; transition: stroke .3s; }
/* logo 07 Funke: acid tile over the dark hero, ink tile with acid spark on paper */
.site-header.is-scrolled .brand-mark, .legal-page .brand-mark, .profile-page .brand-mark, .site-footer .brand-mark { --mark-bg: var(--ink); --mark-fg: var(--acid); }
/* logo 07 Funke, spark-i version 10 Gross: dot r .15em, centre .83em above baseline (1 svg unit = .015em; box top = baseline - 1.22em; inline content top = baseline - .878em) */
.brand-i { position: relative; margin-inline: .012em; }
.brand-i::after { position: absolute; top: -.342em; left: 50%; width: .69em; height: .54em; margin-left: -.345em; content: ''; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-23 -26 46 36'%3E%3Ccircle r='10' fill='%23caff42'/%3E%3Cpath d='M-13.42 -7.75L-20.35 -11.75' stroke='%23caff42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M0.00 -15.50L0.00 -23.50' stroke='%23caff42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M13.42 -7.75L20.35 -11.75' stroke='%23caff42' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.site-header.is-scrolled .brand-i::after, .legal-page .brand-i::after, .profile-page .brand-i::after, .site-footer .brand-i::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-23 -26 46 36'%3E%3Ccircle r='10' fill='%23caff42'/%3E%3Cpath d='M-13.42 -7.75L-20.35 -11.75' stroke='%2311120e' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M0.00 -15.50L0.00 -23.50' stroke='%2311120e' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M13.42 -7.75L20.35 -11.75' stroke='%2311120e' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle r='10' fill='none' stroke='%2311120e' stroke-width='2.2'/%3E%3C/svg%3E"); }
.brand em { margin-left: -9px; font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: normal; font-size: 1.1em; letter-spacing: 0; }
.site-nav { display: flex; gap: 26px; align-items: center; font-weight: 600; font-stretch: 85%; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; }
.site-nav a:not(.nav-pill)::after { position: absolute; bottom: 8px; left: 0; width: 100%; height: 1px; content: ''; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-pill { gap: 10px; padding: 0 18px; white-space: nowrap; color: var(--ink); background: var(--acid); border-radius: 999px; }
.nav-pill:hover { background: var(--acid-hover); }
/* DE / EN segmented pill (Refero pill-tab rule: 100px radius, neutral active fill).
   Acid stays reserved for the primary CTA; the active segment uses the header's own text colour. */
.site-header > .brand { margin-right: auto; }
.site-header > .language-switch { order: 2; margin-left: 22px; }
.site-header > .menu-toggle { order: 3; }
.language-switch { --seg: 46px; position: relative; display: inline-grid; flex: none; grid-template-columns: repeat(2, var(--seg)); height: 44px; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); border-radius: 999px; color: inherit; font-weight: 700; font-stretch: 85%; font-size: .72rem; letter-spacing: .1em; isolation: isolate; transition: border-color .3s; }
.language-switch::before { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(var(--seg) - 8px); content: ''; border-radius: 999px; background: currentColor; transition: transform .32s var(--ease), background .3s; }
.language-switch[data-active="en"]::before { transform: translateX(var(--seg)); }
.language-switch button { display: grid; place-items: center; height: 42px; padding: 0; border: 0; border-radius: 999px; color: inherit; background: transparent; font: inherit; letter-spacing: inherit; opacity: .62; cursor: pointer; transition: color .3s, opacity .2s; }
.language-switch button:hover { opacity: 1; }
.language-switch button[aria-pressed="true"] { color: var(--ink); opacity: 1; cursor: default; }
.site-header.is-scrolled .language-switch button[aria-pressed="true"], .legal-page .language-switch button[aria-pressed="true"], .profile-page .language-switch button[aria-pressed="true"] { color: var(--paper); }
.language-switch button:focus-visible { outline-offset: -2px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .25s var(--ease); }

/* ---------- buttons & links ---------- */
.button { display: inline-flex; min-height: 48px; gap: 16px; align-items: center; justify-content: space-between; padding: 0 20px; font-weight: 700; font-stretch: 85%; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s; }
.button span { font-size: 1rem; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--acid); }
.button-primary:hover { background: var(--acid-hover); }
.text-link { display: inline-flex; min-height: 44px; gap: 10px; align-items: center; font-weight: 700; font-stretch: 85%; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { font-size: 1.1rem; transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- hero + showcase ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(112px, 12vw, 150px); padding-bottom: 56px; color: var(--paper); background: var(--ink); isolation: isolate; }
.hero-backdrop { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 62%, color-mix(in srgb, var(--tone, #3a2418) 70%, transparent) 0%, transparent 70%), radial-gradient(1px 1px at 1px 1px, rgba(235,231,220,.13) 1px, transparent 0) 0 0 / 6px 6px;
  transition: background 1s var(--ease); }
.hero-head { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 16px 48px; align-items: end; }
.kicker { grid-column: 1 / -1; display: flex; gap: 13px; align-items: center; color: var(--acid); }
.kicker span { width: 48px; height: 1px; background: currentColor; }
.hero h1 span { color: var(--acid); }
.hero-lead { max-width: 380px; padding-bottom: 6px; color: var(--muted-dark); font-size: clamp(1rem, 1.3vw, 1.12rem); text-wrap: pretty; }

.showcase { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.stage { position: relative; height: calc(var(--card-w) * .625 + 24px); --card-w: clamp(300px, 54vw, 900px); perspective: 1800px; touch-action: pan-y; user-select: none; }
.card { position: absolute; top: 12px; left: 50%; width: var(--card-w); aspect-ratio: 16 / 10; margin-left: calc(var(--card-w) / -2); border-radius: var(--radius); overflow: hidden; container-type: inline-size; background: var(--ink-2); box-shadow: var(--shadow); cursor: pointer;
  transform: translateX(calc(var(--o) * (var(--card-w) * .86 + 28px))) rotateY(calc(var(--o) * -14deg)) scale(calc(1 - var(--a) * .1));
  filter: brightness(calc(1 - var(--a) * .45));
  transition: transform .7s var(--ease), filter .7s var(--ease), opacity .5s; }
.card[data-pos="0"] { z-index: 3; cursor: default; }
.card[data-hidden] { opacity: 0; pointer-events: none; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }

.nav-btn { position: absolute; z-index: 5; top: calc(var(--card-w) * .3125 + 12px); display: grid; min-width: 52px; height: 52px; padding: 0 22px; place-items: center; border: 0; border-radius: 999px; color: var(--ink); background: var(--paper); font-size: 1rem; font-weight: 500; cursor: pointer; transform: translateY(-50%); transition: transform .25s var(--ease), background .25s; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.showcase { --card-w: clamp(300px, 54vw, 900px); }
.nav-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.nav-next { right: calc(50% - var(--card-w) / 2 - 26px); height: 64px; padding: 0 30px; font-size: 1.15rem; }
.nav-prev { left: calc(50% - var(--card-w) / 2 - 26px); padding: 0; width: 52px; background: rgba(235, 231, 220, .9); }

.showcase-meta { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; width: min(var(--shell), 900px); margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.meta-count { display: flex; gap: 6px; align-items: baseline; color: var(--muted-dark); font-variant-numeric: tabular-nums; font-size: .82rem; }
.meta-count b { color: var(--paper); font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.meta-status { padding: 3px 10px; border: 1px solid currentColor; border-radius: 999px; display: inline-block; margin-bottom: 4px; color: var(--acid); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.meta-info h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.02em; }
.meta-info p { color: var(--muted-dark); font-size: .92rem; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dot::before { display: block; width: 28px; height: 3px; margin: auto; content: ''; border-radius: 2px; background: var(--dark-line); transition: background .3s, width .3s; }
.dot[aria-selected="true"]::before { width: 40px; background: var(--acid); }

/* concept mock sites (scale with the card via cqw) */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3cqw 3.6cqw 0; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; font-size: 1.5cqw; }
.mock-nav b { font-weight: 600; letter-spacing: .1em; }
.mock-word { margin-top: 3cqw; font-size: 15.5cqw; line-height: .82; letter-spacing: -.05em; white-space: nowrap; }
.mock-row { display: flex; justify-content: space-between; align-items: end; flex: 1; padding-bottom: 3cqw; font-size: 1.55cqw; line-height: 1.25; }
.mock-foot { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -3.6cqw; border-top: 1px solid currentColor; font-size: 1.55cqw; }
.mock-foot span { display: flex; justify-content: space-between; padding: 2.2cqw 3.6cqw; }
.mock-foot span + span { border-left: 1px solid currentColor; }
.mock-art { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.mock-bloom { color: #1d150f; background: #e2c9ad; }
.mock-bloom .mock-word { font-family: var(--serif); font-size: 21cqw; margin-left: -1cqw; letter-spacing: -.03em; }
.mock-bloom .mock-art { bottom: 7.5cqw; width: 30cqw; height: 30cqw; border-radius: 50% 50% 0 50%; background: radial-gradient(circle at 35% 35%, #f4e1a1 0 18%, #d9a04a 19% 34%, transparent 35%), radial-gradient(circle at 70% 60%, #6f7f3a 0 22%, transparent 23%), radial-gradient(circle at 30% 75%, #8f9b4e 0 16%, transparent 17%); transform: translateX(-50%) rotate(-12deg); }
.mock-nova { color: var(--paper); background: #15170f; }
.mock-nova .mock-word { color: var(--acid); font-weight: 900; font-stretch: 62%; font-size: 24cqw; letter-spacing: -.04em; text-transform: uppercase; }
.mock-nova .mock-art { bottom: 7.5cqw; width: 34cqw; height: 34cqw; border: .35cqw solid var(--acid); border-radius: 50%; left: 72%; }
.mock-kant { color: #f0eee6; background: #6e6d66; }
.mock-kant .mock-word { font-weight: 800; font-stretch: 70%; font-size: 13cqw; text-transform: uppercase; text-align: right; }
.mock-kant .mock-word i { display: block; font-family: var(--serif); font-weight: 400; text-transform: none; font-size: .7em; }
.mock-kant .mock-art { left: 3.6cqw; top: 9cqw; bottom: auto; transform: none; width: 28cqw; height: 22cqw; background: linear-gradient(135deg, #3b3a35, #24231f); box-shadow: inset 0 0 0 .3cqw rgba(255,255,255,.15); }

/* nav buttons stay hidden until a mouse user hovers the showcase; touch users keep swipe + dots */
.has-mouse .nav-btn { opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .25s var(--ease), background .25s; }
.has-mouse .showcase:hover .nav-btn, .showcase:focus-within .nav-btn { opacity: 1; pointer-events: auto; }

/* ---------- reviews ---------- */
.reviews-head { display: grid; grid-template-columns: 1.2fr .6fr; gap: clamp(28px, 8vw, 140px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.reviews-head p { max-width: 400px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { display: flex; min-height: 280px; margin: 0; padding: 26px; flex-direction: column; gap: 22px; border-radius: var(--radius); background: var(--paper-soft); border-top: 1px solid var(--ink); }
.stars { display: flex; gap: 4px; }
.stars svg { width: 1.3rem; height: 1.3rem; fill: transparent; stroke: var(--ink); stroke-width: 1.2px; opacity: .45; }
.stars svg.on { fill: var(--ink); stroke: none; opacity: 1; }
.review blockquote { flex: 1; margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.12; letter-spacing: -.01em; }
.review-placeholder { flex: 1; padding: 16px; border: 1px dashed rgba(17,18,14,.35); border-radius: 8px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.15; }
.review figcaption, .review-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; }
.review figcaption span { color: var(--muted); text-align: right; }
.review.is-live { background: var(--ink); color: var(--paper); }
.review.is-live .stars svg.on { fill: var(--acid); }
.review.is-invite { color: var(--paper); background: var(--ink); border-top-color: var(--acid); transition: transform .25s var(--ease); }
.review.is-invite:hover { transform: translateY(-3px); }
.review.is-invite .stars svg { stroke: var(--acid); opacity: .8; }
.review.is-invite .review-placeholder { color: var(--muted-dark); border-color: var(--dark-line); }
.review.is-invite .review-meta { border-color: var(--dark-line); color: var(--acid); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }

/* ---------- studio / team ---------- */
.section-label { display: flex; gap: 13px; margin-bottom: clamp(40px, 5vw, 70px); color: var(--muted); }
.section-label span { color: var(--ink); }
.statement-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(40px, 8vw, 140px); align-items: end; }
.statement-side { max-width: 420px; color: var(--muted); font-size: 1.04rem; }
.statement-side p { margin-bottom: 18px; }
.statement-side .text-link { color: var(--ink); }

.team { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: clamp(56px, 7vw, 100px); }
.team-duo { grid-row: span 2; }
.team-people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-slot { position: relative; display: flex; height: 100%; min-height: 220px; padding: 18px; align-items: flex-end; justify-content: space-between; overflow: hidden; border-radius: var(--radius); color: var(--paper); background: linear-gradient(140deg, #3d4239, #161812); isolation: isolate; }
.photo-slot::after { position: absolute; inset: 0; z-index: -1; content: ''; background: repeating-linear-gradient(125deg, rgba(0,0,0,.18) 0 1px, transparent 1px 15px), radial-gradient(circle at 22% 22%, rgba(202,255,66,.55), transparent 30%); }
.photo-slot span { font-weight: 800; font-stretch: 75%; font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: -.03em; }
.photo-slot small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; align-self: flex-start; }
.photo-slot img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.has-photo::after { background: linear-gradient(to top, rgba(17,18,14,.55), transparent 45%); }
.photo-slot.has-photo > span, .photo-slot.has-photo > small { display: none; }
.team-duo .photo-slot { aspect-ratio: 3 / 2; height: auto; }
.person .photo-slot { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
.person-visual-link { display: block; border-radius: var(--radius); }
.person-visual-link:focus-visible { outline-offset: 5px; }
.person .photo-slot:not(.has-photo) { background: linear-gradient(120deg, #e8e3d6, #8d9186); color: var(--ink); }
/* cutout photos: keep the original slot backgrounds + pattern, person sits on top */
.person .photo-slot.has-photo { background: linear-gradient(120deg, #e8e3d6, #8d9186); }
.person .photo-slot.has-photo::after, .team-duo .photo-slot.has-photo::after { background: repeating-linear-gradient(125deg, rgba(0,0,0,.18) 0 1px, transparent 1px 15px), radial-gradient(circle at 22% 22%, rgba(202,255,66,.55), transparent 30%); }
.person .photo-slot.has-photo img, .team-duo .photo-slot.has-photo img { z-index: 0; object-fit: contain; object-position: center bottom; }
.person .photo-slot.has-photo img { transition: transform .35s var(--ease), filter .35s var(--ease); will-change: transform, filter; }
.has-mouse .person:hover .photo-slot.has-photo img,
.person:focus-within .photo-slot.has-photo img { transform: translateY(-10px) scale(1.035); filter: drop-shadow(0 16px 13px rgba(17,18,14,.32)); }
.person figcaption, .team-duo figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: .86rem; }
.person figcaption b { font-weight: 700; }
.person figcaption span { color: var(--muted); }
.person-card-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; min-height: 52px; align-items: start; }
/* symmetry (2026-10-17): duo photo fills the full height of the right column; both person captions share one row height (subgrid) so names and CTAs line up */
@media (min-width: 1025px) {
  .team-duo { position: relative; display: flex; flex-direction: column; margin: 0; }
  .team-duo figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 8px 14px; border-radius: 999px; color: var(--ink); background: var(--paper); font-size: .82rem; }
  .team-duo .photo-slot { flex: 1; aspect-ratio: auto; min-height: 0; }
  .team-duo .photo-slot.has-photo img { object-fit: cover; object-position: center 70%; }
  .team-people { grid-template-rows: auto auto; }
  .person { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; margin: 0; }
  .person figcaption { display: block; }
  .person-card-link { height: 100%; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .person-card-link > span { min-height: 2.6em; }
  .person-card-link > i { align-self: end; padding-top: 8px; }
}
.person-card-link > i { grid-column: 1 / -1; color: var(--ink); font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.person-card-link em { display: inline-block; margin-left: 4px; font-size: 1rem; font-style: normal; transition: transform .2s var(--ease); }
.person-card-link:hover em { transform: translateX(5px); }

/* ---------- founder pages ---------- */
.profile-page .site-header { color: var(--ink); background: rgba(235, 231, 220, .92); border-color: var(--line); backdrop-filter: blur(14px); }
.profile-page .nav-pill { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 18px; color: var(--ink); background: var(--acid); border-radius: 999px; font-weight: 700; font-stretch: 85%; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.profile-page .nav-pill:hover { background: var(--acid-hover); }
.profile-main { padding: 148px 0 clamp(88px, 12vw, 160px); }
.profile-back { margin-bottom: clamp(34px, 5vw, 66px); }
.profile-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, .75fr); gap: clamp(30px, 7vw, 110px); align-items: end; }
.profile-kicker { color: var(--muted); }
.profile-hero h1 { max-width: 720px; margin: 18px 0 26px; }
.profile-intro { max-width: 550px; color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.25rem); }
.profile-portrait { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(120deg, #e8e3d6, #8d9186); isolation: isolate; }
.profile-portrait::after { position: absolute; inset: 0; z-index: -1; content: ''; background: repeating-linear-gradient(125deg, rgba(0,0,0,.18) 0 1px, transparent 1px 15px), radial-gradient(circle at 22% 22%, rgba(202,255,66,.55), transparent 30%); }
.profile-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.profile-portrait span { position: absolute; right: 18px; bottom: 16px; color: var(--paper); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }
.profile-detail { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(32px, 8vw, 140px); margin-top: clamp(72px, 11vw, 150px); padding-top: 24px; border-top: 1px solid var(--ink); }
.profile-detail h2 { max-width: 440px; }
.profile-focus { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.profile-focus li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; }
.profile-focus li span { color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
.profile-note { margin-top: 22px; color: var(--muted); font-size: .85rem; }
.profile-next { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: clamp(72px, 10vw, 130px); padding: clamp(26px, 5vw, 54px); border-radius: var(--radius); color: var(--paper); background: var(--ink); }
.profile-next p { max-width: 440px; color: var(--muted-dark); }
.profile-next .eyebrow { margin-bottom: 12px; color: var(--acid); }
.profile-next h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.team-note { display: flex; padding: 22px; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: var(--radius); color: var(--paper); background: var(--ink); }
.note-symbol { display: inline-flex; width: 2rem; height: 2rem; color: var(--acid); }
.note-symbol svg { width: 100%; height: 100%; fill: currentColor; }
.team-note p { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-style: italic; line-height: 1.05; }

/* ---------- case ---------- */
.case-intro { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.case-intro p { color: var(--muted); }
.case-study { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); overflow: hidden; border-radius: var(--radius); background: var(--ink); box-shadow: 0 20px 60px rgba(11, 12, 9, .18); }
.case-visual { position: relative; display: block; overflow: hidden; background: #1a120d; }
.case-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1s var(--ease); }
.case-visual:hover img { transform: scale(1.03); }
.case-tag { position: absolute; left: 18px; bottom: 16px; padding: 6px 12px; border-radius: 999px; color: var(--paper); background: rgba(17,18,14,.75); font-size: .66rem; font-weight: 700; letter-spacing: .12em; }
.case-content { display: flex; padding: clamp(28px, 4vw, 56px); flex-direction: column; justify-content: center; color: var(--paper); }
.case-content .eyebrow { margin-bottom: 18px; color: var(--acid); }
.case-content h3 { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.9rem); font-weight: 400; font-style: italic; line-height: 1; letter-spacing: -.02em; }
.scope-list { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--dark-line); }
.scope-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); color: var(--muted-dark); font-size: .9rem; }
.scope-list span { color: var(--acid); font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.case-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.case-actions .text-link { color: var(--acid); }

/* ---------- proof ---------- */
.proof { background: var(--acid); }
.proof-layout { padding-block: clamp(88px, 11vw, 150px); }
.proof .section-label { color: var(--acid-text); }
.proof-head { display: grid; grid-template-columns: 1.2fr .5fr; gap: clamp(32px, 8vw, 140px); margin-bottom: clamp(48px, 7vw, 96px); }
.proof-head p { max-width: 380px; padding-top: 8px; font-size: 1.04rem; }
.proof-list { border-top: 1px solid rgba(17,18,14,.5); }
.proof-item { display: grid; grid-template-columns: 70px 1fr 40px; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid rgba(17,18,14,.5); }
.proof-item > b, .method-step > span { font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.proof-item h3 { margin-bottom: 6px; font-weight: 700; font-stretch: 80%; font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -.02em; }
.proof-item p { max-width: 560px; }
.proof-item > span { font-size: 1.5rem; }

/* ---------- method ---------- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.method-step { min-height: 300px; padding: 22px 22px 22px 0; border-right: 1px solid var(--line); }
.method-step:not(:first-child) { padding-left: 22px; }
.method-step:last-child { border-right: 0; }
.method-step > span { display: block; margin-bottom: 76px; color: var(--muted); }
.method-step h3 { margin-bottom: 10px; font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.method-step p { max-width: 300px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; margin-bottom: clamp(64px, 8vw, 110px); overflow: hidden; border-radius: var(--radius); color: var(--paper); background: var(--ink); }
.contact-visual { position: relative; display: grid; min-height: 500px; overflow: hidden; place-items: center; background: var(--ink-2); }
.contact-ring { position: absolute; width: 115%; aspect-ratio: 1; border: 1px solid var(--acid); border-radius: 50%; box-shadow: inset 0 0 0 30px var(--ink-2), inset 0 0 0 31px rgba(202,255,66,.4); animation: breathe 6s ease-in-out infinite; }
.contact-visual span { z-index: 1; color: var(--acid); font-weight: 900; font-stretch: 65%; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .8; letter-spacing: -.04em; text-align: center; }
.contact-copy { display: flex; padding: clamp(40px, 7vw, 110px); flex-direction: column; justify-content: center; align-items: flex-start; }
.contact-copy .eyebrow { color: var(--acid); }
.contact-copy h2 { margin: 16px 0 22px; }
.contact-copy > p:not(.eyebrow) { max-width: 420px; margin-bottom: 26px; color: var(--muted-dark); }
.contact-copy small { margin-top: 14px; color: rgba(235,231,220,.5); font-size: .74rem; }

/* ---------- footer ---------- */
.site-footer { display: grid; grid-template-columns: 1fr .5fr .65fr; gap: 40px; padding-bottom: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: .88rem; }
.footer-social p { margin-bottom: 10px; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .13em; }
.footer-social div { display: grid; gap: 4px; }
.footer-social a { display: flex; min-height: 44px; max-width: 200px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 85%; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-legal { display: flex; gap: 10px; align-items: flex-end; flex-direction: column; color: var(--muted); font-size: .76rem; text-align: right; }
.footer-legal a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mobile-dock { display: none; }

/* ---------- legal page ---------- */
.legal-page main { padding-top: 160px; padding-bottom: 110px; }
.legal-page h1 { max-width: 900px; margin: 18px 0 48px; font-size: clamp(2.6rem, 5.5vw, 5.4rem); }
.legal-page h1, .legal-page h2 { max-width: 100%; overflow-wrap: anywhere; }
.legal-alert { display: grid; grid-template-columns: 180px 1fr; gap: 28px; max-width: 1000px; margin-bottom: 72px; padding: 24px; border-radius: var(--radius); background: var(--acid); }
.legal-alert b { font-weight: 800; font-stretch: 80%; font-size: 1.1rem; text-transform: uppercase; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.legal-grid section { padding: 28px; border-radius: var(--radius); background: var(--paper-soft); border-top: 1px solid var(--ink); }
.legal-grid h2, .work-record h2 { margin-bottom: 24px; font-size: clamp(1.7rem, 2.6vw, 2.8rem); }
.legal-grid ul { margin: 0 0 24px; padding-left: 1.1rem; }
.legal-grid li { margin-bottom: 6px; }
.legal-note { color: var(--muted); font-size: .88rem; }
.work-record { margin-top: 110px; padding-top: 24px; border-top: 1px solid var(--ink); }
.work-record h2 { max-width: 780px; margin-top: 16px; }
.record-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); }
.record-grid article { min-height: 220px; padding: 22px; background: var(--paper); }
.record-grid span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.record-grid h3 { margin: 60px 0 8px; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; font-style: italic; }
.record-grid p { color: var(--muted); font-size: .9rem; }
.button-outline { min-height: 44px; border: 1px solid currentColor; border-radius: 999px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes breathe { 50% { transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .showcase, .stage { --card-w: min(72vw, 720px); }
  .hero-head { grid-template-columns: 1fr; }
  .team, .statement-grid, .proof-head, .reviews-head { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review.is-invite { grid-column: 1 / -1; min-height: 0; }
  .statement-grid, .proof-head { gap: 28px; }
  .team-duo { grid-row: auto; }
}

/* ---------- phone ---------- */
/* Tablet header: keep links + CTA + language switch on one line (Kontakt duplicates the CTA here). */
@media (min-width: 761px) and (max-width: 1024px) {
  .site-header { padding-inline: 24px; }
  .site-nav { gap: 18px; }
  .site-nav a[href="#contact"]:not(.nav-pill) { display: none; }
  .site-header > .language-switch { margin-left: 16px; }
}
@media (max-width: 760px) {
  :root { --shell: min(100% - 36px, 650px); }
  .site-header { padding: 12px 18px; }
  .site-header > .language-switch { --seg: 42px; margin: 0 0 0 8px; }
  .site-header > .menu-toggle { margin-left: 6px; }
  .menu-open .site-header > .language-switch { visibility: hidden; }
  .legal-page .site-header .button-outline { width: 44px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .legal-page .site-header .button-outline span { font-size: 1.05rem; }
  .profile-page .nav-pill { display: none; }
  .site-nav { position: fixed; top: 0; right: 0; width: min(84vw, 360px); height: 100dvh; padding: 96px 30px 40px; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--paper); background: var(--ink); transform: translateX(102%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; font-size: 1.1rem; }
  .site-nav.open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .site-nav a { width: 100%; }
  .site-nav .nav-pill { width: auto; margin-top: 14px; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .menu-toggle[aria-expanded="true"] { color: var(--paper); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .menu-open { overflow: hidden; }

  .hero { padding-top: 104px; padding-bottom: 36px; }
  .showcase, .stage { --card-w: 80vw; }
  .card { transform: translateX(calc(var(--o) * (var(--card-w) * .92 + 12px))) rotateY(calc(var(--o) * -10deg)) scale(calc(1 - var(--a) * .12)); }
  .nav-btn { display: none; }
  .showcase-meta { grid-template-columns: auto 1fr; gap: 6px 18px; }
  .showcase-meta .button { grid-column: 1 / -1; justify-self: start; }

  .statement-grid, .proof-head, .case-intro { grid-template-columns: 1fr; gap: 24px; }
  .review-grid { grid-template-columns: 1fr; }
  .review { min-height: 0; }
  .team-people { gap: 10px; }
  .person figcaption { flex-direction: column; gap: 0; font-size: .8rem; }
  .profile-main { padding-top: 116px; }
  .profile-hero, .profile-detail { grid-template-columns: 1fr; }
  .profile-portrait { min-height: 390px; }
  .profile-next { align-items: flex-start; flex-direction: column; }
  .case-study { grid-template-columns: 1fr; }
  .case-visual { aspect-ratio: 16 / 10; }
  .case-content { padding: 30px 22px 36px; }
  .case-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .proof-item { grid-template-columns: 34px 1fr 18px; gap: 10px; padding: 20px 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-step, .method-step:not(:first-child) { display: grid; grid-template-columns: 60px 1fr; gap: 4px 12px; min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-step > span { grid-row: span 2; margin: 8px 0 0; }
  .method-step p { grid-column: 2; }
  .contact { grid-template-columns: 1fr; width: 100%; border-radius: 0; margin-bottom: 0; }
  .contact-visual { min-height: 260px; }
  .contact-copy { padding: 48px 18px 64px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-bottom: 110px; border-top: 0; }
  .footer-legal { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .mobile-dock { position: fixed; z-index: 19; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 4px; padding: 5px; border-radius: 14px; color: var(--paper); background: rgba(17,18,14,.94); box-shadow: 0 10px 30px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
  .mobile-dock a { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; font-weight: 700; font-stretch: 85%; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-dock a:last-child { color: var(--ink); background: var(--acid); }

  .legal-page main { padding-top: 120px; padding-bottom: 80px; }
  .legal-alert, .legal-grid { grid-template-columns: 1fr; }
  .legal-alert { gap: 8px; padding: 20px; }
  .record-grid { grid-template-columns: 1fr 1fr; }
  .record-grid h3 { margin-top: 40px; font-size: 1.5rem; }
}
@media (max-width: 420px) {
  .team-people { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
  .record-grid { grid-template-columns: 1fr; }
}
