:root {
  --black: #000;
  --white: #fff;
  --accent: #e6f500;
  --grey-100: #efefef;
  --grey-500: #8c8c8c;
  --line: #d9d9d9;
  --m: 40px;      /* site margin */
  --gap: 25px;
  --sec: 440px;   /* section spacing — gives each theme room to breathe */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}
@media (max-width: 800px) {
  :root { --m: 20px; --gap: 12px; --sec: 240px; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--black);
  font: 400 15px/1.35 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
/* creative italic accent word — only inside headlines */
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--black); }

/* ---------- type ---------- */
.mono, .mono-keep { font: 400 11px/1.3 var(--mono); letter-spacing: 0.02em; }
.mono { text-transform: uppercase; }
.mono-keep { font-size: 13px; }
.muted { color: var(--grey-500); }
.accent-t { color: var(--accent); }
.right { text-align: right; }
.display { font-weight: 500; font-size: clamp(52px, 9.2vw, 150px); line-height: 0.92; letter-spacing: -0.04em; }
.h2 { font-weight: 500; font-size: clamp(44px, 6.7vw, 96px); line-height: 0.95; letter-spacing: -0.04em; }
.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.32; }
.small { font-size: 15px; max-width: 340px; }
.dot { display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.dot.sm { width: 8px; height: 8px; margin-right: 8px; vertical-align: 0; }

/* ---------- layout ---------- */
.wrap { padding-left: var(--m); padding-right: var(--m); }
.sec { padding-bottom: var(--sec); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: var(--gap); }
.sec-head { display: flex; justify-content: space-between; padding-bottom: 40px; }
.link { position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- header ---------- */
.header, .menu-head {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); align-items: start;
  padding: 20px var(--m);
}
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--white); transition: transform .6s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
.toggle { display: inline-flex; align-items: center; gap: 12px; }
.flower { width: 34px; height: 34px; color: var(--black); transition: transform .8s var(--ease), color .3s; }
.toggle:hover .flower { transform: rotate(90deg) scale(1.1); color: var(--accent); }
.toggle:hover .mono-keep { color: var(--grey-500); }
.menu .flower { color: var(--accent); }
.menu .toggle:hover .flower { transform: rotate(-90deg) scale(1.1); }
.toggle { justify-self: end; }
@media (max-width: 800px) {
  .header, .menu-head { grid-template-columns: 1fr auto; padding: 16px var(--m); }
  .header > .mono:not(.hide-m) { display: none; }
  .hide-m { display: none !important; }
}

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu-body { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gap); padding: 0 var(--m); align-items: end; }
.menu-side { display: flex; flex-direction: column; gap: 6px; }
.menu-side .gap { margin-top: 18px; }
.menu-side a:hover { color: var(--accent); }
.menu-nav a { display: flex; align-items: center; gap: var(--gap); border-top: 1px solid #444; padding: 6px 0; overflow: hidden; }
.menu-nav a:last-child { border-bottom: 1px solid #444; }
.menu-nav .mono { width: 120px; flex: none; color: var(--grey-500); }
.menu-nav .t { font-weight: 500; font-size: clamp(44px, 6.1vw, 88px); line-height: 1; letter-spacing: -0.04em; display: inline-block; transition: transform .5s var(--ease), color .3s; }
.menu-nav a:hover .t { transform: translateX(20px); }
.menu-nav a.active .t, .menu-nav a.active .mono { color: var(--accent); }
.menu-nav a.active .t::after { content: ""; display: inline-block; width: 14px; height: 14px; background: var(--accent); margin-left: 20px; vertical-align: middle; }
.menu-foot { display: flex; justify-content: space-between; padding: 20px var(--m); }
@media (max-width: 800px) {
  .menu-body { grid-template-columns: 1fr; gap: 40px; }
  .menu-body .menu-side { order: 2; }
  .menu-nav .mono { width: 56px; }
}

/* ---------- hero ---------- */
.hero { padding-top: 240px; padding-bottom: 320px; display: flex; flex-direction: column; gap: 56px; }
.status { display: inline-flex; align-items: center; }
.intro { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 800px) {
  .hero { padding-top: 120px; padding-bottom: 64px; gap: 32px; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .intro .mono { order: 2; }
}

/* ---------- word reveal ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: baseline; padding: 0.22em 0.03em; margin: -0.22em -0.03em; }
/* italic glyphs lean past their box on the right: widen the reveal mask so nothing is clipped */
h1 em .w, h2 em .w { padding-left: 0.06em; padding-right: 0.16em; margin-left: -0.06em; margin-right: -0.16em; }
/* the em box itself would stretch the line (serif metrics differ) — collapse it; the masked word keeps normal leading */
h1 em, h2 em { line-height: 0; }
.display em .w { line-height: 0.92; }
.h2 em .w { line-height: 0.95; }
.is-capture h1 em, .is-capture h2 em { line-height: inherit; }
/* Figma copies line-height literally */
.w > span { display: inline-block; will-change: transform; }

/* ---------- disciplines ---------- */
.drow {
  position: relative; display: grid; grid-template-columns: 160px 1fr 340px 40px; gap: var(--gap); align-items: center;
  padding: 32px 0; border-top: 1px solid var(--black); isolation: isolate;
  transition: padding .5s var(--ease);
}
.drow:last-child { border-bottom: 1px solid var(--black); }
.drow::before { content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.drow:hover::before { transform: scaleY(1); }
.drow:hover { padding-left: 20px; padding-right: 20px; }
.dt { font-weight: 500; font-size: clamp(44px, 6.7vw, 96px); line-height: 0.95; letter-spacing: -0.04em; }
.dd { font-size: 15px; }
.arr { font-size: 40px; font-weight: 500; transition: transform .45s var(--ease); justify-self: end; }
.drow:hover .arr { transform: rotate(-45deg); }
@media (max-width: 800px) {
  .drow { grid-template-columns: 1fr auto; row-gap: 10px; padding: 20px 0; }
  .drow .mono { grid-column: 1; grid-row: 1; }
  .drow .arr { grid-column: 2; grid-row: 1; font-size: 22px; }
  .drow .dt, .drow .dd { grid-column: 1 / -1; }
  .drow .dd { font-size: 14px; }
}

/* ---------- placeholders ---------- */
.ph { position: relative; overflow: hidden; background: var(--grey-100); }
.ph-in { position: absolute; inset: -12% 0; display: flex; align-items: center; justify-content: center; color: var(--grey-500);
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(0,0,0,.025) 22px 23px); }
.ph-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph:has(img) .ph-in { background: none; }
.ph.dark { background: #111; }
.ph.dark .ph-in { background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px); }

/* ---------- photography ---------- */
.ph-intro { display: grid; grid-template-columns: 1fr auto; gap: var(--gap); align-items: end; margin-bottom: 140px; }
/* editorial 12-col layout: frames keep each photo's real aspect ratio */
.photos { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 160px; align-items: start; }
.photos .ph-in.still { inset: 0; }
.p1 { grid-column: 1 / span 4; }
.p2 { grid-column: 6 / span 7; margin-top: 220px; }
.p3 { grid-column: 2 / span 3; }
.p4 { grid-column: 7 / span 6; margin-top: 140px; }
.p5 { grid-column: 4 / span 5; }
.p6 { grid-column: 10 / span 3; margin-top: 260px; }
.p7 { grid-column: 1 / span 7; }
.p8 { grid-column: 9 / span 4; margin-top: 320px; }
figcaption { display: flex; justify-content: space-between; padding-top: 12px; }
@media (max-width: 800px) {
  .ph-intro { grid-template-columns: 1fr; margin-bottom: 64px; }
  .photos { display: flex; flex-direction: column; gap: 72px; }
  .photos figure { width: 100%; margin-top: 0; }
  .photos .p1, .photos .p3, .photos .p6 { width: 72%; }
  .photos figure:nth-child(even) { align-self: flex-end; }
  .photos .p5 { width: 86%; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 560px 1fr; gap: var(--gap); align-items: start; }
.portrait { height: 720px; }
.about-text { display: flex; flex-direction: column; gap: 32px; }
.about-text .h2 { margin-bottom: 16px; }
.facts > div { display: grid; grid-template-columns: 200px 1fr; gap: var(--gap); padding: 14px 0; border-top: 1px solid var(--black); }
.facts > div:last-child { border-bottom: 1px solid var(--black); }
.facts dt { color: var(--grey-500); }
@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr 1.3fr; }
  .portrait { height: auto; aspect-ratio: 3/4; }
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
  .facts > div { grid-template-columns: 1fr auto; }
}

/* ---------- cta ---------- */
.cta { background: var(--accent); padding: 260px var(--m); margin-top: 0; display: flex; flex-direction: column; gap: 56px; }
.btn { display: inline-flex; align-items: center; gap: 16px; background: var(--black); color: var(--white); border-radius: 100px; padding: 22px 32px; transition: transform .5s var(--ease); }
.btn:hover { transform: scale(1.04); }
.btn .accent-t { font-size: 18px; transition: transform .5s var(--ease); }
.btn:hover .accent-t { transform: translateX(6px); }
@media (max-width: 800px) {
  .cta { padding: 64px var(--m); gap: 32px; }
  .btn { width: 100%; justify-content: space-between; padding: 20px 24px; }
}

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 80px 0 32px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 48px; padding-right: 48px; will-change: transform; }
.marquee-track span, .marquee-track em { font-weight: 500; font-size: clamp(72px, 12.5vw, 180px); line-height: 1.1; letter-spacing: -0.05em; white-space: nowrap; }
.mflower { flex: none; width: clamp(48px, 7vw, 110px); height: clamp(48px, 7vw, 110px); color: var(--accent); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 80px var(--m) 0; padding-top: 32px; border-top: 1px solid var(--grey-500); }
.foot-grid > div { display: flex; flex-direction: column; gap: 6px; }
.foot-grid .right { align-items: flex-end; }
.foot-grid a:hover { color: var(--accent); }
@media (max-width: 800px) {
  .footer { padding: 48px 0 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; margin-top: 40px; }
  .foot-grid .right { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- legal ---------- */
.legal-row { display: flex; justify-content: space-between; gap: var(--gap); margin: 48px var(--m) 0; }
.legal-row nav { display: flex; gap: 24px; }
.legal-row a { color: var(--white); }
.legal-row a:hover { color: var(--accent); }
.legal-page { padding-top: 240px; padding-bottom: var(--sec); }
.legal-page .display { margin: 56px 0 140px; }
.legal-block { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); padding: 48px 0 120px; border-top: 1px solid var(--black); }
.legal-block:last-of-type { border-bottom: 1px solid var(--black); }
.legal-body { max-width: 720px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.45; }
.legal-body h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-top: 10px; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul { padding-left: 1.2em; }
.todo { background: var(--accent); padding: 0 4px; }
@media (max-width: 800px) {
  .legal-page { padding-top: 120px; }
  .legal-page .display { margin: 32px 0 72px; }
  .legal-block { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 40px; }
  .legal-body { font-size: 15px; }
  .legal-row { flex-direction: column; gap: 12px; }
}

/* ---------- language switch ---------- */
.header-right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.hire { display: inline-flex; align-items: center; white-space: nowrap; }
.hire:hover { color: var(--grey-500); }
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang button { color: var(--grey-500); transition: color .3s; }
.lang button:hover { color: inherit; }
.lang button.is-active { color: var(--black); }
.menu .lang button.is-active { color: var(--accent); }
@media (max-width: 800px) {
  .header-right { gap: 16px; }
}

/* ---------- hero actions ---------- */
.intro-main { display: flex; flex-direction: column; gap: 40px; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* ---------- services rows ---------- */
.h2 + .rows { margin-top: 80px; }
.drow .dd { display: flex; flex-direction: column; gap: 14px; }
.tags { color: var(--grey-500); }
.drow:hover .tags { color: var(--black); }

/* ---------- works footer link ---------- */
.more { display: flex; justify-content: center; align-items: center; gap: 24px; padding-top: 120px; }

/* ---------- cta lead ---------- */
.cta-lead { max-width: 640px; }
@media (max-width: 800px) {
  .h2 + .rows { margin-top: 40px; }
  .more { flex-direction: column; gap: 12px; padding-top: 64px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
}

/* ---------- featured project (A — 01) ---------- */
.feature-title { font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.04em; }
.feature-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--black); }
.feature-facts > div:last-child { border-bottom: 1px solid var(--black); }
.feature-facts dt { color: var(--grey-500); }

/* ---------- other projects: smaller, further down ---------- */
.others { padding-top: 240px; }
@media (max-width: 800px) {
  .others { padding-top: 120px; }
}

/* ---------- content update: short project texts, longer service texts ---------- */
.drow { grid-template-columns: 160px 1fr 420px 40px; }
@media (max-width: 800px) {
  .drow { grid-template-columns: 1fr auto; }
}
.about-text .lead + .lead { margin-top: -8px; }
.cta .todo { background: var(--black); color: var(--accent); }

/* ---------- star logo (replaces the wordmark, top left) ---------- */
.logo-star { display: inline-flex; width: 40px; height: 40px; align-items: center; }
.logo-star .flower { width: 36px; height: 36px; }
.logo-star:hover .flower { transform: rotate(90deg) scale(1.1); color: var(--accent); }
.toggle .mono-keep { font-size: 14px; }

/* ---------- accent marker: a few key phrases, never more than one per block ---------- */
mark { background: linear-gradient(transparent 52%, var(--accent) 52%, var(--accent) 92%, transparent 92%); color: inherit; padding: 0 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* placeholders: dashed box so they don't compete with the accent marker */
.todo { background: none; border: 1px dashed var(--grey-500); color: var(--grey-500); padding: 0 4px; border-radius: 2px; }
.cta .todo { background: none; border-color: var(--black); color: var(--black); }

/* ---------- about teaser on the homepage + about page ---------- */
.about-page { padding-top: 240px; padding-bottom: var(--sec); display: flex; flex-direction: column; gap: 80px; }
.about-page .about-text .lead { max-width: 720px; }
.about-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 800px) {
  .about-page { padding-top: 120px; gap: 40px; }
  .about-actions .btn { width: 100%; justify-content: space-between; }
}
/* keep <mark> inline inside the service text (the column was a flex container) */
.drow .dd { display: block; }
.drow .dd .tags { display: block; margin-top: 14px; }

/* ---------- slimmer footer marquee ---------- */
.footer { padding-top: 56px; }
.marquee-track { gap: 28px; padding-right: 28px; }
.marquee-track span, .marquee-track em { font-size: clamp(40px, 6vw, 88px); }
.mflower { width: clamp(26px, 3.6vw, 52px); height: clamp(26px, 3.6vw, 52px); }
.foot-grid { margin-top: 56px; }

/* ---------- question under the works = the link itself ---------- */
.more-q { font-size: 13px; color: var(--black); }
.more-q:hover { color: var(--grey-500); }

/* ---------- typographic interlude: loose letters that dodge the pointer ---------- */
.typo-play { padding-bottom: var(--sec); }
.tp-field { position: relative; height: min(78vh, 760px); overflow: hidden; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); touch-action: pan-y; cursor: crosshair; }
.tp-g { position: absolute; left: 0; top: 0; line-height: 1; white-space: nowrap; user-select: none; will-change: transform; pointer-events: none; }
.tp-sans { font-family: var(--sans); font-weight: 500; letter-spacing: -0.04em; }
.tp-serif { font-family: var(--serif); font-style: italic; }
.tp-mono { font-family: var(--mono); }
.tp-accent { background: var(--accent); border-radius: 50%; width: 1.25em; height: 1.25em; display: flex; align-items: center; justify-content: center; }
@media (max-width: 800px) {
  .tp-field { height: 62vh; }
}

/* ---------- contact: request + e-mail as one unit ---------- */
.contact-unit { display: flex; flex-direction: column; gap: 18px; }
.mailbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; background: var(--black); color: var(--white);
  border-radius: 999px; padding: 14px 14px 14px 40px; transition: transform .5s var(--ease); }
