@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/geist-mono-500.woff2") format("woff2"); }

/* Charte adrien&co : noir, blanc, violet Électrique. Geist + Geist Mono.
   Mise en page : colonne de 1120px, grille de 4px, cartes sans ombre, un seul aplat violet fort par écran. */
:root {
  --ink: #0b0d12;
  --paper: #ffffff;
  --violet: #6e44ff;
  --violet-strong: #5a32e6;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #0b0d12;
  --text-muted: #62626e;
  --border: #e6e6eb;
  --accent: #6e44ff;
  --btn-bg: #0b0d12;
  --btn-text: #ffffff;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d12; --surface: #17181f; --text: #ffffff; --text-muted: #a1a1ad;
    --border: #2a2b33; --accent: #8f70ff; --btn-bg: #ffffff; --btn-text: #0b0d12;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d12; --surface: #17181f; --text: #ffffff; --text-muted: #a1a1ad;
  --border: #2a2b33; --accent: #8f70ff; --btn-bg: #ffffff; --btn-text: #0b0d12;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1168px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; scroll-margin-top: 72px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.07; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.03em; }
h3 { font-size: 20px; line-height: 28px; letter-spacing: -0.01em; }
p { margin: 0; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 18px; line-height: 28px; color: var(--text-muted); max-width: 58ch; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Navigation */
header.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.logo img { display: block; height: 27px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--text-muted); }
.nav nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: var(--r-md); font: 500 15px/20px var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-muted); }
.nav nav a.btn { color: var(--btn-text); padding: 9px 14px; font-size: 14px; }

/* Accroche */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sign { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.hero-art svg { display: block; width: 100%; height: auto; max-width: 400px; margin-left: auto; }
.slab { fill: var(--text); } .dots circle { fill: var(--bg); } .sq { fill: var(--violet); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* Chiffres */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.kpi { padding: 24px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--border); }
.kpi:first-child { border-left: 0; }
.kpi b { font: 500 32px/36px var(--font-mono); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 14px; line-height: 20px; color: var(--text-muted); }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi:nth-child(3) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 440px) { .kpis { grid-template-columns: 1fr; } .kpi { border-left: 0; } .kpi:nth-child(n+2) { border-top: 1px solid var(--border); } }

