/* Layout: 12-column Swiss grid, full-bleed photography, one grotesk family carried by size and weight alone. */
:root {
  --bg: #f1f1ee;
  --ink: #121211;
  --muted: #74736e;
  --line: rgba(18, 18, 17, 0.14);
  --live: #e2231a;
  --accent: #ffd200;   /* Dortmund signal yellow */
  --on-accent: #121211;
  --bar: rgba(241, 241, 238, 0.82);

  --f-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(16px, 2.6vw, 40px);
  --gap: clamp(12px, 1.6vw, 24px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f0e; --ink: #ecebe7; --muted: #8d8c86; --line: rgba(236, 235, 231, 0.14); --live: #ff3b30; --bar: rgba(15, 15, 14, 0.78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f0e; --ink: #ecebe7; --muted: #8d8c86; --line: rgba(236, 235, 231, 0.14); --live: #ff3b30; --bar: rgba(15, 15, 14, 0.78);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- Grid ---------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-inline: var(--pad); }
.full { grid-column: 1 / -1; }

/* ---------- Type ---------- */
.mega {
  font-weight: 500;
  font-size: clamp(3.1rem, 10.4vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: -0.058em;
  text-wrap: balance;
}
.big { font-weight: 500; font-size: clamp(2rem, 5vw, 5rem); line-height: 0.95; letter-spacing: -0.05em; }
.mid { font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
.meta { font: 400 0.75rem/1.4 var(--f-mono); letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.meta.ink { color: var(--ink); }
.body { font-size: 1.05rem; line-height: 1.5; max-width: 38ch; color: var(--ink); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* line reveal on load */
.l { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.l > span { display: block; animation: rise 1.1s var(--ease) both; }
.l:nth-child(2) > span { animation-delay: 0.08s; }
.l:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes rise { from { transform: translateY(105%); } }
.fade { animation: fade 1.2s 0.35s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Links ---------- */
.u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease); padding-bottom: 2px; }
.u:hover { background-size: 0 1px; background-position: 100% 100%; }
.hl { background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.16em no-repeat; }
.arrow { display: inline-block; transition: transform 0.5s var(--ease); }
a:hover .arrow { transform: translateX(0.25em); }

/* ---------- Nav bar ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bar); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease);
}
.hdr.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 28px; height: 64px; padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.03em; }
.brand .logo { height: 58px; width: auto; margin-block: -16px; margin-left: -6px; transition: transform .6s var(--ease); }
.brand:hover .logo { transform: rotate(-4deg) scale(1.06); }
.brand > span { position: relative; }
.brand > span::after { content: ""; position: absolute; right: -9px; top: 2px; width: 6px; height: 6px; background: var(--accent); }
.hdr .clock { font: 400 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.hdr nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.93rem; font-weight: 500; }
.hdr nav a { position: relative; padding-block: 6px; }
.hdr nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hdr nav a:hover::after, .hdr nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr sup { font: 400 0.6rem/1 var(--f-mono); margin-left: 2px; color: var(--muted); }
.lang { display: flex; gap: 2px; font: 500 0.72rem/1 var(--f-mono); }
.lang button { background: none; border: 0; color: var(--muted); font: inherit; padding: 7px 7px; cursor: pointer; letter-spacing: .04em; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.btn-y { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: 0.9rem; padding: 11px 18px; border-radius: 999px; transition: transform .4s var(--ease); white-space: nowrap; }
.btn-y:hover { transform: translateY(-1px); }
.btn-y.lg { font-size: 1.02rem; padding: 18px 28px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: 500 0.95rem/1 var(--f-sans); padding: 8px 0; cursor: pointer; }

.overlay {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--bg);
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); visibility: hidden;
}
.overlay.open { clip-path: inset(0); visibility: visible; }
.overlay .top { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.overlay .top button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.overlay nav { display: grid; gap: 4px; }
.overlay nav a { font-weight: 500; font-size: clamp(2.6rem, 13vw, 5rem); letter-spacing: -0.05em; line-height: 1.02; }
.overlay nav a[aria-current="page"] { color: var(--accent); }
.overlay .lang button { color: inherit; opacity: .6; }
.overlay .lang button[aria-pressed="true"] { opacity: 1; color: var(--on-accent); }

/* page curtain */
.curtain { position: fixed; inset: 0; z-index: 80; background: var(--accent); pointer-events: none; transform: translateY(-100%); animation: lift 0.9s var(--ease) both; }
@keyframes lift { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.curtain.leave { animation: drop 0.55s var(--ease) both; }
@keyframes drop { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- Sections ---------- */
.hero { padding-top: clamp(140px, 24vh, 260px); padding-bottom: clamp(40px, 6vw, 80px); row-gap: clamp(28px, 4vw, 56px); }
.hero h1 { grid-column: 1 / -1; }
.hero .aside { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: end; }
.hero .aside.left { grid-column: 1 / 7; }
.sec { padding-block: clamp(80px, 12vw, 180px); }
.sec-tight { padding-block: clamp(48px, 7vw, 100px); }
.head { align-items: baseline; padding-bottom: clamp(28px, 4vw, 48px); }
.head .t { grid-column: 1 / 7; }
.head .c { grid-column: 12 / 13; justify-self: end; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: #1a1a18; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.media.par img { height: 118%; will-change: transform; }
.bleed { aspect-ratio: 16 / 8; max-height: 92vh; width: 100%; max-width: 100%; }
.bleed-tall { aspect-ratio: 16 / 10; width: 100%; max-width: 100%; max-height: 100vh; }
.cap { display: flex; justify-content: space-between; gap: 16px; padding: 12px var(--pad) 0; }
.reveal.pending { clip-path: inset(12% 0 0 0); }
.reveal.pending img { transform: scale(1.12); }
.reveal { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }

/* ---------- Work grid (home) ---------- */
.works { row-gap: clamp(56px, 8vw, 120px); }
.work { display: grid; gap: 14px; }
.work .media { aspect-ratio: 4 / 5; max-width: 100%; }
.work:hover .media img { transform: scale(1.035); }
.work .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.work .name { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; }
.w1 { grid-column: 1 / 7; }
.w2 { grid-column: 8 / 13; margin-top: clamp(80px, 14vw, 220px); }
.w3 { grid-column: 2 / 6; }
.w4 { grid-column: 7 / 12; margin-top: clamp(40px, 6vw, 100px); }

/* ---------- Rows (services, extras, process) ---------- */
.rows { border-top: 1px solid var(--line); }
.rowi {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline; padding: clamp(18px, 2.4vw, 30px) var(--pad); border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
a.rowi:hover { background: var(--accent); color: var(--on-accent); }
a.rowi:hover .muted, a.rowi:hover .meta { color: inherit; opacity: 0.7; }
.rowi .a { grid-column: 1 / 2; }
.rowi .b { grid-column: 2 / 7; }
.rowi .c { grid-column: 7 / 11; }
.rowi .d { grid-column: 11 / 13; justify-self: end; text-align: right; }

/* ---------- Packages ---------- */
.plans { row-gap: 56px; }
.plan { grid-column: span 4; display: grid; gap: 28px; align-content: start; border-top: 1px solid var(--ink); padding-top: 18px; }
.plan .price { font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -0.055em; line-height: 0.9; }
.plan .price small { font-size: 0.32em; letter-spacing: -0.01em; color: var(--muted); }
.plan li { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.plan .go { font-weight: 500; }

/* ---------- Cases (projects) ---------- */
.case { padding-bottom: clamp(100px, 14vw, 200px); }
.case-head { align-items: baseline; padding-bottom: 20px; }
.case-head .n { grid-column: 1 / 2; }
.case-head h2 { grid-column: 2 / 9; }
.case-head .k { grid-column: 9 / 13; justify-self: end; text-align: right; }
.case-body { padding-top: clamp(28px, 4vw, 56px); row-gap: 36px; align-items: start; }
.case-body .site { grid-column: 1 / 9; }
.case-body .info { grid-column: 10 / 13; display: grid; gap: 28px; position: sticky; top: 90px; }
.info dl { display: grid; gap: 14px; }
.info dt { margin-bottom: 2px; }
.info dd { font-size: 0.98rem; }

/* ---------- Concept site frames ---------- */
.frame { container-type: inline-size; border: 1px solid var(--line); background: var(--bg); max-width: 100%; }
.frame .url { font: 400 11px/1 var(--f-mono); color: var(--muted); text-align: center; padding: 10px; border-bottom: 1px solid var(--line); }
.site-in { position: relative; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; }
.site-in > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-in .shade { position: absolute; inset: 0; }
.site-in .nav { position: absolute; top: 4cqw; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; align-items: center; font-size: 1.6cqw; }
.site-in .nav .lk { display: flex; gap: 3cqw; }
.site-in .hd { position: absolute; left: 5cqw; bottom: 6cqw; right: 5cqw; display: grid; gap: 2.2cqw; }
.site-in .t { line-height: 0.92; }
.site-in .s { font-size: 1.7cqw; max-width: 40ch; opacity: 0.88; line-height: 1.4; }
.site-in .b { justify-self: start; font-size: 1.5cqw; padding: 1.3cqw 2.4cqw; }

.s-cafe .shade { background: linear-gradient(0deg, rgba(30,22,15,.85), rgba(30,22,15,.15) 70%); }
.s-cafe .logo { font: italic 400 2.6cqw/1 "Instrument Serif", Georgia, serif; }
.s-cafe .t { font: 400 9cqw/0.9 "Instrument Serif", Georgia, serif; letter-spacing: -0.02em; }
.s-cafe .b { background: #f3e9dc; color: #2b2119; border-radius: 99px; }

.s-maler { color: #111; }
.s-maler > img { left: 42%; width: 58%; }
.s-maler .panel { position: absolute; inset: 0 58% 0 0; background: #f4f1ea; }
.s-maler .logo { font: 800 1.9cqw/1 "Archivo", Arial, sans-serif; letter-spacing: 0.04em; }
.s-maler .hd { right: 60%; bottom: 7cqw; }
.s-maler .t { font: 800 6.4cqw/0.9 "Archivo", Arial, sans-serif; letter-spacing: -0.04em; text-transform: uppercase; }
.s-maler .t span { color: #e3561d; }
.s-maler .s { opacity: 0.7; }
.s-maler .b { background: #111; color: #fff; }
.s-maler .nav .lk { color: #111; }
.s-maler .nav { right: 61%; }
.s-maler .tag { position: absolute; right: 3cqw; bottom: 3cqw; font: 500 1.3cqw/1.2 "Geist Mono", monospace; background: #f4f1ea; color: #111; padding: 1cqw 1.4cqw; }

.s-physio { color: #0f3b38; }
.s-physio > img { inset: 0 0 0 50%; width: 50%; }
.s-physio .panel { position: absolute; inset: 0 50% 0 0; background: #e8efec; }
.s-physio .logo { font: 600 1.8cqw/1 "Geist", sans-serif; letter-spacing: -0.02em; }
.s-physio .nav { right: 53%; }
.s-physio .hd { right: 54%; bottom: 6cqw; }
.s-physio .t { font: 500 5.6cqw/0.98 "Geist", sans-serif; letter-spacing: -0.045em; }
.s-physio .slots { display: flex; gap: 1cqw; flex-wrap: wrap; }
.s-physio .slots span { font: 500 1.4cqw/1 "Geist Mono", monospace; padding: 1.2cqw 1.6cqw; border: 1px solid rgba(15,59,56,.25); }
.s-physio .slots .on { background: #0f3b38; color: #e8efec; border-color: #0f3b38; }

.s-barber .shade { background: linear-gradient(90deg, rgba(10,10,10,.88), rgba(10,10,10,.2) 70%); }
.s-barber .logo { font: 700 1.9cqw/1 "Big Shoulders Display", Impact, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }
.s-barber .t { font: 800 12cqw/0.8 "Big Shoulders Display", Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; }
.s-barber .list { font: 400 1.5cqw/1.8 "Geist Mono", monospace; display: grid; max-width: 30cqw; }
.s-barber .list span { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); }
.s-barber .b { background: #d6b77a; color: #0a0a0a; }

/* ---------- Studio ---------- */
.studio { row-gap: 48px; align-items: end; }
.studio .media { grid-column: 6 / 13; aspect-ratio: 4 / 3; max-width: 100%; }
.studio .txt { grid-column: 1 / 5; display: grid; gap: 22px; }

/* ---------- Contact ---------- */
.mail { grid-column: 1 / -1; font-weight: 500; font-size: clamp(1.9rem, 6.6vw, 7.4rem); letter-spacing: -0.055em; line-height: 1; word-break: break-word; }
.contact { row-gap: 56px; align-items: start; }
.contact .details { grid-column: 1 / 5; display: grid; gap: 26px; }
.contact form { grid-column: 6 / 13; display: grid; gap: 34px; }
.fld { display: grid; gap: 6px; }
.fld input, .fld textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink);
  font: 500 clamp(1.2rem, 2vw, 1.6rem)/1.3 var(--f-sans); letter-spacing: -0.02em; padding: 8px 0 14px; border-radius: 0;
}
.fld textarea { resize: vertical; min-height: 3.2em; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.consent input { accent-color: var(--ink); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.send { justify-self: start; background: var(--accent); color: var(--on-accent); border: 0; cursor: pointer; font: 500 1.05rem/1 var(--f-sans); padding: 20px 30px; border-radius: 999px; }
.err { color: var(--live); font-size: 0.9rem; }
.out { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 18px; }
.out pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 400 0.85rem/1.6 var(--f-mono); color: var(--muted); }
.out .acts { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 500; }
.copy { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.legal { row-gap: 32px; }
.legal > div { grid-column: span 4; font-size: 0.85rem; color: var(--muted); display: grid; gap: 10px; align-content: start; }
.legal address { font-style: normal; }
.legal .meta { color: var(--ink); }

/* ---------- Footer ---------- */
.ftr { padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.ftr .cols { row-gap: 32px; padding-bottom: clamp(40px, 6vw, 80px); }
.ftr .cols > div { grid-column: span 3; display: grid; gap: 6px; align-content: start; font-size: 0.95rem; }
.ftr .cols .meta { margin-bottom: 8px; }
.ftr .say { grid-column: 1 / 7 !important; }
.wordmark {
  display: inline-block; font-weight: 600; letter-spacing: -0.065em; line-height: 0.74; white-space: nowrap;
  font-size: 21.4vw; padding-inline: var(--pad); margin-left: -0.04em; padding-bottom: 0.08em;
}
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); margin-right: 10px; vertical-align: 1px; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hdr .clock, .hdr nav, .hdr .btn-y { display: none; }
  .hdr .lang { margin-left: auto; }
  .menu-btn { display: block; }
  .hero .aside, .hero .aside.left { grid-column: 1 / -1; }
  .w1, .w2, .w3, .w4 { grid-column: 1 / -1; margin-top: 0; }
  .w2, .w4 { grid-column: 3 / -1; }
  .w3 { grid-column: 1 / 11; }
  .plan { grid-column: 1 / -1; }
  .rowi .a { grid-column: 1 / 3; }
  .rowi .b { grid-column: 3 / 9; }
  .rowi .c { display: none; }
  .rowi .d { grid-column: 9 / 13; }
  .case-head h2 { grid-column: 2 / -1; }
  .case-head .k { grid-column: 2 / -1; justify-self: start; text-align: left; padding-top: 8px; }
  .case-body .site, .case-body .info { grid-column: 1 / -1; position: static; }
  .studio .media, .studio .txt { grid-column: 1 / -1; }
  .contact .details, .contact form { grid-column: 1 / -1; }
  .legal > div { grid-column: 1 / -1; }
  .ftr .cols > div { grid-column: span 6; }
  .ftr .say { grid-column: 1 / -1 !important; }
  .bleed { aspect-ratio: 4 / 5; }
  .bleed-tall { aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  .hero .aside { grid-template-columns: 1fr; }
  .w2, .w4, .w3 { grid-column: 1 / -1; }
  .rowi .a { display: none; }
  .rowi .b { grid-column: 1 / 8; }
  .rowi .d { grid-column: 8 / 13; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .curtain { display: none; }
  .reveal.pending { clip-path: none; }
  .reveal.pending img { transform: none; }
}

@media (max-width: 1180px) { .hdr .clock { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--pad)); z-index: 70;
  width: min(420px, calc(100% - 2 * var(--pad))); background: var(--ink); color: var(--bg);
  padding: 22px; display: grid; gap: 14px; font-size: 0.9rem; line-height: 1.5;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  transform: translateY(0); transition: transform .7s var(--ease), opacity .5s;
}
.cookie[hidden] { display: none !important; }
.cookie.out { transform: translateY(30px); opacity: 0; }
.cookie b { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.cookie b::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.cookie p { opacity: .75; }
.cookie .acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie button { font: 500 0.88rem/1 var(--f-sans); border: 0; cursor: pointer; padding: 12px 16px; border-radius: 99px; }
.cookie .yes { background: var(--accent); color: var(--on-accent); }
.cookie .no { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 35%, transparent); }
.cookie a { margin-left: auto; opacity: .7; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }

/* ---------- Devices ---------- */
.devices { position: relative; padding-bottom: 4%; max-width: 100%; }
.mac { container-type: inline-size; width: 84%; max-width: 100%; }
.iphone { container-type: inline-size; position: absolute; right: 0; bottom: 0; width: 19%; }
.mac .lid { width: 88cqw; margin-inline: auto; padding: 0.32cqw; border-radius: 2.6cqw 2.6cqw 0.7cqw 0.7cqw; background: linear-gradient(180deg, #d4d5d9, #9fa0a5); }
.mac .bezel { position: relative; background: #050505; border-radius: 2.3cqw 2.3cqw 0.5cqw 0.5cqw; padding: 1.5cqw 1.5cqw 2.3cqw; }
.mac .notch { position: absolute; z-index: 4; top: 1.4cqw; left: 50%; width: 9.5cqw; height: 1.75cqw; transform: translateX(-50%); background: #050505; border-radius: 0 0 0.9cqw 0.9cqw; }
.mac .notch::after { content: ""; position: absolute; left: 50%; top: 0.55cqw; width: 0.55cqw; height: 0.55cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3550, #0a0a0a 70%); transform: translateX(-50%); }
.mac .screen { position: relative; aspect-ratio: 16 / 10.35; overflow: hidden; border-radius: 0.5cqw; background: #000; display: flex; flex-direction: column; }
.mac .menubar { height: 1.75cqw; flex: none; display: flex; justify-content: space-between; align-items: center; padding-inline: 1.2cqw; background: #1c1c1e; color: #e8e8ea; font: 500 0.85cqw/1 -apple-system, "Geist", sans-serif; }
.mac .menubar span:first-child { font-weight: 700; }
.mac .toolbar { height: 2.9cqw; flex: none; display: flex; align-items: center; gap: 0.55cqw; padding-inline: 1.1cqw; background: #f2f2f4; border-bottom: 1px solid #dcdce0; }
.mac .toolbar i { width: 0.8cqw; height: 0.8cqw; border-radius: 50%; background: #ff5f57; flex: none; }
.mac .toolbar i:nth-child(2) { background: #febc2e; }
.mac .toolbar i:nth-child(3) { background: #28c840; }
.mac .toolbar .url { margin-inline: auto; width: 34cqw; height: 1.7cqw; border-radius: 0.5cqw; background: #e3e3e7; color: #55555b; display: flex; align-items: center; justify-content: center; gap: 0.4cqw; font: 500 0.9cqw/1 -apple-system, "Geist", sans-serif; }
.mac .toolbar .url::before { content: ""; width: 0.6cqw; height: 0.7cqw; border: 0.14cqw solid #8a8a90; border-radius: 0.15cqw; border-top-width: 0.35cqw; }
.mac .base { position: relative; height: 2.5cqw; border-radius: 0 0 6cqw 6cqw / 0 0 2.4cqw 2.4cqw; background: linear-gradient(180deg, #8c8d92 0, #e4e5e9 14%, #c9cacf 55%, #8f9095 100%); }
.mac .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 14cqw; height: 0.95cqw; transform: translateX(-50%); border-radius: 0 0 1.2cqw 1.2cqw; background: linear-gradient(180deg, #a5a6ab, #d6d7db); }
.mac .shadow, .iphone .shadow { position: absolute; left: 4%; right: 4%; bottom: -3cqw; height: 3cqw; background: radial-gradient(50% 50% at 50% 0, rgba(0,0,0,.28), transparent); pointer-events: none; }

.iphone .frame-i { position: relative; aspect-ratio: 393 / 852; border-radius: 16cqw; padding: 1.5cqw; background: linear-gradient(140deg, #9a9b9f, #e2e3e6 22%, #7d7e82 48%, #c2c3c7 78%, #8a8b8f); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.iphone .frame-i::before, .iphone .frame-i::after { content: ""; position: absolute; width: 1.1cqw; border-radius: 1cqw; background: #8a8b8f; }
.iphone .frame-i::before { left: -0.8cqw; top: 22%; height: 7%; box-shadow: 0 9cqw 0 #8a8b8f, 0 25cqw 0 #8a8b8f; }
.iphone .frame-i::after { right: -0.8cqw; top: 28%; height: 13%; }
.iphone .bez { height: 100%; border-radius: 14.6cqw; background: #000; padding: 3.4cqw; }
.iphone .screen { position: relative; height: 100%; border-radius: 11.4cqw; overflow: hidden; background: #000; }
.iphone .island { position: absolute; z-index: 4; top: 2.8cqw; left: 50%; width: 31cqw; height: 9cqw; transform: translateX(-50%); background: #000; border-radius: 99px; }
.iphone .status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 14cqw; display: flex; justify-content: space-between; align-items: center; padding: 1cqw 9cqw 0 11cqw; color: #fff; mix-blend-mode: difference; font: 600 4cqw/1 -apple-system, "Geist", sans-serif; pointer-events: none; }
.iphone .status .ic { display: flex; gap: 1.4cqw; align-items: center; }
.iphone .status .ic i { display: block; background: currentColor; }
.iphone .status .sig { width: 5.4cqw; height: 3.2cqw; clip-path: polygon(0 100%, 25% 100%, 25% 70%, 37% 70%, 37% 100%, 50% 100%, 50% 45%, 62% 45%, 62% 100%, 75% 100%, 75% 20%, 87% 20%, 87% 100%, 100% 100%, 100% 0, 88% 0); }
.iphone .status .bat { width: 7cqw; height: 3.4cqw; border-radius: 1cqw; background: none !important; box-shadow: inset 0 0 0 0.35cqw currentColor; position: relative; }
.iphone .status .bat::after { content: ""; position: absolute; inset: 0.8cqw 1.6cqw 0.8cqw 0.8cqw; background: currentColor; border-radius: 0.4cqw; }
.iphone .home-ind { position: absolute; z-index: 3; bottom: 2.2cqw; left: 50%; width: 36cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 99px; background: #fff; mix-blend-mode: difference; pointer-events: none; }

.vp-wrap { position: relative; flex: 1; overflow: hidden; background: #111; }
.iphone .vp-wrap { position: absolute; inset: 0; }
.vp { position: absolute; top: 0; left: 0; transform-origin: 0 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.vp::-webkit-scrollbar { display: none; }
.vp .loading { color: #777; font: 400 14px/1 var(--f-mono); padding: 40px; }
.dev-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 32px; }
.hint { display: inline-flex; align-items: center; gap: 10px; }
.hint::before { content: ""; width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; background: linear-gradient(currentColor, currentColor) 50% 6px / 2px 6px no-repeat; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 50% { background-position: 50% 12px; } }
.showcase { padding-inline: var(--pad); }
@media (max-width: 700px) {
  .mac { width: 100%; }
  .iphone { position: relative; width: 62%; margin: 40px auto 0; right: auto; }
  .devices { padding-bottom: 0; }
}

/* =================== Motion & hover =================== */
/* text roll: label slides up, a copy rises from below (text-shadow, survives translation) */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll > span { display: inline-block; text-shadow: 0 1.2em 0 currentColor; transition: transform .55s var(--ease); }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.2em); }
.btn-y { transition: transform .5s var(--ease), box-shadow .4s var(--ease); }
.btn-y:hover { box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.send { transition: transform .5s var(--ease), box-shadow .4s var(--ease); }
.send:hover { box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }

/* scroll progress */
.progress { position: fixed; z-index: 55; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 63px); height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* cursor label */
.cursor { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; }
.cursor span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0); display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 500 0.82rem/1 var(--f-sans); letter-spacing: -0.01em; transition: transform .45s var(--ease); }
.cursor.on span { transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* headline marker grows in after load */
.hero .hl { animation: mark 1s 0.7s var(--ease) both; }
@keyframes mark { from { background-size: 0 0.16em; } }

/* word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease) var(--d, 0s); }
.split.in .w > span { transform: none; }

/* generic rise */
.rise { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* service rows: yellow sweep + indent */
a.rowi { position: relative; overflow: hidden; isolation: isolate; }
a.rowi:hover { background: transparent; }
a.rowi::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
a.rowi:hover::before { transform: scaleY(1); }
a.rowi .b, a.rowi .d { transition: transform .55s var(--ease); }
a.rowi:hover .b { transform: translateX(14px); }
a.rowi:hover .d { transform: translateX(-6px); }
a.rowi::after { content: "→"; position: absolute; right: var(--pad); top: 50%; transform: translate(20px, -50%); opacity: 0; font-size: 1.4rem; transition: transform .55s var(--ease), opacity .4s; }
a.rowi:hover::after { opacity: 1; transform: translate(0, -50%); }
a.rowi:hover .d { transform: translateX(-44px); }
div.rowi { transition: padding-left .5s var(--ease); }
div.rowi:hover { padding-left: calc(var(--pad) + 10px); }

/* work cards */
.work .media::after { content: "→"; position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: 50%; font-size: 1.2rem; transform: scale(0) rotate(-45deg); transition: transform .55s var(--ease); }
.work:hover .media::after { transform: scale(1) rotate(0); }
.work .media img { transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.works:hover .work:not(:hover) .media img { filter: grayscale(.7) brightness(.85); }
.work .name { background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 0.3em no-repeat; transition: background-size .6s var(--ease); }
.work:hover .name { background-size: 100% 0.3em; }
[data-cursor] { cursor: none; }
@media (hover: none) { [data-cursor] { cursor: auto; } }
.devices[data-cursor] { cursor: ns-resize; }

/* packages */
.plan { transition: border-color .4s; position: relative; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.plan:hover::before { transform: scaleX(1); }
.plan .price { transition: transform .6s var(--ease); }
.plan:hover .price { transform: translateX(8px); }
.plan li { transition: padding-left .4s var(--ease); }
.plan li:hover { padding-left: 8px; }

/* big images: soft zoom on hover */
.bleed img, .bleed-tall img, .studio .media img { transition: transform 1.6s var(--ease), scale 1.6s var(--ease); }
.bleed:hover img, .bleed-tall:hover img, .studio .media:hover img { scale: 1.04; }

/* devices */
.devices { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.devices.pending-d { opacity: 0; transform: translateY(60px); }
.devices.pending-d .iphone { transform: translateY(80px); }
.mac, .iphone { will-change: transform; }
.iphone { transition: transform 1.4s var(--ease) .1s; }
.mac .screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 40%); }

/* marquee band */
.marquee { overflow: hidden; background: var(--accent); color: var(--on-accent); padding-block: clamp(14px, 2vw, 26px); margin-bottom: clamp(48px, 7vw, 100px); }
.mq-track { display: flex; width: max-content; align-items: center; gap: clamp(20px, 3vw, 44px); font-weight: 500; font-size: clamp(1.8rem, 4.6vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; white-space: nowrap; will-change: transform; padding-right: clamp(20px, 3vw, 44px); }
.mq-track i { width: 0.36em; height: 0.36em; background: var(--on-accent); border-radius: 50%; flex: none; }

/* footer */
.ftr .big { display: inline-block; transition: color .3s; }
.ftr .big:hover { color: var(--muted); }
.ftr .big:hover .arrow { transform: translateX(0.3em) rotate(-45deg); }
.wordmark .ch { display: inline-block; transition: transform .6s var(--ease), color .3s; transition-delay: calc(var(--i) * 0.025s); }
.wordmark:hover .ch { transform: translateY(-6%); color: var(--accent); }
.wordmark .ch:hover { transform: translateY(-12%) !important; }
.ftr .cols a.u, .ftr .meta { transition: color .3s; }
a.meta:hover, .linkbtn:hover { color: var(--ink); }

/* menu overlay: staggered links */
.overlay nav a { transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease), opacity .6s, color .3s; }
.overlay.open nav a { transform: none; opacity: 1; }
.overlay.open nav a:nth-child(1) { transition-delay: .12s; } .overlay.open nav a:nth-child(2) { transition-delay: .17s; }
.overlay.open nav a:nth-child(3) { transition-delay: .22s; } .overlay.open nav a:nth-child(4) { transition-delay: .27s; }
.overlay.open nav a:nth-child(5) { transition-delay: .32s; }
.overlay nav a:hover { color: var(--accent); }

/* cookie banner entrance */
.cookie:not([hidden]) { animation: ck-in .9s 1.2s var(--ease) both; }
@keyframes ck-in { from { transform: translateY(40px); opacity: 0; } }

/* contact inputs: yellow line grows on focus */
.fld { position: relative; }
.fld::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.fld:focus-within::after { transform: scaleX(1); }
.mail { transition: color .4s; }
.mail:hover { color: var(--muted); }
.lang button { transition: background-color .3s, color .3s; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
  .devices.pending-d { opacity: 1; transform: none; }
  .overlay nav a { opacity: 1; transform: none; }
}
.rowi .d { white-space: nowrap; } .rowi .d small { font-size: 0.5em; letter-spacing: 0; margin-right: 4px; }

/* portrait */
.media.portrait { aspect-ratio: 4 / 5; max-width: 100%; }
.studio .media.portrait { grid-column: 7 / 12; aspect-ratio: 4 / 5; }
.me { row-gap: 40px; align-items: end; padding-block: clamp(80px, 10vw, 140px); }
.me .media { grid-column: 1 / 6; }
.me .me-txt { grid-column: 7 / 12; display: grid; gap: 24px; justify-items: start; padding-bottom: 8px; }
.me .me-txt .big { font-size: clamp(1.9rem, 3.8vw, 3.6rem); }
.media.portrait img { transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.media.portrait:hover img { transform: scale(1.03); }
.media.portrait::before { content: ""; position: absolute; z-index: 1; left: 0; bottom: 0; width: 34%; height: 8px; background: var(--accent); }
.overlay .brand .logo { height: 34px; }
@media (max-width: 900px) {
  .me .media, .me .me-txt, .studio .media.portrait { grid-column: 1 / -1; }
}

/* footer signature: draws itself in like being signed */
.sig { padding-inline: var(--pad); padding-bottom: clamp(24px, 4vw, 48px); color: var(--ink); }
.sig .logo { display: block; width: min(62vw, 980px); height: auto; clip-path: inset(0 0 0 0); transition: clip-path 2.2s cubic-bezier(.65,0,.35,1), color .4s; }
.sig.pending .logo { clip-path: inset(0 100% 0 0); }
.sig:hover .logo { color: var(--accent); }
/* studio */
.why { row-gap: 40px; }
.why > div { grid-column: span 4; display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--ink); padding-top: 18px; position: relative; }
.why > div::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.why > div:hover::before { transform: scaleX(1); }
.tools { row-gap: 40px; }
.tool { grid-column: span 12; display: grid; gap: 14px; align-content: start; }
@media (min-width: 700px) { .tool { grid-column: span 6; } }
@media (min-width: 1100px) { .tools { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tool { grid-column: auto; } }
.tool ul { border-top: 1px solid var(--line); }
.tool li { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; transition: padding-left .4s var(--ease), color .3s; position: relative; }
.tool li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; background: var(--accent); transform: translateY(-50%) scale(0); transition: transform .4s var(--ease); }
.tool li:hover { padding-left: 16px; }
.tool li:hover::before { transform: translateY(-50%) scale(1); }
@media (max-width: 900px) { .why > div { grid-column: 1 / -1; } }

/* =================== Floating glass nav (Analogue-style) =================== */
.hdr {
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--pad) 0; pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.corner { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.c-l { justify-self: start; }
.c-r { justify-self: end; }
.hdr.scrolled .c-l { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.hdr .corner .lang { padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.hdr .corner .lang button { border-radius: 8px; padding: 8px 9px; }

.hdr nav.pill {
  position: relative; margin: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px;
  width: clamp(460px, 42vw, 640px); height: 56px; padding: 0 22px; border-radius: 16px; overflow: hidden;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 45%, transparent), 0 14px 34px -22px rgba(0,0,0,.4);
  font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  transition: width .7s var(--ease), background-color .5s, transform .9s var(--ease), opacity .6s;
}
.hdr.scrolled nav.pill { background: color-mix(in srgb, var(--bg) 72%, transparent); width: clamp(440px, 38vw, 600px); }
.pill .side { display: flex; gap: 22px; align-items: center; }
.pill .s-r { justify-content: flex-end; }
.pill .side a { padding-block: 8px; color: color-mix(in srgb, var(--ink) 62%, transparent); transition: color .3s; position: relative; }
.pill .side a:hover, .pill .side a[aria-current="page"] { color: var(--ink); }
.pill .side a::after { display: none; }
.pill .side a[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 50%; width: 5px; height: 5px; background: var(--accent); transform: translateY(-50%); }
.pill sup { font-size: 0.55rem; margin-left: 2px; }
.pill .brand { justify-self: center; }
.pill .brand .logo { height: 52px; margin-block: -12px; margin-left: 0; }
.pill .progress { position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 2px; z-index: 1; }
.pill .menu-btn, .pill .m-cta { display: none; }
.pill .m-cta { justify-self: end; background: var(--accent); color: var(--on-accent); padding: 9px 12px; border-radius: 10px; }
.pill .menu-btn { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); justify-self: start; }

@media (max-width: 900px) {
  .hdr { grid-template-columns: 1fr; }
  .hdr .corner { display: none; }
  .hdr nav.pill { display: grid; width: 100%; grid-template-columns: 1fr auto 1fr; padding: 0 14px; }
  .hdr.scrolled nav.pill { width: 100%; }
  .pill .side { display: none; }
  .pill .menu-btn, .pill .m-cta { display: block; }
}

/* cursor dot (replaces the system cursor on mouse devices) */
.cdot { position: fixed; z-index: 95; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; }
html.has-cdot .cdot { opacity: 1; }
html.has-cdot .cdot.big { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
html.has-cdot .cdot.hide { opacity: 0; }
html.has-cdot, html.has-cdot a, html.has-cdot button, html.has-cdot label { cursor: none; }
html.has-cdot input, html.has-cdot textarea { cursor: text; }
@media (hover: none) { .cdot { display: none; } }

/* =================== Logo intro =================== */
.intro { position: fixed; inset: 0; z-index: 120; pointer-events: auto; }
.no-intro .intro { display: none; }
.intro-bg { position: absolute; inset: 0; background: #121211; clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1); }
.intro-logo { position: fixed; left: 50%; top: 50%; width: min(58vw, 560px); color: #f1f1ee; transform: translate(-50%, -54%); transform-origin: 0 0; z-index: 2; }
.intro-logo .logo { display: block; width: 100%; height: auto; clip-path: inset(0 100% 0 0); }
.intro-logo .pen { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px 6px color-mix(in srgb, var(--accent) 60%, transparent); opacity: 0; }
.intro.go .intro-logo .logo { clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.65,0,.35,1); }
.intro.go .pen { animation: pen 1.5s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes pen { 0% { left: 0; top: 70%; opacity: 1; } 25% { top: 30%; } 50% { top: 62%; } 75% { top: 46%; } 95% { opacity: 1; } 100% { left: 100%; top: 52%; opacity: 0; } }
.intro-meta { position: fixed; left: var(--pad); right: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); display: flex; justify-content: space-between; color: rgba(241,241,238,.55); z-index: 2; transition: opacity .5s; }
.intro-count { color: #f1f1ee; font-size: 1rem; }
.intro.lift .intro-bg { clip-path: inset(0 0 100% 0); }
.intro.lift .intro-meta { opacity: 0; }
.intro.fly .intro-logo { transition: transform 1.1s cubic-bezier(.76,0,.24,1), width 1.1s cubic-bezier(.76,0,.24,1), color 0.9s; color: var(--ink); }
.intro.done { pointer-events: none; }
.intro-on .hdr nav.pill { opacity: 0; transform: translateY(-24px); }
.intro-on .hdr .corner { opacity: 0; }
.intro-hold .pill .brand .logo { opacity: 0; }
.intro-on .l > span, .intro-on .fade, .intro-on .hero .hl { animation-play-state: paused; }
.intro-on .cookie { visibility: hidden; }

/* =================== Website covers =================== */
.covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) var(--gap); padding-inline: var(--pad); }
.cover { display: grid; gap: 14px; align-content: start; min-width: 0; }
.covers .cover:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.cv-img { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 4px; }
.cv-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .6s; }
.cover:hover .cv-img img { transform: scale(1.04); }
.cv-mark { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2.4vw, 32px); line-height: .9; transition: transform .7s var(--ease); }
.cover:hover .cv-mark { transform: translateY(-6px); }
.cv-go { position: absolute; z-index: 3; right: 16px; top: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.15rem; transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease); }
.cover:hover .cv-go { transform: scale(1) rotate(0); }
.cv-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.cv-name { font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.035em; background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 .3em no-repeat; transition: background-size .6s var(--ease); justify-self: start; }
.cover:hover .cv-name { background-size: 100% .3em; }
.cv-txt { font-size: .98rem; max-width: 46ch; }
.covers:hover .cover:not(:hover) .cv-img img { filter: grayscale(.6) brightness(.9); }
/* brand marks on covers, each in the client's own type */
.cv-cafe .cv-img::after { background: linear-gradient(0deg, rgba(63,91,214,.85), rgba(63,91,214,0) 55%); }
.cv-cafe .cv-mark { color: #f4efe6; font: italic 400 clamp(3rem, 7vw, 6.5rem)/.85 "Instrument Serif", Georgia, serif; }
.cv-ocak .cv-img::after { background: linear-gradient(0deg, rgba(23,17,14,.9), rgba(23,17,14,0) 60%); }
.cv-ocak .cv-mark { color: #f3e9dc; font: 400 clamp(3rem, 7vw, 6.5rem)/.85 "DM Serif Display", Georgia, serif; }
.cv-ocak .cv-mark small { display: block; font: 500 .75rem/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: #e8a33d; margin-top: 10px; }
.cv-maler .cv-img::after { background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 50%); }
.cv-maler .cv-mark { color: #fff; font: 800 clamp(3.4rem, 9vw, 8.6rem)/.8 "Archivo", Arial, sans-serif; text-transform: uppercase; letter-spacing: -0.06em; padding-bottom: 6px; }
.cv-kfz .cv-img::after { background: linear-gradient(0deg, rgba(18,20,23,.9), rgba(18,20,23,0) 60%); }
.cv-kfz .cv-mark { color: #e9ebee; font: 700 clamp(3rem, 7vw, 6.4rem)/.85 "Barlow Condensed", "Arial Narrow", sans-serif; text-transform: uppercase; display: flex; gap: 14px; align-items: center; }
.cv-kfz .cv-mark b { background: #1e5bff; color: #fff; padding: 2px 12px; }
.cv-physio .cv-img::after { background: linear-gradient(0deg, rgba(14,59,46,.75), transparent 55%); }
.cv-physio .cv-mark { color: #f6f5f0; font: 350 clamp(2.6rem, 5.6vw, 5.2rem)/.9 "Fraunces", Georgia, serif; letter-spacing: -0.03em; }
.cv-lumi .cv-img::after { background: linear-gradient(0deg, rgba(58,29,43,.7), transparent 55%); }
.cv-lumi .cv-mark { color: #f3e7e2; font: 400 clamp(3rem, 7vw, 6.4rem)/.85 "Italiana", Didot, serif; letter-spacing: .2em; text-transform: uppercase; }
.cv-barber .cv-img::after { background: linear-gradient(0deg, rgba(10,10,10,.8), rgba(10,10,10,.1) 60%); }
.cv-barber .cv-mark { color: #ece7de; font: 800 clamp(3.4rem, 9vw, 8.6rem)/.8 "Big Shoulders Display", Impact, sans-serif; text-transform: uppercase; }
@media (max-width: 760px) {
  .covers { grid-template-columns: 1fr; }
  .covers .cover:nth-child(even) { margin-top: 0; }
}

/* language links (now real links, one URL per language) */
.lang a { color: var(--muted); padding: 8px 9px; border-radius: 8px; letter-spacing: .04em; transition: background-color .3s, color .3s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }
.overlay .lang a { color: inherit; opacity: .6; }
.overlay .lang a[aria-current="true"] { opacity: 1; color: var(--on-accent); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-inline: var(--pad); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding-block: clamp(18px, 2.4vw, 28px); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--f-mono); transition: transform .4s var(--ease); color: var(--muted); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq details p { padding-bottom: 26px; color: var(--muted); max-width: 70ch; font-size: 1.05rem; }

/* Impressum */
.imp { row-gap: 40px; }
.imp > div { grid-column: span 4; display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); padding-top: 16px; }
.imp p { font-size: 1.02rem; line-height: 1.6; }
.ph-y { background: color-mix(in srgb, var(--accent) 45%, transparent); padding-inline: 4px; }
@media (max-width: 900px) { .imp > div { grid-column: 1 / -1; } }

/* =================== Legal pages =================== */
.legal-doc { align-items: start; row-gap: 40px; }
.lg-toc { grid-column: 1 / 4; position: sticky; top: 100px; display: grid; gap: 14px; }
.lg-toc ol { list-style: none; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.lg-toc a { background-size: 0 1px; }
.lg-toc a:hover { color: var(--ink); background-size: 100% 1px; }
.lg-main { grid-column: 5 / 13; display: grid; gap: 0; min-width: 0; }
.lg-sec { border-top: 1px solid var(--line); padding-block: 28px 36px; display: grid; gap: 16px; scroll-margin-top: 90px; }
.lg-sec h2 { display: flex; gap: 18px; align-items: baseline; font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.lg-sec h2 .meta { flex: none; min-width: 3em; }
.lg-body { display: grid; gap: 12px; max-width: 72ch; font-size: 1rem; line-height: 1.65; }
.lg-body ul { list-style: none; display: grid; gap: 8px; }
.lg-body li { padding-left: 18px; position: relative; }
.lg-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--accent); }
.lg-box { border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 12px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.lg-box h3 { font-size: 1.15rem; font-weight: 600; }
.lg-body a { word-break: break-word; }
@media (max-width: 900px) { .lg-toc { position: static; grid-column: 1 / -1; } .lg-main { grid-column: 1 / -1; } }

/* contact form: spam trap + states */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send:disabled { opacity: .6; cursor: progress; }
.done { border-top: 2px solid var(--accent); padding-top: 22px; display: grid; gap: 10px; }
.err-soft { color: var(--muted); font-size: .95rem; }

[hidden] { display: none !important; }
