/* ---------- tokens ---------- */
:root {
  --yellow: #FFD60A;
  --ink: #0A0A0A;
  --ink-2: #1a1a1a;
  --paper: #FAFAF7;
  --paper-2: #ffffff;
  --line: #EAEAE4;
  --muted: #6B6B6B;
  --muted-2: #9A9A95;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --density: 1;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

[data-radius="sharp"] {
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
}
[data-radius="round"] {
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

[data-dark="true"] {
  --ink: #FAFAF7;
  --ink-2: #EAEAE4;
  --paper: #0A0A0A;
  --paper-2: #141412;
  --line: #262624;
  --muted: #9A9A95;
  --muted-2: #6B6B6B;
}

[data-density="compact"] { --density: 0.75; }
[data-density="airy"] { --density: 1.3; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.display { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 600; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: calc(96px * var(--density)) 0; }
.section-tight { padding: calc(64px * var(--density)) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--yellow); border-radius: 50%;
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #0A0A0A; }
.btn-primary:hover { background: #FFDD2E; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-dark { background: var(--ink); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; }
.brand-mark {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--yellow);
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
  font-family: var(--font-display);
}
.brand-mark.inv { background: var(--yellow); color: var(--ink); }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 500;}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- hero shared ---------- */
.hero-kicker { display:flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; color: var(--muted); font-size: 13px;}
.kicker-dot { width:6px; height:6px; border-radius: 50%; background: var(--yellow); display:inline-block; }

/* ---------- hero A / clean ---------- */
.heroA {
  padding: calc(96px * var(--density)) 0 calc(72px * var(--density));
  position: relative;
  overflow: hidden;
}
.heroA h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98; letter-spacing: -0.035em; margin: 0;
  font-weight: 600;
}
.heroA .hl { background: var(--yellow); padding: 0 .15em; color: #0A0A0A;}
.heroA p.lead {
  max-width: 620px; color: var(--muted); font-size: 19px;
  margin: 32px 0 36px; line-height: 1.5;
}
.heroA-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.heroA-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line);}
.heroA-meta .num { font-family: var(--font-display); font-size: 36px; font-weight: 600;}
.heroA-meta .lbl { color: var(--muted); font-size: 13px; margin-top: 4px;}

/* hero side ornament */
.hero-ornament {
  position: absolute; right: -40px; top: 80px;
  width: 420px; height: 420px; pointer-events: none;
}

/* ---------- hero 2 : split image ---------- */
.heroSplit { padding: calc(72px * var(--density)) 0;}
.heroSplit-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;}
.heroSplit h1 { font-family: var(--font-display); font-size: clamp(42px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.03em; margin: 0; font-weight: 600;}
.heroSplit p.lead { color: var(--muted); font-size: 18px; margin: 28px 0; max-width: 520px;}

/* ---------- hero 3: stacked big type ---------- */
.heroBig { padding: calc(88px * var(--density)) 0; border-bottom: 1px solid var(--line);}
.heroBig h1 { font-family: var(--font-display); font-size: clamp(56px, 11vw, 180px); line-height: 0.88; letter-spacing: -0.045em; margin: 0; font-weight: 600;}
.heroBig h1 span.wordbox {
  display:inline-block; background: var(--yellow); color: var(--ink); padding: 0 .08em; margin-right: .12em;
  transform: translateY(0.05em);
}
.heroBig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: end;}

/* ---------- services ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line);}
.serv-card {
  padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); position: relative; transition: background .2s;
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
}
.serv-card:hover { background: var(--paper-2); }
.serv-card .num { color: var(--muted-2); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em;}
.serv-card h3 { font-family: var(--font-display); font-size: 22px; margin: 14px 0 10px; font-weight: 600; letter-spacing: -0.01em;}
.serv-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0;}
.serv-card .icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--yellow); color: var(--ink); display: grid; place-items: center;
}
/* Variant B icon: black tile with yellow glyph for more attitude */
.serv-card .icon-box-b {
  background: var(--ink); color: var(--yellow);
}

