/* ==========================================================================
   WeeBee Design — Corporate Website
   Aesthetic: refined editorial-tech · off-white paper, ink black, cyan accent
   Brand colors derived from logo: ink #020202 · cyan #00A6E6
   Fonts (self-hosted, variable): Bricolage Grotesque (display) · Hanken Grotesk (body)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b0b0c;
  --ink-pure: #020202;
  --ink-soft: #3a3b3e;
  --muted: #6c6e73;
  --muted-2: #9a9ca1;
  --paper: #f7f6f2;      /* warm off-white */
  --paper-2: #ffffff;
  --paper-3: #efeee8;
  --line: #e2e1da;
  --line-strong: #d3d2c9;
  --cyan: #00a6e6;
  --cyan-deep: #0089be;
  --cyan-ghost: rgba(0, 166, 230, 0.10);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(10, 10, 12, 0.04), 0 12px 40px -18px rgba(10, 10, 12, 0.22);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--cyan); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 11vw, 148px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-ghost);
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 0 8px 24px -12px rgba(11, 11, 12, 0.5);
}
.btn--primary:hover { background: #000; box-shadow: 0 14px 30px -12px rgba(11, 11, 12, 0.55); }

.btn--accent { background: var(--cyan); color: #fff; }
.btn--accent:hover { background: var(--cyan-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(0,0,0,0.02); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__name b { color: var(--cyan); font-weight: 700; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: inline-flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  width: 18px; height: 2px;
  background: var(--ink);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span::before { transform: translate(-50%, -7px); }
.nav__toggle span::after  { transform: translate(-50%, 5px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Dot-grid background motif ---------- */
.dotfield {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-strong) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.6rem, 8vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  max-width: 15ch;
}
.hero h1 .accent { color: var(--cyan); }
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.hero__lead {
  margin-top: 28px;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.55;
}
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  margin-top: clamp(48px, 7vw, 76px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero__meta .l { font-size: 0.85rem; color: var(--muted); }

/* floating brand sign in hero */
.hero__sign {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(42vw, 480px);
  opacity: 0.055;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-8deg);
}

/* ---------- Services ---------- */
.services { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc {
  background: var(--paper-2);
  padding: 34px 30px 38px;
  position: relative;
  transition: background 0.3s var(--ease);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.svc:hover { background: var(--paper); }
.svc__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.svc__icon {
  margin-top: 20px;
  width: 40px; height: 40px;
  color: var(--ink);
}
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.svc p { margin-top: 10px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  min-height: 400px;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,11,12,0.32); }
.project__visual {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* real project logos on dark brand tiles */
.project__logo { width: auto; max-width: 66%; max-height: 62px; object-fit: contain; position: relative; z-index: 1; }
.project__logo--wide { max-width: 78%; max-height: 74px; }
.project__logo--tall { max-width: 56%; max-height: 132px; }
.project__visual::after {
  content: ""; position: absolute; inset: 0; opacity: 0.9; pointer-events: none;
}
.project--basscamp .project__visual { background: radial-gradient(130% 130% at 28% 18%, #23281f 0%, #16180f 58%, #0c0d07 100%); }
.project--basscamp .project__visual::after { background: radial-gradient(60% 80% at 30% 10%, rgba(240,130,30,0.16), transparent 70%); }
.project--hiddin .project__visual { background: radial-gradient(130% 130% at 70% 18%, #14181c 0%, #0b0d10 60%, #06080a 100%); }
.project--hiddin .project__visual::after { background: radial-gradient(60% 80% at 74% 12%, rgba(0,166,230,0.14), transparent 70%); }
.project--fullhouse .project__visual { background: radial-gradient(130% 130% at 50% 20%, #123328 0%, #0c2019 58%, #07120d 100%); }
.project--fullhouse .project__visual::after { background: radial-gradient(55% 70% at 50% 90%, rgba(233,155,42,0.14), transparent 70%); }
.project__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
}
.project__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.project__body h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  display: flex; align-items: center; gap: 10px;
}
.project__kicker { font-size: 0.82rem; font-weight: 600; color: var(--cyan); letter-spacing: 0.04em; margin-bottom: 6px; }
.project__body p { margin-top: 12px; color: var(--muted); font-size: 0.99rem; flex: 1; }
.project__link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.project__link:hover { color: var(--cyan-deep); border-bottom-color: var(--cyan); }
.project__link .arrow { transition: transform 0.3s var(--ease); }
.project__link:hover .arrow { transform: translate(3px, -3px); }

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about__text h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.about__text p { margin-top: 20px; color: var(--ink-soft); font-size: 1.06rem; max-width: 54ch; }
.about__text p + p { margin-top: 16px; }
.about__facts { display: grid; gap: 14px; }
.fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.fact__dot { flex: none; margin-top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px var(--cyan-ghost); }
.fact h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.fact p { color: var(--muted); font-size: 0.92rem; margin-top: 3px; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.contact .dotfield {
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.3px, transparent 1.3px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 80% 30%, #000 0%, transparent 72%);
  opacity: 1;
}
.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__intro .eyebrow { color: var(--muted-2); }
.contact__intro .eyebrow::before { box-shadow: 0 0 0 4px rgba(0,166,230,0.25); }
.contact__intro h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 18px;
  color: #fff;
}
.contact__intro p { margin-top: 18px; color: var(--muted-2); max-width: 42ch; }
.contact__direct { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact__direct a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.contact__direct a:hover .contact__ico { border-color: var(--cyan); color: var(--cyan); }
.contact__ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: var(--muted-2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.contact__ico svg { width: 18px; height: 18px; }
.contact__direct span small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 400; }

/* form */
.cform { display: grid; gap: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted-2); }
.field input, .field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,0.06); }
.field textarea { resize: vertical; min-height: 120px; }
.cform .btn--accent { justify-content: center; width: 100%; margin-top: 4px; }
.cform__hint { font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.footer__col h5 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__col a { color: var(--ink-soft); font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--cyan-deep); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--ink); }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal { padding-block: clamp(56px, 8vw, 96px); }
.legal__head { max-width: 720px; margin-bottom: 44px; }
.legal__head h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.legal__head p { margin-top: 14px; color: var(--muted); }
.legal__body { max-width: 760px; }
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal__body h3 { font-family: var(--font-display); font-weight:600; font-size: 1.05rem; margin-top: 22px; margin-bottom: 8px; }
.legal__body p, .legal__body li { color: var(--ink-soft); font-size: 1rem; }
.legal__body p { margin-top: 10px; }
.legal__body ul { margin-top: 12px; padding-left: 20px; display: grid; gap: 8px; }
.legal__body a { color: var(--cyan-deep); border-bottom: 1px solid var(--cyan-ghost); }
.legal__body a:hover { border-bottom-color: var(--cyan); }
.todo {
  display: inline-block;
  background: #fff4d6;
  border: 1px dashed #e0b93a;
  color: #7a5a00;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 6px;
  letter-spacing: 0.01em;
}
.callout {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--cyan-ghost);
  border: 1px solid rgba(0,166,230,0.25);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Reveal-on-load / scroll animation ----------
   Progressive enhancement: content is ALWAYS visible without JS.
   Only when <html class="js"> is set do we hide + animate in. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-d="1"].in { transition-delay: 0.06s; }
.reveal[data-d="2"].in { transition-delay: 0.12s; }
.reveal[data-d="3"].in { transition-delay: 0.18s; }
.reveal[data-d="4"].in { transition-delay: 0.24s; }
.reveal[data-d="5"].in { transition-delay: 0.30s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .mobile-menu { display: block; }
  .proj-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .cform .row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 22px 40px; }
  .hero__sign { top: auto; bottom: 2%; opacity: 0.05; width: 70vw; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 26px;
  z-index: 49;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 13px 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