.mb-label { color: var(--accent); white-space: nowrap; }
.mb-mail { font-weight: 500; font-size: clamp(24px, 3.4vw, 52px); letter-spacing: -0.03em; line-height: 1; justify-self: start; }
.mb-arrow { width: clamp(56px, 6vw, 88px); height: clamp(56px, 6vw, 88px); border-radius: 50%; background: var(--accent); color: var(--black);
  display: flex; align-items: center; justify-content: center; font-size: clamp(22px, 2.4vw, 34px); transition: transform .6s var(--ease); }
.mailbar:hover { transform: scale(1.01); }
.mailbar:hover .mb-arrow { transform: rotate(-45deg); }
.mb-sub { display: flex; justify-content: space-between; gap: 16px; padding: 0 40px; }
.mb-copy { font: inherit; text-transform: inherit; letter-spacing: inherit; }
.mb-copy:hover { color: var(--grey-500); }
@media (max-width: 800px) {
  .mailbar { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 10px 16px; border-radius: 28px; padding: 22px 18px 22px 24px; }
  .mb-label { grid-column: 1; grid-row: 1; }
  .mb-mail { grid-column: 1; grid-row: 2; font-size: 22px; }
  .mb-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .mb-sub { flex-direction: column; padding: 0 8px; }
}