/* variant B services: list */
.serv-list { border-top: 1px solid var(--line);}
.serv-row {
  display: grid; grid-template-columns: 80px 1fr 1fr 60px; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  align-items: center; transition: padding .15s;
  cursor: default;
}
.serv-row:hover { padding-left: 16px; background: linear-gradient(90deg, var(--yellow) 0%, transparent 4%);}
.serv-row .idx { font-family: 'JetBrains Mono', monospace; color: var(--muted-2); font-size: 13px;}
.serv-row .tt { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em;}
.serv-row .dc { color: var(--muted); font-size: 14px;}
.serv-row .ar { justify-self: end; color: var(--muted); font-size: 20px;}

/* ---------- projects ---------- */
.proj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px;}
.proj-head h2 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); margin: 12px 0 0; letter-spacing: -0.02em; font-weight: 600;}
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;}
.proj-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.proj-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -18px rgba(0,0,0,0.2);}
.proj-img { aspect-ratio: 16 / 10; background: var(--line); position: relative;}
.proj-body { padding: 24px 26px 26px;}
.proj-body .meta { display:flex; gap: 16px; color: var(--muted); font-size: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; text-transform: uppercase;}
.proj-body h3 { font-family: var(--font-display); font-size: 24px; margin: 10px 0 8px; letter-spacing: -0.01em; font-weight: 600;}
.proj-body p { color: var(--muted); font-size: 15px; margin: 0;}
.proj-tags { display:flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;}
.proj-tag { font-size: 11px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: 'JetBrains Mono', monospace;}

/* upload button on projects */
.proj-upload {
  border: 1.5px dashed var(--ink); border-radius: var(--radius-md);
  padding: 28px; display: flex; align-items: center; gap: 20px;
  background: transparent; cursor: pointer; transition: background .2s;
  text-align: left; width: 100%;
}
.proj-upload:hover { background: var(--yellow); border-color: var(--ink); border-style: solid;}
.proj-upload .plus {
  width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--ink); color: var(--yellow);
  display: grid; place-items: center; font-size: 22px; font-weight: 300; flex-shrink: 0;
}
.proj-upload .tt { font-family: var(--font-display); font-weight: 600; font-size: 18px;}
.proj-upload .dc { color: var(--muted); font-size: 13px; margin-top: 3px;}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;}
.about-photo {
  aspect-ratio: 4/5; background: var(--line); border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.about h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 16px 0 24px; letter-spacing: -0.02em; font-weight: 600;}
.about p { color: var(--muted); font-size: 17px; line-height: 1.6;}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line);}
.about-stats .s-num { font-family: var(--font-display); font-size: 32px; font-weight: 600;}
.about-stats .s-lbl { color: var(--muted); font-size: 13px; margin-top: 2px;}

/* ---------- testimonials ---------- */
.test-section { background: var(--ink); color: var(--paper); padding: calc(96px * var(--density)) 0; border-radius: 0;}
.test-section .eyebrow { color: var(--muted-2);}
.test-section .eyebrow::before { background: var(--yellow);}
.test-section h2 { color: var(--paper); font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.02em; margin: 14px 0 48px; font-weight: 600;}
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
.test-card { background: var(--ink-2); border: 1px solid #2a2a28; border-radius: var(--radius-md); padding: 32px;}
.test-card q { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.4; margin: 0; quotes: none; font-weight: 500;}
.test-card q::before, .test-card q::after { content: none;}
.test-card .who { margin-top: 28px; display: flex; align-items: center; gap: 14px;}
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); display:grid; place-items:center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.test-card .who .nm { font-weight: 600; font-size: 14px;}
.test-card .who .rl { color: var(--muted-2); font-size: 13px;}
.test-card .rate { color: var(--yellow); margin-bottom: 18px; letter-spacing: 2px;}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: flex-start;}
.faq-grid h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); margin: 16px 0 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 600;}
.faq-item { border-top: 1px solid var(--line); padding: 24px 0;}
.faq-item:last-child { border-bottom: 1px solid var(--line);}
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer;}
.faq-q .qt { font-family: var(--font-display); font-weight: 600; font-size: 18px;}
.faq-q .qi { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; color: var(--ink); transition: transform .2s, background .2s;}
.faq-item[data-open="true"] .qi { background: var(--yellow); border-color: var(--yellow); transform: rotate(45deg);}
.faq-a { color: var(--muted); margin-top: 14px; font-size: 15px; line-height: 1.6; display: none;}
.faq-item[data-open="true"] .faq-a { display: block;}

