:root {
  --bg: #0c0b09;
  --bg-2: #14120e;
  --bg-3: #1c1913;
  --gold: #c9a24b;
  --gold-2: #e6c879;
  --gold-dim: rgba(201, 162, 75, .25);
  --text: #f1ebdd;
  --muted: #a69e8c;
  --green: #1f3a2b;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 16px/1.7 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--muted); }
.eyebrow {
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font: 500 .92rem var(--sans);
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1408; }
.btn-gold:hover { box-shadow: 0 10px 30px -10px var(--gold); }
.btn-ghost { border-color: var(--gold-dim); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 10px 20px; }
.btn.full { width: 100%; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 11, 9, .9); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.nav.scrolled { padding-block: 10px; border-color: var(--gold-dim); }
.nav.scrolled::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-2); }
.brand span { font: 700 1.6rem/1 var(--serif); display: flex; flex-direction: column; }
.brand small { font: 500 .58rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.laurel { width: 40px; height: 40px; color: var(--gold); }
.laurel.big { width: 92px; height: 92px; margin: 0 auto 12px; display: block; }
.links { display: flex; align-items: center; gap: 30px; }
.links a:not(.btn) { color: var(--text); font-size: .9rem; position: relative; }
.links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s;
}
.links a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--gold-2); margin: 5px 0; transition: .3s; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 120px 16px 80px; overflow: hidden;
}
.hero { isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
.hero-img {
  position: absolute; inset: -6% 0; width: 100%; height: 112%;
  object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.05) translate3d(0, var(--py, 0px), 0); }
  to   { transform: scale(1.18) translate3d(-2%, calc(var(--py, 0px) - 1%), 0); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(12,11,9,.35), rgba(12,11,9,.85) 75%),
    linear-gradient(180deg, rgba(12,11,9,.6) 0%, rgba(12,11,9,.25) 40%, var(--bg) 100%);
}
.sparks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero h1 { font-size: clamp(3rem, 10vw, 6.8rem); letter-spacing: -.01em; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--gold-2); font-size: .55em; }
.lead { max-width: 560px; margin: 0 auto 36px; font-size: 1.1rem; color: #d8d0bf; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1px solid var(--gold-dim); border-radius: 20px; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; translate: -50% 0; background: var(--gold); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { to { top: 24px; opacity: 0; } }

/* About */
.about { background: var(--bg-2); }
.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features li { border-top: 1px solid var(--gold-dim); padding-top: 14px; }
.features strong { display: block; font: 600 1.25rem var(--serif); color: var(--gold-2); }
.features span { font-size: .85rem; color: var(--muted); }
.about-visual { position: relative; aspect-ratio: 4 / 5; }
.frame { position: absolute; border-radius: var(--radius); border: 1px solid var(--gold-dim); overflow: hidden; will-change: transform; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.frame:hover img { transform: scale(1.08); }
.f1 { inset: 0 18% 14% 0; }
.f2 { inset: 40% 0 0 36%; box-shadow: 0 30px 60px -20px #000; border-color: var(--gold); }
.badge {
  position: absolute; left: 6%; bottom: 4%;
  background: var(--bg); border: 1px solid var(--gold);
  border-radius: 50%; width: 120px; height: 120px;
  display: grid; place-content: center; text-align: center;
  font-size: .72rem; line-height: 1.3; color: var(--muted);
}
.badge span { font: 700 1.8rem/1 var(--serif); color: var(--gold-2); }

/* Menu */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab {
  background: none; border: 1px solid var(--gold-dim); color: var(--muted);
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  font: 400 .9rem var(--sans); transition: .25s;
}
.tab:hover { color: var(--text); border-color: var(--gold); }
.tab.active { background: var(--gold); color: #1a1408; border-color: var(--gold); font-weight: 500; }
.menu-panel { display: none; grid-template-columns: 1fr 1fr; gap: 6px 56px; }
.menu-panel.active { display: grid; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.dish { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--gold-dim); }
.dish h3 { font-size: 1.4rem; margin: 0 0 4px; }
.dish p { margin: 0; color: var(--muted); font-size: .9rem; }
.price { font: 600 1.2rem var(--serif); color: var(--gold-2); white-space: nowrap; }
.dish.featured { grid-column: 1 / -1; background: var(--bg-3); border: 1px solid var(--gold-dim); border-radius: var(--radius); padding: 22px 24px; }
.tag { font: 500 .62rem var(--sans); letter-spacing: .15em; text-transform: uppercase; background: var(--gold-dim); color: var(--gold-2); padding: 3px 8px; border-radius: 4px; vertical-align: middle; margin-left: 6px; }
.note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 32px; }

/* Gallery */
.ambiance { background: var(--bg-2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gold-dim); }
.tile { cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.9); }
.tile:hover img { transform: scale(1.1); filter: saturate(1.15); }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,230,160,.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s;
}
.tile:hover::after { transform: translateX(120%); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  font: 600 1.3rem var(--serif);
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  transform: translateY(8px); transition: transform .5s;
}
.tile:hover figcaption { transform: none; color: var(--gold-2); }
.t1 { grid-column: span 2; grid-row: span 2; }
.t6 { grid-column: span 2; }

/* Quote */
.quote { padding: 80px 0; text-align: center; background: linear-gradient(135deg, #1a2e22, #0c0b09 70%); border-block: 1px solid var(--gold-dim); }
.quote p { font: italic 500 clamp(1.8rem, 4vw, 2.8rem)/1.2 var(--serif); color: var(--gold-2); margin-bottom: 10px; }
.quote span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Hours */
.hours { list-style: none; padding: 0; margin: 24px 0 0; }
.hours li { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--gold-dim); }
.hours li.today { color: var(--gold-2); font-weight: 500; }
.hours li.today span:first-child::after { content: " · aujourd'hui"; font-size: .75rem; color: var(--gold); }

/* Reservation */
.reserve { background: var(--bg-3); border: 1px solid var(--gold-dim); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.reserve h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
form { display: grid; gap: 14px; margin-top: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
input {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--gold-dim); border-radius: 10px;
  padding: 12px 14px; font: 400 .95rem var(--sans);
  color-scheme: dark;
}
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.15); }
input.invalid { border-color: #d0654f; }
.form-msg { min-height: 1.2em; margin: 0; font-size: .85rem; color: #e58a76; }
.or { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* Contact */
.contact { background: var(--bg-2); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--gold-dim); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--gold-dim); aspect-ratio: 1; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }

/* Footer */
.footer { padding: 56px 0 90px; text-align: center; border-top: 1px solid var(--gold-dim); }
.footer .brand { justify-content: center; margin-bottom: 16px; }
.footer p { color: var(--muted); font-size: .88rem; margin: 4px 0; }
.copy { font-size: .78rem !important; opacity: .7; }

/* WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.t6 { grid-column: 1 / -1; grid-row: span 2; }
.t6 img { object-position: center 70%; }

/* ===== Animations ===== */

/* Preloader : le logo se dessine */
body.loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  background: var(--bg);
  transition: opacity .8s ease, visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-logo { width: 110px; height: 110px; }
.pre-logo .draw {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: draw 1.4s cubic-bezier(.6,.1,.3,1) forwards;
}
.pre-logo .m { stroke-width: 2.6; animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pre-name {
  margin: 0; font: italic 600 1.6rem var(--serif); color: var(--gold-2); letter-spacing: .1em;
  opacity: 0; animation: fadeUp .8s 1s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Barre de progression */
.progress {
  position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 10px var(--gold);
}

/* Curseur doré (desktop) */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--gold); transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201,162,75,.12); }

/* Hero : entrée en cascade */
.h-anim { opacity: 0; transform: translateY(30px); filter: blur(6px); }
.ready .h-anim { animation: heroIn 1.1s cubic-bezier(.2,.7,.2,1) var(--d, 0s) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }
.split { display: inline-block; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(8deg); }
.ready .split .ch { animation: chIn .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.45s + var(--i) * .07s); }
@keyframes chIn { to { opacity: 1; transform: none; } }
.hero h1 em { background: linear-gradient(90deg, var(--gold), var(--gold-2), #fff3cf, var(--gold-2), var(--gold)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ready .hero h1 em { animation: heroIn 1.1s cubic-bezier(.2,.7,.2,1) var(--d) forwards, shine 5s linear 2s infinite; }
@keyframes shine { to { background-position: -200% center; } }
.laurel.big { filter: drop-shadow(0 0 12px rgba(201,162,75,.5)); }
.ready .laurel.big { animation: heroIn 1.1s cubic-bezier(.2,.7,.2,1) var(--d) forwards, glow 3s ease-in-out 1.5s infinite alternate; }
@keyframes glow { to { filter: drop-shadow(0 0 26px rgba(230,200,121,.9)); } }

/* Boutons : reflet + magnétique */
.btn { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); animation: sweep 4s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.magnetic { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s, color .25s; }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--gold-dim); background: var(--bg-2); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 30s linear infinite; }
.marquee span { font: italic 600 clamp(1.4rem, 3vw, 2.2rem) var(--serif); white-space: nowrap; color: var(--text); }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee i { color: var(--gold); font-style: normal; animation: spin 6s linear infinite; display: inline-block; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Badge qui flotte */
.badge { animation: float 5s ease-in-out infinite; }
.badge::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed var(--gold); animation: spin 18s linear infinite;
}
.badge b { font-weight: inherit; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Plats signature */
.signatures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; perspective: 1000px; }
.sig { background: var(--bg-3); border: 1px solid var(--gold-dim); border-radius: 18px; padding: 12px 12px 22px; transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s; }
.sig.visible { transition: opacity 1s, transform .2s ease-out, border-color .4s, box-shadow .4s; }
.sig:hover { border-color: var(--gold); box-shadow: 0 30px 60px -30px rgba(201,162,75,.5); }
.sig-img { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.sig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.sig:hover .sig-img img { transform: scale(1.1) rotate(1.5deg); }
.sig h3 { font-size: 1.5rem; margin: 0 8px 4px; transform: translateZ(30px); }
.sig p { margin: 0 8px; color: var(--muted); font-size: .9rem; transform: translateZ(20px); }

/* Carte : plats en cascade */
.menu-panel.active .dish { animation: dishIn .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * .06s); }
@keyframes dishIn { from { opacity: 0; transform: translateX(-16px); } }
.dish { transition: background .3s, padding .3s; border-radius: 8px; }
.dish:not(.featured):hover { background: rgba(201,162,75,.06); padding-inline: 12px; }
.dish:hover .price { animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.15); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; grid-template-columns: auto 1fr auto; gap: 8px;
  padding: 16px; background: rgba(8,7,5,.94); backdrop-filter: blur(6px);
  animation: fadeIn .35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; grid-column: 2; }