/* ---------- interlude v2: small physics pile, no label ---------- */
.typo-play { padding-bottom: 200px; }
.tp-field { height: 300px; border-top: 0; border-bottom: 1px solid var(--black); overflow: visible; cursor: grab; touch-action: none; }
.tp-field.is-grabbing { cursor: grabbing; }
.tp-g { pointer-events: none; }
@media (max-width: 800px) {
  .tp-field { height: 260px; }
  .typo-play { padding-bottom: 120px; }
}

/* ---------- interlude v3: narrow, small box so letters pile up ---------- */
.typo-play { padding-bottom: 160px; }
.tp-field { height: 200px; max-width: 380px; margin: 0 auto; }
@media (max-width: 800px) {
  .tp-field { height: 170px; max-width: none; margin: 0 var(--m); }
  .typo-play { padding-bottom: 100px; }
}

/* ---------- clickable header lines + external Schaffhausen link ---------- */
.hlink { transition: color .3s; }
.hlink:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.hlink.muted:hover { color: var(--black); }
.ext:hover, .ext:hover .muted { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.menu .hlink:hover, .menu .ext:hover, .menu .ext:hover .muted, .footer .ext:hover { color: var(--accent); }

/* ---------- less space above the letter pile (same as below it) ---------- */
.typo-play { margin-top: calc(160px - var(--sec)); }
@media (max-width: 800px) {
  .typo-play { margin-top: calc(100px - var(--sec)); }
}

/* ---------- compact contact bar: e-mail same size as the label, bar hugs its content ---------- */
.mailbar { display: inline-grid; justify-self: start; align-self: flex-start; gap: 20px; padding: 10px 10px 10px 28px; }
.mb-mail { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: 0.02em; }
.mb-arrow { width: 44px; height: 44px; font-size: 18px; }
.mailbar:hover { transform: none; }
.mb-sub { padding: 0 28px; justify-content: flex-start; gap: 32px; }
@media (max-width: 800px) {
  .mailbar { display: grid; grid-template-columns: 1fr auto; border-radius: 24px; padding: 16px 12px 16px 22px; gap: 6px 14px; }
  .mb-mail { font-size: 13px; }
  .mb-sub { padding: 0 8px; gap: 12px; }
}

/* ---------- typographic portrait (few small letters instead of a photo) ---------- */
.type-portrait { position: relative; aspect-ratio: 3 / 4; height: auto; background: var(--grey-100); overflow: hidden; }
.type-portrait .tl { position: absolute; font-family: var(--mono); font-size: 13px; line-height: 1; transform: translate(-50%, -50%); color: var(--black); transition: color .3s, transform .5s var(--ease); }
.type-portrait .tl.b { font-family: var(--sans); font-weight: 500; font-size: 18px; }
.type-portrait .tl.i { font-family: var(--serif); font-style: italic; font-size: 20px; }
.type-portrait .tl.acc { background: var(--accent); padding: 1px 3px; }
.type-portrait .tl.near { transform: translate(-50%, -50%) scale(1.6); }
.type-portrait .tp-sign { position: absolute; left: 16px; top: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; color: var(--grey-500); }
/* interlude: lower field so the gap above the pile matches the gap below */
.tp-field { height: 140px; }
@media (max-width: 800px) {
  .tp-field { height: 130px; }
}
.typo-play { margin-top: calc(80px - var(--sec)); }
@media (max-width: 800px) {
  .typo-play { margin-top: calc(60px - var(--sec)); }
}

/* ---------- tablet (iPad): stack service rows so nothing overflows ---------- */
@media (max-width: 1100px) {
  .drow { grid-template-columns: 1fr auto; row-gap: 12px; padding: 28px 0; }
  .drow .mono { grid-column: 1; grid-row: 1; }
  .drow .arr { grid-column: 2; grid-row: 1; font-size: 28px; }
  .drow .dt, .drow .dd { grid-column: 1 / -1; }
  .drow .dd { max-width: 620px; }
}
/* header: same gap between logo, label, clock and the right group */
.header, .menu-head { display: flex; justify-content: space-between; }
/* hero: only the two actions remain — stacked, second one centred under the button */
.intro-main { grid-column: 2; }
.hero-actions { flex-direction: column; align-items: center; gap: 24px; width: fit-content; }
@media (max-width: 800px) {
  .intro-main { grid-column: auto; }
  .hero-actions { width: 100%; }
}
/* contact: "copy address" lines up with "[ Projekt anfragen ]" above it */
.mb-copy { font-size: 13px; text-transform: none; }
/* footer: e-mail no larger than the lines around it */
.foot-grid a[href^="mailto"] { font-size: 11px; }
/* web design examples under the graphic design portfolio */

/* ---------- FAQ ---------- */
.h2 + .faq { margin-top: 80px; }
.faq-item { border-top: 1px solid var(--black); }
.faq-item:last-child { border-bottom: 1px solid var(--black); }
.faq-item summary { display: grid; grid-template-columns: 160px 1fr 40px; gap: var(--gap); align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.faq-x { justify-self: end; font-size: 32px; font-weight: 400; line-height: 1; transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1); }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-a { padding: 0 40px 32px calc(160px + var(--gap)); max-width: 900px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.32; }
.faq-item summary:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover .faq-q { color: var(--grey-500); }
}
@media (max-width: 800px) {
  .h2 + .faq { margin-top: 40px; }
  .faq-item summary { grid-template-columns: 1fr 28px; row-gap: 6px; padding: 18px 0; }
  .faq-item summary .mono { grid-column: 1 / -1; }
  .faq-a { padding: 0 0 22px; }
}