/* ---------- contact ---------- */
.contact-wrap { background: var(--yellow); color: var(--ink); border-radius: var(--radius-lg); padding: 64px;}
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: center;}
.contact-wrap h2 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 64px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 600;}
.contact-wrap .sub { font-size: 17px; margin-bottom: 28px; max-width: 420px;}
.contact-info { display: flex; flex-direction: column; gap: 14px;}
.contact-info .row { display:flex; align-items: center; gap: 14px; font-weight: 500;}
.contact-info .row .ic { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--ink); color: var(--yellow); display:grid; place-items:center;}
.qr-card {
  background: var(--paper-2); border-radius: var(--radius-md); padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px -16px rgba(0,0,0,0.3);
}
.qr-card img { width: 100%; aspect-ratio: 1; image-rendering: pixelated; border-radius: 4px;}
.qr-card .lb { font-weight: 600; font-size: 14px;}
.qr-card .sb { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace;}
.qr-card .qbtn {
  width: 100%; padding: 10px; border: 1px solid var(--ink); border-radius: var(--radius-sm);
  background: transparent; color: var(--ink); font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.qr-card .qbtn:hover { background: var(--ink); color: var(--yellow);}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 32px;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;}
.footer h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px;}
.footer a { display: block; padding: 4px 0; color: var(--paper); font-size: 14px;}
.footer a:hover { color: var(--yellow);}
.footer .lg { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: -0.02em; font-weight: 600;}
.footer .lg span { color: var(--yellow);}
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid #2a2a28; display: flex; justify-content: space-between; color: var(--muted-2); font-size: 12px; font-family: 'JetBrains Mono', monospace;}

/* ---------- bento services ---------- */
.serv-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.bento-tile {
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--line);
}
.bento-tile:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,0,0,0.22); }
.bento-lg   { grid-column: span 2; grid-row: span 2; padding: 32px; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-tall { grid-column: span 1; grid-row: span 2; }
.bento-sm   { grid-column: span 1; grid-row: span 1; }

.bento-paper  { background: var(--paper-2); color: var(--ink); }
.bento-yellow { background: var(--yellow); color: #0a0a0a; border-color: var(--yellow); }
.bento-dark   { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bento-dark .bento-icon  { background: var(--yellow); color: #0a0a0a; }
.bento-dark .bento-num   { color: var(--muted-2); }
.bento-paper .bento-icon { background: var(--ink); color: var(--yellow); }
.bento-paper .bento-num  { color: var(--muted-2); }
.bento-yellow .bento-icon{ background: #0a0a0a; color: var(--yellow); }
.bento-yellow .bento-num { color: rgba(10,10,10,0.5); }

.bento-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bento-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: grid; place-items: center; flex-shrink: 0;
}
.bento-lg .bento-icon { width: 56px; height: 56px; border-radius: var(--radius-md); }
.bento-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
}
.bento-bottom h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 6px; line-height: 1.15;
}
.bento-lg .bento-bottom h3   { font-size: 32px; line-height: 1.05; margin-bottom: 12px; }
.bento-wide .bento-bottom h3,
.bento-tall .bento-bottom h3 { font-size: 22px; }
.bento-bottom p {
  font-size: 13px; line-height: 1.5; margin: 0; opacity: 0.72;
}
.bento-lg .bento-bottom p    { font-size: 15px; max-width: 420px; }
.bento-arrow {
  margin-top: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: #0a0a0a;
}
.bento-dark .bento-arrow  { background: var(--yellow); color: #0a0a0a; }
.bento-paper .bento-arrow { background: var(--ink); color: var(--yellow); }

@media (max-width: 960px) {
  .serv-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bento-lg { grid-column: span 2; grid-row: span 2; }
  .bento-wide { grid-column: span 2; }
  .bento-tall { grid-column: span 1; grid-row: span 2; }
}
@media (max-width: 560px) {
  .serv-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-tile, .bento-lg, .bento-wide, .bento-tall, .bento-sm { grid-column: span 1; grid-row: span 1; min-height: 160px; }
}

/* ---------- variant B specifics ---------- */
.vb .heroA h1 { font-size: clamp(64px, 9vw, 148px); font-weight: 700;}

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink); color: var(--yellow); overflow: hidden;
  padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.ticker-track { display: flex; gap: 48px; animation: ticker 40s linear infinite; white-space: nowrap;}
.ticker-item { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.01em;}
.ticker-item .dot { display:inline-block; width:10px; height:10px; background: var(--yellow); border-radius:50%; margin: 0 24px; vertical-align: middle;}
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-50%);}}