.lightbox img { max-height: 80vh; max-width: 100%; margin: 0 auto; border-radius: 10px; animation: zoomIn .45s cubic-bezier(.2,.7,.2,1); }
.lightbox figcaption { margin-top: 12px; font: italic 600 1.4rem var(--serif); color: var(--gold-2); }
.lb-close, .lb-nav { background: none; border: 1px solid var(--gold-dim); color: var(--gold-2); border-radius: 50%; cursor: pointer; transition: .25s; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lb-nav { width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lb-prev { grid-column: 1; } .lb-next { grid-column: 3; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: #1a1408; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } }

/* Apparitions au scroll (variantes) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal[data-reveal="left"] { transform: translateX(-60px); }
.reveal[data-reveal="right"] { transform: translateX(60px); }
.reveal[data-reveal="zoom"] { transform: scale(.88); }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; transition-delay: calc(var(--i, 0) * .08s + .2s); }
.visible .stagger > *, .stagger.visible > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > *, .h-anim, .split .ch { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; }
  .preloader { display: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(12,11,9,.97); font-size: 1.2rem;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .links a:not(.btn) { font: 600 1.8rem var(--serif); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; }
  .nav.open .links a:not(.btn) { opacity: 1; transform: none; }
  .nav.open .links a:nth-child(2) { transition-delay: .05s; }
  .nav.open .links a:nth-child(3) { transition-delay: .1s; }
  .nav.open .links a:nth-child(4) { transition-delay: .15s; }
  .nav.open .links a:nth-child(5) { transition-delay: .2s; }
  .nav.open .links { opacity: 1; pointer-events: auto; }
  .nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-2 { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; width: 100%; margin-inline: auto; }
  .menu-panel { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .signatures { grid-template-columns: 1fr 1fr; }
  .signatures .sig:last-child { grid-column: 1 / -1; }
  .signatures .sig:last-child .sig-img { aspect-ratio: 16 / 9; }
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translateY(40px); }
  .reveal.visible[data-reveal] { transform: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .t1, .t6 { grid-column: auto; grid-row: auto; }
  .signatures { grid-template-columns: 1fr; }
  .signatures .sig:last-child .sig-img { aspect-ratio: 4 / 5; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .lightbox { grid-template-columns: 1fr 1fr; align-content: center; row-gap: 20px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev, .lb-next { grid-row: 2; justify-self: center; }
  .lb-prev { grid-column: 1; } .lb-next { grid-column: 2; }
}
@media (hover: none) { .cursor, .cursor-dot { display: none; } }