/* ---------- cookie / consent notice ---------- */
.consent { position: fixed; left: var(--m); bottom: var(--m); z-index: 80; width: min(420px, calc(100vw - 2 * var(--m))); background: var(--white); color: var(--black);
  border: 1px solid var(--black); padding: 22px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(12px); transition: opacity .2s cubic-bezier(0.23, 1, 0.32, 1), transform .2s cubic-bezier(0.23, 1, 0.32, 1); }
.consent.is-open { opacity: 1; transform: none; transition-duration: .3s; }
.consent p { font-size: 14px; line-height: 1.4; }
.consent p a { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions button { padding: 12px 18px; border-radius: 100px; border: 1px solid var(--black); transition: transform .16s ease-out, background-color .2s, color .2s; }
.consent-actions button:active { transform: scale(0.97); }
.consent-yes { background: var(--black); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .consent-yes:hover { background: var(--accent); color: var(--black); }
  .consent-no:hover { background: var(--grey-100); }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transform: none; }
}
.consent-open { font: inherit; text-transform: inherit; letter-spacing: inherit; color: var(--white); }
.consent-open:hover { color: var(--accent); }

/* ---------- FAQ on its own page; small link to it under the contact bar ---------- */
.faq-page .h2 + .faq { margin-top: 64px; }
.mb-faq { font-size: 13px; text-transform: none; }