.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.card.line { background: transparent; border: 1px solid var(--border); }
.card p { color: var(--text-muted); }
.tag { align-self: flex-start; font: 400 12px/16px var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 4px 8px; }
.big { font-size: 28px; line-height: 34px; letter-spacing: -0.02em; font-weight: 600; }
.data { margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.data div { display: flex; flex-direction: column; gap: 2px; }
.data dt { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.data dd { margin: 0; font: 400 14px/20px var(--font-mono); font-variant-numeric: tabular-nums; }
.note { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--text-muted); max-width: 80ch; }
ul.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--text-muted); font-size: 15px; }
ul.list li { padding-left: 18px; position: relative; }
ul.list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent); }
.also { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.also .intro { display: flex; flex-direction: column; gap: 8px; }
.also ul.list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
@media (max-width: 860px) { .also { grid-template-columns: 1fr; } .also ul.list { grid-template-columns: 1fr; } }
.step-n { font: 400 14px/20px var(--font-mono); color: var(--accent); }

/* À propos */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.facts { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--text-muted); font-size: 14px; }
.facts dd { margin: 0; font: 400 14px/20px var(--font-mono); text-align: right; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
.pitch { background: var(--violet); color: #ffffff; border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.pitch .label { color: #ffffff; opacity: .85; }
.pitch p { color: #ffffff; }
.pitch .mail { margin-top: auto; font: 400 14px/20px var(--font-mono); color: #ffffff; }
form { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { font-size: 14px; line-height: 20px; }
input, textarea { font: 400 16px/24px var(--font-sans); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; width: 100%; }
textarea { min-height: 128px; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 14px; line-height: 20px; color: var(--text-muted); min-height: 20px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 14px; color: var(--text-muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Pied de page et mentions */
.consent { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.consent a, .prose a, footer a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.consent a:hover, .prose a:hover, footer a:hover { color: var(--accent); }
.flinks { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.nav nav a[aria-current="page"] { color: var(--text); }

/* En-tête de page secondaire */
.page-head { padding: 72px 0 16px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(34px, 5vw, 48px); max-width: 20ch; }

/* Pages juridiques */
.prose { max-width: 720px; padding-bottom: 48px; }
.prose h2 { font-size: 22px; line-height: 30px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 26px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose .maj { font: 400 13px/18px var(--font-mono); color: var(--text-muted); }
.prose dl { margin: 0; border-top: 1px solid var(--border); }
.prose dl div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.prose dt { color: var(--text-muted); font-size: 14px; }
.prose dd { margin: 0; }
.todo { background: #fff3a3; color: #0b0d12; padding: 0 4px; border-radius: 4px; }
@media (max-width: 560px) { .prose dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Réalisations */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.proj { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.proj:last-child:nth-child(odd) { grid-column: 1 / -1; }
.shot { position: relative; aspect-ratio: 2 / 1; background-color: var(--ink); background-image: radial-gradient(circle, rgba(255,255,255,.32) 1.5px, transparent 1.7px); background-size: 28px 28px; background-position: 14px 14px; overflow: hidden; }
.shot::after { content: ""; position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; background: var(--violet); border-radius: 10px; }
.shot img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.shot .stack { position: absolute; left: 20px; top: 18px; z-index: 2; font: 400 12px/16px var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: #ffffff; background: rgba(11,13,18,.72); padding: 4px 8px; border-radius: var(--r-sm); }
.proj-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.proj-body p { color: var(--text-muted); }
.status { align-self: flex-start; font: 400 12px/16px var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.status.wip { color: var(--text-muted); }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } }
.cta-end { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; border-top: 1px solid var(--border); padding-top: 48px; }

/* Dernière carte pleine largeur : image à gauche, texte à droite */
.proj:last-child:nth-child(odd) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.proj:last-child:nth-child(odd) .shot { aspect-ratio: auto; min-height: 280px; }
.proj:last-child:nth-child(odd) .proj-body { justify-content: center; }
@media (max-width: 860px) {
  .proj:last-child:nth-child(odd) { display: flex; }
  .proj:last-child:nth-child(odd) .shot { aspect-ratio: 2 / 1; min-height: 0; }
}

/* Brochure interactive */
.brochure { padding: 24px 0 72px; }
.bro-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: 28px; }
.bro-head > div { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 860px) { .bro-head { grid-template-columns: 1fr; } }
.viewer { --pw: min(480px, calc((100vw - 232px) / 2)); position: relative; background: #0b0d12; color: #ffffff; border-radius: var(--r-lg); padding: 36px 24px 20px; }
.stage { display: flex; justify-content: center; align-items: center; touch-action: pan-y; outline-offset: 4px; }
.spread { display: flex; justify-content: center; transition: opacity .18s ease; }
.spread.out { opacity: 0; }
.spread img { display: block; width: var(--pw); height: var(--pw); background: #17181f; }
.spread img + img { border-left: 1px solid rgba(255,255,255,.14); }
.vbtn { position: absolute; top: calc(36px + var(--pw) / 2 - 22px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(11,13,18,.6); color: #ffffff; cursor: pointer; display: grid; place-items: center; }
.vbtn:hover:not(:disabled) { background: #ffffff; color: #0b0d12; }
.vbtn:disabled { opacity: .25; cursor: default; }
.vbtn.prev { left: 16px; } .vbtn.next { right: 16px; }
.vbtn svg { width: 18px; height: 18px; }
.vbar { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.count { font: 400 14px/20px var(--font-mono); min-width: 84px; font-variant-numeric: tabular-nums; }
.thumbs { flex: 1; display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 44px; height: 44px; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; opacity: .55; overflow: hidden; }
.thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: .9; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: #8f70ff; }
.vzoom { flex: none; font: 500 14px/20px var(--font-sans); color: #ffffff; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-md); padding: 8px 14px; cursor: pointer; }
.vzoom:hover { background: #ffffff; color: #0b0d12; }
.vhint { margin-top: 12px; font-size: 13px; line-height: 18px; color: #a1a1ad; }
.viewer :focus-visible { outline-color: #8f70ff; }
.viewer.full { --pw: min(calc(100vh - 210px), calc((100vw - 200px) / 2)); position: fixed; inset: 0; z-index: 100; border-radius: 0; padding: 40px 24px 20px; display: flex; flex-direction: column; justify-content: center; }
.viewer.full .vbtn { top: calc(50% - 22px - 60px); }
html.noscroll { overflow: hidden; }
@media (max-width: 760px) {
  .viewer { --pw: min(480px, calc(100vw - 96px)); padding: 24px 12px 16px; }
  .viewer.full { --pw: min(calc(100vh - 230px), calc(100vw - 48px)); }
  .vbtn { top: calc(24px + var(--pw) / 2 - 22px); width: 38px; height: 38px; }
  .vbtn.prev { left: 6px; } .vbtn.next { right: 6px; }
  .vhint { display: none; }
  .vbar { flex-wrap: wrap; }
  .thumbs { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .spread { transition: none; } }

.more { align-self: flex-start; margin-top: 4px; font: 400 14px/20px var(--font-mono); color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.more:hover { opacity: .8; }
.shot:has(img) .stack { display: none; }

/* Pied de page */
footer.site-foot { position: relative; overflow: hidden; border-top: 0; background: #0b0d12; color: #a1a1ad; padding: 72px 0 28px; font-size: 15px; line-height: 24px; }
footer.site-foot .wrap { display: block; position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-brand img { display: block; height: 47px; width: auto; margin-bottom: 20px; }
.foot-brand p { margin: 0 0 24px; max-width: 30ch; color: #ffffff; font-size: 20px; line-height: 28px; letter-spacing: -0.01em; }
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-col h2 { margin: 0 0 6px; font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #8f70ff; }
footer.site-foot a { color: #ffffff; text-decoration: none; }
footer.site-foot .foot-col a { color: #d6d6de; }
footer.site-foot a:hover { color: #8f70ff; }
footer.site-foot .btn-violet { display: inline-flex; background: #6e44ff; color: #ffffff; padding: 12px 20px; border-radius: var(--r-md); font-weight: 500; }
footer.site-foot .btn-violet:hover { background: #5a32e6; color: #ffffff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.foot-bottom a { color: #a1a1ad; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.foot-mark { position: absolute; right: -40px; bottom: -70px; width: 460px; height: auto; opacity: .05; pointer-events: none; }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  footer.site-foot { padding-top: 56px; }
  .foot-mark { width: 300px; right: -60px; bottom: -40px; }
}

.portrait { display: block; width: 260px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 12px; background: var(--surface); }
@media (max-width: 860px) { .portrait { width: 200px; } }

/* Effets */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: 0 50%; z-index: 120; pointer-events: none; }
.btn { transition: transform .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.card, .proj { transition: transform .25s ease, border-color .25s ease; }
.card:hover, .proj:hover { transform: translateY(-4px); }
.card.line:hover, .proj:hover { border-color: var(--violet); }
.shot img { transition: transform .6s ease; }
.proj:hover .shot img { transform: scale(1.04); }
.nav nav a:not(.btn) { transition: color .15s ease; }
.nav nav a:not(.btn):hover { color: var(--violet); }
.sq { animation: floaty 6s ease-in-out infinite; transform-box: fill-box; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv.in.card, html.js .rv.in.proj { transition: transform .25s ease, border-color .25s ease, opacity .6s ease var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .sq { animation: none; }
  .btn, .card, .proj, .shot img { transition: none; }
  .card:hover, .proj:hover, .btn:hover { transform: none; }
}

/* Vidéo */
.film { padding: 8px 0 40px; }
.film-box { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); border: 1px solid var(--border); aspect-ratio: 16 / 9; }
.film-box video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }

/* Menu mobile */
.menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 4px; border: 1px solid var(--border); border-radius: var(--r-md); background: transparent; color: var(--text); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s ease, background .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
.menu-panel { display: none; }
@media (max-width: 760px) {
  .nav nav a:not(.btn) { display: none; }
  .nav nav { gap: 8px; }
  .menu-btn { display: inline-flex; }
  .menu-panel { position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
  .menu-panel.open { display: block; }
  .menu-panel a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; text-decoration: none; color: var(--text); }
  .menu-panel a:last-child { border-bottom: 0; }
}
.nav nav a.btn { white-space: nowrap; }
@media (max-width: 760px) { .nav .wrap { gap: 12px; } .logo span { font-size: 18px; } .nav nav a.btn { padding: 9px 12px; } }