/* ---------- hero B3 : viewport-height, flex column ---------- */
.heroB3 {
  background: var(--ink);
  color: var(--paper);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(48px * var(--density)) 0 calc(40px * var(--density));
  position: relative;
}
.heroB3-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(48px * var(--density));
  flex: 1;
  text-align: center;
  align-items: center;
}
.heroB3-top { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.heroB3-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 600;
  color: var(--paper);
}
.heroB3-bot {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  max-width: 720px;
}
.heroB3-bot p {
  color: var(--muted-2);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
  text-align: center;
}
.heroB3-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.heroB3-phone {
  border: 1px solid #2a2a28;
  background: transparent;
  color: var(--paper);
}

/* ---------- mobile overlay menu ---------- */
.nav-burger {
  display: none;
  background: var(--ink);
  color: var(--yellow);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.mobile-overlay {
  position: fixed; inset: 0;
  background: var(--ink); color: var(--paper);
  z-index: 200;
  display: flex; flex-direction: column;
  padding: 20px 24px;
}
.mobile-overlay-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-overlay-top .brand { color: var(--paper); }
.mobile-close {
  background: transparent; border: 1px solid #2a2a28; color: var(--paper);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
}
.mobile-links {
  flex: 1; display: flex; flex-direction: column;
  margin-top: 40px; border-top: 1px solid #2a2a28;
}
.mobile-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid #2a2a28;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.mobile-links a:hover { color: var(--yellow); }
.mobile-foot { padding-top: 20px; padding-bottom: 28px; }

/* ---------- mobile sticky CTA bar + whatsapp fab ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  z-index: 80;
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,0.1);
}
.mobile-cta-bar .mcb-call,
.mobile-cta-bar .mcb-quote {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 12px;
  font-weight: 600; font-size: 15px;
  border-radius: var(--radius-sm);
}
.mobile-cta-bar .mcb-call { background: var(--ink); color: var(--paper); }
.mobile-cta-bar .mcb-quote { background: var(--yellow); color: #0a0a0a; }

.mobile-whatsapp-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow);
  align-items: center; justify-content: center;
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.3);
  z-index: 81;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  body { padding-bottom: 84px; } /* space for mobile CTA bar */
  .section { padding: calc(64px * var(--density)) 0; }
  .serv-grid { grid-template-columns: repeat(2, 1fr);}
  .proj-grid { grid-template-columns: 1fr;}
  .heroSplit-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px;}
  .contact-grid { grid-template-columns: 1fr; gap: 24px;}
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px;}
  .test-grid { grid-template-columns: 1fr;}
  .heroBig-row { grid-template-columns: 1fr;}
  .serv-row { grid-template-columns: 40px 1fr; gap: 16px;}
  .serv-row .dc, .serv-row .ar { display: none;}
  .nav-links { display: none;}
  .nav-phone, .nav-anfrage { display: none;}
  .nav-burger { display: inline-flex; }
  .heroA-meta { grid-template-columns: 1fr 1fr;}
  .heroB3-bot { gap: 24px; align-items: center;}
  .heroB3-cta { justify-content: center; }
  .mobile-cta-bar { display: flex; }
  .mobile-whatsapp-fab { display: inline-flex; }
  .contact-wrap { padding: 36px 24px; }
  .test-section { padding: calc(72px * var(--density)) 0; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: calc(48px * var(--density)) 0; }
  .nav-inner { height: 64px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }

  .heroB3 { min-height: 88vh; padding: 32px 0 32px; }
  .heroB3-h1 { font-size: clamp(36px, 10vw, 64px); }
  .heroB3-bot p { font-size: 15px; }
  .heroB3-cta .btn { flex: 1; justify-content: center; font-size: 14px; padding: 12px 14px;}

  .heroA h1, .heroSplit h1 { font-size: clamp(40px, 11vw, 64px) !important; }
  .heroA p.lead, .heroSplit p.lead { font-size: 15px; margin: 20px 0 24px;}
  .heroA-meta { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; padding-top: 24px;}
  .heroA-meta .num { font-size: 26px; }

  .heroBig h1 { font-size: clamp(48px, 16vw, 90px); }

  .proj-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px;}
  .proj-head h2 { font-size: 34px; }
  .proj-body { padding: 18px 20px 22px; }
  .proj-body h3 { font-size: 20px; }

  .serv-card { padding: 22px; min-height: 180px; }
  .serv-card h3 { font-size: 18px; }

  .about h2 { font-size: 30px; }
  .about p { font-size: 15px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 20px; }

  .test-card { padding: 24px; }
  .test-card q { font-size: 17px; }
  .test-section h2 { font-size: 30px; }

  .faq-grid h2 { font-size: 30px; }
  .faq-q .qt { font-size: 15px; }

  .contact-wrap { padding: 28px 20px; border-radius: var(--radius-md);}
  .contact-wrap h2 { font-size: 34px; }
  .contact-wrap .sub { font-size: 14px; }

  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer .lg { font-size: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center;}

  .mobile-links a { font-size: 22px; padding: 18px 4px; }

  /* Bento: stack on small screens */
  .serv-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-tile, .bento-lg, .bento-wide, .bento-tall, .bento-sm { grid-column: span 1; grid-row: span 1; min-height: 150px; }
  .bento-lg .bento-bottom h3 { font-size: 24px; }

  .ticker-item { font-size: 20px; }
}

/* ---------- gallery modal ---------- */
.gallery-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,0.92);
  z-index: 9000; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.gallery-modal {
  background: var(--paper-2); border-radius: var(--radius-lg);
  max-width: 900px; width: 100%; max-height: 90vh;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.gallery-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(10,10,10,0.6); border: none; border-radius: 999px;
  width: 36px; height: 36px; display: grid; place-items: center;
  color: #fff; cursor: pointer;
}
.gallery-img-wrap {
  position: relative; aspect-ratio: 16/10; background: #0a0a0a; flex-shrink: 0;
}
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-prev, .gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,10,10,0.5); border: none; border-radius: 999px;
  width: 42px; height: 42px; display: grid; place-items: center;
  color: #fff; cursor: pointer;
}
.gallery-prev { left: 12px; transform: translateY(-50%) rotate(180deg); }
.gallery-next { right: 12px; }
.gallery-info { padding: 20px 24px; }
.gallery-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.gallery-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.gallery-dots { display: flex; gap: 8px; margin-top: 14px; }
.gallery-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--line); border: none; cursor: pointer; padding: 0;
}
.gallery-dot.active { background: var(--ink); }