/* ---------- other works: plain list, not clickable ---------- */
.plist { border-bottom: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 3fr 4fr 5fr; column-gap: var(--gap); row-gap: 6px; align-items: baseline; width: 100%; padding: 18px 0; border-top: 1px solid var(--line); text-align: left; }
.pr-title { font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.pr-scope { grid-column: 3; }
.h2 + .plist { margin-top: 64px; }
@media (max-width: 800px) {
  .prow { grid-template-columns: 1fr; padding: 16px 0; }
  .pr-scope { grid-column: auto; }
  .h2 + .plist { margin-top: 32px; }
}

/* ---------- overview: one square picture built from the group pictures of all print topics ---------- */
.uebersicht { display: block; width: min(100%, 860px); height: auto; margin: 72px auto 0; }

/* ---------- print topics: two per row, group picture left, lined text right ending at the picture's bottom edge ---------- */
.topics { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 96px; margin-top: 24px; }
.topic { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 24px; align-items: end; text-align: left; cursor: pointer; }
.topic-img { display: block; overflow: hidden; background: var(--grey-100); }
.topic-img img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.topic-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.topic-title { font-weight: 500; font-size: clamp(30px, 3vw, 44px); line-height: 0.95; letter-spacing: -0.04em; padding-bottom: 6px; }
.topic-facts { display: block; }
.topic-facts > span { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--black); }
.topic-facts i { font-style: normal; color: var(--grey-500); }
.topic-facts b { font-weight: 400; }
.topic-facts .topic-go { grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--black); }
.topic-go b { text-transform: none; }
.topic-go em { font: 500 18px/1 var(--sans); transition: transform .45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .topic:hover .topic-img img { transform: scale(1.03); }
  .topic:hover .topic-go em { transform: translateX(6px); }
  .topic:hover .topic-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
.topic:active .topic-img img { transform: scale(0.99); }
.topic:focus-visible { outline: 2px solid var(--black); outline-offset: 6px; }

/* ---------- web projects: three tiles in a row, picture above, lined text below; each opens its overview ---------- */
.sites { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 72px; margin-top: 64px; }
.topic.site { grid-template-columns: 1fr; gap: 20px; align-items: start; }
.site .topic-img { outline: 1px solid var(--line); outline-offset: -1px; }
.site .topic-title { font-size: clamp(26px, 2.4vw, 36px); }

/* ---------- topic details (opened from a topic title) ---------- */
.tmodal { position: fixed; inset: 0; z-index: 65; background: var(--white); overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--m) 80px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s .2s; }
.tmodal.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.tm-head { position: sticky; top: 0; z-index: 1; background: var(--white); display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--black); }
.tm-close { font-size: 14px; padding: 8px 0 8px 16px; }
.tm-close:hover { color: var(--grey-500); }
.tm-body { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; padding-top: 56px; align-items: start; }
.tm-text { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.tm-text .feature-facts { width: 100%; }
.tm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.tm-gallery.wide { grid-template-columns: 1fr; }
.tm-gallery.cards { grid-template-columns: repeat(5, 1fr); gap: 0; }
.tm-gallery img { display: block; width: 100%; height: auto; }
.tm-gallery img:not([src]) { display: none; }
.tm-gallery img.paper, .tm-gallery video.paper { outline: 1px solid var(--line); outline-offset: -1px; }
.tm-gallery video { display: block; width: 100%; height: auto; background: var(--grey-100); }
.tm-gallery.web video, .tm-gallery.web .span { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) {
  .tmodal, .tmodal.is-open { transform: none; }
}
.is-capture .tmodal, .is-capture .tmodal.is-open { transition: none; transform: none; }
@media (max-width: 800px) {
  .uebersicht { margin-top: 40px; }
  .topics { grid-template-columns: 1fr; row-gap: 72px; margin-top: 8px; }
  .topic { grid-template-columns: 1fr; gap: 20px; }
  .topic-title { font-size: 40px; }
  .sites { grid-template-columns: 1fr; margin-top: 40px; }
  .site .topic-title { font-size: 32px; }
  .tm-body { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .tm-text { position: static; gap: 24px; }
  .tm-gallery { gap: 12px; }
  .tm-gallery.cards { grid-template-columns: repeat(4, 1fr); margin: 0 -6px; }
}

/* ---------- iPhone: more room around everything ---------- */
@media (max-width: 800px) {
  :root { --m: 24px; }
  .hero { padding-top: 140px; padding-bottom: 150px; gap: 40px; }
  .sec-head { padding-bottom: 32px; }
  .h2 + .rows { margin-top: 48px; }
  .drow { padding: 32px 0; row-gap: 14px; }
  .others { padding-top: 160px; }
  .prow { padding: 26px 0; row-gap: 10px; }
  .pr-title { font-size: 22px; }
  .h2 + .plist { margin-top: 40px; }
  .more { padding-top: 96px; }
  .ph-intro { margin-bottom: 80px; }
  .photos { gap: 96px; }
  .cta { padding-top: 120px; padding-bottom: 120px; }
}
